v4l2: Don't stop streaming when set_caps is called with unchanged caps
authorMichael Olbrich <m.olbrich@pengutronix.de>
Fri, 17 May 2013 08:16:48 +0000 (10:16 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 20 May 2013 09:13:18 +0000 (11:13 +0200)
commit00ffe41e6a0107495ce36d06ece02f097909aee3
tree15b221413f542b3b40e8a97f7e9b2d115bddc741
parentf1f149b503ba93c5951eeef35c34aaa16696a40b
v4l2: Don't stop streaming when set_caps is called with unchanged caps

This can happen if other parts of the pipeline are reconfigured.
Stop streaming even for a short amount of time can be quite visible, so it
should be avoided if possible.

https://bugzilla.gnome.org/show_bug.cgi?id=700503
sys/v4l2/gstv4l2object.c
sys/v4l2/gstv4l2object.h
sys/v4l2/gstv4l2sink.c
sys/v4l2/gstv4l2src.c