Based on patch by rogerdpack <rogerpack2005@gmail.com>
Tested-by: Roger Pack <rogerdpack2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/28/head
Ramiro Polla13 years agocommitted byMichael Niedermayer
{"video_device_number","set video device number for devices with same name (starts at 0)",OFFSET(video_device_number),AV_OPT_TYPE_INT,{.dbl=0},0,INT_MAX,DEC},
{"audio_device_number","set audio device number for devices with same name (starts at 0)",OFFSET(audio_device_number),AV_OPT_TYPE_INT,{.dbl=0},0,INT_MAX,DEC},
{"audio_buffer_size","set audio device buffer latency size in milliseconds (default is the device's default)",OFFSET(audio_buffer_size),AV_OPT_TYPE_INT,{.dbl=0},0,INT_MAX,DEC},