diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-04-26 22:07:15 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-04-26 22:07:15 +0000 |
commit | 932d775fa2d66ce26ce182c8499678f97ecad63c (patch) | |
tree | b060e7a230b67b7942dfc44e2ed3cf805fbd70f2 /libavcodec/8svx.c | |
parent | 687dc3555db2fef2d649374d421ea95eeab93078 (diff) | |
download | ffmpeg-932d775fa2d66ce26ce182c8499678f97ecad63c.tar.gz |
Implement v4l2 input size autodetection in v4l2_read_header().
Move check on frame size after the device is opened and after
device_try_init() is attempted. If the provided size value is 0x0,
perform a VIDIOC_G_FMT ioctl() on the device, which sets size to the
current settings.
Originally committed as revision 22971 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/8svx.c')
0 files changed, 0 insertions, 0 deletions