From a507f7017eb94e9b2416711a531079c568d2b55a Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Fri, 15 May 2020 12:19:16 -0400 Subject: [PATCH] tests: Stop recording gaps in seek_with_stop We have little control over those as they are generated by streamsynchronizer in a not reproducible way Part-of: --- tests/check/scenarios/seek_with_stop.validatetest | 8 ++++---- .../flow-expectations/log-audiosink-sink-expected | 4 ---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/tests/check/scenarios/seek_with_stop.validatetest b/tests/check/scenarios/seek_with_stop.validatetest index 134f126396..6f4098b0f1 100644 --- a/tests/check/scenarios/seek_with_stop.validatetest +++ b/tests/check/scenarios/seek_with_stop.validatetest @@ -1,14 +1,14 @@ meta, tool = "ges-launch-$(gst_api_version)", args = { - --videosink, "$(videosink) name=videosink", - --audiosink, "$(audiosink) name=audiosink", + --videosink, "$(videosink) sync=false name=videosink", + --audiosink, "$(audiosink) sync=false name=audiosink", }, handles-states=true, ignore-eos=true, configs = { - "$(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,}\"", + "$(validateflow), pad=videosink:sink, record-buffers=true, ignored-fields=\"stream-start={stream-id,group-id,stream}, segment={position,}\", ignored-event-types={gap}", + "$(validateflow), pad=audiosink:sink, record-buffers=true, ignored-fields=\"stream-start={stream-id,group-id,stream}, segment={position,}\", ignored-event-types={gap}", } add-clip, name=c0, asset-id=time-overlay, layer-priority=0, type=GESSourceClip, start=0, duration=1.0 diff --git a/tests/check/scenarios/seek_with_stop/flow-expectations/log-audiosink-sink-expected b/tests/check/scenarios/seek_with_stop/flow-expectations/log-audiosink-sink-expected index c2daae6338..7607dbdfa9 100644 --- a/tests/check/scenarios/seek_with_stop/flow-expectations/log-audiosink-sink-expected +++ b/tests/check/scenarios/seek_with_stop/flow-expectations/log-audiosink-sink-expected @@ -55,7 +55,6 @@ buffer: pts=0:00:00.460000000, dur=0:00:00.010000000 buffer: pts=0:00:00.470000000, dur=0:00:00.010000000 buffer: pts=0:00:00.480000000, dur=0:00:00.010000000 buffer: pts=0:00:00.490000000, dur=0:00:00.010000000 -event gap: GstEventGap, timestamp=(guint64)500000000, duration=(guint64)18446744073709551615; event eos: (no structure) event flush-start: (no structure) event flush-stop: GstEventFlushStop, reset-time=(boolean)true; @@ -110,7 +109,6 @@ buffer: pts=0:00:00.460000000, dur=0:00:00.010000000 buffer: pts=0:00:00.470000000, dur=0:00:00.010000000 buffer: pts=0:00:00.480000000, dur=0:00:00.010000000 buffer: pts=0:00:00.490000000, dur=0:00:00.010000000 -event gap: GstEventGap, timestamp=(guint64)500000000, duration=(guint64)18446744073709551615; event eos: (no structure) event flush-start: (no structure) event flush-stop: GstEventFlushStop, reset-time=(boolean)true; @@ -215,7 +213,6 @@ buffer: pts=0:00:00.960000000, dur=0:00:00.010000000 buffer: pts=0:00:00.970000000, dur=0:00:00.010000000 buffer: pts=0:00:00.980000000, dur=0:00:00.010000000 buffer: pts=0:00:00.990000000, dur=0:00:00.010000000 -event gap: GstEventGap, timestamp=(guint64)1000000000, duration=(guint64)18446744073709551615; event eos: (no structure) event flush-start: (no structure) event flush-stop: GstEventFlushStop, reset-time=(boolean)true; @@ -270,5 +267,4 @@ buffer: pts=0:00:01.460000000, dur=0:00:00.010000000 buffer: pts=0:00:01.470000000, dur=0:00:00.010000000 buffer: pts=0:00:01.480000000, dur=0:00:00.010000000 buffer: pts=0:00:01.490000000, dur=0:00:00.010000000 -event gap: GstEventGap, timestamp=(guint64)1500000000, duration=(guint64)18446744073709551615; event eos: (no structure)