Commit c56a74e3 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

V4L2: kill config_Get

parent b575a47b
......@@ -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 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment