libv4l: handle some ioctls changing the format as a side effect
authorHans de Goede <hdegoede@redhat.com>
Fri, 7 Oct 2011 07:54:24 +0000 (09:54 +0200)
committerHans de Goede <hdegoede@redhat.com>
Sun, 16 Oct 2011 14:31:32 +0000 (16:31 +0200)
commit9df290ceeb7a15581f89c82eda46f0cb8089516e
tree2e31966e10ae08f7b4db68d23e0b733c15aa63a0
parentd763285081dd187ced1bc6280014784d1254dcd6
libv4l: handle some ioctls changing the format as a side effect

Some ioctls may change the devices fmt as a side effect, handle this properly.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
lib/libv4l2/libv4l2-priv.h
lib/libv4l2/libv4l2.c
lib/libv4l2/log.c