splitmuxsink: Only update running time when it increases.

Don't increment running time from every buffer. The correct
logic to only increment when running time advances is a
little further down, so delete this left-over line.
This commit is contained in:
Jan Schmidt 2015-12-04 23:16:45 +11:00
parent 10d1ba1477
commit 675a4088e5

View file

@ -1027,8 +1027,6 @@ handle_mq_input (GstPad * pad, GstPadProbeInfo * info, MqStreamCtx * ctx)
}
buf = gst_pad_probe_info_get_buffer (info);
ctx->in_running_time = gst_segment_to_running_time (&ctx->in_segment,
GST_FORMAT_TIME, GST_BUFFER_TIMESTAMP (buf));
buf_info = mq_stream_buf_new ();
if (GST_BUFFER_PTS_IS_VALID (buf))