diff options
author | Thibault Saunier <tsaunier@igalia.com> | 2021-01-15 15:29:47 -0300 |
---|---|---|
committer | Thibault Saunier <tsaunier@igalia.com> | 2021-02-10 16:14:47 -0300 |
commit | 78f8ae860eae551abc721e85e4319fe074828864 (patch) | |
tree | 7857fa563a78f854312aca80ef05589e48cf3a2c | |
parent | 71fc89e6a8de8bdfea2b49bc009402fa05ca779d (diff) |
test: Check clip positioning works when specifying track size
Make use of the new 'timeline specification' support in .validatetest
files.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/227>
-rw-r--r-- | tests/check/meson.build | 1 | ||||
-rw-r--r-- | tests/check/scenarios/check-clip-positioning.validatetest | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/check/meson.build b/tests/check/meson.build index cb3af675..8f158245 100644 --- a/tests/check/meson.build +++ b/tests/check/meson.build @@ -88,6 +88,7 @@ if gstvalidate_dep.found() 'edit_while_seeked_with_stop': true, 'complex_effect_bin_desc': true, 'check_keyframes_in_compositor_two_sources': true, + 'check-clip-positioning': true, } foreach scenario, is_validatetest: scenarios diff --git a/tests/check/scenarios/check-clip-positioning.validatetest b/tests/check/scenarios/check-clip-positioning.validatetest new file mode 100644 index 00000000..2d19769c --- /dev/null +++ b/tests/check/scenarios/check-clip-positioning.validatetest @@ -0,0 +1,12 @@ +meta, + tool = "ges-launch-$(gst_api_version)", + handles-states=true, + args = { + +test-clip, blue, "d=0.5", "asset-id=time-overlay, width=640, height=360, max-duration=5.0", "name=clip", + --track-types, video, + --videosink, "$(videosink) name=videosink sync=true", + --video-caps, "video/x-raw,format=I420,width=640,height=360,framerate=10/1,chroma-site=mpeg2,colorimetry=bt709;", + } + +check-child-properties, element-name=clip, width=0, height=0 +stop
\ No newline at end of file |