Commit aef0ad44 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

rndbuffersize: only send flush-stop if it was a flushing seek

parent 65a28698
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment