mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
tests: Stop recording segment position in seek_with_stop
There are two valid timing in GstAggregator where the segment event is pushed before GstAggregator sets its srcpad->segment.position in gst_aggregator_pad_chain_internal. Segment.position is basically a helper field for internal elements use so we should not require a specific value here as we are not checking a particular element behavior. Fixes https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/issues/106 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/174>
This commit is contained in:
parent
f5cb409266
commit
5c05b4942e
3 changed files with 12 additions and 12 deletions
|
@ -7,8 +7,8 @@ meta,
|
|||
handles-states=true,
|
||||
ignore-eos=true,
|
||||
configs = {
|
||||
"$(validateflow), pad=videosink:sink, record-buffers=true, ignored-fields=\"stream-start={stream-id,group-id,stream}\"",
|
||||
"$(validateflow), pad=audiosink:sink, record-buffers=true, ignored-fields=\"stream-start={stream-id,group-id,stream}\"",
|
||||
"$(validateflow), pad=videosink:sink, record-buffers=true, ignored-fields=\"stream-start={stream-id,group-id,stream}, segment={position,}\"",
|
||||
"$(validateflow), pad=audiosink:sink, record-buffers=true, ignored-fields=\"stream-start={stream-id,group-id,stream}, segment={position,}\"",
|
||||
}
|
||||
|
||||
add-clip, name=c0, asset-id=GESTestClip, layer-priority=0, type=GESTestClip, start=0, duration=1.0
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
event stream-start: GstEventStreamStart, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE;
|
||||
event caps: audio/x-raw, rate=(int)44100, format=(string)S32LE, channels=(int)2, layout=(string)interleaved, channel-mask=(bitmask)0x0000000000000003;
|
||||
event segment: format=TIME, start=0:00:00.000000000, offset=0:00:00.000000000, stop=0:00:01.000000000, flags=0x01, time=0:00:00.000000000, base=0:00:00.000000000, position=0:00:00.000000000
|
||||
event segment: format=TIME, start=0:00:00.000000000, offset=0:00:00.000000000, stop=0:00:01.000000000, flags=0x01, time=0:00:00.000000000, base=0:00:00.000000000
|
||||
buffer: pts=0:00:00.000000000, dur=0:00:00.010000000
|
||||
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:00.500000000, flags=0x01, time=0:00:00.000000000, base=0:00:00.000000000, position=0:00:00.000000000
|
||||
event segment: format=TIME, start=0:00:00.000000000, offset=0:00:00.000000000, stop=0:00:00.500000000, flags=0x01, time=0:00:00.000000000, base=0:00:00.000000000
|
||||
buffer: pts=0:00:00.000000000, dur=0:00:00.010000000
|
||||
buffer: pts=0:00:00.010000000, dur=0:00:00.010000000
|
||||
buffer: pts=0:00:00.020000000, dur=0:00:00.010000000
|
||||
|
@ -59,7 +59,7 @@ event gap: GstEventGap, timestamp=(guint64)500000000, duration=(guint64)18446744
|
|||
event eos: (no structure)
|
||||
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:00.500000000, flags=0x01, time=0:00:00.000000000, base=0:00:00.000000000, position=0:00:00.000000000
|
||||
event segment: format=TIME, start=0:00:00.000000000, offset=0:00:00.000000000, stop=0:00:00.500000000, flags=0x01, time=0:00:00.000000000, base=0:00:00.000000000
|
||||
buffer: pts=0:00:00.000000000, dur=0:00:00.010000000
|
||||
buffer: pts=0:00:00.010000000, dur=0:00:00.010000000
|
||||
buffer: pts=0:00:00.020000000, dur=0:00:00.010000000
|
||||
|
@ -114,7 +114,7 @@ event gap: GstEventGap, timestamp=(guint64)500000000, duration=(guint64)18446744
|
|||
event eos: (no structure)
|
||||
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, flags=0x01, time=0:00:00.000000000, base=0:00:00.000000000, position=0:00:00.000000000
|
||||
event segment: format=TIME, start=0:00:00.000000000, offset=0:00:00.000000000, stop=0:00:01.000000000, flags=0x01, time=0:00:00.000000000, base=0:00:00.000000000
|
||||
buffer: pts=0:00:00.000000000, dur=0:00:00.010000000
|
||||
buffer: pts=0:00:00.010000000, dur=0:00:00.010000000
|
||||
buffer: pts=0:00:00.020000000, dur=0:00:00.010000000
|
||||
|
@ -219,7 +219,7 @@ event gap: GstEventGap, timestamp=(guint64)1000000000, duration=(guint64)1844674
|
|||
event eos: (no structure)
|
||||
event flush-start: (no structure)
|
||||
event flush-stop: GstEventFlushStop, reset-time=(boolean)true;
|
||||
event segment: format=TIME, start=0:00:01.000000000, offset=0:00:00.000000000, stop=0:00:01.500000000, flags=0x01, time=0:00:01.000000000, base=0:00:00.000000000, position=0:00:01.000000000
|
||||
event segment: format=TIME, start=0:00:01.000000000, offset=0:00:00.000000000, stop=0:00:01.500000000, flags=0x01, time=0:00:01.000000000, base=0:00:00.000000000
|
||||
buffer: pts=0:00:01.000000000, dur=0:00:00.010000000
|
||||
buffer: pts=0:00:01.010000000, dur=0:00:00.010000000
|
||||
buffer: pts=0:00:01.020000000, dur=0:00:00.010000000
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
event stream-start: GstEventStreamStart, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE;
|
||||
event caps: video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, framerate=(fraction)30/1, chroma-site=(string)mpeg2, colorimetry=(string)bt709;
|
||||
event segment: format=TIME, start=0:00:00.000000000, offset=0:00:00.000000000, stop=0:00:01.000000000, flags=0x01, time=0:00:00.000000000, base=0:00:00.000000000, position=none
|
||||
event segment: format=TIME, start=0:00:00.000000000, offset=0:00:00.000000000, stop=0:00:01.000000000, flags=0x01, time=0:00:00.000000000, base=0:00:00.000000000
|
||||
buffer: pts=0:00:00.000000000, dur=0:00:00.033333333
|
||||
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:00.500000000, flags=0x01, time=0:00:00.000000000, base=0:00:00.000000000, position=none
|
||||
event segment: format=TIME, start=0:00:00.000000000, offset=0:00:00.000000000, stop=0:00:00.500000000, flags=0x01, time=0:00:00.000000000, base=0:00:00.000000000
|
||||
buffer: pts=0:00:00.000000000, dur=0:00:00.033333333
|
||||
buffer: pts=0:00:00.033333333, dur=0:00:00.033333334
|
||||
buffer: pts=0:00:00.066666667, dur=0:00:00.033333333
|
||||
|
@ -23,7 +23,7 @@ buffer: pts=0:00:00.466666667, dur=0:00:00.033333333
|
|||
event eos: (no structure)
|
||||
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:00.500000000, flags=0x01, time=0:00:00.000000000, base=0:00:00.000000000, position=none
|
||||
event segment: format=TIME, start=0:00:00.000000000, offset=0:00:00.000000000, stop=0:00:00.500000000, flags=0x01, time=0:00:00.000000000, base=0:00:00.000000000
|
||||
buffer: pts=0:00:00.000000000, dur=0:00:00.033333333
|
||||
buffer: pts=0:00:00.033333333, dur=0:00:00.033333334
|
||||
buffer: pts=0:00:00.066666667, dur=0:00:00.033333333
|
||||
|
@ -42,7 +42,7 @@ buffer: pts=0:00:00.466666667, dur=0:00:00.033333333
|
|||
event eos: (no structure)
|
||||
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, flags=0x01, time=0:00:00.000000000, base=0:00:00.000000000, position=none
|
||||
event segment: format=TIME, start=0:00:00.000000000, offset=0:00:00.000000000, stop=0:00:01.000000000, flags=0x01, time=0:00:00.000000000, base=0:00:00.000000000
|
||||
buffer: pts=0:00:00.000000000, dur=0:00:00.033333333
|
||||
buffer: pts=0:00:00.033333333, dur=0:00:00.033333334
|
||||
buffer: pts=0:00:00.066666667, dur=0:00:00.033333333
|
||||
|
@ -76,7 +76,7 @@ buffer: pts=0:00:00.966666667, dur=0:00:00.033333333
|
|||
event eos: (no structure)
|
||||
event flush-start: (no structure)
|
||||
event flush-stop: GstEventFlushStop, reset-time=(boolean)true;
|
||||
event segment: format=TIME, start=0:00:01.000000000, offset=0:00:00.000000000, stop=0:00:01.500000000, flags=0x01, time=0:00:01.000000000, base=0:00:00.000000000, position=none
|
||||
event segment: format=TIME, start=0:00:01.000000000, offset=0:00:00.000000000, stop=0:00:01.500000000, flags=0x01, time=0:00:01.000000000, base=0:00:00.000000000
|
||||
buffer: pts=0:00:01.000000000, dur=0:00:00.033333333
|
||||
buffer: pts=0:00:01.033333333, dur=0:00:00.033333334
|
||||
buffer: pts=0:00:01.066666667, dur=0:00:00.033333333
|
||||
|
|
Loading…
Reference in a new issue