OSDN Git Service

The v4l2 driver can silently change the pixel format in the
authorJens Rosenboom <jens.rosenboom@eu.panasonic.com>
Tue, 21 Oct 2008 07:59:41 +0000 (07:59 +0000)
committerLuca Abeni <lucabe72@email.it>
Tue, 21 Oct 2008 07:59:41 +0000 (07:59 +0000)
commit3d0d9a5e3bbb7eb0e97b588afe1be73c1fbe9075
treef2043b5f1c375623afa1e2e347d23dc5a94d040e
parent0223bd6f525cdbca92b59ccde1c867a2fd6b658b
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)

Originally committed as revision 15660 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavdevice/v4l2.c