-Subproject commit 345fd9851051274dd758a19bbe33dbb561b4d303
+Subproject commit 793f85c1c14de9c1053b8db7df44bfbba1f0a156
gst_query_type_iterate_definitions
gst_query_unref
+gst_query_set_segment
+gst_query_new_segment
+gst_query_parse_segment
+
<SUBSECTION Standard>
GstQueryClass
GST_QUERY
<TITLE>GstController</TITLE>
<INCLUDE>gst/controller/gstcontroller.h</INCLUDE>
GstController
-GstValueArray
GstInterpolateMode
gst_controller_init
gst_controller_new
* A datatype to hold a time, measured in nanoseconds.
*/
typedef guint64 GstClockTime;
+
+#define GST_TYPE_CLOCK_TIME G_TYPE_UINT64
+
/**
* GstClockTimeDiff:
*
/**
* gst_element_get_name:
* @elem: a #GstElement to set the name of.
- * @name: the new name of the element.
*
* Gets the name of the element.
*/
* @elem: a #GstElement to set the name of.
*
* Sets the name of the element, getting rid of the old name if there was one.
- *
- * Returns: the name of the element.
*/
#define gst_element_set_name(elem,name) gst_object_set_name(GST_OBJECT(elem),name)
* @elem: a #GstElement to get the parent of.
*
* Gets the parent of an element.
- *
- * Returns: the #GstObject parent of the element.
*/
#define gst_element_get_parent(elem) gst_object_get_parent(GST_OBJECT(elem))
/**
* gst_element_set_parent:
* @elem: a #GstElement to set the parent of.
- * @name: the new parent #GstObject of the element.
+ * @parent: the new parent #GstObject of the element.
*
* Sets the parent of an element.
*/
*
* Register a pointer to a function with its name, so it can later be used by
* GST_DEBUG_FUNCPTR_NAME().
- *
- * Returns: The ptr to the function
*/
#define GST_DEBUG_FUNCPTR(ptr) \
(_gst_debug_register_funcptr((GstDebugFuncPtr)(ptr), #ptr) , ptr)
* GST_DEBUG_FUNCPTR(). If not, it returns a description of the pointer.
*
* Make sure you free the string after use.
- *
- * Returns: The name of the function
*/
#define GST_DEBUG_FUNCPTR_NAME(ptr) \
_gst_debug_nameof_funcptr((GstDebugFuncPtr)ptr)
*/
gboolean
gst_structure_get_date (const GstStructure * structure, const gchar * fieldname,
- GDate ** date_out)
+ GDate ** value)
{
GstStructureField *field;
g_return_val_if_fail (structure != NULL, FALSE);
g_return_val_if_fail (fieldname != NULL, FALSE);
- g_return_val_if_fail (date_out != NULL, FALSE);
+ g_return_val_if_fail (value != NULL, FALSE);
field = gst_structure_get_field (structure, fieldname);
if (!GST_VALUE_HOLDS_DATE (&field->value))
return FALSE;
- *date_out = g_value_dup_boxed (&field->value);
+ *value = g_value_dup_boxed (&field->value);
return TRUE;
}
gdouble *value);
gboolean gst_structure_get_date (const GstStructure *structure,
const gchar *fieldname,
- GDate **date_out);
+ GDate **value);
G_CONST_RETURN gchar * gst_structure_get_string (const GstStructure *structure,
const gchar *fieldname);
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
+
/**
* SECTION:gstvalue
* @short_description: GValue implementations specific to GStreamer
/**
* gst_value_set_date:
* @value: a GValue initialized to GST_TYPE_DATE
- * @caps: the date to set the value to
+ * @date: the date to set the value to
*
* Sets the contents of @value to coorespond to @date. The actual
* #GDate structure is copied before it is used.