Commit e9a7c72f authored by Olivier Crete's avatar Olivier Crete

Can't have construct-time properties on gst elements

darcs-hash:20080425200047-3e2dc-9d92ca18766d133a17b2053b4debeae272746d5e.gz
parent 0376b2ee
...@@ -124,7 +124,7 @@ gst_nice_sink_class_init (GstNiceSinkClass *klass) ...@@ -124,7 +124,7 @@ gst_nice_sink_class_init (GstNiceSinkClass *klass)
"Agent", "Agent",
"The NiceAgent this source is bound to", "The NiceAgent this source is bound to",
NICE_TYPE_AGENT, NICE_TYPE_AGENT,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, PROP_STREAM, g_object_class_install_property (gobject_class, PROP_STREAM,
g_param_spec_uint ( g_param_spec_uint (
...@@ -134,7 +134,7 @@ gst_nice_sink_class_init (GstNiceSinkClass *klass) ...@@ -134,7 +134,7 @@ gst_nice_sink_class_init (GstNiceSinkClass *klass)
0, 0,
G_MAXUINT, G_MAXUINT,
0, 0,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, PROP_COMPONENT, g_object_class_install_property (gobject_class, PROP_COMPONENT,
g_param_spec_uint ( g_param_spec_uint (
...@@ -144,7 +144,7 @@ gst_nice_sink_class_init (GstNiceSinkClass *klass) ...@@ -144,7 +144,7 @@ gst_nice_sink_class_init (GstNiceSinkClass *klass)
0, 0,
G_MAXUINT, G_MAXUINT,
0, 0,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); G_PARAM_READWRITE));
} }
static void static void
......
...@@ -142,7 +142,7 @@ gst_nice_src_class_init (GstNiceSrcClass *klass) ...@@ -142,7 +142,7 @@ gst_nice_src_class_init (GstNiceSrcClass *klass)
"Agent", "Agent",
"The NiceAgent this source is bound to", "The NiceAgent this source is bound to",
NICE_TYPE_AGENT, NICE_TYPE_AGENT,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, PROP_STREAM, g_object_class_install_property (gobject_class, PROP_STREAM,
g_param_spec_uint ( g_param_spec_uint (
...@@ -152,7 +152,7 @@ gst_nice_src_class_init (GstNiceSrcClass *klass) ...@@ -152,7 +152,7 @@ gst_nice_src_class_init (GstNiceSrcClass *klass)
0, 0,
G_MAXUINT, G_MAXUINT,
0, 0,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, PROP_COMPONENT, g_object_class_install_property (gobject_class, PROP_COMPONENT,
g_param_spec_uint ( g_param_spec_uint (
...@@ -162,7 +162,7 @@ gst_nice_src_class_init (GstNiceSrcClass *klass) ...@@ -162,7 +162,7 @@ gst_nice_src_class_init (GstNiceSrcClass *klass)
0, 0,
G_MAXUINT, G_MAXUINT,
0, 0,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); G_PARAM_READWRITE));
} }
static void static void
......
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