audioparsers: Fix GstBaseParse::get_sink_caps() implementations
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 5 Jun 2012 07:18:12 +0000 (09:18 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 5 Jun 2012 07:21:08 +0000 (09:21 +0200)
commitca4b5d795bf52ea434470475e2dac6a149282c10
treeb85b2a59a1246b81706cd25ffea802df1296fc1c
parent23520e41274aa05115ac66e553cc6e2242680656
audioparsers: Fix GstBaseParse::get_sink_caps() implementations

They should take the filter caps into account and always return
the template caps appended to the actual caps. Otherwise the
parsers stop to accept unparsed streams where upstream does not
know about channels, rate, etc.

Fixes bug #677401.
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