Commit 3c43a9e1 authored by Stefan Kost's avatar Stefan Kost Committed by Tim-Philipp Müller
Browse files

various (ext): add missing G_PARAM_STATIC_STRINGS flags

Canonicalize property names as needed.
parent 11c4157a
...@@ -686,12 +686,13 @@ gst_jack_audio_sink_class_init (GstJackAudioSinkClass * klass) ...@@ -686,12 +686,13 @@ gst_jack_audio_sink_class_init (GstJackAudioSinkClass * klass)
g_object_class_install_property (gobject_class, PROP_CONNECT, g_object_class_install_property (gobject_class, PROP_CONNECT,
g_param_spec_enum ("connect", "Connect", g_param_spec_enum ("connect", "Connect",
"Specify how the output ports will be connected", "Specify how the output ports will be connected",
GST_TYPE_JACK_CONNECT, DEFAULT_PROP_CONNECT, G_PARAM_READWRITE)); GST_TYPE_JACK_CONNECT, DEFAULT_PROP_CONNECT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_SERVER, g_object_class_install_property (gobject_class, PROP_SERVER,
g_param_spec_string ("server", "Server", g_param_spec_string ("server", "Server",
"The Jack server to connect to (NULL = default)", "The Jack server to connect to (NULL = default)",
DEFAULT_PROP_SERVER, G_PARAM_READWRITE)); DEFAULT_PROP_SERVER, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_CLIENT, g_object_class_install_property (gobject_class, PROP_CLIENT,
g_param_spec_boxed ("client", "JackClient", "Handle for jack client", g_param_spec_boxed ("client", "JackClient", "Handle for jack client",
......
...@@ -706,12 +706,13 @@ gst_jack_audio_src_class_init (GstJackAudioSrcClass * klass) ...@@ -706,12 +706,13 @@ gst_jack_audio_src_class_init (GstJackAudioSrcClass * klass)
g_object_class_install_property (gobject_class, PROP_CONNECT, g_object_class_install_property (gobject_class, PROP_CONNECT,
g_param_spec_enum ("connect", "Connect", g_param_spec_enum ("connect", "Connect",
"Specify how the input ports will be connected", "Specify how the input ports will be connected",
GST_TYPE_JACK_CONNECT, DEFAULT_PROP_CONNECT, G_PARAM_READWRITE)); GST_TYPE_JACK_CONNECT, DEFAULT_PROP_CONNECT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_SERVER, g_object_class_install_property (gobject_class, PROP_SERVER,
g_param_spec_string ("server", "Server", g_param_spec_string ("server", "Server",
"The Jack server to connect to (NULL = default)", "The Jack server to connect to (NULL = default)",
DEFAULT_PROP_SERVER, G_PARAM_READWRITE)); DEFAULT_PROP_SERVER, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_CLIENT, g_object_class_install_property (gobject_class, PROP_CLIENT,
g_param_spec_boxed ("client", "JackClient", "Handle for jack client", g_param_spec_boxed ("client", "JackClient", "Handle for jack client",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment