[vlc-devel] commit: V4L2: kill config_Get ( Rémi Denis-Courmont )
git version control
git at videolan.org
Wed Dec 30 19:39:44 CET 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Dec 30 20:23:07 2009 +0200| [c56a74e33a6b5cbabfe485cce7f50e0a02e6dd69] | committer: Rémi Denis-Courmont
V4L2: kill config_Get
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c56a74e33a6b5cbabfe485cce7f50e0a02e6dd69
---
modules/access/v4l2.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/access/v4l2.c b/modules/access/v4l2.c
index 5e685c8..fcc05ad 100644
--- a/modules/access/v4l2.c
+++ b/modules/access/v4l2.c
@@ -668,7 +668,7 @@ static int DemuxOpen( vlc_object_t *p_this )
ParseMRL( p_sys, p_demux->psz_path, (vlc_object_t *) p_demux );
#ifdef HAVE_LIBV4L2
- if( !config_GetInt( p_this, CFG_PREFIX "use-libv4l2" ) )
+ if( !var_InheritInteger( p_this, CFG_PREFIX "use-libv4l2" ) )
{
msg_Dbg( p_this, "Trying direct kernel v4l2" );
use_kernel_v4l2( p_sys );
@@ -1123,7 +1123,7 @@ static int AccessOpen( vlc_object_t * p_this )
ParseMRL( p_sys, p_access->psz_path, (vlc_object_t *) p_access );
#ifdef HAVE_LIBV4L2
- if( !config_GetInt( p_this, CFG_PREFIX "use-libv4l2" ) )
+ if( !var_InheritInteger( p_this, CFG_PREFIX "use-libv4l2" ) )
{
msg_Dbg( p_this, "Trying direct kernel v4l2" );
use_kernel_v4l2( p_sys );
More information about the vlc-devel
mailing list