various (ext): add missing G_PARAM_STATIC_STRINGS flags
authorStefan Kost <ensonic@users.sf.net>
Tue, 19 Oct 2010 13:23:23 +0000 (16:23 +0300)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 2 Jan 2011 14:30:09 +0000 (14:30 +0000)
Canonicalize property names as needed.

ext/jack/gstjackaudiosink.c
ext/jack/gstjackaudiosrc.c

index 8f23791386252972de47efb29fb91f7b2934b0b6..32bf1af3e47eadf4537568f4b7e778b0b8cefac2 100644 (file)
@@ -686,12 +686,13 @@ gst_jack_audio_sink_class_init (GstJackAudioSinkClass * klass)
   g_object_class_install_property (gobject_class, PROP_CONNECT,
       g_param_spec_enum ("connect", "Connect",
           "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_param_spec_string ("server", "Server",
           "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_param_spec_boxed ("client", "JackClient", "Handle for jack client",
index a97cea03e464dd4806dfe3adb50aad6210f32380..0ffdb23985fd65eaa3716bf550bb1a485cea8f7f 100644 (file)
@@ -706,12 +706,13 @@ gst_jack_audio_src_class_init (GstJackAudioSrcClass * klass)
   g_object_class_install_property (gobject_class, PROP_CONNECT,
       g_param_spec_enum ("connect", "Connect",
           "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_param_spec_string ("server", "Server",
           "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_param_spec_boxed ("client", "JackClient", "Handle for jack client",