Commit f8b7bbc6 authored by Laurent Aimar's avatar Laurent Aimar

Probe v4l2 when specifically forced not when an access is forced.

parent 52c7e46f
...@@ -565,7 +565,8 @@ static int DemuxOpen( vlc_object_t *p_this ) ...@@ -565,7 +565,8 @@ static int DemuxOpen( vlc_object_t *p_this )
demux_sys_t *p_sys; demux_sys_t *p_sys;
/* Only when selected */ /* Only when selected */
if( *p_demux->psz_access == '\0' ) return VLC_EGENERIC; if( strcmp( p_demux->psz_access, "v4l2" ) )
return VLC_EGENERIC;
/* Set up p_demux */ /* Set up p_demux */
p_demux->pf_control = DemuxControl; p_demux->pf_control = DemuxControl;
......
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