[Bug 724571] In collectpads, the collected function is sometimes called incorrectly.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Feb 19 13:40:16 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=724571
  GStreamer | gstreamer (core) | git

--- Comment #4 from Mathieu Duponchelle <mathieu.duponchelle at epitech.eu> 2014-02-19 22:00:45 UTC ---
The first part is necessary to trigger the bug, the two pads must have had an
EOS for priv->eospads to be incremented.

As for the sleep, I haven't found an other solution, I am aware that it makes
the test theoretically racy, but as the call to gst_pad_push blocks in the
thread, one needs to make sure it actually started waiting. I am open to
suggestions, I racked my brain but couldn't find.

Even if that test can't be merged, at least it helps showing the problem. It
would be useful to merge it though, as that's a case that will need testing
when reimplementing collectpads.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list