mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-05-18 14:19:01 +00:00
Do not mix declaration and code
This commit is contained in:
parent
1168d6d548
commit
506b6c53c5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue