From 4d24f78c052539c45078494cf8bdf10435d56891 Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Wed, 9 Jan 2019 14:39:11 +0100 Subject: [PATCH] videoscale: Add a test to verify stepped dimensions work --- tests/check/elements/videoscale.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/check/elements/videoscale.c b/tests/check/elements/videoscale.c index 190e543..0ecf1f5 100644 --- a/tests/check/elements/videoscale.c +++ b/tests/check/elements/videoscale.c @@ -633,6 +633,11 @@ GST_START_TEST (test_negotiation) ("video/x-raw,format=(string)AYUV,width=320,height=240,pixel-aspect-ratio=1/1", "video/x-raw,format=(string)AYUV,width=200,height=200,pixel-aspect-ratio=1/2", 200, 200, 1, 2); + + _test_negotiation + ("video/x-raw,format=(string)AYUV,width=854,height=480", + "video/x-raw,format=(string)AYUV,width=[2, 512, 2],height=[2, 512, 2],pixel-aspect-ratio=1/1", + 512, 288, 1, 1); } GST_END_TEST; -- 2.7.4