[gstreamer-bugs] [Bug 321839] New: pipeline hangs in get_state after changing trival pipeline

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Nov 18 15:12:04 PST 2005


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=321839
 GStreamer | gst-python | Ver: HEAD CVS

           Summary: pipeline hangs in get_state after changing trival
                    pipeline
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-python
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: j at bootlab.org
         QAContact: johan at gnome.org
                CC: all-bugs at bugzilla.gnome.org


this script hangs, to my understanding it should not.

#!/usr/bin/python
import pygst
pygst.require('0.9')
import gst
import gst.interfaces
import sys

pipeline = gst.parse_launch("fakesrc name=c ! fakesink name=f")
pipeline.set_state(gst.STATE_PAUSED)
pipeline.get_state () 
f = pipeline.get_by_name('f')
c = pipeline.get_by_name('c')
c.unlink(f)
pipeline.remove(f)

f2 = gst.element_factory_make("fakesink")
pipeline.add(f2)
c.link(f2)

pipeline.set_state(gst.STATE_PLAYING)
pipeline.get_state ()

------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list