valve: fix typo in property description

And rephrase while at it, to make it more concise.
This commit is contained in:
Tim-Philipp Müller 2010-12-30 00:30:18 +00:00
parent 736daba993
commit ec6336f1a9

View file

@ -114,10 +114,8 @@ gst_valve_class_init (GstValveClass * klass)
gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_valve_get_property); gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_valve_get_property);
g_object_class_install_property (gobject_class, ARG_DROP, g_object_class_install_property (gobject_class, ARG_DROP,
g_param_spec_boolean ("drop", g_param_spec_boolean ("drop", "Drop buffers and events",
"Drops all buffers if TRUE", "Whether to drop buffers and events or let them through",
"If this property if TRUE, the element will drop all buffers, "
"if its FALSE, it will let them through",
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
} }