factory-uri: use right property type
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 7 Jan 2011 10:24:39 +0000 (11:24 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 7 Jan 2011 10:24:39 +0000 (11:24 +0100)
gst/rtsp-server/rtsp-media-factory-uri.c

index 227c794..c0932b9 100644 (file)
@@ -104,7 +104,7 @@ gst_rtsp_media_factory_uri_class_init (GstRTSPMediaFactoryURIClass * klass)
    * without a payloader.
    */
   g_object_class_install_property (gobject_class, PROP_USE_GSTPAY,
-      g_param_spec_string ("use-gstpay", "Use gstpay",
+      g_param_spec_boolean ("use-gstpay", "Use gstpay",
           "Use the gstpay payloader to avoid decoding", DEFAULT_USE_GSTPAY,
           G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));