splitmuxsink: Only update running time when it increases.
authorJan Schmidt <jan@centricular.com>
Fri, 4 Dec 2015 12:16:45 +0000 (23:16 +1100)
committerJan Schmidt <jan@centricular.com>
Fri, 18 Dec 2015 16:49:28 +0000 (03:49 +1100)
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.

gst/multifile/gstsplitmuxsink.c

index aef9e64a39f78c8c6a9ee6293d8a6344f20a08e3..d39c0381d0bce15bff6eb41dc2a54eb4f5992cea 100644 (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))