rtponviftimestamp: Fix drop-out-of-segment=false mode
authorSeungha Yang <seungha@centricular.com>
Thu, 27 Jul 2023 15:39:46 +0000 (00:39 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sat, 9 Dec 2023 15:41:26 +0000 (15:41 +0000)
commitec9ddb6222e04cda0d3506e8c9e910dc8c44dc36
tree198b4db1de1380b2365734cee9bbb4338fca811d
parent44503fc88cbc8185ebd70635539342222361cb6b
rtponviftimestamp: Fix drop-out-of-segment=false mode

Fixing unexpected buffer dropping and flow error in case that:
* use-reference-timestamps=false
* drop-out-of-segment=false
* Calculated utc offset is not valid because buffer is out-of-segment

The above case should be considered as a valid data flow without returning
errors.

Fixing regression introduced by
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1683

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5788>
subprojects/gst-plugins-bad/gst/onvif/gstrtponviftimestamp.c