[gstreamer-bugs] [Bug 618644] gst_pad_get_caps() Return pad template if parent element is in GST_STATE_NULL

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 15 03:15:43 PDT 2010


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

--- Comment #21 from Edward Hervey <bilboed at gmail.com> 2010-06-15 10:15:39 UTC ---
The problem in the end wasn't really because of ghostpads (making them
negotiable by default did indeed fix that).

The real problem was regarding linking.

If the template of a pad is ANY (like for capsfilter)... then you could link
together streams that were guaranteed never to negotiate (videotestsrc !
capsfilter which you'd link to alsasink for example).

One alternative idea to solve the performance issue would be to have a
gst_pad_link that doesn't do the expensive checks. Modifying the existing
gst_pad_link to do that doesn't help though (we end up in the same situation as
above).

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