ges:tests: Fix the `ignore-fields` format in validatetests
authorThibault Saunier <tsaunier@igalia.com>
Thu, 30 Apr 2020 21:44:33 +0000 (17:44 -0400)
committerThibault Saunier <tsaunier@igalia.com>
Thu, 30 Apr 2020 21:44:33 +0000 (17:44 -0400)
They are needed as those are not 100% reproducible with GES.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/168>

tests/check/scenarios/edit_while_seeked_with_stop.validatetest
tests/check/scenarios/edit_while_seeked_with_stop/flow-expectations/log-videosink-sink-expected
tests/check/scenarios/seek_with_stop.check_clock_sync.validatetest
tests/check/scenarios/seek_with_stop.check_clock_sync/flow-expectations/log-videosink-sink-expected
tests/check/scenarios/seek_with_stop.validatetest
tests/check/scenarios/seek_with_stop/flow-expectations/log-audiosink-sink-expected
tests/check/scenarios/seek_with_stop/flow-expectations/log-videosink-sink-expected

index a9866fa..b2fc4e8 100644 (file)
@@ -9,7 +9,7 @@ meta,
     ignore-eos=true,
     configs = {
         # Ideally we should be able to record checksums... but they are not reproducible
-        "$(validateflow), pad=videosink: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}\"",
     }
 
 add-clip, name=c0, asset-id=GESTestClip, layer-priority=0, type=GESTestClip, start=0, duration=1.0
index d0a1c44..e6bdceb 100644 (file)
@@ -1,4 +1,4 @@
-event stream-start: GstEventStreamStart, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, stream=(GstStream)"\(GstStream\)\ stream0", group-id=(uint)2;
+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)10/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
 buffer: pts=0:00:00.000000000, dur=0:00:00.100000000
index 3b28397..c89266a 100644 (file)
@@ -9,7 +9,7 @@ meta,
     ignore-eos=true,
     configs = {
         # Ideally we should be able to record checksums... but they are not reproducible
-        "$(validateflow), pad=videosink: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}\"",
     }
 
 add-clip, name=c0, asset-id=GESTestClip, layer-priority=0, type=GESTestClip, start=0, duration=1.0
index f975942..4370de5 100644 (file)
@@ -1,4 +1,4 @@
-event stream-start: GstEventStreamStart, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, stream=(GstStream)"\(GstStream\)\ stream0", group-id=(uint)2;
+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)10/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
 buffer: pts=0:00:00.000000000, dur=0:00:00.100000000
index b142172..58fa43c 100644 (file)
@@ -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}\"",
+        "$(validateflow), pad=audiosink:sink, record-buffers=true, ignored-fields=\"stream-start={stream-id,group-id,stream}\"",
     }
 
 add-clip, name=c0, asset-id=GESTestClip, layer-priority=0, type=GESTestClip, start=0, duration=1.0
index 4ca1455..f484fef 100644 (file)
@@ -1,4 +1,4 @@
-event stream-start: GstEventStreamStart, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, stream=(GstStream)"\(GstStream\)\ stream1", group-id=(uint)3;
+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
 buffer: pts=0:00:00.000000000, dur=0:00:00.010000000
index 5f11a16..4102854 100644 (file)
@@ -1,4 +1,4 @@
-event stream-start: GstEventStreamStart, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, stream=(GstStream)"\(GstStream\)\ stream0", group-id=(uint)3;
+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
 buffer: pts=0:00:00.000000000, dur=0:00:00.033333333