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 537045 - decodebin2 sometimes emits 'drained' multiple times
decodebin2 sometimes emits 'drained' multiple times
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 0.10.21
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-06 23:43 UTC by Michael Smith
Modified: 2008-06-20 16:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Ensure 'drained' is only emitted once (1.09 KB, patch)
2008-06-06 23:43 UTC, Michael Smith
committed Details | Review

Description Michael Smith 2008-06-06 23:43:28 UTC
decodebin2 has a 'drained' signal that it's supposed to emit, once, when all its pads are drained.

There's a race, so it often emits it twice (if you have an audio+video file).

Will attach a patch that fixes this.
Comment 1 Michael Smith 2008-06-06 23:43:49 UTC
Created attachment 112299 [details] [review]
Ensure 'drained' is only emitted once
Comment 2 Michael Smith 2008-06-20 16:57:17 UTC
2008-06-20  Michael Smith <msmith@songbirdnest.com>

    * gst/playback/gstdecodebin2.c:
      Ensure decodebin2 emits 'drained' signal once, and only once, when all
      pads are drained.