diff options
Diffstat (limited to 'include/xine/video_out.h')
-rw-r--r-- | include/xine/video_out.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/xine/video_out.h b/include/xine/video_out.h index 94cf1eca6..50df9c92d 100644 --- a/include/xine/video_out.h +++ b/include/xine/video_out.h @@ -293,10 +293,10 @@ struct xine_video_port_s { #define VO_CHROMA_422 32 /* used by VDPAU, default is chroma_420 */ #define VO_STILL_IMAGE 64 -/* ((mpeg_color_matrix << 1) | color_range) inside frame.flags bits 11-8 */ +/* ((mpeg_color_matrix << 1) | color_range) inside frame.flags bits 12-8 */ #define VO_FULLRANGE 0x100 -#define VO_GET_FLAGS_CM(flags) ((flags >> 8) & 15) -#define VO_SET_FLAGS_CM(cm,flags) flags = ((flags) & ~0xf00) | (((cm) & 15) << 8) +#define VO_GET_FLAGS_CM(flags) ((flags >> 8) & 31) +#define VO_SET_FLAGS_CM(cm,flags) flags = ((flags) & ~0x1f00) | (((cm) & 31) << 8) /* video driver capabilities */ #define VO_CAP_YV12 0x00000001 /* driver can handle YUV 4:2:0 pictures */ |