Skip to content

codectimestamper: Fix gint wraparound in pts_compare_func

Peter Stensson requested to merge peters/gstreamer:timestamper_sort_wrap into main

The diff between compared timestamps might be outside the gint range resulting in wrong sorting results. This patch corrects that by comparing the timestamps and then returning -1, 0 or 1 depending on the result.

Merge request reports

Loading