From 75b601bbd48dab31ca972283331dd342df5f2821 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Mon, 8 Aug 2016 13:49:19 +1000 Subject: [PATCH] splitmux: Fix typo converting to running time. Use the correct collected timestamp. --- gst/multifile/gstsplitmuxsink.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gst/multifile/gstsplitmuxsink.c b/gst/multifile/gstsplitmuxsink.c index f52dc672b0..ee5f9a7885 100644 --- a/gst/multifile/gstsplitmuxsink.c +++ b/gst/multifile/gstsplitmuxsink.c @@ -1139,8 +1139,7 @@ handle_mq_input (GstPad * pad, GstPadProbeInfo * info, MqStreamCtx * ctx) * stream */ if (GST_CLOCK_TIME_IS_VALID (ts)) { GstClockTimeDiff running_time = - my_segment_to_running_time (&ctx->in_segment, - GST_BUFFER_TIMESTAMP (buf)); + my_segment_to_running_time (&ctx->in_segment, ts); GST_LOG_OBJECT (pad, "Buffer running TS is %" GST_STIME_FORMAT, GST_STIME_ARGS (running_time));