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

Drop v4l2 access priority to zero to avoid redumdant load/probe

Maybe one day we will support autodetecting V4L2 device nodes
(as file://) but until then...
parent 3e70d9b6
......@@ -402,7 +402,7 @@ vlc_module_begin ()
add_obsolete_integer( CFG_PREFIX "samplerate" )
add_shortcut( "v4l2" )
set_capability( "access_demux", 10 )
set_capability( "access_demux", 0 )
set_callbacks( DemuxOpen, DemuxClose )
add_submodule ()
......@@ -641,10 +641,6 @@ static int DemuxOpen( vlc_object_t *p_this )
demux_t *p_demux = (demux_t*)p_this;
demux_sys_t *p_sys;
/* Only when selected */
if( strcmp( p_demux->psz_access, "v4l2" ) )
return VLC_EGENERIC;
/* Set up p_demux */
p_demux->pf_control = DemuxControl;
p_demux->pf_demux = Demux;
......
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