Skip to content

Commit f481558

Browse files
Fix: gstreamer plugins redundant udp parameter (#1134)
In gstreamer common code fix the redundant udp port parameter overwriting the primary port parameter.
1 parent a141fa9 commit f481558

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ecosystem/gstreamer_plugin/gst_mtl_common.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ void gst_mtl_common_init_general_arguments(GObjectClass* gobject_class) {
260260
G_MAXUINT, 20000, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
261261

262262
g_object_class_install_property(
263-
gobject_class, PROP_GENERAL_PORT_UDP_PORT,
263+
gobject_class, PROP_GENERAL_PORT_UDP_PORT_R,
264264
g_param_spec_uint("udp-port-red", "Sender UDP port", "Receiving MTL node UDP port.",
265265
0, G_MAXUINT, 20000, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
266266

@@ -334,7 +334,7 @@ void gst_mtl_common_set_general_arguments(GObject* object, guint prop_id,
334334
portArgs->udp_port[MTL_PORT_P] = g_value_get_uint(value);
335335
break;
336336
case PROP_GENERAL_PORT_UDP_PORT_R:
337-
portArgs->udp_port[MTL_PORT_FLAG_FORCE_NUMA] = g_value_get_uint(value);
337+
portArgs->udp_port[MTL_PORT_R] = g_value_get_uint(value);
338338
break;
339339
case PROP_GENERAL_PORT_PAYLOAD_TYPE:
340340
portArgs->payload_type = g_value_get_uint(value);

0 commit comments

Comments
 (0)