mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 18:50:48 +00:00
rndbuffersize: only send flush-stop if it was a flushing seek
This commit is contained in:
parent
65a28698db
commit
aef0ad44d4
1 changed files with 4 additions and 2 deletions
|
@ -315,8 +315,10 @@ gst_rnd_buffer_size_src_event (GstPad * pad, GstObject * parent,
|
|||
|
||||
GST_PAD_STREAM_LOCK (self->sinkpad);
|
||||
|
||||
gst_pad_push_event (self->srcpad, gst_event_new_flush_stop (TRUE));
|
||||
gst_pad_push_event (self->sinkpad, gst_event_new_flush_stop (TRUE));
|
||||
if ((flags & GST_SEEK_FLAG_FLUSH)) {
|
||||
gst_pad_push_event (self->srcpad, gst_event_new_flush_stop (TRUE));
|
||||
gst_pad_push_event (self->sinkpad, gst_event_new_flush_stop (TRUE));
|
||||
}
|
||||
|
||||
GST_INFO_OBJECT (pad, "seeking to offset %" G_GINT64_FORMAT, start);
|
||||
|
||||
|
|
Loading…
Reference in a new issue