After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 321839 - pipeline hangs in get_state after changing trival pipeline
pipeline hangs in get_state after changing trival pipeline
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-python
git master
Other Linux
: Normal normal
: 0.9.6
Assigned To: GStreamer Maintainers
Johan (not receiving bugmail) Dahlin
Depends on:
Blocks:
 
 
Reported: 2005-11-18 23:12 UTC by j^
Modified: 2005-11-22 21:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description j^ 2005-11-18 23:12:04 UTC
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 ()
Comment 1 Edward Hervey 2005-11-22 20:27:49 UTC
it used to hang, but it doesn't hang anymore with current cvs. Can you confirm ?
Comment 2 Edward Hervey 2005-11-22 21:23:43 UTC
confirmed on IRC. Closing bug.