Rename gst_caps_structure_fixate_* to gst_structure_fixate_* (#322027)

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
(gst_structure_fixate_field_nearest_double),
(gst_structure_fixate_field_boolean):
* gst/gststructure.h:
* win32/common/libgstreamer.def:
* win32/gstreamer.def:

Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
(#322027)
This commit is contained in:
Jan Schmidt 2005-11-21 14:28:21 +00:00
parent 58acf5f046
commit 3e17fdcbf9
7 changed files with 32 additions and 22 deletions

View file

@ -1,3 +1,15 @@
2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
* docs/gst/gstreamer-sections.txt:
* gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
(gst_structure_fixate_field_nearest_double),
(gst_structure_fixate_field_boolean):
* gst/gststructure.h:
* win32/common/libgstreamer.def:
* win32/gstreamer.def:
Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
(#322027)
2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
* gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),

View file

@ -234,7 +234,6 @@ gst_caps_from_string
gst_caps_subtract
gst_caps_make_writable
gst_caps_ref
gst_caps_structure_fixate_field_boolean
gst_caps_truncate
gst_caps_unref
<SUBSECTION Standard>
@ -1699,8 +1698,9 @@ gst_structure_nth_field_name
gst_structure_set_parent_refcount
gst_structure_to_string
gst_structure_from_string
gst_caps_structure_fixate_field_nearest_int
gst_caps_structure_fixate_field_nearest_double
gst_structure_fixate_field_nearest_int
gst_structure_fixate_field_nearest_double
gst_structure_fixate_field_boolean
<SUBSECTION Standard>
GST_STRUCTURE
GST_IS_STRUCTURE

View file

@ -1747,7 +1747,7 @@ gst_structure_copy_conditional (const GstStructure * structure)
/* fixate utility functions */
/**
* gst_caps_structure_fixate_field_nearest_int:
* gst_structure_fixate_field_nearest_int:
* @structure: a #GstStructure
* @field_name: a field in @structure
* @target: the target value of the fixation
@ -1757,9 +1757,8 @@ gst_structure_copy_conditional (const GstStructure * structure)
*
* Returns: TRUE if the structure could be fixated
*/
/* FIXME: rename to gst_structure_... */
gboolean
gst_caps_structure_fixate_field_nearest_int (GstStructure * structure,
gst_structure_fixate_field_nearest_int (GstStructure * structure,
const char *field_name, int target)
{
const GValue *value;
@ -1812,7 +1811,7 @@ gst_caps_structure_fixate_field_nearest_int (GstStructure * structure,
}
/**
* gst_caps_structure_fixate_field_nearest_double:
* gst_structure_fixate_field_nearest_double:
* @structure: a #GstStructure
* @field_name: a field in @structure
* @target: the target value of the fixation
@ -1823,7 +1822,7 @@ gst_caps_structure_fixate_field_nearest_int (GstStructure * structure,
* Returns: TRUE if the structure could be fixated
*/
gboolean
gst_caps_structure_fixate_field_nearest_double (GstStructure * structure,
gst_structure_fixate_field_nearest_double (GstStructure * structure,
const char *field_name, double target)
{
const GValue *value;
@ -1877,7 +1876,7 @@ gst_caps_structure_fixate_field_nearest_double (GstStructure * structure,
}
/**
* gst_caps_structure_fixate_field_boolean:
* gst_structure_fixate_field_boolean:
* @structure: a #GstStructure
* @field_name: a field in @structure
* @target: the target value of the fixation
@ -1887,9 +1886,8 @@ gst_caps_structure_fixate_field_nearest_double (GstStructure * structure,
*
* Returns: TRUE if the structure could be fixated
*/
/* FIXME: rename to gst_structure_... */
gboolean
gst_caps_structure_fixate_field_boolean (GstStructure * structure,
gst_structure_fixate_field_boolean (GstStructure * structure,
const char *field_name, gboolean target)
{
const GValue *value;

View file

@ -178,14 +178,14 @@ gchar * gst_structure_to_string (const GstStructure
GstStructure * gst_structure_from_string (const gchar *string,
gchar **end);
gboolean gst_caps_structure_fixate_field_nearest_int (GstStructure *structure,
gboolean gst_structure_fixate_field_nearest_int (GstStructure *structure,
const char *field_name,
int target);
gboolean gst_caps_structure_fixate_field_nearest_double (GstStructure *structure,
gboolean gst_structure_fixate_field_nearest_double (GstStructure *structure,
const char *field_name,
double target);
gboolean gst_caps_structure_fixate_field_boolean (GstStructure *structure,
gboolean gst_structure_fixate_field_boolean (GstStructure *structure,
const char *field_name,
gboolean target);

View file

@ -34,8 +34,8 @@ EXPORTS
gst_structure_set_name
gst_structure_copy
gst_structure_remove_field
gst_caps_structure_fixate_field_nearest_int
gst_caps_structure_fixate_field_nearest_double
gst_structure_fixate_field_nearest_int
gst_structure_fixate_field_nearest_double
gst_caps_get_structure
gst_caps_get_size
gst_caps_set_simple

View file

@ -34,8 +34,8 @@ EXPORTS
gst_structure_set_name
gst_structure_copy
gst_structure_remove_field
gst_caps_structure_fixate_field_nearest_int
gst_caps_structure_fixate_field_nearest_double
gst_structure_fixate_field_nearest_int
gst_structure_fixate_field_nearest_double
gst_caps_get_structure
gst_caps_get_size
gst_caps_set_simple
@ -332,4 +332,4 @@ EXPORTS
gst_plugin_list_free
gst_registry_get_plugin_list
gst_plugin_load_file
_gst_debug_nameof_funcptr
_gst_debug_nameof_funcptr

View file

@ -34,8 +34,8 @@ EXPORTS
gst_structure_set_name
gst_structure_copy
gst_structure_remove_field
gst_caps_structure_fixate_field_nearest_int
gst_caps_structure_fixate_field_nearest_double
gst_structure_fixate_field_nearest_int
gst_structure_fixate_field_nearest_double
gst_caps_get_structure
gst_caps_get_size
gst_caps_set_simple
@ -332,4 +332,4 @@ EXPORTS
gst_plugin_list_free
gst_registry_get_plugin_list
gst_plugin_load_file
_gst_debug_nameof_funcptr
_gst_debug_nameof_funcptr