From bf22101c7d11cd1fe36409fe5c12b38cbfa8dd06 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 26 Jun 2022 16:19:44 -0500 Subject: [PATCH] Add video format mask for 10-bit color --- src/Limelight.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Limelight.h b/src/Limelight.h index 73f473e..9890e4d 100644 --- a/src/Limelight.h +++ b/src/Limelight.h @@ -214,8 +214,9 @@ typedef struct _DECODE_UNIT { #define VIDEO_FORMAT_H265_MAIN10 0x0200 // Masks for clients to use to match video codecs without profile-specific details. -#define VIDEO_FORMAT_MASK_H264 0x00FF -#define VIDEO_FORMAT_MASK_H265 0xFF00 +#define VIDEO_FORMAT_MASK_H264 0x00FF +#define VIDEO_FORMAT_MASK_H265 0xFF00 +#define VIDEO_FORMAT_MASK_10BIT 0x0200 // If set in the renderer capabilities field, this flag will cause audio/video data to // be submitted directly from the receive thread. This should only be specified if the