[Bug 661874] aacparse fails to forward caps to encoder

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Oct 17 10:44:55 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=661874
  GStreamer | gst-plugins-good | git

--- Comment #2 from Thiago Sousa Santos <thiago.sousa.santos at collabora.co.uk> 2011-10-17 17:44:52 UTC ---
Created an attachment (id=199236)
 View: https://bugzilla.gnome.org/attachment.cgi?id=199236
 Review: https://bugzilla.gnome.org/review?bug=661874&attachment=199236

baseparse: add getcaps function

Adds a getcaps function to the sink pad to make parsers propagate
downstream caps restrictions to upstream.

The pipeline "audiotestsrc num-buffers=100 ! faac ! aacparse !
"audio/mpeg, version=(int)4, stream-format=(string)adts" ! filesink"
wouldn't work because aacparse wouldn't propagate the adts restriction
upstream to faac.

This patch adds a default getcaps to the sink pad to simply proxy
downstream caps and also adds a 'get_sink_caps' function pointer
to GstBaseParseClass for subclasses that need more refined getcaps.

-- 
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