Add GST_EVENT_LIVE_FLUSH.
authorAlessandro Decina <alessandro.decina@collabora.co.uk>
Fri, 6 May 2011 06:40:26 +0000 (08:40 +0200)
committerLuciana Fujii Pontello <luciana.fujii@collabora.co.uk>
Tue, 24 Apr 2012 03:03:49 +0000 (23:03 -0400)
commit65774ab5a7dc664187cb453c3b5fb59a5d0d954b
treec4f397ff5e23cd305fb12d15e0cc8ea129b3502a
parent63715d9880d74b65295b0d5a3dff7a97f72e30c7
Add GST_EVENT_LIVE_FLUSH.

This is needed by live sources to unblock buffer_alloc going from PLAYING to
PAUSED.

Currently basesrc assumes that ::create can always be unblocked. When going from
PLAYING to PAUSED it can happen that a live source is blocked in a buffer_alloc
call and so we need a way to unblock it.
gst/gstevent.c
gst/gstevent.h