gstreamer/subprojects/gst-plugins-base/tests/validate/videorate
Thibault Saunier 11b83fb2fc videorate: Handle closing segment on EOS right after caps event
The scenario is what we try in the tests:
- we have a segment with .stop set
- some frame(s) flow
- we get a CAPS event
- we get an EOS (before getting buffers after the CAPS event)

in that case, without that patch, the segment is not properly closed
which is not correct. In this patch we keep track of previous caps until
a new buffer arrives, this way in that situation we set previous caps
again, and close the segment with the previous buffer.

Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1352
in this specific case

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3059>
2022-10-11 11:48:09 -03:00
..
10_to_1fps/flow-expectations Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
change_rate_reverse_playback/flow-expectations Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
change_rate_while_playing/flow-expectations Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
duplicate_on_eos/flow-expectations videorate: Add a max-closing-segment-duplication-duration property 2022-09-20 13:23:02 +00:00
duplicate_on_eos_disbaled/flow-expectations videorate: Add a max-closing-segment-duplication-duration property 2022-09-20 13:23:02 +00:00
duplicate_on_eos_half_sec/flow-expectations videorate: Add a max-closing-segment-duplication-duration property 2022-09-20 13:23:02 +00:00
fill_segment_after_caps_changed_before_eos/flow-expectations videorate: Handle closing segment on EOS right after caps event 2022-10-11 11:48:09 -03:00
rate_0_5/flow-expectations Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
rate_0_5_with_decoder/flow-expectations Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
rate_2_0/flow-expectations Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
rate_2_0_with_decoder/flow-expectations Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
reverse.1_to_10fps/flow-expectations Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
reverse.10_to_1fps/flow-expectations Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
reverse.10_to_30fps/flow-expectations Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
reverse.30fps/flow-expectations Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
reverse.variable_to_10fps/flow-expectations Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
10_to_1fps.validatetest Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
change_rate_reverse_playback.validatetest videorate: remove property-value quotes 2022-06-29 00:36:17 +00:00
change_rate_while_playing.validatetest videorate: remove property-value quotes 2022-06-29 00:36:17 +00:00
check-rate-prop.meta Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
duplicate_on_eos.validatetest videorate: Add a max-closing-segment-duplication-duration property 2022-09-20 13:23:02 +00:00
duplicate_on_eos_disbaled.validatetest videorate: Add a max-closing-segment-duplication-duration property 2022-09-20 13:23:02 +00:00
duplicate_on_eos_half_sec.validatetest videorate: Add a max-closing-segment-duplication-duration property 2022-09-20 13:23:02 +00:00
fill_segment_after_caps_changed_before_eos.validatetest videorate: Handle closing segment on EOS right after caps event 2022-10-11 11:48:09 -03:00
rate_0_5.validatetest Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
rate_0_5_with_decoder.validatetest Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
rate_2_0.validatetest Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
rate_2_0_with_decoder.validatetest Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
reverse.1_to_10fps.validatetest Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
reverse.10_to_1fps.validatetest Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
reverse.10_to_30fps.validatetest Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
reverse.30fps.validatetest Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
reverse.variable_to_10fps.validatetest Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
videorate-test.meta Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00