From: Thibault Saunier Date: Tue, 10 Dec 2019 21:40:42 +0000 (-0300) Subject: Do not mix declaration and code X-Git-Tag: 1.19.3~503^2~366 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=506b6c53c5fb5aa4e90c828bee7a0bd4c292f79e;p=platform%2Fupstream%2Fgstreamer.git Do not mix declaration and code --- diff --git a/tests/check/elements/vaapipostproc.c b/tests/check/elements/vaapipostproc.c index d3a8be7..1e892d9 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); }