mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-13 23:22:54 +00:00
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:
parent
2e6b98ad89
commit
a0f50df7a0
1 changed files with 1 additions and 1 deletions
|
@ -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) &&
|
||||
|
|
Loading…
Reference in a new issue