[Bug 677401] AC3 parser doesn't accept "audio/x-ac3"

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jun 4 21:12:21 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=677401
  GStreamer | gst-plugins-good | 0.11.x

--- Comment #3 from Matej Knopp <matej.knopp at gmail.com> 2012-06-04 21:51:26 UTC ---
So, AC3 parser has template SINK caps "audio/x-ac3; " "audio/x-eac3; "
"audio/ac3" but if I send it CAPS event with "audio/x-ac3" and a buffer
afterwards it will refuse the caps because of gst_ac3_parse_get_sink_caps.

gst_ac3_parse_get_sink_caps returns "audio/x-ac3, channels = (int) [ 1, 6 ],
rate = (int) [ 8000, 48000 ]". 

The pre-check fails, because audio/x-ac3 is not a subset of audio/x-ac3,
channels = (int) [ 1, 6 ], rate = (int) [ 8000, 48000 ]".

I was told the channels and rate is propagated from upstream so that a filter
upstream can restrict the rate or channels.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list