splitmuxsink: Fix wrong usage of GstClockTime vs GstClockTimeDiff

This could potentially have caused issues (because of the rest of the code using
checks for signed invalid values on a unsigned value)

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8286>
This commit is contained in:
Edward Hervey 2025-01-04 10:03:42 +01:00 committed by GStreamer Marge Bot
parent 2e6b98ad89
commit a0f50df7a0

View file

@ -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) &&