[gstreamer-bugs] [Bug 603378] [API][event] New event to flush all buffered data

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Nov 30 08:54:37 PST 2009


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

Sebastian Dröge <slomo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1

--- Comment #7 from Sebastian Dröge <slomo at circular-chaos.org> 2009-11-30 16:54:33 UTC ---
(In reply to comment #6)
> I would like to have this merged into the regular flush events. This could be
> done by adding new flags to the flush event (default DEEP | RESET). At least we
> could extend it later on then too.
> 
> something like:
> 
>  typedef enum {
>    GST_FLUSH_FLAG_DEEP  = (1 << 0),
>    GST_FLUSH_FLAG_RESET = (1 << 1)
>  } GstFlushFlags
> 
> The RESET flag would reset the running_time. The DEEP flag would forward the
> event downstream instead of unlocking only the current streaming thread. Having
> the RESET flag bu not the DEEP flag is maybe not so useful.

For 0.11 that's a good idea but in 0.10 we need a different event for this
because it is now necessary to look at the content of the event while before
this wasn't necessary. All old elements would handle the flush event with
flags!=DEEP|RESET as if they are DEEP|RESET and completely break playback
(because the running time is reset although upstream elements think it isn't).

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