gstreamer/subprojects/gst-plugins-base/tests/check
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
..
elements videorate: Correct segment-based calculations 2024-02-08 12:08:08 +00:00
generic Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gst typefindfunctions: Fix WebVTT format detection 2022-02-11 13:48:45 +00:00
libs gl: colorconvert: Add DMA_DRM passtrough support 2024-01-25 20:39:37 +00:00
pipelines gl/tests: fix unused-but-set warning if built with gles2-only 2023-05-31 04:26:12 +00:00
gst-plugins-base.supp valgrind: Ignore some leaks in the X server that have been fixed already 2024-01-31 11:00:25 +00:00
meson.build meson: Always use forward slashes in defines with paths 2023-07-12 21:17:25 +00:00