[Bug 703405] New: playbin: stream-combiners can't be bins
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Jul 1 10:27:30 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=703405
GStreamer | gst-plugins-base | git
Summary: playbin: stream-combiners can't be bins
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: self at brendanlong.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
In playbin's `pad_added_cb`, we do this to get sink pads from the stream
combiners:
sinkpad = gst_element_get_request_pad (combine->combiner, "sink_%u")
The problem is that if `combine->combiner` is a bin, then it will always return
NULL.
These pipelines both stall because of this:
gst-launch-1.0 playbin
uri='https://dl.dropboxusercontent.com/s/x03ogh3epbd6lfq/example.mkv?token_hash=AAGW4CSrXYj9fNjD0CpO465zuXLRY0WEXcUy2lxQ5IOYJg&dl=1'
audio-stream-combiner="adder"
gst-launch-1.0 playbin
uri=http://ftp.nluug.nl/ftp/graphics/blender/apricot/trailer/Sintel_Trailer1.480p.DivX_Plus_HD.mkv
text-stream-combiner="funnel"
This can be worked around in normal usage, but it's fairly annoying that the
stream combiners can't be used in gst-launch.
I'm not sure the best way to handle this though. Iterating through the elements
in the bin until I find out that will give me a pad? Requesting sink pads from
the first element and the src pad from the last? :\
--
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