mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
basesink: Clear EOS flag on STREAM-START event
EOS -> STREAM-START -> new data flow is valid scenario Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4782>
This commit is contained in:
parent
9b0736c85d
commit
63a529ffd4
1 changed files with 3 additions and 0 deletions
|
@ -3664,6 +3664,9 @@ gst_base_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
|
|||
if (bclass->event)
|
||||
result = bclass->event (basesink, event);
|
||||
break;
|
||||
case GST_EVENT_STREAM_START:
|
||||
basesink->priv->received_eos = FALSE;
|
||||
/* fallthrough */
|
||||
default:
|
||||
if (GST_EVENT_IS_SERIALIZED (event)) {
|
||||
GST_BASE_SINK_PREROLL_LOCK (basesink);
|
||||
|
|
Loading…
Reference in a new issue