From 0c22e1b954b98b04673aa5b849a8434b2ce820a1 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Tue, 19 Oct 2010 13:43:14 +0300 Subject: various (gst): add missing G_PARAM_STATIC_STRINGS flags Canonicalize property names as needed. --- gst/sdp/gstsdpdemux.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'gst/sdp') diff --git a/gst/sdp/gstsdpdemux.c b/gst/sdp/gstsdpdemux.c index 04d006744..be978f462 100644 --- a/gst/sdp/gstsdpdemux.c +++ b/gst/sdp/gstsdpdemux.c @@ -182,23 +182,25 @@ gst_sdp_demux_class_init (GstSDPDemuxClass * klass) g_object_class_install_property (gobject_class, PROP_DEBUG, g_param_spec_boolean ("debug", "Debug", "Dump request and response messages to stdout", - DEFAULT_DEBUG, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); + DEFAULT_DEBUG, + G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_TIMEOUT, g_param_spec_uint64 ("timeout", "Timeout", "Fail transport after UDP timeout microseconds (0 = disabled)", 0, G_MAXUINT64, DEFAULT_TIMEOUT, - G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); + G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_LATENCY, g_param_spec_uint ("latency", "Buffer latency in ms", "Amount of ms to buffer", 0, G_MAXUINT, DEFAULT_LATENCY_MS, - G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); + G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_REDIRECT, g_param_spec_boolean ("redirect", "Redirect", "Sends a redirection message instead of using a custom session element", - DEFAULT_REDIRECT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); + DEFAULT_REDIRECT, + G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS)); gstelement_class->change_state = gst_sdp_demux_change_state; -- cgit v1.2.1