[vlc-devel] [PATCH 03/29] direct3d11: make sure ppColorspace is always set a value
Steve Lhomme
robux4 at videolabs.io
Thu Jan 19 11:10:38 CET 2017
---
modules/video_output/win32/direct3d11.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index d5b926b..82cff6e 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -1937,6 +1937,7 @@ static int AllocQuad(vout_display_t *vd, const video_format_t *fmt, d3d_quad_t *
case COLOR_SPACE_BT601:
ppColorspace = COLORSPACE_BT601_TO_FULL;
break;
+ default:
case COLOR_SPACE_UNDEF:
if( fmt->i_height > 576 )
ppColorspace = COLORSPACE_BT709_TO_FULL;
--
2.10.2
More information about the vlc-devel
mailing list