[gstreamer-bugs] [Bug 637300] [API] request pad based on caps

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jan 5 10:02:25 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=637300
  GStreamer | gstreamer (core) | git

--- Comment #12 from Edward Hervey <bilboed at gmail.com> 2011-01-05 18:02:18 UTC ---
Created an attachment (id=177599)
 View: https://bugzilla.gnome.org/attachment.cgi?id=177599
 Review: https://bugzilla.gnome.org/review?bug=637300&attachment=177599

GstElement: Add a more flexible way to get request pads.

The new request_new_pad_full vmethod provides an additional caps field,
which allows elements to take better decision process.

Also, add a gst_element_request_pad() function to allow developers to be
able to specify which pad template they want a pad of.

Convert gstutils to use that new method instead of the old one when more
efficient.

This is useful for being able to request pads in a more flexible way,
especially when the element can provide pads whose caps depend on
runtime configuration and therefore can't provide pre-registered
pad templates.

API: GstElement::request_new_pad_full
API: gst_element_request_pad

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