[Bug 689845] Encodebin API to handle multiple streams lacking
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Dec 10 04:26:13 PST 2012
https://bugzilla.gnome.org/show_bug.cgi?id=689845
GStreamer | gst-plugins-base | 1.x
--- Comment #1 from Christian Fredrik Kalager Schaller <Uraeus at linuxrising.org> 2012-12-10 12:26:09 UTC ---
Suggested "workaround" code from Alessandro. I will try to test this as soon as
possible.
def find_encodebin_pads(self, pad, pad_type):
for sink_pad in self.encodebin.sinkpads:
if pad.can_link(sink_pad):
yield sink_pad
template = Gst.PadTemplate.new(pad_type + '_%d', Gst.PadDirection.SINK,
Gst.PadPresence.REQUEST, pad.query_caps())
sink_pad = self.encodebin.request_pad(template,
pad_type + '_%d', pad.query_caps())
if sink_pad is not None:
yield sink_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