gstreamer/tests/validate/videorate/reverse.30fps/flow-expectations/log-videorate-sink-expected
Thibault Saunier 97fe599c0f videorate: Fix buffer selection logic in reverse playback
Stop comparing all timestamps from buffers that are before the segment
with the segment.stop and compare with the actual end times.

Comparing to segment.stop for all the buffers that where before
the segment.stop was incorrect and leading to consuming wrong buffers
and not respecting segment.stop, this is now properly tested.

Expectations for `reverse.10_to_1fps.validatetest` have been fixed to
take that into account and comparing the checksums of the sinkpad and
srcpad expectations makes pretty clear how wrong that was.

(we can see in the expectations that videotestsrc outputs an extra
buffer with pts == segment.stop and this one is now properly dropped
by videorate as bec7f4ad5e aimed at
doing)

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/668>
2020-05-26 15:35:00 -04:00

40 lines
5.2 KiB
Text

event stream-start: GstEventStreamStart, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, group-id=(uint)1;
event caps: video/x-raw, format=(string)I420, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive;
event segment: format=TIME, start=0:00:00.000000000, offset=0:00:00.000000000, stop=none, time=0:00:00.000000000, base=0:00:00.000000000, position=0:00:00.000000000
buffer: checksum=5074004a070c85d97cc9f58fab273813c95b748c, pts=0:00:00.000000000, dur=0:00:00.033333333, flags=discont, meta=GstVideoMeta
buffer: checksum=d13b763048b4e8a132923ccec0cb0989a33ef44b, pts=0:00:00.033333333, dur=0:00:00.033333333, meta=GstVideoMeta
event flush-start: (no structure)
event flush-stop: GstEventFlushStop, reset-time=(boolean)true;
event segment: format=TIME, start=0:00:00.000000000, offset=0:00:00.000000000, stop=0:00:01.000000000, rate=-1.000000, flags=0x01, time=0:00:00.000000000, base=0:00:00.000000000, position=0:00:01.000000000
buffer: checksum=0d65174db0fc96dbeaaa2488d013b8935f363330, pts=0:00:01.000000000, dur=0:00:00.033333333, flags=discont, meta=GstVideoMeta
buffer: checksum=012c04214b70c28c823991e5502c0dde653e576e, pts=0:00:00.966666666, dur=0:00:00.033333334, flags=discont, meta=GstVideoMeta
buffer: checksum=3d9ed200fc9ae13a398482ada9957fe5429f4808, pts=0:00:00.933333333, dur=0:00:00.033333333, flags=discont, meta=GstVideoMeta
buffer: checksum=31aabb7c75b036bbbd9495a84647959b336d484b, pts=0:00:00.900000000, dur=0:00:00.033333333, flags=discont, meta=GstVideoMeta
buffer: checksum=4838df67beb6ceadbde9fa4ae633b343962eb4cc, pts=0:00:00.866666666, dur=0:00:00.033333334, flags=discont, meta=GstVideoMeta
buffer: checksum=8969ea732a2692c1e437b901c12dc083c1ba137b, pts=0:00:00.833333333, dur=0:00:00.033333333, flags=discont, meta=GstVideoMeta
buffer: checksum=58936846a7314b141f0bc1d1ff1e9d46db961633, pts=0:00:00.800000000, dur=0:00:00.033333333, flags=discont, meta=GstVideoMeta
buffer: checksum=4c87c8b594e77448cffb8da079544060fa513829, pts=0:00:00.766666666, dur=0:00:00.033333334, flags=discont, meta=GstVideoMeta
buffer: checksum=f54b1beaf9a9709c87b9f2a0e2a509aaa0343b98, pts=0:00:00.733333333, dur=0:00:00.033333333, flags=discont, meta=GstVideoMeta
buffer: checksum=1b8c20d6b674124d076db71daa1854de266b0365, pts=0:00:00.700000000, dur=0:00:00.033333333, flags=discont, meta=GstVideoMeta
buffer: checksum=b235367d19b4a8eedcca178a5919dc0bbbaeabca, pts=0:00:00.666666666, dur=0:00:00.033333334, flags=discont, meta=GstVideoMeta
buffer: checksum=2bd35f37780e5c7bf173bc1c29598ab7f110e168, pts=0:00:00.633333333, dur=0:00:00.033333333, flags=discont, meta=GstVideoMeta
buffer: checksum=1e677a53b1ce72bf11b301041c7cd62602f57cea, pts=0:00:00.600000000, dur=0:00:00.033333333, flags=discont, meta=GstVideoMeta
buffer: checksum=a5b575e2fe65bb0862438f1689a1259612c3451b, pts=0:00:00.566666666, dur=0:00:00.033333334, flags=discont, meta=GstVideoMeta
buffer: checksum=724428f9800b53136cd85e1b28bf89454dce5b17, pts=0:00:00.533333333, dur=0:00:00.033333333, flags=discont, meta=GstVideoMeta
buffer: checksum=997ee2608af57157beeba316c6e4058d904af854, pts=0:00:00.500000000, dur=0:00:00.033333333, flags=discont, meta=GstVideoMeta
buffer: checksum=e33a1e17ee1d97ca396956dcc5bace77bcf40698, pts=0:00:00.466666666, dur=0:00:00.033333334, flags=discont, meta=GstVideoMeta
buffer: checksum=7bb5452dd5d28b6a62f3307b1e6f20a3c34ae0c4, pts=0:00:00.433333333, dur=0:00:00.033333333, flags=discont, meta=GstVideoMeta
buffer: checksum=e9424eca5674294ba9ba8ee81714f7c6cb45f480, pts=0:00:00.400000000, dur=0:00:00.033333333, flags=discont, meta=GstVideoMeta
buffer: checksum=ba9212a73c0b0fb0e1572b4bcc48c3240b617166, pts=0:00:00.366666666, dur=0:00:00.033333334, flags=discont, meta=GstVideoMeta
buffer: checksum=b001027646a88bd2f45818b12ce73b0f04046b06, pts=0:00:00.333333333, dur=0:00:00.033333333, flags=discont, meta=GstVideoMeta
buffer: checksum=d0a85177ea2e35014a69c6290895090c9cdd6af4, pts=0:00:00.300000000, dur=0:00:00.033333333, flags=discont, meta=GstVideoMeta
buffer: checksum=29b39a0c9759a8860ab54f70cc3f2d8901902662, pts=0:00:00.266666666, dur=0:00:00.033333334, flags=discont, meta=GstVideoMeta
buffer: checksum=cf699c4e8340bdae7e5ca8fe155ca1ecd1d565cd, pts=0:00:00.233333333, dur=0:00:00.033333333, flags=discont, meta=GstVideoMeta
buffer: checksum=9667d1b1eb52d9463353a8cb854546b9e9c5fc32, pts=0:00:00.200000000, dur=0:00:00.033333333, flags=discont, meta=GstVideoMeta
buffer: checksum=faa402360b8808220fa8ba7f29246edc52826335, pts=0:00:00.166666666, dur=0:00:00.033333334, flags=discont, meta=GstVideoMeta
buffer: checksum=f5dd66e2339c5ff8db32b3dc717ff867912aceff, pts=0:00:00.133333333, dur=0:00:00.033333333, flags=discont, meta=GstVideoMeta
buffer: checksum=1f55031a355611378b894de9e91f15b7aadb9762, pts=0:00:00.100000000, dur=0:00:00.033333333, flags=discont, meta=GstVideoMeta
buffer: checksum=61f960fb1f82031de8557270b198f528cc319bb5, pts=0:00:00.066666666, dur=0:00:00.033333334, flags=discont, meta=GstVideoMeta
buffer: checksum=d13b763048b4e8a132923ccec0cb0989a33ef44b, pts=0:00:00.033333333, dur=0:00:00.033333333, flags=discont, meta=GstVideoMeta
buffer: checksum=5074004a070c85d97cc9f58fab273813c95b748c, pts=0:00:00.000000000, dur=0:00:00.033333333, flags=discont, meta=GstVideoMeta
event eos: (no structure)