[vlc-devel] [PATCH 1/9] access:dshow: the chroma should be a VIDEO_ES

Steve Lhomme robux4 at videolabs.io
Thu Jul 6 12:58:03 CEST 2017


---
 modules/access/dshow/dshow.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/dshow/dshow.cpp b/modules/access/dshow/dshow.cpp
index a8742eb1eb..0f5a8aa654 100644
--- a/modules/access/dshow/dshow.cpp
+++ b/modules/access/dshow/dshow.cpp
@@ -476,7 +476,7 @@ static int CommonOpen( vlc_object_t *p_this, access_sys_t *p_sys,
 
     /* Chroma */
     psz_val = var_CreateGetString( p_this, CFG_PREFIX "chroma" );
-    i_chroma = vlc_fourcc_GetCodecFromString( UNKNOWN_ES, psz_val );
+    i_chroma = vlc_fourcc_GetCodecFromString( VIDEO_ES, psz_val );
     p_sys->b_chroma = i_chroma != 0;
     free( psz_val );
 
-- 
2.12.1



More information about the vlc-devel mailing list