mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
parts of the patch submitted in bug #113913
Original commit message from CVS: 2004-01-30 Laurent Vivier <Laurent.Vivier@bull.net> reviewed by Benjamin Otte parts of the patch submitted in bug #113913 * configure.ac: use AC_C_INLINE. Use = instead of == with test * examples/plugins/example.c: * gst/autoplug/gstspideridentity.c: * gst/elements/gstfdsrc.c: * gst/elements/gstfilesrc.c: * gst/elements/gstidentity.c: * gst/elements/gstmultidisksrc.c: * gst/elements/gststatistics.c: * gst/gstelement.c: * gst/gstobject.c: * gst/gstpad.c: * gst/gstpipeline.c: * gst/gstthread.c: don't end enums with a comma * gst/gstindex.c: (gst_index_compare_func): do explicit casting to gint * gst/gsttrace.c: (gst_trace_text_flush): #define strsize as a macro
This commit is contained in:
parent
cae2948963
commit
192330d37a
33 changed files with 248 additions and 233 deletions
25
ChangeLog
25
ChangeLog
|
@ -1,3 +1,28 @@
|
||||||
|
2004-01-30 Laurent Vivier <Laurent.Vivier@bull.net>
|
||||||
|
|
||||||
|
reviewed by Benjamin Otte
|
||||||
|
parts of the patch submitted in bug #113913
|
||||||
|
|
||||||
|
* configure.ac:
|
||||||
|
use AC_C_INLINE. Use = instead of == with test
|
||||||
|
* examples/plugins/example.c:
|
||||||
|
* gst/autoplug/gstspideridentity.c:
|
||||||
|
* gst/elements/gstfdsrc.c:
|
||||||
|
* gst/elements/gstfilesrc.c:
|
||||||
|
* gst/elements/gstidentity.c:
|
||||||
|
* gst/elements/gstmultidisksrc.c:
|
||||||
|
* gst/elements/gststatistics.c:
|
||||||
|
* gst/gstelement.c:
|
||||||
|
* gst/gstobject.c:
|
||||||
|
* gst/gstpad.c:
|
||||||
|
* gst/gstpipeline.c:
|
||||||
|
* gst/gstthread.c:
|
||||||
|
don't end enums with a comma
|
||||||
|
* gst/gstindex.c: (gst_index_compare_func):
|
||||||
|
do explicit casting to gint
|
||||||
|
* gst/gsttrace.c: (gst_trace_text_flush):
|
||||||
|
#define strsize as a macro
|
||||||
|
|
||||||
2004-01-30 Thomas Vander Stichele <thomas at apestaart dot org>
|
2004-01-30 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* docs/README:
|
* docs/README:
|
||||||
|
|
|
@ -65,6 +65,7 @@ dnl *NOTE*: dnl this line before release, so release does static too
|
||||||
dnl AM_DISABLE_STATIC
|
dnl AM_DISABLE_STATIC
|
||||||
|
|
||||||
AC_HEADER_STDC([])
|
AC_HEADER_STDC([])
|
||||||
|
AC_C_INLINE
|
||||||
|
|
||||||
dnl define correct errorlevel for debugging messages. We want to have GST_ERROR
|
dnl define correct errorlevel for debugging messages. We want to have GST_ERROR
|
||||||
dnl messages printed when running cvs builds
|
dnl messages printed when running cvs builds
|
||||||
|
@ -149,7 +150,7 @@ AC_MSG_RESULT(no)
|
||||||
|
|
||||||
dnl check for makecontext and define HAVE_MAKECONTEXT if we have it
|
dnl check for makecontext and define HAVE_MAKECONTEXT if we have it
|
||||||
AC_CHECK_MCSC()
|
AC_CHECK_MCSC()
|
||||||
if test "$ac_cv_check_mcsc" == "yes"; then
|
if test "$ac_cv_check_mcsc" = "yes"; then
|
||||||
AC_DEFINE_UNQUOTED(HAVE_MAKECONTEXT, $HAVE_MAKECONTEXT,
|
AC_DEFINE_UNQUOTED(HAVE_MAKECONTEXT, $HAVE_MAKECONTEXT,
|
||||||
[defined if we have makecontext ()])
|
[defined if we have makecontext ()])
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -72,6 +72,34 @@ The GstBin object
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### SIGNAL GstBin::element-added ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@gstbin: the object which received the signal.
|
||||||
|
@arg1: the element that was added to the bin
|
||||||
|
|
||||||
|
<!-- ##### SIGNAL GstBin::element-removed ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@gstbin: the object which received the signal.
|
||||||
|
@arg1: the element that was removed from the bin
|
||||||
|
|
||||||
|
<!-- ##### SIGNAL GstBin::iterate ##### -->
|
||||||
|
<para>
|
||||||
|
This signal is emitted when a bin iterates, either automatically or
|
||||||
|
due to a #gst_bin_iterate() call. The return value is used to
|
||||||
|
determine if the object method handler processed any data.
|
||||||
|
In most normal cases, a user-provided signal handler should return
|
||||||
|
FALSE.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@gstbin: the object which received the signal.
|
||||||
|
@Returns: TRUE if the state of the bin was advanced.
|
||||||
|
|
||||||
<!-- ##### USER_FUNCTION GstBinPrePostIterateFunction ##### -->
|
<!-- ##### USER_FUNCTION GstBinPrePostIterateFunction ##### -->
|
||||||
<para>
|
<para>
|
||||||
The signature of the callback for the post and pre iterate function as set with
|
The signature of the callback for the post and pre iterate function as set with
|
||||||
|
@ -224,31 +252,3 @@ gst_bin_set_pre_iterate_function() and gst_bin_set_post_iterate_function().
|
||||||
@clock:
|
@clock:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SIGNAL GstBin::element-added ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@gstbin: the object which received the signal.
|
|
||||||
@arg1: the element that was added to the bin
|
|
||||||
|
|
||||||
<!-- ##### SIGNAL GstBin::element-removed ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@gstbin: the object which received the signal.
|
|
||||||
@arg1: the element that was removed from the bin
|
|
||||||
|
|
||||||
<!-- ##### SIGNAL GstBin::iterate ##### -->
|
|
||||||
<para>
|
|
||||||
This signal is emitted when a bin iterates, either automatically or
|
|
||||||
due to a #gst_bin_iterate() call. The return value is used to
|
|
||||||
determine if the object method handler processed any data.
|
|
||||||
In most normal cases, a user-provided signal handler should return
|
|
||||||
FALSE.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@gstbin: the object which received the signal.
|
|
||||||
@Returns: TRUE if the state of the bin was advanced.
|
|
||||||
|
|
||||||
|
|
|
@ -235,6 +235,21 @@ The GstClock object
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### ARG GstClock:event-diff ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<!-- ##### ARG GstClock:max-diff ##### -->
|
||||||
|
<para>
|
||||||
|
Maximum allowed diff for clock sync requests against the real time.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<!-- ##### ARG GstClock:stats ##### -->
|
||||||
|
<para>
|
||||||
|
Boolean property to activate stat generation on the clock.
|
||||||
|
</para>
|
||||||
|
|
||||||
<!-- ##### FUNCTION gst_clock_set_speed ##### -->
|
<!-- ##### FUNCTION gst_clock_set_speed ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
|
@ -402,18 +417,3 @@ The GstClock object
|
||||||
@id:
|
@id:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### ARG GstClock:event-diff ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<!-- ##### ARG GstClock:max-diff ##### -->
|
|
||||||
<para>
|
|
||||||
Maximum allowed diff for clock sync requests against the real time.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<!-- ##### ARG GstClock:stats ##### -->
|
|
||||||
<para>
|
|
||||||
Boolean property to activate stat generation on the clock.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
|
@ -71,6 +71,77 @@ The element object
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### SIGNAL GstElement::eos ##### -->
|
||||||
|
<para>
|
||||||
|
Signal emited when the element goes to PAUSED due to an end-of-stream
|
||||||
|
condition.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@gstelement: the object which received the signal.
|
||||||
|
|
||||||
|
<!-- ##### SIGNAL GstElement::error ##### -->
|
||||||
|
<para>
|
||||||
|
Is triggered whenever an error occured.
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@gstelement: the object which received the signal.
|
||||||
|
@arg1: the error message
|
||||||
|
@arg2:
|
||||||
|
@:
|
||||||
|
@:
|
||||||
|
@:
|
||||||
|
@:
|
||||||
|
@:
|
||||||
|
@:
|
||||||
|
@:
|
||||||
|
@:
|
||||||
|
@:
|
||||||
|
@:
|
||||||
|
@:
|
||||||
|
@:
|
||||||
|
@:
|
||||||
|
@:
|
||||||
|
@:
|
||||||
|
@:
|
||||||
|
@:
|
||||||
|
@:
|
||||||
|
@:
|
||||||
|
|
||||||
|
<!-- ##### SIGNAL GstElement::found-tag ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@gstelement: the object which received the signal.
|
||||||
|
@arg1:
|
||||||
|
@arg2:
|
||||||
|
|
||||||
|
<!-- ##### SIGNAL GstElement::new-pad ##### -->
|
||||||
|
<para>
|
||||||
|
Is triggered whenever a new pad is added to an element.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@gstelement: the object which received the signal.
|
||||||
|
@arg1: the new pad that was added
|
||||||
|
|
||||||
|
<!-- ##### SIGNAL GstElement::pad-removed ##### -->
|
||||||
|
<para>
|
||||||
|
Is triggered whenever a pad has been removed from the element.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@gstelement: the object which received the signal.
|
||||||
|
@arg1: The pad that was removed.
|
||||||
|
|
||||||
|
<!-- ##### SIGNAL GstElement::state-change ##### -->
|
||||||
|
<para>
|
||||||
|
Is triggered whenever the state of an element changes.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@gstelement: the object which received the signal.
|
||||||
|
@arg1: the new state of the object
|
||||||
|
@arg2:
|
||||||
|
|
||||||
<!-- ##### MACRO gst_element_get_name ##### -->
|
<!-- ##### MACRO gst_element_get_name ##### -->
|
||||||
<para>
|
<para>
|
||||||
Gets the name of the element.
|
Gets the name of the element.
|
||||||
|
@ -954,73 +1025,3 @@ Helper macro to create query type functions
|
||||||
@...: list of query types.
|
@...: list of query types.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SIGNAL GstElement::eos ##### -->
|
|
||||||
<para>
|
|
||||||
Signal emited when the element goes to PAUSED due to an end-of-stream
|
|
||||||
condition.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@gstelement: the object which received the signal.
|
|
||||||
|
|
||||||
<!-- ##### SIGNAL GstElement::error ##### -->
|
|
||||||
<para>
|
|
||||||
Is triggered whenever an error occured.
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@gstelement: the object which received the signal.
|
|
||||||
@arg1: the error message
|
|
||||||
@arg2:
|
|
||||||
@:
|
|
||||||
@:
|
|
||||||
@:
|
|
||||||
@:
|
|
||||||
@:
|
|
||||||
@:
|
|
||||||
@:
|
|
||||||
@:
|
|
||||||
@:
|
|
||||||
@:
|
|
||||||
@:
|
|
||||||
@:
|
|
||||||
@:
|
|
||||||
@:
|
|
||||||
@:
|
|
||||||
@:
|
|
||||||
@:
|
|
||||||
@:
|
|
||||||
|
|
||||||
<!-- ##### SIGNAL GstElement::found-tag ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@gstelement: the object which received the signal.
|
|
||||||
@arg1:
|
|
||||||
@arg2:
|
|
||||||
|
|
||||||
<!-- ##### SIGNAL GstElement::new-pad ##### -->
|
|
||||||
<para>
|
|
||||||
Is triggered whenever a new pad is added to an element.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@gstelement: the object which received the signal.
|
|
||||||
@arg1: the new pad that was added
|
|
||||||
|
|
||||||
<!-- ##### SIGNAL GstElement::pad-removed ##### -->
|
|
||||||
<para>
|
|
||||||
Is triggered whenever a pad has been removed from the element.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@gstelement: the object which received the signal.
|
|
||||||
@arg1: The pad that was removed.
|
|
||||||
|
|
||||||
<!-- ##### SIGNAL GstElement::state-change ##### -->
|
|
||||||
<para>
|
|
||||||
Is triggered whenever the state of an element changes.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@gstelement: the object which received the signal.
|
|
||||||
@arg1: the new state of the object
|
|
||||||
@arg2:
|
|
||||||
|
|
||||||
|
|
|
@ -209,6 +209,19 @@ The GstIndex object
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### SIGNAL GstIndex::entry-added ##### -->
|
||||||
|
<para>
|
||||||
|
Is emited when a new entry is added to the index.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@gstindex: the object which received the signal.
|
||||||
|
@arg1: The entry added to the index.
|
||||||
|
|
||||||
|
<!-- ##### ARG GstIndex:resolver ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
<!-- ##### FUNCTION gst_index_new ##### -->
|
<!-- ##### FUNCTION gst_index_new ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
|
@ -401,16 +414,3 @@ The GstIndex object
|
||||||
@id:
|
@id:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SIGNAL GstIndex::entry-added ##### -->
|
|
||||||
<para>
|
|
||||||
Is emited when a new entry is added to the index.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@gstindex: the object which received the signal.
|
|
||||||
@arg1: The entry added to the index.
|
|
||||||
|
|
||||||
<!-- ##### ARG GstIndex:resolver ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
|
@ -40,6 +40,47 @@ The GstObject
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### SIGNAL GstObject::deep-notify ##### -->
|
||||||
|
<para>
|
||||||
|
The deep notify signal is used to be notified of property changes.
|
||||||
|
it is typically attached to the toplevel bin to receive notifications
|
||||||
|
from all the elements contained in that bin.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@gstobject: the object which received the signal.
|
||||||
|
@arg1: the object that originated the signal
|
||||||
|
@arg2: the property that changed
|
||||||
|
|
||||||
|
<!-- ##### SIGNAL GstObject::object-saved ##### -->
|
||||||
|
<para>
|
||||||
|
Is trigered whenever a new object is saved to XML. You can connect to
|
||||||
|
this signal to insert custom XML tags into the core XML.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@gstobject: the object which received the signal.
|
||||||
|
@arg1: the xmlNodePtr of the parent node
|
||||||
|
|
||||||
|
<!-- ##### SIGNAL GstObject::parent-set ##### -->
|
||||||
|
<para>
|
||||||
|
Is emitted when the parent of an object is set.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@gstobject: the object which received the signal.
|
||||||
|
@arg1: the new parent
|
||||||
|
|
||||||
|
<!-- ##### SIGNAL GstObject::parent-unset ##### -->
|
||||||
|
<para>
|
||||||
|
Is emitted when the parent of an object is unset.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@gstobject: the object which received the signal.
|
||||||
|
@arg1: the old parent
|
||||||
|
|
||||||
|
<!-- ##### ARG GstObject:name ##### -->
|
||||||
|
<para>
|
||||||
|
The name of the object
|
||||||
|
</para>
|
||||||
|
|
||||||
<!-- ##### MACRO GST_FLAGS ##### -->
|
<!-- ##### MACRO GST_FLAGS ##### -->
|
||||||
<para>
|
<para>
|
||||||
This macro returns the entire set of flags for the object.
|
This macro returns the entire set of flags for the object.
|
||||||
|
@ -290,44 +331,3 @@ Check if the object has been destroyed.
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SIGNAL GstObject::deep-notify ##### -->
|
|
||||||
<para>
|
|
||||||
The deep notify signal is used to be notified of property changes.
|
|
||||||
it is typically attached to the toplevel bin to receive notifications
|
|
||||||
from all the elements contained in that bin.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@gstobject: the object which received the signal.
|
|
||||||
@arg1: the object that originated the signal
|
|
||||||
@arg2: the property that changed
|
|
||||||
|
|
||||||
<!-- ##### SIGNAL GstObject::object-saved ##### -->
|
|
||||||
<para>
|
|
||||||
Is trigered whenever a new object is saved to XML. You can connect to
|
|
||||||
this signal to insert custom XML tags into the core XML.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@gstobject: the object which received the signal.
|
|
||||||
@arg1: the xmlNodePtr of the parent node
|
|
||||||
|
|
||||||
<!-- ##### SIGNAL GstObject::parent-set ##### -->
|
|
||||||
<para>
|
|
||||||
Is emitted when the parent of an object is set.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@gstobject: the object which received the signal.
|
|
||||||
@arg1: the new parent
|
|
||||||
|
|
||||||
<!-- ##### SIGNAL GstObject::parent-unset ##### -->
|
|
||||||
<para>
|
|
||||||
Is emitted when the parent of an object is unset.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@gstobject: the object which received the signal.
|
|
||||||
@arg1: the old parent
|
|
||||||
|
|
||||||
<!-- ##### ARG GstObject:name ##### -->
|
|
||||||
<para>
|
|
||||||
The name of the object
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
|
@ -87,6 +87,15 @@ The padtemplate object.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### SIGNAL GstPadTemplate::pad-created ##### -->
|
||||||
|
<para>
|
||||||
|
This signal is fired when an element creates a pad from this
|
||||||
|
template.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@gstpadtemplate: the object which received the signal.
|
||||||
|
@arg1: The pad that was created.
|
||||||
|
|
||||||
<!-- ##### ENUM GstPadTemplateFlags ##### -->
|
<!-- ##### ENUM GstPadTemplateFlags ##### -->
|
||||||
<para>
|
<para>
|
||||||
Flags for the padtemplate
|
Flags for the padtemplate
|
||||||
|
@ -168,12 +177,3 @@ Check if the properties of the padtemplate are fixed
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SIGNAL GstPadTemplate::pad-created ##### -->
|
|
||||||
<para>
|
|
||||||
This signal is fired when an element creates a pad from this
|
|
||||||
template.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@gstpadtemplate: the object which received the signal.
|
|
||||||
@arg1: The pad that was created.
|
|
||||||
|
|
||||||
|
|
|
@ -6033,6 +6033,15 @@ Query the element for the current mime type
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### SIGNAL GstXML::object-loaded ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@gstxml: the object which received the signal.
|
||||||
|
@arg1:
|
||||||
|
@arg2:
|
||||||
|
|
||||||
<!-- ##### USER_FUNCTION GstXMLRegistryAddPathList ##### -->
|
<!-- ##### USER_FUNCTION GstXMLRegistryAddPathList ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
|
|
|
@ -34,15 +34,6 @@ The GstThread object
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gst_thread_new ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@name:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SIGNAL GstThread::shutdown ##### -->
|
<!-- ##### SIGNAL GstThread::shutdown ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
|
@ -55,3 +46,12 @@ The GstThread object
|
||||||
The thread priority
|
The thread priority
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION gst_thread_new ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@name:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -105,25 +105,3 @@ All GstElements can be serialized to an XML presentation and subsequently loaded
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SIGNAL GstXML::object-loaded ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@:
|
|
||||||
@:
|
|
||||||
@:
|
|
||||||
|
|
||||||
@gstxml: the object which received the signal.
|
|
||||||
@arg1:
|
|
||||||
@arg2:
|
|
||||||
|
|
||||||
<!-- ##### SIGNAL GstXML::object-loaded ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@gstxml: the object which received the signal.
|
|
||||||
@arg1:
|
|
||||||
@arg2:
|
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@ enum {
|
||||||
*/
|
*/
|
||||||
enum {
|
enum {
|
||||||
ARG_0,
|
ARG_0,
|
||||||
ARG_ACTIVE,
|
ARG_ACTIVE
|
||||||
/* FILL ME */
|
/* FILL ME */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,7 @@ enum {
|
||||||
};
|
};
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
ARG_0,
|
ARG_0
|
||||||
/* FILL ME */
|
/* FILL ME */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ enum {
|
||||||
enum {
|
enum {
|
||||||
ARG_0,
|
ARG_0,
|
||||||
ARG_FD,
|
ARG_FD,
|
||||||
ARG_BLOCKSIZE,
|
ARG_BLOCKSIZE
|
||||||
};
|
};
|
||||||
|
|
||||||
#define _do_init(bla) \
|
#define _do_init(bla) \
|
||||||
|
|
|
@ -99,7 +99,7 @@ enum {
|
||||||
ARG_FD,
|
ARG_FD,
|
||||||
ARG_BLOCKSIZE,
|
ARG_BLOCKSIZE,
|
||||||
ARG_MMAPSIZE,
|
ARG_MMAPSIZE,
|
||||||
ARG_TOUCH,
|
ARG_TOUCH
|
||||||
};
|
};
|
||||||
|
|
||||||
GST_PAD_EVENT_MASK_FUNCTION (gst_filesrc_get_event_mask,
|
GST_PAD_EVENT_MASK_FUNCTION (gst_filesrc_get_event_mask,
|
||||||
|
|
|
@ -57,7 +57,7 @@ enum {
|
||||||
ARG_DROP_PROBABILITY,
|
ARG_DROP_PROBABILITY,
|
||||||
ARG_SILENT,
|
ARG_SILENT,
|
||||||
ARG_LAST_MESSAGE,
|
ARG_LAST_MESSAGE,
|
||||||
ARG_DUMP,
|
ARG_DUMP
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ enum {
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
ARG_0,
|
ARG_0,
|
||||||
ARG_LOCATIONS,
|
ARG_LOCATIONS
|
||||||
};
|
};
|
||||||
|
|
||||||
#define _do_init(bla) \
|
#define _do_init(bla) \
|
||||||
|
|
|
@ -55,7 +55,7 @@ enum {
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
ARG_0,
|
ARG_0,
|
||||||
ARG_LOCATIONS,
|
ARG_LOCATIONS
|
||||||
};
|
};
|
||||||
|
|
||||||
#define _do_init(bla) \
|
#define _do_init(bla) \
|
||||||
|
|
|
@ -54,7 +54,7 @@ enum {
|
||||||
ARG_EVENT_UPDATE_FREQ,
|
ARG_EVENT_UPDATE_FREQ,
|
||||||
ARG_UPDATE_ON_EOS,
|
ARG_UPDATE_ON_EOS,
|
||||||
ARG_UPDATE,
|
ARG_UPDATE,
|
||||||
ARG_SILENT,
|
ARG_SILENT
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ enum {
|
||||||
};
|
};
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
ARG_0,
|
ARG_0
|
||||||
/* FILL ME */
|
/* FILL ME */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ enum {
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
ARG_0,
|
ARG_0,
|
||||||
ARG_RESOLVER,
|
ARG_RESOLVER
|
||||||
/* FILL ME */
|
/* FILL ME */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -710,7 +710,7 @@ gst_index_compare_func (gconstpointer a,
|
||||||
gconstpointer b,
|
gconstpointer b,
|
||||||
gpointer user_data)
|
gpointer user_data)
|
||||||
{
|
{
|
||||||
return a - b;
|
return (gint)a - (gint)b;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -42,7 +42,7 @@ enum {
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
ARG_0,
|
ARG_0,
|
||||||
ARG_NAME,
|
ARG_NAME
|
||||||
/* FILL ME */
|
/* FILL ME */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -126,7 +126,7 @@ enum {
|
||||||
enum {
|
enum {
|
||||||
REAL_ARG_0,
|
REAL_ARG_0,
|
||||||
REAL_ARG_CAPS,
|
REAL_ARG_CAPS,
|
||||||
REAL_ARG_ACTIVE,
|
REAL_ARG_ACTIVE
|
||||||
/* FILL ME */
|
/* FILL ME */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ enum {
|
||||||
};
|
};
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
ARG_0,
|
ARG_0
|
||||||
/* FILL ME */
|
/* FILL ME */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ enum {
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
ARG_0,
|
ARG_0,
|
||||||
ARG_PRIORITY,
|
ARG_PRIORITY
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -108,8 +108,8 @@ void
|
||||||
gst_trace_text_flush (GstTrace * trace)
|
gst_trace_text_flush (GstTrace * trace)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
const int strsize = 20 + 1 + 10 + 1 + 10 + 1 + 112 + 1 + 1;
|
#define STRSIZE (20 + 1 + 10 + 1 + 10 + 1 + 112 + 1 + 1)
|
||||||
char str[strsize];
|
char str[STRSIZE];
|
||||||
|
|
||||||
if (!trace) {
|
if (!trace) {
|
||||||
trace = _gst_trace_default;
|
trace = _gst_trace_default;
|
||||||
|
@ -118,12 +118,13 @@ gst_trace_text_flush (GstTrace * trace)
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < trace->bufoffset; i++) {
|
for (i = 0; i < trace->bufoffset; i++) {
|
||||||
snprintf (str, strsize, "%20" G_GINT64_FORMAT " %10d %10d %s\n",
|
snprintf (str, STRSIZE, "%20" G_GINT64_FORMAT " %10d %10d %s\n",
|
||||||
trace->buf[i].timestamp,
|
trace->buf[i].timestamp,
|
||||||
trace->buf[i].sequence, trace->buf[i].data, trace->buf[i].message);
|
trace->buf[i].sequence, trace->buf[i].data, trace->buf[i].message);
|
||||||
write (trace->fd, str, strlen (str));
|
write (trace->fd, str, strlen (str));
|
||||||
}
|
}
|
||||||
trace->bufoffset = 0;
|
trace->bufoffset = 0;
|
||||||
|
#undef STRSIZE
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -55,7 +55,7 @@ enum {
|
||||||
enum {
|
enum {
|
||||||
ARG_0,
|
ARG_0,
|
||||||
ARG_FD,
|
ARG_FD,
|
||||||
ARG_BLOCKSIZE,
|
ARG_BLOCKSIZE
|
||||||
};
|
};
|
||||||
|
|
||||||
#define _do_init(bla) \
|
#define _do_init(bla) \
|
||||||
|
|
|
@ -99,7 +99,7 @@ enum {
|
||||||
ARG_FD,
|
ARG_FD,
|
||||||
ARG_BLOCKSIZE,
|
ARG_BLOCKSIZE,
|
||||||
ARG_MMAPSIZE,
|
ARG_MMAPSIZE,
|
||||||
ARG_TOUCH,
|
ARG_TOUCH
|
||||||
};
|
};
|
||||||
|
|
||||||
GST_PAD_EVENT_MASK_FUNCTION (gst_filesrc_get_event_mask,
|
GST_PAD_EVENT_MASK_FUNCTION (gst_filesrc_get_event_mask,
|
||||||
|
|
|
@ -57,7 +57,7 @@ enum {
|
||||||
ARG_DROP_PROBABILITY,
|
ARG_DROP_PROBABILITY,
|
||||||
ARG_SILENT,
|
ARG_SILENT,
|
||||||
ARG_LAST_MESSAGE,
|
ARG_LAST_MESSAGE,
|
||||||
ARG_DUMP,
|
ARG_DUMP
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ enum {
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
ARG_0,
|
ARG_0,
|
||||||
ARG_LOCATIONS,
|
ARG_LOCATIONS
|
||||||
};
|
};
|
||||||
|
|
||||||
#define _do_init(bla) \
|
#define _do_init(bla) \
|
||||||
|
|
|
@ -55,7 +55,7 @@ enum {
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
ARG_0,
|
ARG_0,
|
||||||
ARG_LOCATIONS,
|
ARG_LOCATIONS
|
||||||
};
|
};
|
||||||
|
|
||||||
#define _do_init(bla) \
|
#define _do_init(bla) \
|
||||||
|
|
|
@ -54,7 +54,7 @@ enum {
|
||||||
ARG_EVENT_UPDATE_FREQ,
|
ARG_EVENT_UPDATE_FREQ,
|
||||||
ARG_UPDATE_ON_EOS,
|
ARG_UPDATE_ON_EOS,
|
||||||
ARG_UPDATE,
|
ARG_UPDATE,
|
||||||
ARG_SILENT,
|
ARG_SILENT
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@ enum {
|
||||||
*/
|
*/
|
||||||
enum {
|
enum {
|
||||||
ARG_0,
|
ARG_0,
|
||||||
ARG_ACTIVE,
|
ARG_ACTIVE
|
||||||
/* FILL ME */
|
/* FILL ME */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue