[vlc-devel] [PATCH 2/9] access:dshow: remove write-only flag

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


---
 modules/access/dshow/access.h  | 1 -
 modules/access/dshow/dshow.cpp | 1 -
 2 files changed, 2 deletions(-)

diff --git a/modules/access/dshow/access.h b/modules/access/dshow/access.h
index c748f496ce..0527423c6b 100644
--- a/modules/access/dshow/access.h
+++ b/modules/access/dshow/access.h
@@ -75,7 +75,6 @@ struct access_sys_t
     int            i_width;
     int            i_height;
     int            i_chroma;
-    bool           b_chroma; /* Force a specific chroma on the dshow input */
     mtime_t        i_start;
 };
 
diff --git a/modules/access/dshow/dshow.cpp b/modules/access/dshow/dshow.cpp
index 0f5a8aa654..d3dd1a4224 100644
--- a/modules/access/dshow/dshow.cpp
+++ b/modules/access/dshow/dshow.cpp
@@ -477,7 +477,6 @@ 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( VIDEO_ES, psz_val );
-    p_sys->b_chroma = i_chroma != 0;
     free( psz_val );
 
     var_Create( p_this, CFG_PREFIX "fps", VLC_VAR_FLOAT | VLC_VAR_DOINHERIT );
-- 
2.12.1



More information about the vlc-devel mailing list