From f63643fcbf41f6946ad0eaeeb0927b97c0704c39 Mon Sep 17 00:00:00 2001 From: Justin Kim Date: Tue, 22 Jan 2019 12:42:47 +0900 Subject: [PATCH] srt: Fix property names Property name and its enum should match. --- ext/srt/gstsrtobject.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/srt/gstsrtobject.c b/ext/srt/gstsrtobject.c index bfbfe0a761..af469f1131 100644 --- a/ext/srt/gstsrtobject.c +++ b/ext/srt/gstsrtobject.c @@ -360,7 +360,7 @@ gst_srt_object_install_properties_helper (GObjectClass * gobject_class) * The local port to bind when #GstSRTSrc:mode is listener or rendezvous. * This property can be set by URI parameters. */ - g_object_class_install_property (gobject_class, PROP_POLL_TIMEOUT, + g_object_class_install_property (gobject_class, PROP_LOCALPORT, g_param_spec_uint ("localport", "Local port", "Local port to bind", 0, 65535, GST_SRT_DEFAULT_PORT, @@ -373,7 +373,7 @@ gst_srt_object_install_properties_helper (GObjectClass * gobject_class) * The password for the encrypted transmission. * This property can be set by URI parameters. */ - g_object_class_install_property (gobject_class, PROP_LOCALADDRESS, + g_object_class_install_property (gobject_class, PROP_PASSPHRASE, g_param_spec_string ("passphrase", "Passphrase", "Password for the encrypted transmission", "", G_PARAM_WRITABLE | GST_PARAM_MUTABLE_READY | G_PARAM_STATIC_STRINGS));