diff --git a/subprojects/gst-plugins-good/gst/multifile/gstsplitmuxsink.c b/subprojects/gst-plugins-good/gst/multifile/gstsplitmuxsink.c index de619043b6..f163b12252 100644 --- a/subprojects/gst-plugins-good/gst/multifile/gstsplitmuxsink.c +++ b/subprojects/gst-plugins-good/gst/multifile/gstsplitmuxsink.c @@ -2572,7 +2572,7 @@ need_new_fragment (GstSplitMuxSink * splitmux, } if (splitmux->tc_interval) { - GstClockTime next_gop_start_time = + GstClockTimeDiff next_gop_start_time = next_gop ? next_gop->start_time : splitmux->max_in_running_time; if (GST_CLOCK_TIME_IS_VALID (splitmux->next_fragment_start_tc_time) &&