Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Intra Refresh Support #97

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

TheElixZammuto
Copy link
Contributor

This a companion PR on the moonlight-common-c project for these PR, the rationale/explanation for the PR can be found in the Sunshine one

Sunshine: LizardByte/Sunshine#3415
Moonlight-Xbox: TheElixZammuto/moonlight-xbox#155

src/Limelight.h Outdated Show resolved Hide resolved
@@ -277,6 +277,10 @@ typedef struct _DECODE_UNIT {
// number of slices per frame. This capability is only valid on video renderers.
#define CAPABILITY_SLICES_PER_FRAME(x) (((unsigned char)(x)) << 24)

// If set in the video renderer capabilities field, this flag specifies that the renderer
// needs to opt-in to intra refresh, some clients (like the Xbox client with NVEnc) needs it
#define CAPABILITY_INTRA_REFRESH 0x80
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for another nit, can you move this above the special CAPABILITY_SLICES_PER_FRAME macro too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants