deinterlace: fix on-the-fly changing of "mode" and "fields" properties
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 22 Jul 2013 17:00:16 +0000 (18:00 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 22 Jul 2013 17:00:16 +0000 (18:00 +0100)
commitf18b1f7e80de90d6465409455d9447008ec9f01a
tree04ace317549d7460e0bc96c9cf191c8b0791d19d
parent0c2ff91a5c9ef9762e71754311bb21938e60f581
deinterlace: fix on-the-fly changing of "mode" and "fields" properties

We call setcaps() to reconfigure ourselves, but we need to pass
the current *sink* caps, not the source caps then. Also fix a
caps leak.

https://bugzilla.gnome.org/show_bug.cgi?id=641599
gst/deinterlace/gstdeinterlace.c