diff options
author | Justin Kim <jeongseok.kim@sk.com> | 2019-01-22 12:42:47 +0900 |
---|---|---|
committer | Justin Kim <jeongseok.kim@sk.com> | 2019-01-22 12:42:47 +0900 |
commit | f63643fcbf41f6946ad0eaeeb0927b97c0704c39 (patch) | |
tree | c350a6ec68e68b88cd7b03b5b31916bcee0056cc | |
parent | b8610e72de31006cce73d9c0d9a1785f657a09e5 (diff) | |
download | gstreamer-plugins-bad-f63643fcbf41f6946ad0eaeeb0927b97c0704c39.tar.gz |
srt: Fix property names
Property name and its enum should match.
-rw-r--r-- | ext/srt/gstsrtobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/srt/gstsrtobject.c b/ext/srt/gstsrtobject.c index bfbfe0a76..af469f113 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)); |