[Bug 645961] [pulsesink] hangs when going from paused to playing near EOS

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Mar 28 08:35:02 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=645961
  GStreamer | gst-plugins-good | git

--- Comment #2 from René Stadler <mail at renestadler.de> 2011-03-28 15:34:55 UTC ---
Created an attachment (id=184468)
 View: https://bugzilla.gnome.org/attachment.cgi?id=184468
 Review: https://bugzilla.gnome.org/review?bug=645961&attachment=184468

Patch for -good

pulsesink: also uncork during EOS waiting (and after EOS is rendered)

Pulsesink was recently changed to defer uncorking until there is data
to write. This condition will however never occur when EOS in being
rendered (since that marks the end of data). Changing to PAUSED state
while EOS is being waited on results in a hang: pausing corks the
stream, which will never be undone since there is no more data when
going back to PLAYING. If pulsesink is the clock provider, deadlock
ensues since time doesn't continue in corked state and the clock id
for EOS wait never fires.

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