[Bug 727949] basesink: Make sure to post EOS message instead of going to PLAYING when pre-rolling because of EOS

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Apr 10 03:39:26 PDT 2014


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

Wim Taymans <wim.taymans> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wim.taymans at gmail.com

--- Comment #2 from Wim Taymans <wim.taymans at gmail.com> 2014-04-10 10:39:24 UTC ---
As discussed on IRC:

 - basesink should block the streaming thread after posting the EOS
 - basesink should wake up the streaming thread and make it post a new EOS when
   the state changes from PAUSED->PLAYING
 - basesink should unblock the streaming thread when going to READY or being
   flushed.

The idea is to always have the events in the following order: async-done,
state-change, EOS. 

Because we block the streaming thread now in EOS, it is now completely
impossible to push something after EOS (this is a good thing).

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