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

v4l2: add v4l shortcut

Anyway V4L1 is dead, so there is no ambiguity.
(cherry picked from commit c7d276074d6f83580a4c5e6fb15699bcf92db227)

Conflicts:

	modules/access/v4l2/v4l2.c
parent 9fc77489
...@@ -441,12 +441,12 @@ vlc_module_begin () ...@@ -441,12 +441,12 @@ vlc_module_begin ()
add_obsolete_bool( CFG_PREFIX "stereo" ) add_obsolete_bool( CFG_PREFIX "stereo" )
add_obsolete_integer( CFG_PREFIX "samplerate" ) add_obsolete_integer( CFG_PREFIX "samplerate" )
add_shortcut( "v4l2" ) add_shortcut( "v4l", "v4l2" )
set_capability( "access_demux", 0 ) set_capability( "access_demux", 0 )
set_callbacks( DemuxOpen, DemuxClose ) set_callbacks( DemuxOpen, DemuxClose )
add_submodule () add_submodule ()
add_shortcut( "v4l2", "v4l2c" ) add_shortcut( "v4l", "v4l2", "v4l2c" )
set_description( N_("Video4Linux2 Compressed A/V") ) set_description( N_("Video4Linux2 Compressed A/V") )
set_capability( "access", 0 ) set_capability( "access", 0 )
/* use these when open as access_demux fails; VLC will use another demux */ /* use these when open as access_demux fails; VLC will use another 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