Skip to content

Commit

Permalink
Merge pull request Kurento#7 from mconf/fix-config-interval-proptype
Browse files Browse the repository at this point in the history
Fixed config-interval prop type checking in basertpendpoint
  • Loading branch information
prlanzarin authored Dec 21, 2018
2 parents c0d986d + 1c97fa9 commit 9049f74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gst-plugins/commons/kmsbasertpendpoint.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 9049f74

Please sign in to comment.