gstreamer/subprojects/gst-plugins-base/tests/check/elements
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
..
adder.c
appsink.c appsink: add max-time and max-buffers properties 2023-09-20 08:54:01 +00:00
appsrc.c tests: appsrc: Fix test on Windows 2023-12-02 01:57:48 +00:00
audioconvert.c audioconvert: Fix fallback to identity mixing matrix when setting an empty mix-matrix 2023-10-27 10:07:40 +00:00
audiointerleave.c
audiomixer.c
audiorate.c
audioresample.c
audiotestsrc.c
compositor.c tests: compositor: Fix race in buffer unref 2023-07-21 00:59:59 +09:00
decodebin.c
encodebin.c
glbin.c
glfilter.c
glimagesink.c gl/bufferpool: add configuration to extend buffer lifetime before reuse 2023-08-31 01:24:38 +00:00
glmixer.c
glstereo.c
libvisual.c
multifdsink.c
multisocketsink.c
opus.c
overlaycomposition.c
playbin-complex.c
playbin.c
playsink.c
rawaudioparse.c
rawvideoparse.c
streamsynchronizer.c
subparse.c
textoverlay.c
theoradec.c
urisourcebin.c
videoconvert.c
videorate.c videorate: Correct segment-based calculations 2024-02-08 12:08:08 +00:00
videoscale.c tests: videoscale: Skip passthrough caps 2023-10-03 21:13:00 +00:00
videotestsrc.c
volume.c volume: support arbitrarily-large positive gains 2023-08-07 13:17:45 +00:00
vorbisdec.c
vorbistag.c