[gstreamer-bugs] [Bug 433442] New: gst_element_link fails on playing elements in different bins.
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Wed Apr 25 14:32:34 PDT 2007
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=433442
GStreamer | gstreamer (core) | Ver: HEAD CVS
Summary: gst_element_link fails on playing elements in different
bins.
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: critical
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: tester at tester.ca
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
I have a bin in a pipeline. With a src inside the bin and the sink outside. If
I try to link both with gst_element_link while the bin is playing, it doesn't
work with 0.10.12 or CVS HEAD. It works fine with 0.10.11 and below.
I think its linked with the patch from bug #339326. Is linking running elements
even supposed to work?
This small python script exhibits the problem:
import pygtk, gtk, gobject
import pygst
pygst.require("0.10")
import gst
def linkelem():
src.link(sink)
sink.set_state(gst.STATE_PLAYING)
gtk.gdk.threads_init()
pipeline = gst.Pipeline()
bin = gst.Bin()
src = gst.element_factory_make("videotestsrc")
sink = gst.element_factory_make("ximagesink");
pipeline.add(bin)
bin.add(src)
pipeline.add(sink)
# Works here
#linkelem()
pipeline.set_state(gst.STATE_PLAYING)
# breaks here
linkelem()
gtk.main()
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=433442.
More information about the Gstreamer-bugs
mailing list