[gstreamer-bugs] [Bug 374682] [PATCH] collectpads should only consider linked pads to prevent blocking

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Nov 13 07:07:36 PST 2006


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=374682

  GStreamer | gstreamer (core) | Ver: 0.10.10


René Stadler changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mail at renestadler.de




------- Comment #2 from René Stadler  2006-11-13 15:06 UTC -------
I doubt this is a good idea.  It looks like this would break dynamic
(re)linking of pipelines.  You assume that unlinking a pad is a bad thing
because it would cause the streaming to block.  You cannot know whether this is
the case however.  I can unlink a pad and link it again (to some other pad)
immediately (while the pad is blocked of course).  This would not pose any form
of harmful delay for the  user of CollectPads.

If I understand you correctly, you propose to make CollectPads detect the
unlink and exclude the pad from the collection.  It is clear to see how this is
not what is generally wanted.  It would break dynamic linking performed on the
source pads of all muxers and cause slightly different semantics in the case of
e.g. adder.

Can you name a specific situation where the current behaviour causes problems?


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list