[gstreamer-bugs] [Bug 487568] Pipeline freezes when adding/removing GnlCompositions/GnlSources while PLAYING

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Oct 18 01:40:20 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=487568

  GStreamer | gnonlin | Ver: 0.10.14

Edward Hervey changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEEDINFO




------- Comment #2 from Edward Hervey  2007-10-18 08:40 UTC -------
Hi, the big issue with your script is that you're trying to synchronously block
pads.

The API documentation regarding gst_pad_set_blocked_async() will tell you why:

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html#gst-pad-set-blocked-async

What you want to do is give a callback, and in the callback do what you wanted
to do once that pad was blocked. You have to adopt the same paradigms as with
event-based programming.

Please adjust your script accordingly and confirm if that fixed your issue.


-- 
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=487568.




More information about the Gstreamer-bugs mailing list