The v4l2 driver can silently change the pixel format in the
commita8b1d152a4b5eb9912658fd438f3465a836a2cf4
authorlucabe <lucabe@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 21 Oct 2008 07:59:41 +0000 (21 07:59 +0000)
committerlucabe <lucabe@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 21 Oct 2008 07:59:41 +0000 (21 07:59 +0000)
tree195d209a7e8b5bb656ee8703db24407fac25d340
parentb6565db2443aa2d7fd8771e7b2b0b8b3e6159b48
The v4l2 driver can silently change the pixel format in the
VIDIOC_S_FMT ioctl(). In this case, device_init() should fail so that
a different pixel format is tried.
Patch by Jens Rosenboom (jens DOT rosenboom AT eu DOT panasonic DOT com)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15660 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
libavdevice/v4l2.c