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

v4l2: device parameter is a file path

(cherry picked from commit 4c09ad19963e3940e2ef3be43843d4902afebcd7)
parent 4459562e
......@@ -306,8 +306,8 @@ vlc_module_begin ()
set_subcategory( SUBCAT_INPUT_ACCESS )
set_section( N_( "Video input" ), NULL )
add_string( CFG_PREFIX "dev", "/dev/video0", DEVICE_TEXT, DEVICE_LONGTEXT,
false )
add_loadfile( CFG_PREFIX "dev", "/dev/video0",
DEVICE_TEXT, DEVICE_LONGTEXT, false )
change_safe()
add_string( CFG_PREFIX "standard", "",
STANDARD_TEXT, STANDARD_LONGTEXT, false )
......
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