From 1c97fa976fb0902f19e4eedaf98159b010109027 Mon Sep 17 00:00:00 2001 From: prlanzarin Date: Fri, 21 Dec 2018 19:03:53 +0000 Subject: [PATCH] Fixed config-interval prop type checking in basertpendpoint --- src/gst-plugins/commons/kmsbasertpendpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gst-plugins/commons/kmsbasertpendpoint.c b/src/gst-plugins/commons/kmsbasertpendpoint.c index e3bf02a09..8654ebf1b 100644 --- a/src/gst-plugins/commons/kmsbasertpendpoint.c +++ b/src/gst-plugins/commons/kmsbasertpendpoint.c @@ -1218,7 +1218,7 @@ kms_base_rtp_endpoint_get_payloader_for_caps (GstCaps * caps) pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (payloader), "config-interval"); - if (pspec != NULL && G_PARAM_SPEC_VALUE_TYPE (pspec) == G_TYPE_UINT) { + if (pspec != NULL && G_PARAM_SPEC_VALUE_TYPE (pspec) == G_TYPE_INT) { g_object_set (payloader, "config-interval", 1, NULL); }