audioparsers: Use the peer caps for restrictions instead of the srcpad allowed caps
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 17 Dec 2012 14:01:02 +0000 (15:01 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 17 Dec 2012 14:01:02 +0000 (15:01 +0100)
commit26040ee38cb9e7c42f3d9a0282b3e5cace7ca42d
treed15200e4f07d2754975f59004740e7ef7e11421c
parent0bcf8ecd93bd58e6ea75f39c38013458355560e4
audioparsers: Use the peer caps for restrictions instead of the srcpad allowed caps

Otherwise we will intersect with the srcpad template caps and add all the caps fields
that the parser will ever set, no matter if downstream restricts this field or not.
This requires upstream to set this field on the caps to successfully negotiate.

https://bugzilla.gnome.org/show_bug.cgi?id=690184
gst/audioparsers/gstaacparse.c
gst/audioparsers/gstac3parse.c
gst/audioparsers/gstamrparse.c
gst/audioparsers/gstdcaparse.c
gst/audioparsers/gstflacparse.c
gst/audioparsers/gstmpegaudioparse.c
gst/audioparsers/gstwavpackparse.c