capsfilter: Add an optional delayed caps change mode
authorSebastian Dröge <sebastian@centricular.com>
Wed, 22 Oct 2014 12:07:09 +0000 (14:07 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 3 Nov 2014 07:09:21 +0000 (08:09 +0100)
commit9606e0489585b34d666b76c536b208608c1fa37e
tree7dba63111ba32ebf6236cf4bf7d128ff70810293
parentb77446bc6d1ea45d19e8307abd2882852e63c099
capsfilter: Add an optional delayed caps change mode

In this mode we accept previously set filter caps until
upstream renegotiates to something that is compatible
to the current filter caps.

This allows dynamic caps changes in the pipeline even
if there is a queue between any conversion element
and the capsfilter. Without this we would get not-negotiated
errors if timing is bad.

https://bugzilla.gnome.org/show_bug.cgi?id=739002
plugins/elements/gstcapsfilter.c
plugins/elements/gstcapsfilter.h
tests/check/elements/capsfilter.c