gst_event_parse_tag ()
void gst_event_parse_tag (GstEvent *event
,
- GstTagList **taglist
);
+ GstTagList **taglist
);
Parses a tag event
and stores the results in the given taglist
location.
No reference to the taglist will be returned, it remains valid only until
@@ -1994,8 +2006,8 @@ from the newly configured start position.
For negative rates, playback will start from the newly configured stop
-position (if any). If the stop position if updated, it must be different from
--1 for negative rates.
+position (if any). If the stop position is updated, it must be different from
+-1 (GST_CLOCK_TIME_NONE) for negative rates.
It is not possible to seek relative to the current playback position, to do
@@ -2289,16 +2301,24 @@ boolean in. [
gst_event_new_sink_message ()
-GstEvent * gst_event_new_sink_message (GstMessage *msg
);
+GstEvent * gst_event_new_sink_message (const gchar *name
,
+ GstMessage *msg
);
Create a new sink-message event. The purpose of the sink-message event is
to instruct a sink to post the message contained in the event synchronized
with the stream.
+
+name
is used to store multiple sticky events on one pad.
+
+name :
|
+a name for the event |
+
+
msg :
|
the GstMessage to be posted. [transfer none]
|
@@ -2637,6 +2657,10 @@ inform elements that some kind of the TOC was found.
+name :
|
+a name for the event |
+
+
toc :
|
GstToc structure. |
diff --git a/docs/gst/html/gstreamer-GstGError.html b/docs/gst/html/gstreamer-GstGError.html
index 95800d6..f82a9e1 100644
--- a/docs/gst/html/gstreamer-GstGError.html
+++ b/docs/gst/html/gstreamer-GstGError.html
@@ -115,7 +115,7 @@ Elements throw errors using the
-Example 7. Throwing an error
+Example 7. Throwing an error
diff --git a/docs/gst/html/gstreamer-GstIterator.html b/docs/gst/html/gstreamer-GstIterator.html
index 5915092..82147a4 100644
--- a/docs/gst/html/gstreamer-GstIterator.html
+++ b/docs/gst/html/gstreamer-GstIterator.html
@@ -122,7 +122,7 @@ The basic use pattern of an iterator is as follows:
-
Example 9. Using an iterator
+
Example 9. Using an iterator
diff --git a/docs/gst/html/gstreamer-GstMessage.html b/docs/gst/html/gstreamer-GstMessage.html
index 0e9d89b..c4cf15f 100644
--- a/docs/gst/html/gstreamer-GstMessage.html
+++ b/docs/gst/html/gstreamer-GstMessage.html
@@ -84,9 +84,9 @@ const GError **gerror
,
gchar **debug
);
GstMessage * gst_message_new_tag (GstObject *src
,
- GstTagList *tag_list
);
+ GstTagList *tag_list
);
void gst_message_parse_tag (GstMessage *message
,
- GstTagList **tag_list
);
+ GstTagList **tag_list
);
GstMessage * gst_message_new_buffering (GstObject *src
,
gint percent
);
void gst_message_parse_buffering (GstMessage *message
,
@@ -273,7 +273,7 @@ The basic use pattern of posting a message on a
-Example 10. Posting a GstMessage
+Example 10. Posting a GstMessage
@@ -1265,7 +1265,7 @@ or NULL. [
gst_message_new_tag ()
GstMessage * gst_message_new_tag (GstObject *src
,
- GstTagList *tag_list
);
+ GstTagList *tag_list
);
Create a new tag message. The message will take ownership of the tag list.
The message is posted by elements that discovered a new taglist.
@@ -1296,7 +1296,7 @@ MT safe. [
gst_message_parse_tag ()
void gst_message_parse_tag (GstMessage *message
,
- GstTagList **tag_list
);
+ GstTagList **tag_list
);
Extracts the tag list from the GstMessage. The tag list returned in the
output argument is a copy; the caller must free it when done.
@@ -1330,7 +1330,7 @@ Typical usage of this function might be:
gst_message_parse_tag (msg, &tags);
g_print ("Got tags from element %s\n", GST_OBJECT_NAME (msg->src));
handle_tags (tags);
- gst_tag_list_free (tags);
+ gst_tag_list_unref (tags);
break;
}
...
@@ -2871,7 +2871,7 @@ MT safe.
GstToc **toc
,
gboolean *updated
);
-Extract the TOC from the GstMessage. The TOC returned in the
+Extract thef TOC from the GstMessage. The TOC returned in the
output argument is a copy; the caller must free it with
gst_toc_free()
when done.
diff --git a/docs/gst/html/gstreamer-GstQuery.html b/docs/gst/html/gstreamer-GstQuery.html
index 8e70d71..0e8a04a 100644
--- a/docs/gst/html/gstreamer-GstQuery.html
+++ b/docs/gst/html/gstreamer-GstQuery.html
@@ -287,7 +287,7 @@ The following example shows how to query the duration of a pipeline:
-
Example 12. Query duration on a pipeline
+
Example 12. Query duration on a pipeline
@@ -1694,7 +1694,7 @@ or NULL. [filter
is used to restrict the result caps, only the caps matching
+filter
should be returned from the CAPS query. Specifying a filter might
+greatly reduce the amount of processing an element needs to do.
+
+
Free-function: gst_query_unref
diff --git a/docs/gst/html/gstreamer-GstStructure.html b/docs/gst/html/gstreamer-GstStructure.html
index e7be901..32ad2d4 100644
--- a/docs/gst/html/gstreamer-GstStructure.html
+++ b/docs/gst/html/gstreamer-GstStructure.html
@@ -2061,8 +2061,9 @@ Free-function: g_free
Returns : |
-(transfer full)L a pointer to string allocated by g_malloc() .
-g_free() after usage. |
+a pointer to string allocated by g_malloc() .
+g_free() after usage. [transfer full]
+ |
diff --git a/docs/gst/html/gstreamer-GstTagList.html b/docs/gst/html/gstreamer-GstTagList.html
index ece4620..64d1c15 100644
--- a/docs/gst/html/gstreamer-GstTagList.html
+++ b/docs/gst/html/gstreamer-GstTagList.html
@@ -40,10 +40,10 @@
#include <gst/gst.h>
- GstTagList;
+struct GstTagList;
enum GstTagMergeMode;
enum GstTagFlag;
-void (*GstTagForeachFunc) (const GstTagList *list
,
+void (*GstTagForeachFunc) (const GstTagList *list
,
const gchar *tag
,
gpointer user_data
);
void (*GstTagMergeFunc) (GValue *dest
,
@@ -134,6 +134,12 @@ enum const gchar *nick
,
const gchar *blurb
,
GstTagMergeFunc func
);
+void gst_tag_register_static (const gchar *name
,
+ GstTagFlag flag
,
+ GType type
,
+ const gchar *nick
,
+ const gchar *blurb
,
+ GstTagMergeFunc func
);
void gst_tag_merge_use_first (GValue *dest
,
const GValue *src
);
void gst_tag_merge_strings_with_comma (GValue *dest
,
@@ -144,145 +150,147 @@ const gchar * gst_tag_get_description (const gchar *tag
);
GstTagFlag gst_tag_get_flag (const gchar *tag
);
gboolean gst_tag_is_fixed (const gchar *tag
);
-GstTagList * gst_tag_list_new (const gchar *tag
,
+GstTagList * gst_tag_list_new (const gchar *tag
,
...
);
-GstTagList * gst_tag_list_new_empty (void
);
-GstTagList * gst_tag_list_new_valist (va_list var_args
);
-GstTagList * gst_tag_list_new_from_string (const gchar *str
);
-gchar * gst_tag_list_to_string (const GstTagList *list
);
-gboolean gst_is_tag_list (gconstpointer p
);
-gboolean gst_tag_list_is_empty (const GstTagList *list
);
-gboolean gst_tag_list_is_equal (const GstTagList *list1
,
- const GstTagList *list2
);
-GstTagList * gst_tag_list_copy (const GstTagList *list
);
-void gst_tag_list_insert (GstTagList *into
,
- const GstTagList *from
,
+GstTagList * gst_tag_list_new_empty (void
);
+GstTagList * gst_tag_list_new_valist (va_list var_args
);
+GstTagList * gst_tag_list_new_from_string (const gchar *str
);
+gchar * gst_tag_list_to_string (const GstTagList *list
);
+gboolean gst_tag_list_is_empty (const GstTagList *list
);
+gboolean gst_tag_list_is_equal (const GstTagList *list1
,
+ const GstTagList *list2
);
+GstTagList * gst_tag_list_copy (const GstTagList *taglist
);
+GstTagList * gst_tag_list_ref (GstTagList *taglist
);
+void gst_tag_list_unref (GstTagList *taglist
);
+#define gst_tag_list_is_writable (taglist)
+#define gst_tag_list_make_writable (taglist)
+void gst_tag_list_insert (GstTagList *into
,
+ const GstTagList *from
,
GstTagMergeMode mode
);
-GstTagList * gst_tag_list_merge (const GstTagList *list1
,
- const GstTagList *list2
,
+GstTagList * gst_tag_list_merge (const GstTagList *list1
,
+ const GstTagList *list2
,
GstTagMergeMode mode
);
-void gst_tag_list_free (GstTagList *list
);
-guint gst_tag_list_get_tag_size (const GstTagList *list
,
+guint gst_tag_list_get_tag_size (const GstTagList *list
,
const gchar *tag
);
-gint gst_tag_list_n_tags (const GstTagList *list
);
-const gchar * gst_tag_list_nth_tag_name (const GstTagList *list
,
+gint gst_tag_list_n_tags (const GstTagList *list
);
+const gchar * gst_tag_list_nth_tag_name (const GstTagList *list
,
guint index
);
-void gst_tag_list_add (GstTagList *list
,
+void gst_tag_list_add (GstTagList *list
,
GstTagMergeMode mode
,
const gchar *tag
,
...
);
-void gst_tag_list_add_value (GstTagList *list
,
+void gst_tag_list_add_value (GstTagList *list
,
GstTagMergeMode mode
,
const gchar *tag
,
const GValue *value
);
-void gst_tag_list_add_values (GstTagList *list
,
+void gst_tag_list_add_values (GstTagList *list
,
GstTagMergeMode mode
,
const gchar *tag
,
...
);
-void gst_tag_list_add_valist (GstTagList *list
,
+void gst_tag_list_add_valist (GstTagList *list
,
GstTagMergeMode mode
,
const gchar *tag
,
va_list var_args
);
-void gst_tag_list_add_valist_values (GstTagList *list
,
+void gst_tag_list_add_valist_values (GstTagList *list
,
GstTagMergeMode mode
,
const gchar *tag
,
va_list var_args
);
-void gst_tag_list_remove_tag (GstTagList *list
,
+void gst_tag_list_remove_tag (GstTagList *list
,
const gchar *tag
);
-void gst_tag_list_foreach (const GstTagList *list
,
+void gst_tag_list_foreach (const GstTagList *list
,
GstTagForeachFunc func
,
gpointer user_data
);
-const GValue * gst_tag_list_get_value_index (const GstTagList *list
,
+const GValue * gst_tag_list_get_value_index (const GstTagList *list
,
const gchar *tag
,
guint index
);
gboolean gst_tag_list_copy_value (GValue *dest
,
- const GstTagList *list
,
+ const GstTagList *list
,
const gchar *tag
);
-gboolean gst_tag_list_get_boolean (const GstTagList *list
,
+gboolean gst_tag_list_get_boolean (const GstTagList *list
,
const gchar *tag
,
gboolean *value
);
-gboolean gst_tag_list_get_boolean_index (const GstTagList *list
,
+gboolean gst_tag_list_get_boolean_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
gboolean *value
);
-gboolean gst_tag_list_get_int (const GstTagList *list
,
+gboolean gst_tag_list_get_int (const GstTagList *list
,
const gchar *tag
,
gint *value
);
-gboolean gst_tag_list_get_int_index (const GstTagList *list
,
+gboolean gst_tag_list_get_int_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
gint *value
);
-gboolean gst_tag_list_get_uint (const GstTagList *list
,
+gboolean gst_tag_list_get_uint (const GstTagList *list
,
const gchar *tag
,
guint *value
);
-gboolean gst_tag_list_get_uint_index (const GstTagList *list
,
+gboolean gst_tag_list_get_uint_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
guint *value
);
-gboolean gst_tag_list_get_int64 (const GstTagList *list
,
+gboolean gst_tag_list_get_int64 (const GstTagList *list
,
const gchar *tag
,
gint64 *value
);
-gboolean gst_tag_list_get_int64_index (const GstTagList *list
,
+gboolean gst_tag_list_get_int64_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
gint64 *value
);
-gboolean gst_tag_list_get_uint64 (const GstTagList *list
,
+gboolean gst_tag_list_get_uint64 (const GstTagList *list
,
const gchar *tag
,
guint64 *value
);
-gboolean gst_tag_list_get_uint64_index (const GstTagList *list
,
+gboolean gst_tag_list_get_uint64_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
guint64 *value
);
-gboolean gst_tag_list_get_float (const GstTagList *list
,
+gboolean gst_tag_list_get_float (const GstTagList *list
,
const gchar *tag
,
gfloat *value
);
-gboolean gst_tag_list_get_float_index (const GstTagList *list
,
+gboolean gst_tag_list_get_float_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
gfloat *value
);
-gboolean gst_tag_list_get_double (const GstTagList *list
,
+gboolean gst_tag_list_get_double (const GstTagList *list
,
const gchar *tag
,
gdouble *value
);
-gboolean gst_tag_list_get_double_index (const GstTagList *list
,
+gboolean gst_tag_list_get_double_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
gdouble *value
);
-gboolean gst_tag_list_get_string (const GstTagList *list
,
+gboolean gst_tag_list_get_string (const GstTagList *list
,
const gchar *tag
,
gchar **value
);
-gboolean gst_tag_list_get_string_index (const GstTagList *list
,
+gboolean gst_tag_list_get_string_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
gchar **value
);
-gboolean gst_tag_list_peek_string_index (const GstTagList *list
,
+gboolean gst_tag_list_peek_string_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
const gchar **value
);
-gboolean gst_tag_list_get_pointer (const GstTagList *list
,
+gboolean gst_tag_list_get_pointer (const GstTagList *list
,
const gchar *tag
,
gpointer *value
);
-gboolean gst_tag_list_get_pointer_index (const GstTagList *list
,
+gboolean gst_tag_list_get_pointer_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
gpointer *value
);
-gboolean gst_tag_list_get_date (const GstTagList *list
,
+gboolean gst_tag_list_get_date (const GstTagList *list
,
const gchar *tag
,
GDate **value
);
-gboolean gst_tag_list_get_date_index (const GstTagList *list
,
+gboolean gst_tag_list_get_date_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
GDate **value
);
-gboolean gst_tag_list_get_date_time (const GstTagList *list
,
+gboolean gst_tag_list_get_date_time (const GstTagList *list
,
const gchar *tag
,
GstDateTime **value
);
-gboolean gst_tag_list_get_date_time_index (const GstTagList *list
,
+gboolean gst_tag_list_get_date_time_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
GstDateTime **value
);
-gboolean gst_tag_list_get_buffer (const GstTagList *list
,
+gboolean gst_tag_list_get_buffer (const GstTagList *list
,
const gchar *tag
,
GstBuffer **value
);
-gboolean gst_tag_list_get_buffer_index (const GstTagList *list
,
+gboolean gst_tag_list_get_buffer_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
GstBuffer **value
);
@@ -303,11 +311,21 @@ Last reviewed on 2009-06-09 (0.10.23)
Details
-
GstTagList
-
typedef struct _GstTagList GstTagList;
+
struct GstTagList
+
struct GstTagList {
+ GstMiniObject mini_object;
+};
+
-Opaque GstTagList data structure.
+Object describing tags / metadata.
+
@@ -336,7 +354,7 @@ In the table below this is shown for the cases that a tag exists in the list
-
Table 1. merge mode
+
Table 1. merge mode
@@ -494,7 +512,7 @@ Extra tag flags used when registering tags.
GstTagForeachFunc ()
-
void (*GstTagForeachFunc) (const GstTagList *list
,
+void (*GstTagForeachFunc) (const GstTagList *list
,
const gchar *tag
,
gpointer user_data
);
@@ -506,7 +524,7 @@ not modify the tag list.
list :
|
-the GstTagList
+ | the GstTagList
|
@@ -1073,7 +1091,7 @@ code. It is undefined what language or locale the language name is in.
#define GST_TAG_IMAGE "image"
-image (sample) (sample caps should specify the content type and preferably
+image (sample) (sample taglist should specify the content type and preferably
also set "image-type" field as GstTagImageType)
Since 0.10.6
@@ -1085,7 +1103,7 @@ also set "image-type" field as Since 0.10.7
@@ -1095,7 +1113,7 @@ image that is meant for preview purposes, e.g. small icon-sized version
#define GST_TAG_ATTACHMENT "attachment"
-generic file attachment (sample) (sample caps should specify the content
+generic file attachment (sample) (sample taglist should specify the content
type and if possible set "filename" to the file name of the
attachment)
@@ -1484,6 +1502,54 @@ Two default merge functions are provided:
+gst_tag_register_static ()
+void gst_tag_register_static (const gchar *name
,
+ GstTagFlag flag
,
+ GType type
,
+ const gchar *nick
,
+ const gchar *blurb
,
+ GstTagMergeFunc func
);
+
+Registers a new tag type for the use with GStreamer's type system.
+
+
+Same as gst_tag_register()
, but name
, nick
, and blurb
must be
+static strings or inlined strings, as they will not be copied. (GStreamer
+plugins will be made resident once loaded, so this function can be used
+even from dynamically loaded plugins.)
+
+
+
+
+
+name :
|
+the name or identifier string (string constant) |
+
+
+flag :
|
+a flag describing the type of tag info |
+
+
+type :
|
+the type this data is in |
+
+
+nick :
|
+human-readable name or short description (string constant) |
+
+
+blurb :
|
+a human-readable description for this tag (string constant) |
+
+
+func :
|
+function for merging multiple values of this tag, or NULL |
+
+
+
+
+
+
gst_tag_merge_use_first ()
void gst_tag_merge_use_first (GValue *dest
,
const GValue *src
);
@@ -1663,7 +1729,7 @@ Unfixed tags can contain lists of values.
gst_tag_list_new ()
-
GstTagList * gst_tag_list_new (const gchar *tag
,
+GstTagList * gst_tag_list_new (const gchar *tag
,
...
);
Creates a new taglist and appends the values for the given tags. It expects
@@ -1675,7 +1741,7 @@ function. The tag list will make copies of any arguments passed
(e.g. strings, buffers).
-Free-function: gst_tag_list_free
+Free-function: gst_tag_list_unref
@@ -1690,7 +1756,7 @@ Free-function: gst_tag_list_free
Returns : |
-a new GstTagList. Free with gst_tag_list_free()
+ | a new GstTagList. Free with gst_tag_list_unref()
when no longer needed. [transfer full]
|
@@ -1701,12 +1767,12 @@ when no longer needed. [
gst_tag_list_new_empty ()
-GstTagList * gst_tag_list_new_empty (void
);
+GstTagList * gst_tag_list_new_empty (void
);
Creates a new empty GstTagList.
-Free-function: gst_tag_list_free
+Free-function: gst_tag_list_unref
@@ -1720,13 +1786,13 @@ Free-function: gst_tag_list_free
gst_tag_list_new_valist ()
-
GstTagList * gst_tag_list_new_valist (va_list var_args
);
+
GstTagList * gst_tag_list_new_valist (va_list var_args
);
Just like gst_tag_list_new()
, only that it takes a va_list argument.
Useful mostly for language bindings.
-Free-function: gst_tag_list_free
+Free-function: gst_tag_list_unref
@@ -1737,7 +1803,7 @@ Free-function: gst_tag_list_free
Returns : |
-a new GstTagList. Free with gst_tag_list_free()
+ | a new GstTagList. Free with gst_tag_list_unref()
when no longer needed. [transfer full]
|
@@ -1748,7 +1814,7 @@ when no longer needed. [
gst_tag_list_new_from_string ()
-GstTagList * gst_tag_list_new_from_string (const gchar *str
);
+GstTagList * gst_tag_list_new_from_string (const gchar *str
);
Deserializes a tag list.
@@ -1762,7 +1828,7 @@ Deserializes a tag list.
Returns : |
-a new GstTagList, or NULL in case of an error. |
+a new GstTagList, or NULL in case of an error. |
@@ -1771,7 +1837,7 @@ Deserializes a tag list.
gst_tag_list_to_string ()
-
gchar * gst_tag_list_to_string (const GstTagList *list
);
+
gchar * gst_tag_list_to_string (const GstTagList *list
);
Serializes a tag list to a string.
@@ -1780,7 +1846,7 @@ Serializes a tag list to a string.
list :
|
-a GstTagList
+ | a GstTagList
|
@@ -1794,94 +1860,179 @@ string must be freed with
-gst_is_tag_list ()
-gboolean gst_is_tag_list (gconstpointer p
);
+gst_tag_list_is_empty ()
+gboolean gst_tag_list_is_empty (const GstTagList *list
);
-Checks if the given pointer is a taglist.
+Checks if the given taglist is empty.
-p :
|
-Object that might be a taglist |
+list :
|
+A GstTagList. |
Returns : |
-TRUE, if the given pointer is a taglist |
+TRUE if the taglist is empty, otherwise FALSE. |
+Since 0.10.11
-
gst_tag_list_is_empty ()
-
gboolean gst_tag_list_is_empty (const GstTagList *list
);
+
gst_tag_list_is_equal ()
+
gboolean gst_tag_list_is_equal (const GstTagList *list1
,
+ const GstTagList *list2
);
-Checks if the given taglist is empty.
+Checks if the two given taglists are equal.
-list :
|
-A GstTagList. |
+list1 :
|
+a GstTagList. |
+
+
+list2 :
|
+a GstTagList. |
Returns : |
-TRUE if the taglist is empty, otherwise FALSE. |
+TRUE if the taglists are equal, otherwise FALSE |
-
Since 0.10.11
+
Since 0.10.36
+
+
-
gst_tag_list_copy ()
-
GstTagList * gst_tag_list_copy (const GstTagList *list
);
+
gst_tag_list_unref ()
+
void gst_tag_list_unref (GstTagList *taglist
);
-Copies a given GstTagList.
+Unref a GstTagList, and and free all its memory when the refcount reaches 0.
+
+
+
+
+
gst_tag_list_is_writable()
+
#define gst_tag_list_is_writable(taglist) gst_mini_object_is_writable (GST_MINI_OBJECT_CAST (taglist))
+
-Free-function: gst_tag_list_free
+Tests if you can safely modify taglist
. It is only safe to modify taglist
+when there is only one owner of the taglist - ie, the refcount is 1.
+
+
+
+
+
+
gst_tag_list_make_writable()
+
#define gst_tag_list_make_writable(taglist) GST_TAG_LIST (gst_mini_object_make_writable (GST_MINI_OBJECT_CAST (taglist)))
+
+
+Returns a writable copy of taglist
.
+
+
+If there is only one reference count on taglist
, the caller must be the
+owner, and so this function will return the taglist object unchanged. If on
+the other hand there is more than one reference on the object, a new taglist
+object will be returned (which will be a copy of taglist
). The caller's
+reference on taglist
will be removed, and instead the caller will own a
+reference to the returned object.
+
+
+In short, this function unrefs the taglist in the argument and refs the
+taglist that it returns. Don't access the argument after calling this
+function. See also: gst_tag_list_ref()
.
-list :
|
-list to copy |
+taglist :
|
+a GstTagList. [transfer full]
+ |
Returns : |
-copy of the given list. [transfer full]
+ | a writable taglist which may or may not be the
+same as taglist . [transfer full]
|
@@ -1890,8 +2041,8 @@ Free-function: gst_tag_list_free
gst_tag_list_insert ()
-
void gst_tag_list_insert (GstTagList *into
,
- const GstTagList *from
,
+void gst_tag_list_insert (GstTagList *into
,
+ const GstTagList *from
,
GstTagMergeMode mode
);
Inserts the tags of the from
list into the first list using the given mode.
@@ -1917,15 +2068,15 @@ Inserts the tags of the from
list into t
gst_tag_list_merge ()
-
GstTagList * gst_tag_list_merge (const GstTagList *list1
,
- const GstTagList *list2
,
+GstTagList * gst_tag_list_merge (const GstTagList *list1
,
+ const GstTagList *list2
,
GstTagMergeMode mode
);
Merges the two given lists into a new list. If one of the lists is NULL, a
copy of the other is returned. If both lists are NULL, NULL is returned.
-Free-function: gst_tag_list_free
+Free-function: gst_tag_list_unref
@@ -1952,24 +2103,8 @@ Free-function: gst_tag_list_free
-
gst_tag_list_free ()
-
void gst_tag_list_free (GstTagList *list
);
-
-Frees the given list and all associated values.
-
-
-
-
-list :
|
-the list to free. [in][transfer full]
- |
-
-
-
-
-
gst_tag_list_get_tag_size ()
-
guint gst_tag_list_get_tag_size (const GstTagList *list
,
+guint gst_tag_list_get_tag_size (const GstTagList *list
,
const gchar *tag
);
Checks how many value are stored in this tag list for the given tag.
@@ -1995,7 +2130,7 @@ Checks how many value are stored in this tag list for the given tag.
gst_tag_list_n_tags ()
-
gint gst_tag_list_n_tags (const GstTagList *list
);
+
gint gst_tag_list_n_tags (const GstTagList *list
);
Get the number of tags in list
.
@@ -2004,7 +2139,7 @@ Get the number of tags in
list
.
list :
|
-A GstTagList. |
+A GstTagList. |
Returns : |
@@ -2016,7 +2151,7 @@ Get the number of tags in list
.
gst_tag_list_nth_tag_name ()
-
const gchar * gst_tag_list_nth_tag_name (const GstTagList *list
,
+const gchar * gst_tag_list_nth_tag_name (const GstTagList *list
,
guint index
);
Get the name of the tag in list
at index
.
@@ -2026,7 +2161,7 @@ Get the name of the tag in list
at
list :
|
-A GstTagList. |
+A GstTagList. |
index :
|
@@ -2042,7 +2177,7 @@ Get the name of the tag in list
at
gst_tag_list_add ()
-
void gst_tag_list_add (GstTagList *list
,
+void gst_tag_list_add (GstTagList *list
,
GstTagMergeMode mode
,
const gchar *tag
,
...
);
@@ -2074,7 +2209,7 @@ Sets the values for the given tags using the specified mode.
gst_tag_list_add_value ()
-
void gst_tag_list_add_value (GstTagList *list
,
+void gst_tag_list_add_value (GstTagList *list
,
GstTagMergeMode mode
,
const gchar *tag
,
const GValue *value
);
@@ -2107,7 +2242,7 @@ Sets the GValue for a given tag using the specified mode.
gst_tag_list_add_values ()
-
void gst_tag_list_add_values (GstTagList *list
,
+void gst_tag_list_add_values (GstTagList *list
,
GstTagMergeMode mode
,
const gchar *tag
,
...
);
@@ -2139,7 +2274,7 @@ Sets the GValues for the given tags using the specified mode.
gst_tag_list_add_valist ()
-
void gst_tag_list_add_valist (GstTagList *list
,
+void gst_tag_list_add_valist (GstTagList *list
,
GstTagMergeMode mode
,
const gchar *tag
,
va_list var_args
);
@@ -2171,7 +2306,7 @@ Sets the values for the given tags using the specified mode.
gst_tag_list_add_valist_values ()
-
void gst_tag_list_add_valist_values (GstTagList *list
,
+void gst_tag_list_add_valist_values (GstTagList *list
,
GstTagMergeMode mode
,
const gchar *tag
,
va_list var_args
);
@@ -2203,7 +2338,7 @@ Sets the GValues for the given tags using the specified mode.
gst_tag_list_remove_tag ()
-
void gst_tag_list_remove_tag (GstTagList *list
,
+void gst_tag_list_remove_tag (GstTagList *list
,
const gchar *tag
);
Removes the given tag from the taglist.
@@ -2225,7 +2360,7 @@ Removes the given tag from the taglist.
gst_tag_list_foreach ()
-
void gst_tag_list_foreach (const GstTagList *list
,
+void gst_tag_list_foreach (const GstTagList *list
,
GstTagForeachFunc func
,
gpointer user_data
);
@@ -2255,7 +2390,7 @@ is no tag, the function won't be called at all.
gst_tag_list_get_value_index ()
-
const GValue * gst_tag_list_get_value_index (const GstTagList *list
,
+const GValue * gst_tag_list_get_value_index (const GstTagList *list
,
const gchar *tag
,
guint index
);
@@ -2267,7 +2402,7 @@ list.
list :
|
-a GstTagList
+ | a GstTagList
|
@@ -2291,7 +2426,7 @@ tag wasn't available or the tag doesn't have as many entries.
gst_tag_list_copy_value ()
gboolean gst_tag_list_copy_value (GValue *dest
,
- const GstTagList *list
,
+ const GstTagList *list
,
const gchar *tag
);
Copies the contents for the given tag into the value,
@@ -2326,7 +2461,7 @@ given list.
gst_tag_list_get_boolean ()
-
gboolean gst_tag_list_get_boolean (const GstTagList *list
,
+gboolean gst_tag_list_get_boolean (const GstTagList *list
,
const gchar *tag
,
gboolean *value
);
@@ -2338,7 +2473,7 @@ into one if multiple values are associated with the tag.
list :
|
-a GstTagList to get the tag from |
+a GstTagList to get the tag from |
tag :
|
@@ -2360,7 +2495,7 @@ given list.
gst_tag_list_get_boolean_index ()
-
gboolean gst_tag_list_get_boolean_index (const GstTagList *list
,
+gboolean gst_tag_list_get_boolean_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
gboolean *value
);
@@ -2373,7 +2508,7 @@ list.
list :
|
-a GstTagList to get the tag from |
+a GstTagList to get the tag from |
tag :
|
@@ -2399,7 +2534,7 @@ given list.
gst_tag_list_get_int ()
-
gboolean gst_tag_list_get_int (const GstTagList *list
,
+gboolean gst_tag_list_get_int (const GstTagList *list
,
const gchar *tag
,
gint *value
);
@@ -2411,7 +2546,7 @@ into one if multiple values are associated with the tag.
list :
|
-a GstTagList to get the tag from |
+a GstTagList to get the tag from |
tag :
|
@@ -2433,7 +2568,7 @@ given list.
gst_tag_list_get_int_index ()
-
gboolean gst_tag_list_get_int_index (const GstTagList *list
,
+gboolean gst_tag_list_get_int_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
gint *value
);
@@ -2446,7 +2581,7 @@ list.
list :
|
-a GstTagList to get the tag from |
+a GstTagList to get the tag from |
tag :
|
@@ -2472,7 +2607,7 @@ given list.
gst_tag_list_get_uint ()
-
gboolean gst_tag_list_get_uint (const GstTagList *list
,
+gboolean gst_tag_list_get_uint (const GstTagList *list
,
const gchar *tag
,
guint *value
);
@@ -2484,7 +2619,7 @@ into one if multiple values are associated with the tag.
list :
|
-a GstTagList to get the tag from |
+a GstTagList to get the tag from |
tag :
|
@@ -2506,7 +2641,7 @@ given list.
gst_tag_list_get_uint_index ()
-
gboolean gst_tag_list_get_uint_index (const GstTagList *list
,
+gboolean gst_tag_list_get_uint_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
guint *value
);
@@ -2519,7 +2654,7 @@ list.
list :
|
-a GstTagList to get the tag from |
+a GstTagList to get the tag from |
tag :
|
@@ -2545,14 +2680,14 @@ given list.
gst_tag_list_get_int64_index ()
-
gboolean gst_tag_list_get_int64_index (const GstTagList *list
,
+gboolean gst_tag_list_get_int64_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
gint64 *value
);
@@ -2565,7 +2700,7 @@ list.
list :
|
-a GstTagList to get the tag from |
+a GstTagList to get the tag from |
tag :
|
@@ -2591,7 +2726,7 @@ given list.
gst_tag_list_get_uint64 ()
-
gboolean gst_tag_list_get_uint64 (const GstTagList *list
,
+gboolean gst_tag_list_get_uint64 (const GstTagList *list
,
const gchar *tag
,
guint64 *value
);
@@ -2603,7 +2738,7 @@ into one if multiple values are associated with the tag.
list :
|
-a GstTagList to get the tag from |
+a GstTagList to get the tag from |
tag :
|
@@ -2625,7 +2760,7 @@ given list.
gst_tag_list_get_uint64_index ()
-
gboolean gst_tag_list_get_uint64_index (const GstTagList *list
,
+gboolean gst_tag_list_get_uint64_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
guint64 *value
);
@@ -2638,7 +2773,7 @@ list.
list :
|
-a GstTagList to get the tag from |
+a GstTagList to get the tag from |
tag :
|
@@ -2664,7 +2799,7 @@ given list.
gst_tag_list_get_float ()
-
gboolean gst_tag_list_get_float (const GstTagList *list
,
+gboolean gst_tag_list_get_float (const GstTagList *list
,
const gchar *tag
,
gfloat *value
);
@@ -2676,7 +2811,7 @@ into one if multiple values are associated with the tag.
list :
|
-a GstTagList to get the tag from |
+a GstTagList to get the tag from |
tag :
|
@@ -2698,7 +2833,7 @@ given list.
gst_tag_list_get_float_index ()
-
gboolean gst_tag_list_get_float_index (const GstTagList *list
,
+gboolean gst_tag_list_get_float_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
gfloat *value
);
@@ -2711,7 +2846,7 @@ list.
list :
|
-a GstTagList to get the tag from |
+a GstTagList to get the tag from |
tag :
|
@@ -2737,7 +2872,7 @@ given list.
gst_tag_list_get_double ()
-
gboolean gst_tag_list_get_double (const GstTagList *list
,
+gboolean gst_tag_list_get_double (const GstTagList *list
,
const gchar *tag
,
gdouble *value
);
@@ -2749,7 +2884,7 @@ into one if multiple values are associated with the tag.
list :
|
-a GstTagList to get the tag from |
+a GstTagList to get the tag from |
tag :
|
@@ -2771,7 +2906,7 @@ given list.
gst_tag_list_get_double_index ()
-
gboolean gst_tag_list_get_double_index (const GstTagList *list
,
+gboolean gst_tag_list_get_double_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
gdouble *value
);
@@ -2784,7 +2919,7 @@ list.
list :
|
-a GstTagList to get the tag from |
+a GstTagList to get the tag from |
tag :
|
@@ -2810,7 +2945,7 @@ given list.
gst_tag_list_get_string ()
-
gboolean gst_tag_list_get_string (const GstTagList *list
,
+gboolean gst_tag_list_get_string (const GstTagList *list
,
const gchar *tag
,
gchar **value
);
@@ -2834,7 +2969,7 @@ Free-function: g_free
list :
|
-a GstTagList to get the tag from |
+a GstTagList to get the tag from |
tag :
|
@@ -2856,7 +2991,7 @@ given list.
gst_tag_list_get_string_index ()
-
gboolean gst_tag_list_get_string_index (const GstTagList *list
,
+gboolean gst_tag_list_get_string_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
gchar **value
);
@@ -2877,7 +3012,7 @@ Free-function: g_free
list :
|
-a GstTagList to get the tag from |
+a GstTagList to get the tag from |
tag :
|
@@ -2903,7 +3038,7 @@ given list.
gst_tag_list_peek_string_index ()
-
gboolean gst_tag_list_peek_string_index (const GstTagList *list
,
+gboolean gst_tag_list_peek_string_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
const gchar **value
);
@@ -2921,7 +3056,7 @@ be non-NULL and non-empty.
list :
|
-a GstTagList to get the tag from |
+a GstTagList to get the tag from |
tag :
|
@@ -2947,7 +3082,7 @@ given list.
gst_tag_list_get_pointer ()
-
gboolean gst_tag_list_get_pointer (const GstTagList *list
,
+gboolean gst_tag_list_get_pointer (const GstTagList *list
,
const gchar *tag
,
gpointer *value
);
@@ -2959,7 +3094,7 @@ into one if multiple values are associated with the tag.
list :
|
-a GstTagList to get the tag from |
+a GstTagList to get the tag from |
tag :
|
@@ -2981,7 +3116,7 @@ given list.
gst_tag_list_get_pointer_index ()
-
gboolean gst_tag_list_get_pointer_index (const GstTagList *list
,
+gboolean gst_tag_list_get_pointer_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
gpointer *value
);
@@ -2994,7 +3129,7 @@ list.
list :
|
-a GstTagList to get the tag from |
+a GstTagList to get the tag from |
tag :
|
@@ -3020,7 +3155,7 @@ given list.
gst_tag_list_get_date ()
-
gboolean gst_tag_list_get_date (const GstTagList *list
,
+gboolean gst_tag_list_get_date (const GstTagList *list
,
const gchar *tag
,
GDate **value
);
@@ -3036,7 +3171,7 @@ Free-function: g_date_free
list :
|
-a GstTagList to get the tag from |
+a GstTagList to get the tag from |
tag :
|
@@ -3059,7 +3194,7 @@ given list or if it was
gst_tag_list_get_date_index ()
-gboolean gst_tag_list_get_date_index (const GstTagList *list
,
+gboolean gst_tag_list_get_date_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
GDate **value
);
@@ -3076,7 +3211,7 @@ Free-function: g_date_free
list :
|
-a GstTagList to get the tag from |
+a GstTagList to get the tag from |
tag :
|
@@ -3102,7 +3237,7 @@ given list or if it was
gst_tag_list_get_date_time ()
-gboolean gst_tag_list_get_date_time (const GstTagList *list
,
+gboolean gst_tag_list_get_date_time (const GstTagList *list
,
const gchar *tag
,
GstDateTime **value
);
@@ -3118,7 +3253,7 @@ Free-function: gst_date_time_unref
list :
|
-a GstTagList to get the tag from |
+a GstTagList to get the tag from |
tag :
|
@@ -3142,7 +3277,7 @@ thegiven list or if it was
gst_tag_list_get_date_time_index ()
-gboolean gst_tag_list_get_date_time_index (const GstTagList *list
,
+gboolean gst_tag_list_get_date_time_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
GstDateTime **value
);
@@ -3159,7 +3294,7 @@ Free-function: gst_date_time_unref
list :
|
-a GstTagList to get the tag from |
+a GstTagList to get the tag from |
tag :
|
@@ -3186,7 +3321,7 @@ given list or if it was
gst_tag_list_get_buffer ()
-gboolean gst_tag_list_get_buffer (const GstTagList *list
,
+gboolean gst_tag_list_get_buffer (const GstTagList *list
,
const gchar *tag
,
GstBuffer **value
);
@@ -3202,7 +3337,7 @@ Free-function: gst_buffer_unref
list :
|
-a GstTagList to get the tag from |
+a GstTagList to get the tag from |
tag :
|
@@ -3226,7 +3361,7 @@ given list or if it was
gst_tag_list_get_buffer_index ()
-gboolean gst_tag_list_get_buffer_index (const GstTagList *list
,
+gboolean gst_tag_list_get_buffer_index (const GstTagList *list
,
const gchar *tag
,
guint index
,
GstBuffer **value
);
@@ -3243,7 +3378,7 @@ Free-function: gst_buffer_unref
list :
|
-a GstTagList to get the tag from |
+a GstTagList to get the tag from |
tag :
|
diff --git a/docs/gst/html/gstreamer-GstToc.html b/docs/gst/html/gstreamer-GstToc.html
index 716c27c..f7135f9 100644
--- a/docs/gst/html/gstreamer-GstToc.html
+++ b/docs/gst/html/gstreamer-GstToc.html
@@ -47,7 +47,7 @@ enum const gchar *uid
);
GstTocEntry * gst_toc_entry_new_with_pad (GstTocEntryType type
,
const gchar *uid
,
- gpointer pad
);
+ GstPad *pad
);
void gst_toc_entry_free (GstTocEntry *entry
);
GstToc * gst_toc_new (void
);
void gst_toc_free (GstToc *toc
);
@@ -61,6 +61,7 @@ enum void gst_toc_entry_set_start_stop (GstTocEntry *entry
,
gint64 start
,
gint64 stop
);
+const gchar * gst_toc_entry_type_get_nick (GstTocEntryType type
);
@@ -127,7 +128,7 @@ Definition of TOC structure.
list of GstTocEntry entries of the TOC. |
-GstTagList *tags ; |
+GstTagList *tags ; |
tags related to the whole TOC. |
@@ -176,7 +177,7 @@ other demuxers could do something else), it should help to track updates of cert
list of GstPad objects, related to this GstTocEntry. |
-GstTagList *tags ; |
+GstTagList *tags ; |
tags related to this entry. |
@@ -245,7 +246,7 @@ Create new gst_toc_entry_new_with_pad ()
GstTocEntry * gst_toc_entry_new_with_pad (GstTocEntryType type
,
const gchar *uid
,
- gpointer pad
);
+ GstPad *pad
);
Create new GstTocEntry structure with GstPad related.
@@ -468,6 +469,28 @@ Set start
and
Since 0.10.37
+
+
+
gst_toc_entry_type_get_nick ()
+
const gchar * gst_toc_entry_type_get_nick (GstTocEntryType type
);
+
+Converts type
to a string representation.
+
+
+
+
+
+type :
|
+a GstTocEntryType. |
+
+
+Returns : |
+Returns the human-readable type . Can be NULL if an error occurred. |
+
+
+
+
Since 0.11.92
+
See Also
diff --git a/docs/gst/html/gstreamer.devhelp2 b/docs/gst/html/gstreamer.devhelp2
index a0e5b45..7c148fe 100644
--- a/docs/gst/html/gstreamer.devhelp2
+++ b/docs/gst/html/gstreamer.devhelp2
@@ -70,7 +70,7 @@
-
+
@@ -91,7 +91,7 @@
-
+
@@ -538,11 +538,12 @@
-
+
+
@@ -890,7 +891,7 @@
-
+
@@ -1161,13 +1162,14 @@
-
+
+
@@ -1408,7 +1410,7 @@
-
+
@@ -1494,6 +1496,7 @@
+
@@ -1507,13 +1510,15 @@
-
+
+
+
+
-
@@ -1606,6 +1611,7 @@
+
@@ -2150,6 +2156,7 @@
+
diff --git a/docs/gst/html/index.html b/docs/gst/html/index.html
index 7bf76d8..9b735b9 100644
--- a/docs/gst/html/index.html
+++ b/docs/gst/html/index.html
@@ -15,7 +15,7 @@
GStreamer 1.0 Core Reference Manual |
---|
diff --git a/docs/gst/html/index.sgml b/docs/gst/html/index.sgml
index 9aebeb6..cabc165 100644
--- a/docs/gst/html/index.sgml
+++ b/docs/gst/html/index.sgml
@@ -648,6 +648,7 @@
+
@@ -1280,6 +1281,7 @@
+
@@ -1629,6 +1631,7 @@
+
@@ -2046,6 +2049,7 @@
+