[vlc-devel] [PATCH 4/8] direct3d11: make sure ppColorspace is always set a value

Steve Lhomme robux4 at videolabs.io
Tue Jan 10 09:55:43 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 b979ee3..bbeef9d 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -2043,6 +2043,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