[vlc-commits] access:dshow: remove write-only flag

Steve Lhomme git at videolan.org
Sat Jul 8 18:38:23 CEST 2017


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Thu Jul  6 10:45:37 2017 +0200| [4b83450548a055077858947e06ef7ab1fbf6403b] | committer: Jean-Baptiste Kempf

access:dshow: remove write-only flag

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4b83450548a055077858947e06ef7ab1fbf6403b
---

 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 );



More information about the vlc-commits mailing list