mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
docs/gst/gstreamer-sections.txt: add gst_caps_do_simplify
Original commit message from CVS: * docs/gst/gstreamer-sections.txt: add gst_caps_do_simplify * gst/gstcaps.c: add documentation for gst_caps_do_simplify * gst/gstvalue.h: fix typo in gst_value_register_subtract_func declaration for gst-doc
This commit is contained in:
parent
d7c64c071b
commit
03a9d6a747
4 changed files with 20 additions and 1 deletions
|
@ -1,3 +1,12 @@
|
|||
2004-04-22 Benjamin Otte <otte@gnome.org>
|
||||
|
||||
* docs/gst/gstreamer-sections.txt:
|
||||
add gst_caps_do_simplify
|
||||
* gst/gstcaps.c:
|
||||
add documentation for gst_caps_do_simplify
|
||||
* gst/gstvalue.h:
|
||||
fix typo in gst_value_register_subtract_func declaration for gst-doc
|
||||
|
||||
2004-04-22 Benjamin Otte <otte@gnome.org>
|
||||
|
||||
* gst/gstcaps.c: (gst_caps_from_string_inplace):
|
||||
|
|
|
@ -123,6 +123,7 @@ gst_caps_intersect
|
|||
gst_caps_union
|
||||
gst_caps_normalize
|
||||
gst_caps_simplify
|
||||
gst_caps_do_simplify
|
||||
gst_caps_save_thyself
|
||||
gst_caps_load_thyself
|
||||
gst_caps_replace
|
||||
|
|
|
@ -1192,6 +1192,15 @@ gst_caps_structure_simplify (const GstStructure * simplify,
|
|||
return ret;
|
||||
}
|
||||
|
||||
/**
|
||||
* gst_caps_simplify:
|
||||
* @caps: a #GstCaps to simplify
|
||||
*
|
||||
* Modifies the given @caps inplace into a representation that represents the
|
||||
* same set of formats, but in a simpler form. Component structures that are
|
||||
* identical are merged. Component structures that have values that can be
|
||||
* merged are also merged.
|
||||
*/
|
||||
void
|
||||
gst_caps_do_simplify (GstCaps * caps)
|
||||
{
|
||||
|
|
|
@ -158,7 +158,7 @@ gboolean gst_value_subtract (GValue *dest,
|
|||
gboolean gst_value_can_subtract (const GValue *minuend,
|
||||
const GValue *subtrahend);
|
||||
void gst_value_register_subtract_func (GType minuend_type,
|
||||
GType dubtrahend_type,
|
||||
GType subtrahend_type,
|
||||
GstValueSubtractFunc func);
|
||||
|
||||
/* fixation */
|
||||
|
|
Loading…
Reference in a new issue