+2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * docs/libs/tmpl/gstdataprotocol.sgml:
+ * docs/manual/advanced-dataaccess.xml:
+ * gst/elements/gstcapsfilter.c:
+ * gst/gstutils.c:
+ rename filter-caps to caps property
+
2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
* gst/gstvalue.c: (gst_value_deserialize_fraction):
#GstBuffer, #GstCaps, #GstEvent
</para>
-<!-- ##### SECTION Stability_Level ##### -->
-
-
<!-- ##### ENUM GstDPHeaderFlag ##### -->
<para>
sink = gst_element_factory_make ("xvimagesink", "sink");
gst_bin_add_many (GST_BIN (pipeline), src, filter, csp, sink, NULL);
gst_element_link_many (src, filter, csp, sink, NULL);
- g_object_set (G_OBJECT (filter), "filter-caps",
+ g_object_set (G_OBJECT (filter), "caps",
gst_caps_new_simple ("video/x-raw-rgb",
"width", G_TYPE_INT, 384,
"height", G_TYPE_INT, 288,
can set a filtered caps on a link by using the
<quote>capsfilter</quote> element in between the two elements, and
specifying a <classname>GstCaps</classname> as
- <quote>filter-caps</quote> property on this element. It will then
+ <quote>caps</quote> property on this element. It will then
only allow types matching that specified capability set for
negotiation.
</para>
videosink = gst_element_factory_make ("xvimagesink", "videosink");
/* setup */
- g_object_set (G_OBJECT (flt), "filter-caps",
+ g_object_set (G_OBJECT (flt), "caps",
gst_caps_new_simple ("video/x-raw-rgb",
"width", G_TYPE_INT, 384,
"height", G_TYPE_INT, 288,
gobject_class->dispose = gst_capsfilter_dispose;
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_FILTER_CAPS,
- g_param_spec_boxed ("filter_caps", _("Filter caps"),
- _("Restrict the possible allowed formats"),
+ g_param_spec_boxed ("caps", _("Filter caps"),
+ _("Restrict the possible allowed capabilities (NULL means ANY)"),
GST_TYPE_CAPS, G_PARAM_READWRITE));
trans_class = (GstBaseTransformClass *) klass;
gst_object_unref (parent);
- g_object_set (capsfilter, "filter-caps", filter, NULL);
+ g_object_set (capsfilter, "caps", filter, NULL);
if (gst_element_link_pads (src, srcpadname, capsfilter, "sink")
&& gst_element_link_pads (capsfilter, "src", dest, destpadname)) {
gobject_class->dispose = gst_capsfilter_dispose;
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_FILTER_CAPS,
- g_param_spec_boxed ("filter_caps", _("Filter caps"),
- _("Restrict the possible allowed formats"),
+ g_param_spec_boxed ("caps", _("Filter caps"),
+ _("Restrict the possible allowed capabilities (NULL means ANY)"),
GST_TYPE_CAPS, G_PARAM_READWRITE));
trans_class = (GstBaseTransformClass *) klass;