mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
various (ext): add missing G_PARAM_STATIC_STRINGS flags
Canonicalize property names as needed.
This commit is contained in:
parent
11c4157af4
commit
3c43a9e102
2 changed files with 6 additions and 4 deletions
|
@ -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)
|
||||||
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",
|
||||||
|
|
Loading…
Reference in a new issue