GNOME Bugzilla – Bug 537045
decodebin2 sometimes emits 'drained' multiple times
Last modified: 2008-06-20 16:57:17 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.
Created attachment 112299 [details] [review] Ensure 'drained' is only emitted once
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.