mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
gst/gstregistry.h: win32/mingw obviously did not work
Original commit message from CVS: * gst/gstregistry.h: win32/mingw obviously did not work * gst/gsttag.h: remove some whitespace * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_dump_byte_array): put back a fix that accidentally got reverted in a backport
This commit is contained in:
parent
61eb076286
commit
d1cee163b1
8 changed files with 112 additions and 170 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,12 @@
|
||||||
|
2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
|
* gst/gstregistry.h:
|
||||||
|
win32/mingw obviously did not work
|
||||||
|
* gst/gsttag.h:
|
||||||
|
remove some whitespace
|
||||||
|
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_dump_byte_array):
|
||||||
|
put back a fix that accidentally got reverted in a backport
|
||||||
|
|
||||||
2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
|
2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* gst/gsttrace.c: (read_tsc), (gst_trace_read_tsc):
|
* gst/gsttrace.c: (read_tsc), (gst_trace_read_tsc):
|
||||||
|
@ -1475,7 +1484,7 @@
|
||||||
|
|
||||||
* gst/gstplugin.c:
|
* gst/gstplugin.c:
|
||||||
* gst/gstplugin.h:
|
* gst/gstplugin.h:
|
||||||
add accessor for version field
|
API: add accessor for version field
|
||||||
|
|
||||||
2004-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
|
2004-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
|
|
|
@ -2,22 +2,19 @@
|
||||||
GstChildProxy
|
GstChildProxy
|
||||||
|
|
||||||
<!-- ##### SECTION Short_Description ##### -->
|
<!-- ##### SECTION Short_Description ##### -->
|
||||||
interface for multi child element property access
|
|
||||||
|
|
||||||
<!-- ##### SECTION Long_Description ##### -->
|
<!-- ##### SECTION Long_Description ##### -->
|
||||||
<para>
|
<para>
|
||||||
This interface provides a uniform way to access child objects of elements.
|
|
||||||
There are methods to get the children and methods to (recursivly) set and get
|
|
||||||
their properties.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION See_Also ##### -->
|
<!-- ##### SECTION See_Also ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<!-- ##### SECTION Stability_Level ##### -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gst_child_proxy_get_children_count ##### -->
|
<!-- ##### FUNCTION gst_child_proxy_get_children_count ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
|
@ -2,68 +2,19 @@
|
||||||
GstElement
|
GstElement
|
||||||
|
|
||||||
<!-- ##### SECTION Short_Description ##### -->
|
<!-- ##### SECTION Short_Description ##### -->
|
||||||
Abstract base class for all pipeline elements
|
|
||||||
|
|
||||||
<!-- ##### SECTION Long_Description ##### -->
|
<!-- ##### SECTION Long_Description ##### -->
|
||||||
<para>
|
<para>
|
||||||
GstElement is the base class needed to construct an element that can be
|
|
||||||
used in a GStreamer pipeline. As such, it is not a functional entity, and
|
|
||||||
cannot do anything when placed in a pipeline.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
The name of a GstElement can be get with gst_element_get_name() and set with
|
|
||||||
gst_element_set_name(). For speed, GST_ELEMENT_NAME() can be used in the
|
|
||||||
core.
|
|
||||||
Do not use this in plug-ins or applications in order to retain ABI
|
|
||||||
compatibility.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
All elements have pads (of the type #GstPad). These pads link to pads on
|
|
||||||
other elements. Buffers flow between these linked pads.
|
|
||||||
A GstElement has a GList of #GstPad structures for all their input (or sink)
|
|
||||||
and output (or source) pads.
|
|
||||||
Core and plug-in writers can add and remove pads with gst_element_add_pad()
|
|
||||||
and gst_element_remove_pad().
|
|
||||||
Application writers can manipulate ghost pads (copies of real pads inside a bin)
|
|
||||||
with gst_element_add_ghost_pad() and gst_element_remove_ghost_pad().
|
|
||||||
A pad of an element can be retrieved by name with gst_element_get_pad().
|
|
||||||
A GList of all pads can be retrieved with gst_element_get_pad_list().
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Elements can be linked through their pads.
|
|
||||||
If the link is straightforward, use the gst_element_link()
|
|
||||||
convenience function to link two elements, or gst_element_link_many()
|
|
||||||
for more elements in a row.
|
|
||||||
Use gst_element_link_filtered() to link two elements constrained by
|
|
||||||
a specified set of #GstCaps.
|
|
||||||
For finer control, use gst_element_link_pads() and
|
|
||||||
gst_element_link_pads_filtered() to specify the pads to link on
|
|
||||||
each element by name.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Each element has a state (see #GstElementState). You can get and set the state
|
|
||||||
of an element with gst_element_get_state() and gst_element_set_state().
|
|
||||||
You can wait for an element to change it's state with gst_element_wait_state_change().
|
|
||||||
To get a string representation of a #GstElementState, use
|
|
||||||
gst_element_state_get_name().
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
You can get and set a #GstClock on an element using gst_element_get_clock()
|
|
||||||
and gst_element_set_clock(). You can wait for the clock to reach a given
|
|
||||||
#GstClockTime using gst_element_clock_wait().
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<!-- ##### SECTION See_Also ##### -->
|
<!-- ##### SECTION See_Also ##### -->
|
||||||
<para>
|
<para>
|
||||||
#GstElementFactory, #GstPad
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<!-- basic object functions -->
|
|
||||||
|
|
||||||
<!-- ##### STRUCT GstElement ##### -->
|
<!-- ##### STRUCT GstElement ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
@ -131,107 +82,107 @@ and gst_element_set_clock(). You can wait for the clock to reach a given
|
||||||
|
|
||||||
<!-- ##### MACRO GST_NUM_STATES ##### -->
|
<!-- ##### MACRO GST_NUM_STATES ##### -->
|
||||||
<para>
|
<para>
|
||||||
The maximun number of states.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_STATE ##### -->
|
<!-- ##### MACRO GST_STATE ##### -->
|
||||||
<para>
|
<para>
|
||||||
This macro returns the current state of the element.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@obj: Element to return state for.
|
@obj:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_STATE_PENDING ##### -->
|
<!-- ##### MACRO GST_STATE_PENDING ##### -->
|
||||||
<para>
|
<para>
|
||||||
This macro returns the currently pending state of the element.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@obj: Element to return the pending state for.
|
@obj:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_STATE_TRANSITION ##### -->
|
<!-- ##### MACRO GST_STATE_TRANSITION ##### -->
|
||||||
<para>
|
<para>
|
||||||
Returns the state transition this object is going through.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@obj: the Element to return the state transition for
|
@obj:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_STATE_NULL_TO_READY ##### -->
|
<!-- ##### MACRO GST_STATE_NULL_TO_READY ##### -->
|
||||||
<para>
|
<para>
|
||||||
The Element is going from the NULL state to the READY state.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_STATE_READY_TO_PAUSED ##### -->
|
<!-- ##### MACRO GST_STATE_READY_TO_PAUSED ##### -->
|
||||||
<para>
|
<para>
|
||||||
The Element is going from the READY state to the PAUSED state.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_STATE_PAUSED_TO_PLAYING ##### -->
|
<!-- ##### MACRO GST_STATE_PAUSED_TO_PLAYING ##### -->
|
||||||
<para>
|
<para>
|
||||||
The Element is going from the PAUSED state to the PLAYING state.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_STATE_PLAYING_TO_PAUSED ##### -->
|
<!-- ##### MACRO GST_STATE_PLAYING_TO_PAUSED ##### -->
|
||||||
<para>
|
<para>
|
||||||
The Element is going from the PLAYING state to the PAUSED state.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_STATE_PAUSED_TO_READY ##### -->
|
<!-- ##### MACRO GST_STATE_PAUSED_TO_READY ##### -->
|
||||||
<para>
|
<para>
|
||||||
The Element is going from the PAUSED state to the READY state.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_STATE_READY_TO_NULL ##### -->
|
<!-- ##### MACRO GST_STATE_READY_TO_NULL ##### -->
|
||||||
<para>
|
<para>
|
||||||
The Element is going from the READY state to the NULL state.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_ELEMENT_QUERY_TYPE_FUNCTION ##### -->
|
<!-- ##### MACRO GST_ELEMENT_QUERY_TYPE_FUNCTION ##### -->
|
||||||
<para>
|
<para>
|
||||||
Helper macro to create query type functions
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@functionname: The function name
|
@functionname:
|
||||||
@...: list of query types.
|
@...:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_ELEMENT_FORMATS_FUNCTION ##### -->
|
<!-- ##### MACRO GST_ELEMENT_FORMATS_FUNCTION ##### -->
|
||||||
<para>
|
<para>
|
||||||
Halper macro to create element format functions
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@functionname: The function name
|
@functionname:
|
||||||
@...: formats
|
@...:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_ELEMENT_EVENT_MASK_FUNCTION ##### -->
|
<!-- ##### MACRO GST_ELEMENT_EVENT_MASK_FUNCTION ##### -->
|
||||||
<para>
|
<para>
|
||||||
A helper macro to create a mask function
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@functionname: the name of the mask function
|
@functionname:
|
||||||
@...: Masks
|
@...:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### ENUM GstElementFlags ##### -->
|
<!-- ##### ENUM GstElementFlags ##### -->
|
||||||
<para>
|
<para>
|
||||||
This enum defines the standard flags that an element may have.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@GST_ELEMENT_COMPLEX:
|
@GST_ELEMENT_COMPLEX:
|
||||||
|
@ -245,70 +196,71 @@ This enum defines the standard flags that an element may have.
|
||||||
@GST_ELEMENT_SCHEDULER_PRIVATE2:
|
@GST_ELEMENT_SCHEDULER_PRIVATE2:
|
||||||
@GST_ELEMENT_LOCKED_STATE:
|
@GST_ELEMENT_LOCKED_STATE:
|
||||||
@GST_ELEMENT_IN_ERROR:
|
@GST_ELEMENT_IN_ERROR:
|
||||||
|
@GST_ELEMENT_WORK_IN_PLACE:
|
||||||
@GST_ELEMENT_FLAG_LAST:
|
@GST_ELEMENT_FLAG_LAST:
|
||||||
|
|
||||||
<!-- ##### MACRO GST_ELEMENT_IS_THREAD_SUGGESTED ##### -->
|
<!-- ##### MACRO GST_ELEMENT_IS_THREAD_SUGGESTED ##### -->
|
||||||
<para>
|
<para>
|
||||||
Queries whether the Element should be placed in a thread.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@obj: a #GstElement to query
|
@obj:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_ELEMENT_IS_EVENT_AWARE ##### -->
|
<!-- ##### MACRO GST_ELEMENT_IS_EVENT_AWARE ##### -->
|
||||||
<para>
|
<para>
|
||||||
Query wether this element can handle events.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@obj: a #GstElement to query
|
@obj:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_ELEMENT_IS_DECOUPLED ##### -->
|
<!-- ##### MACRO GST_ELEMENT_IS_DECOUPLED ##### -->
|
||||||
<para>
|
<para>
|
||||||
Queries if the Element is decoupled.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@obj: a #GstElement to query
|
@obj:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_ELEMENT_NAME ##### -->
|
<!-- ##### MACRO GST_ELEMENT_NAME ##### -->
|
||||||
<para>
|
<para>
|
||||||
Gets the name of this element. Used in the core. Not ABI-compatible.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@obj: A #GstElement to query
|
@obj:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_ELEMENT_PARENT ##### -->
|
<!-- ##### MACRO GST_ELEMENT_PARENT ##### -->
|
||||||
<para>
|
<para>
|
||||||
Get the parent object of this element.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@obj: a #GstElement to query
|
@obj:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_ELEMENT_SCHED ##### -->
|
<!-- ##### MACRO GST_ELEMENT_SCHED ##### -->
|
||||||
<para>
|
<para>
|
||||||
Get the scheduler of this element.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@obj: a #GstElement to query
|
@obj:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_ELEMENT_CLOCK ##### -->
|
<!-- ##### MACRO GST_ELEMENT_CLOCK ##### -->
|
||||||
<para>
|
<para>
|
||||||
Get the clock of this element
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@obj: a #GstElement to query
|
@obj:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_ELEMENT_PADS ##### -->
|
<!-- ##### MACRO GST_ELEMENT_PADS ##### -->
|
||||||
<para>
|
<para>
|
||||||
Get the pads of this elements.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@obj: a #GstElement to query
|
@obj:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_ELEMENT_ERROR ##### -->
|
<!-- ##### MACRO GST_ELEMENT_ERROR ##### -->
|
||||||
|
@ -325,30 +277,26 @@ Get the pads of this elements.
|
||||||
|
|
||||||
<!-- ##### USER_FUNCTION GstElementLoopFunction ##### -->
|
<!-- ##### USER_FUNCTION GstElementLoopFunction ##### -->
|
||||||
<para>
|
<para>
|
||||||
This function type is used to specify a loop function for the element. It
|
|
||||||
is passed the element in question, and is expect to return only in error
|
|
||||||
circumstances.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@element: The element in question.
|
@element:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### USER_FUNCTION GstElementPreRunFunction ##### -->
|
<!-- ##### USER_FUNCTION GstElementPreRunFunction ##### -->
|
||||||
<para>
|
<para>
|
||||||
The signature of the function to execute after this element
|
|
||||||
is scheduled.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@element: The element
|
@element:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### USER_FUNCTION GstElementPostRunFunction ##### -->
|
<!-- ##### USER_FUNCTION GstElementPostRunFunction ##### -->
|
||||||
<para>
|
<para>
|
||||||
The signature of the function to execute before this element
|
|
||||||
is scheduled.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@element: The element
|
@element:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gst_element_class_add_pad_template ##### -->
|
<!-- ##### FUNCTION gst_element_class_add_pad_template ##### -->
|
||||||
|
@ -381,8 +329,7 @@ is scheduled.
|
||||||
|
|
||||||
<!-- ##### MACRO gst_element_default_deep_notify ##### -->
|
<!-- ##### MACRO gst_element_default_deep_notify ##### -->
|
||||||
<para>
|
<para>
|
||||||
The default deep notify handler that prints out the property change
|
|
||||||
notifications to stdout.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
@ -409,41 +356,36 @@ notifications to stdout.
|
||||||
|
|
||||||
<!-- ##### MACRO gst_element_get_name ##### -->
|
<!-- ##### MACRO gst_element_get_name ##### -->
|
||||||
<para>
|
<para>
|
||||||
Gets the name of the element.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@elem:
|
@elem:
|
||||||
@Returns: the name of the element.
|
|
||||||
|
|
||||||
|
|
||||||
<!-- link -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO gst_element_set_name ##### -->
|
<!-- ##### MACRO gst_element_set_name ##### -->
|
||||||
<para>
|
<para>
|
||||||
Sets the name of the element, getting rid of the old name if there was one.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@elem: a #GstElement to set the name of.
|
@elem:
|
||||||
@name: the new name of the element.
|
@name:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO gst_element_get_parent ##### -->
|
<!-- ##### MACRO gst_element_get_parent ##### -->
|
||||||
<para>
|
<para>
|
||||||
Gets the parent of an element.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@elem: a #GstElement to get the parent of.
|
@elem:
|
||||||
@Returns: the #GstObject parent of the element.
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO gst_element_set_parent ##### -->
|
<!-- ##### MACRO gst_element_set_parent ##### -->
|
||||||
<para>
|
<para>
|
||||||
Sets the parent of an element.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@elem: a #GstElement to set the parent of.
|
@elem:
|
||||||
@parent: the new #GstObject parent of the object.
|
@parent:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gst_element_set ##### -->
|
<!-- ##### FUNCTION gst_element_set ##### -->
|
||||||
|
@ -575,9 +517,6 @@ Sets the parent of an element.
|
||||||
@id:
|
@id:
|
||||||
@jitter:
|
@jitter:
|
||||||
@Returns:
|
@Returns:
|
||||||
<!-- # Unused Parameters # -->
|
|
||||||
@clock:
|
|
||||||
@time:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gst_element_get_time ##### -->
|
<!-- ##### FUNCTION gst_element_get_time ##### -->
|
||||||
|
@ -736,9 +675,6 @@ Sets the parent of an element.
|
||||||
@pad:
|
@pad:
|
||||||
|
|
||||||
|
|
||||||
<!-- pad template manipulation -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gst_element_get_pad ##### -->
|
<!-- ##### FUNCTION gst_element_get_pad ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
|
@ -746,7 +682,7 @@ Sets the parent of an element.
|
||||||
|
|
||||||
@element:
|
@element:
|
||||||
@name:
|
@name:
|
||||||
@Returns: GList of #GstPads
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gst_element_get_static_pad ##### -->
|
<!-- ##### FUNCTION gst_element_get_static_pad ##### -->
|
||||||
|
@ -846,10 +782,6 @@ Sets the parent of an element.
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- scheduling -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gst_element_get_compatible_pad_template ##### -->
|
<!-- ##### FUNCTION gst_element_get_compatible_pad_template ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
|
@ -947,9 +879,6 @@ Sets the parent of an element.
|
||||||
@destpadname:
|
@destpadname:
|
||||||
|
|
||||||
|
|
||||||
<!-- pad manipulation -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gst_element_get_event_masks ##### -->
|
<!-- ##### FUNCTION gst_element_get_event_masks ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
|
@ -1146,8 +1075,6 @@ Sets the parent of an element.
|
||||||
@element:
|
@element:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
<!-- clocking -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gst_element_no_more_pads ##### -->
|
<!-- ##### FUNCTION gst_element_no_more_pads ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
|
@ -2,18 +2,20 @@
|
||||||
GstTagList
|
GstTagList
|
||||||
|
|
||||||
<!-- ##### SECTION Short_Description ##### -->
|
<!-- ##### SECTION Short_Description ##### -->
|
||||||
List of tags and values used to describe media metadata
|
|
||||||
|
|
||||||
<!-- ##### SECTION Long_Description ##### -->
|
<!-- ##### SECTION Long_Description ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION See_Also ##### -->
|
<!-- ##### SECTION See_Also ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### TYPEDEF GstTagList ##### -->
|
<!-- ##### TYPEDEF GstTagList ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
|
@ -854,3 +856,10 @@ List of tags and values used to describe media metadata
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### MACRO GST_TAG_LANGUAGE_CODE ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -36,28 +36,28 @@
|
||||||
|
|
||||||
/* compatibility for pre-POSIX defines */
|
/* compatibility for pre-POSIX defines */
|
||||||
#ifdef S_IRUSR
|
#ifdef S_IRUSR
|
||||||
#if defined(_WIN32) && defined(__MINGW32__)
|
# if defined(_WIN32) && defined(__MINGW32__)
|
||||||
#define REGISTRY_DIR_PERMS (S_ISGID | \
|
# define REGISTRY_DIR_PERMS (S_ISGID | \
|
||||||
S_IRUSR | S_IWUSR | S_IXUSR)
|
S_IRUSR | S_IWUSR | S_IXUSR)
|
||||||
#else
|
# else
|
||||||
#define REGISTRY_DIR_PERMS (S_ISGID | \
|
# define REGISTRY_DIR_PERMS (S_ISGID | \
|
||||||
S_IRUSR | S_IWUSR | S_IXUSR | \
|
S_IRUSR | S_IWUSR | S_IXUSR | \
|
||||||
S_IRGRP | S_IXGRP | \
|
S_IRGRP | S_IXGRP | \
|
||||||
S_IROTH | S_IXOTH)
|
S_IROTH | S_IXOTH)
|
||||||
#endif
|
# endif
|
||||||
#define REGISTRY_TMPFILE_PERMS (S_IRUSR | S_IWUSR)
|
# define REGISTRY_TMPFILE_PERMS (S_IRUSR | S_IWUSR)
|
||||||
#if defined(_WIN32) && defined(__MINGW32__)
|
# if defined(_WIN32) && defined(__MINGW32__)
|
||||||
#define REGISTRY_FILE_PERMS (S_IRUSR | S_IWUSR
|
# define REGISTRY_FILE_PERMS (S_IRUSR | S_IWUSR)
|
||||||
#else
|
# else
|
||||||
#define REGISTRY_FILE_PERMS (S_IRUSR | S_IWUSR | \
|
# define REGISTRY_FILE_PERMS (S_IRUSR | S_IWUSR | \
|
||||||
S_IRGRP | S_IWGRP | \
|
S_IRGRP | S_IWGRP | \
|
||||||
S_IROTH | S_IWOTH)
|
S_IROTH | S_IWOTH)
|
||||||
#endif
|
# endif
|
||||||
#else
|
#else
|
||||||
#define REGISTRY_DIR_PERMS (S_ISGID | \
|
# define REGISTRY_DIR_PERMS (S_ISGID | \
|
||||||
S_IREAD | S_IWRITE | S_IEXEC)
|
S_IREAD | S_IWRITE | S_IEXEC)
|
||||||
#define REGISTRY_TMPFILE_PERMS (S_IREAD | S_IWRITE)
|
# define REGISTRY_TMPFILE_PERMS (S_IREAD | S_IWRITE)
|
||||||
#define REGISTRY_FILE_PERMS (S_IREAD | S_IWRITE)
|
# define REGISTRY_FILE_PERMS (S_IREAD | S_IWRITE)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
|
@ -83,7 +83,7 @@ gst_dp_dump_byte_array (guint8 * array, guint length)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
int n = 8; /* number of bytes per line */
|
int n = 8; /* number of bytes per line */
|
||||||
gchar *line = g_malloc (3 * n);
|
gchar *line = g_malloc (3 * n + 1);
|
||||||
|
|
||||||
GST_LOG ("dumping byte array of length %d", length);
|
GST_LOG ("dumping byte array of length %d", length);
|
||||||
for (i = 0; i < length; ++i) {
|
for (i = 0; i < length; ++i) {
|
||||||
|
|
Loading…
Reference in a new issue