gstreamer/subprojects/gst-plugins-base/tests
Vivia Nikolaidou 60d9cfc954 videorate: Correct segment-based calculations
It was adding and subtracting the segment base here and there, but it
was also doing so incorrectly, leading to various calculation errors.

Fixed a few bugs uncovered, related to getting a new segment:
* If we reset base_ts/next_ts/out_frame_count, also reset prevbuf
* Only do so if the new segment is different than the previous one

Also replaced a few occurrences of GST_BUFFER_TIMESTAMP with
GST_BUFFER_PTS for consistency.

Integrated the tests of
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2186
, now passing. The test_segment_update_same test had to be fixed,
because it was wrongly assuming that we would not fill the gap inside
the new-but-same segment.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6031>
2024-02-08 12:08:08 +00:00
..
check videorate: Correct segment-based calculations 2024-02-08 12:08:08 +00:00
examples gst-plugins-base: re-indent with GNU indent 2.2.12 2023-03-17 03:18:53 +00:00
files theoradec: make sure the selected pool accepts the new config 2023-05-12 14:37:06 +02:00
interactive test: Update all video related tests because of adding DMA_DRM format 2023-07-19 09:57:50 +00:00
validate videorate: Add a property to force dropping out of segment buffers 2023-12-05 14:04:05 +00:00
meson.build gstreamer-full: add full static support 2023-05-31 15:17:11 +00:00