summaryrefslogtreecommitdiff
path: root/tests/check
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@igalia.com>2019-12-10 18:40:42 -0300
committerThibault Saunier <tsaunier@igalia.com>2019-12-10 18:44:11 -0300
commit506b6c53c5fb5aa4e90c828bee7a0bd4c292f79e (patch)
tree3f0beacd44fb7ab0dafdb7a1d1e56f3727d6f173 /tests/check
parent1168d6d5481a4d3cd83847b0ff7239231c29df5c (diff)
Do not mix declaration and code
Diffstat (limited to 'tests/check')
-rw-r--r--tests/check/elements/vaapipostproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check/elements/vaapipostproc.c b/tests/check/elements/vaapipostproc.c
index d3a8be7e..1e892d9a 100644
--- a/tests/check/elements/vaapipostproc.c
+++ b/tests/check/elements/vaapipostproc.c
@@ -114,9 +114,9 @@ vpp_test_set_orientation (VppTestContext * ctx, GstVideoOrientationMethod m)
static void
vpp_test_set_dimensions (VppTestContext * ctx, gint w, gint h)
{
- GST_LOG ("%dx%d", w, h);
GstCaps *caps = gst_caps_new_simple ("video/x-raw",
"width", G_TYPE_INT, w, "height", G_TYPE_INT, h, NULL);
+ GST_LOG ("%dx%d", w, h);
g_object_set (ctx->filter, "caps", caps, NULL);
gst_caps_unref (caps);
}