aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/imgutils.c
diff options
context:
space:
mode:
authorGiorgio Vazzana <mywing81@gmail.com>2013-01-26 13:37:37 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-01-27 18:19:27 +0100
commit93d319a5826a2e682fbc4a7457bca2f7462a829b (patch)
tree0706d711aa7c3903798731338ddb205b8ab9a12e /libavutil/imgutils.c
parent5306976be8a69cd3aa32291eb12be0b3dfc55120 (diff)
downloadffmpeg-93d319a5826a2e682fbc4a7457bca2f7462a829b.tar.gz
lavd/v4l2: select input immediately after opening the device
After opening the device, the first thing we should do is selecting the input. This is because the image formats (VIDIOC_ENUM_FMT ioctl) and the standards (VIDIOC_ENUMSTD ioctl) supported may depend on the selected input ([1] and [2]). [1] http://linuxtv.org/downloads/v4l-dvb-apis/vidioc-enum-fmt.html [2] http://linuxtv.org/downloads/v4l-dvb-apis/vidioc-enumstd.html Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
Diffstat (limited to 'libavutil/imgutils.c')
0 files changed, 0 insertions, 0 deletions