camerabin2: check negotiated caps avoid reseting of the pipe
authorOleksij Rempel <bug-track@fisher-privat.net>
Thu, 22 Mar 2012 07:47:57 +0000 (08:47 +0100)
committerThiago Santos <thiagoss@osg.samsung.com>
Wed, 4 Mar 2015 10:56:51 +0000 (07:56 -0300)
commite8a3973b8f712cb660fa9675c80c2fd3031acdb2
tree33cd2688c818b5f36df16637356102fca627d87f
parent2eac4232732912cff7ae6427b72c6b360c330daa
camerabin2: check negotiated caps avoid reseting of the pipe

To avoid useless renegotiation of the pipe we can check for
negotiated caps on src_filter and compare it with requested
filter. If the caps intersect, avoid restart.

Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
https://bugzilla.gnome.org/show_bug.cgi?id=672610
gst/camerabin2/gstwrappercamerabinsrc.c
gst/camerabin2/gstwrappercamerabinsrc.h