summaryrefslogtreecommitdiff
path: root/tests/check
diff options
context:
space:
mode:
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);
}