mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-16 21:14:44 +00:00
docs/gst/gstreamer-sections.txt: More doc hacking.
Original commit message from CVS: * docs/gst/gstreamer-sections.txt: More doc hacking. * docs/gst/tmpl/gstaggregator.sgml: * docs/gst/tmpl/gstautoplugfactory.sgml: * docs/gst/tmpl/gstbin.sgml: * docs/gst/tmpl/gstbuffer.sgml: * docs/gst/tmpl/gstbufferstore.sgml: * docs/gst/tmpl/gstfakesink.sgml: * docs/gst/tmpl/gstfakesrc.sgml: * docs/gst/tmpl/gstmd5sink.sgml: * docs/gst/tmpl/gstreamer-unused.sgml: * docs/gst/tmpl/gstsearchfuncs.sgml: * docs/gst/tmpl/gstshaper.sgml: * docs/gst/tmpl/gstspider.sgml: * docs/gst/tmpl/gsttee.sgml: * docs/gst/tmpl/gstutils.sgml: * docs/gst/tmpl/gstvalue.sgml: * docs/gst/tmpl/gstxml.sgml: * gst/Makefile.am: Remove gstthreaddummy.c. It never worked, and we don't support it. * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post), (gst_use_threads), (gst_has_threads): same * gst/gstthreaddummy.c: same * gst/autoplug/gstspider.c: Make gst_spider_details static. * gst/autoplug/gstspider.h: same * gst/elements/gstaggregator.h: Remove bogus function from header * gst/elements/gstfakesink.h: same * gst/elements/gstfakesrc.h: same * gst/elements/gstmd5sink.h: same * gst/elements/gstshaper.h: same * gst/elements/gsttee.h: same * gst/gstbin.c: doc fixes * gst/gstbin.h: Remove unused definition. * gst/gstbuffer.c: doc fixes * gst/gstcaps.c: (gst_caps_is_always_compatible): doc fixes * gst/gstfilter.c: doc fixes * gst/gsttag.c: doc fixes * gst/gstvalue.c: doc fixes
This commit is contained in:
parent
4d9b9b989e
commit
209c82ee06
43 changed files with 464 additions and 9787 deletions
40
ChangeLog
40
ChangeLog
|
@ -1,3 +1,43 @@
|
|||
2004-03-25 David Schleef <ds@schleef.org>
|
||||
|
||||
* docs/gst/gstreamer-sections.txt: More doc hacking.
|
||||
* docs/gst/tmpl/gstaggregator.sgml:
|
||||
* docs/gst/tmpl/gstautoplugfactory.sgml:
|
||||
* docs/gst/tmpl/gstbin.sgml:
|
||||
* docs/gst/tmpl/gstbuffer.sgml:
|
||||
* docs/gst/tmpl/gstbufferstore.sgml:
|
||||
* docs/gst/tmpl/gstfakesink.sgml:
|
||||
* docs/gst/tmpl/gstfakesrc.sgml:
|
||||
* docs/gst/tmpl/gstmd5sink.sgml:
|
||||
* docs/gst/tmpl/gstreamer-unused.sgml:
|
||||
* docs/gst/tmpl/gstsearchfuncs.sgml:
|
||||
* docs/gst/tmpl/gstshaper.sgml:
|
||||
* docs/gst/tmpl/gstspider.sgml:
|
||||
* docs/gst/tmpl/gsttee.sgml:
|
||||
* docs/gst/tmpl/gstutils.sgml:
|
||||
* docs/gst/tmpl/gstvalue.sgml:
|
||||
* docs/gst/tmpl/gstxml.sgml:
|
||||
* gst/Makefile.am: Remove gstthreaddummy.c. It never worked,
|
||||
and we don't support it.
|
||||
* gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
|
||||
(gst_use_threads), (gst_has_threads): same
|
||||
* gst/gstthreaddummy.c: same
|
||||
* gst/autoplug/gstspider.c: Make gst_spider_details static.
|
||||
* gst/autoplug/gstspider.h: same
|
||||
* gst/elements/gstaggregator.h: Remove bogus function from header
|
||||
* gst/elements/gstfakesink.h: same
|
||||
* gst/elements/gstfakesrc.h: same
|
||||
* gst/elements/gstmd5sink.h: same
|
||||
* gst/elements/gstshaper.h: same
|
||||
* gst/elements/gsttee.h: same
|
||||
* gst/gstbin.c: doc fixes
|
||||
* gst/gstbin.h: Remove unused definition.
|
||||
* gst/gstbuffer.c: doc fixes
|
||||
* gst/gstcaps.c: (gst_caps_is_always_compatible): doc fixes
|
||||
* gst/gstfilter.c: doc fixes
|
||||
* gst/gsttag.c: doc fixes
|
||||
* gst/gstvalue.c: doc fixes
|
||||
|
||||
2004-03-25 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* docs/pwg/advanced-types.xml:
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<SECTION>
|
||||
<FILE>gstbin</FILE>
|
||||
GST_BIN_CLASS
|
||||
GstBinPrePostIterateFunction
|
||||
GstBinFlags
|
||||
<TITLE>GstBin</TITLE>
|
||||
gst_bin_new
|
||||
|
@ -20,8 +19,6 @@ gst_bin_get_clock
|
|||
gst_bin_auto_clock
|
||||
gst_bin_sync_children_state
|
||||
gst_bin_child_state_change
|
||||
gst_bin_set_pre_iterate_function
|
||||
gst_bin_set_post_iterate_function
|
||||
<SUBSECTION Standard>
|
||||
GST_BIN
|
||||
GST_IS_BIN
|
||||
|
@ -1192,7 +1189,6 @@ GST_XML_GET_CLASS
|
|||
|
||||
<SECTION>
|
||||
<FILE>gstspider</FILE>
|
||||
gst_spider_details
|
||||
GstSpiderConnection
|
||||
<TITLE>GstSpider</TITLE>
|
||||
gst_spider_identity_plug
|
||||
|
@ -1225,7 +1221,6 @@ GST_IS_SPIDER_IDENTITY_CLASS
|
|||
<FILE>gstaggregator</FILE>
|
||||
GstAggregatorSchedType
|
||||
<TITLE>GstAggregator</TITLE>
|
||||
gst_aggregator_factory_init
|
||||
<SUBSECTION Standard>
|
||||
GST_AGGREGATOR
|
||||
GST_IS_AGGREGATOR
|
||||
|
@ -1257,7 +1252,6 @@ GST_BUFFER_STORE_GET_CLASS
|
|||
<FILE>gstfakesink</FILE>
|
||||
GstFakeSinkStateError
|
||||
<TITLE>GstFakeSink</TITLE>
|
||||
gst_fakesink_factory_init
|
||||
<SUBSECTION Standard>
|
||||
GST_FAKESINK
|
||||
GST_IS_FAKESINK
|
||||
|
@ -1274,7 +1268,6 @@ GstFakeSrcDataType
|
|||
GstFakeSrcSizeType
|
||||
GstFakeSrcFillType
|
||||
<TITLE>GstFakeSrc</TITLE>
|
||||
gst_fakesrc_factory_init
|
||||
<SUBSECTION Standard>
|
||||
GST_FAKESRC
|
||||
GST_IS_FAKESRC
|
||||
|
@ -1349,7 +1342,6 @@ GST_IS_IDENTITY_CLASS
|
|||
<SECTION>
|
||||
<FILE>gstmd5sink</FILE>
|
||||
<TITLE>GstMD5Sink</TITLE>
|
||||
gst_md5sink_factory_init
|
||||
<SUBSECTION Standard>
|
||||
GST_MD5SINK
|
||||
GST_IS_MD5SINK
|
||||
|
@ -1376,7 +1368,6 @@ GST_IS_PIPEFILTER_CLASS
|
|||
<FILE>gstshaper</FILE>
|
||||
GstShaperPolicyType
|
||||
<TITLE>GstShaper</TITLE>
|
||||
gst_shaper_factory_init
|
||||
<SUBSECTION Standard>
|
||||
GST_SHAPER
|
||||
GST_IS_SHAPER
|
||||
|
@ -1402,7 +1393,6 @@ GST_IS_STATISTICS_CLASS
|
|||
<SECTION>
|
||||
<FILE>gsttee</FILE>
|
||||
<TITLE>GstTee</TITLE>
|
||||
gst_tee_factory_init
|
||||
<SUBSECTION Standard>
|
||||
GST_TEE
|
||||
GST_IS_TEE
|
||||
|
@ -1501,32 +1491,6 @@ cothread_current_main
|
|||
cothread_current
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gettext</FILE>
|
||||
gettext
|
||||
dgettext
|
||||
dcgettext
|
||||
ngettext
|
||||
dngettext
|
||||
dcngettext
|
||||
textdomain
|
||||
bindtextdomain
|
||||
bind_textdomain_codeset
|
||||
gettext_noop
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gst-i18n-app</FILE>
|
||||
_
|
||||
N_
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gst-i18n-lib</FILE>
|
||||
_
|
||||
N_
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gst</FILE>
|
||||
gst_init
|
||||
|
@ -1601,6 +1565,131 @@ SMP_ISYNC
|
|||
PPC405_ERR77
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gstenumtypes</FILE>
|
||||
gst_object_flags_get_type
|
||||
GST_TYPE_OBJECT_FLAGS
|
||||
gst_bin_flags_get_type
|
||||
GST_TYPE_BIN_FLAGS
|
||||
gst_buffer_flag_get_type
|
||||
GST_TYPE_BUFFER_FLAG
|
||||
gst_clock_entry_status_get_type
|
||||
GST_TYPE_CLOCK_ENTRY_STATUS
|
||||
gst_clock_entry_type_get_type
|
||||
GST_TYPE_CLOCK_ENTRY_TYPE
|
||||
gst_clock_return_get_type
|
||||
GST_TYPE_CLOCK_RETURN
|
||||
gst_clock_flags_get_type
|
||||
GST_TYPE_CLOCK_FLAGS
|
||||
gst_cpu_flags_get_type
|
||||
GST_TYPE_CPU_FLAGS
|
||||
gst_data_flags_get_type
|
||||
GST_TYPE_DATA_FLAGS
|
||||
gst_element_flags_get_type
|
||||
GST_TYPE_ELEMENT_FLAGS
|
||||
gst_core_error_get_type
|
||||
GST_TYPE_CORE_ERROR
|
||||
gst_library_error_get_type
|
||||
GST_TYPE_LIBRARY_ERROR
|
||||
gst_resource_error_get_type
|
||||
GST_TYPE_RESOURCE_ERROR
|
||||
gst_stream_error_get_type
|
||||
GST_TYPE_STREAM_ERROR
|
||||
gst_event_type_get_type
|
||||
GST_TYPE_EVENT_TYPE
|
||||
gst_event_flag_get_type
|
||||
GST_TYPE_EVENT_FLAG
|
||||
gst_seek_type_get_type
|
||||
GST_TYPE_SEEK_TYPE
|
||||
gst_seek_accuracy_get_type
|
||||
GST_TYPE_SEEK_ACCURACY
|
||||
gst_format_get_type
|
||||
GST_TYPE_FORMAT
|
||||
gst_index_certainty_get_type
|
||||
GST_TYPE_INDEX_CERTAINTY
|
||||
gst_index_entry_type_get_type
|
||||
GST_TYPE_INDEX_ENTRY_TYPE
|
||||
gst_index_lookup_method_get_type
|
||||
GST_TYPE_INDEX_LOOKUP_METHOD
|
||||
gst_assoc_flags_get_type
|
||||
GST_TYPE_ASSOC_FLAGS
|
||||
gst_index_resolver_method_get_type
|
||||
GST_TYPE_INDEX_RESOLVER_METHOD
|
||||
gst_index_flags_get_type
|
||||
GST_TYPE_INDEX_FLAGS
|
||||
gst_debug_level_get_type
|
||||
GST_TYPE_DEBUG_LEVEL
|
||||
gst_debug_color_flags_get_type
|
||||
GST_TYPE_DEBUG_COLOR_FLAGS
|
||||
gst_pad_link_return_get_type
|
||||
GST_TYPE_PAD_LINK_RETURN
|
||||
gst_pad_direction_get_type
|
||||
GST_TYPE_PAD_DIRECTION
|
||||
gst_pad_flags_get_type
|
||||
GST_TYPE_PAD_FLAGS
|
||||
gst_pad_presence_get_type
|
||||
GST_TYPE_PAD_PRESENCE
|
||||
gst_pad_template_flags_get_type
|
||||
GST_TYPE_PAD_TEMPLATE_FLAGS
|
||||
gst_plugin_error_get_type
|
||||
GST_TYPE_PLUGIN_ERROR
|
||||
gst_query_type_get_type
|
||||
GST_TYPE_QUERY_TYPE
|
||||
gst_scheduler_flags_get_type
|
||||
GST_TYPE_SCHEDULER_FLAGS
|
||||
gst_scheduler_state_get_type
|
||||
GST_TYPE_SCHEDULER_STATE
|
||||
gst_tag_merge_mode_get_type
|
||||
GST_TYPE_TAG_MERGE_MODE
|
||||
gst_tag_flag_get_type
|
||||
GST_TYPE_TAG_FLAG
|
||||
gst_thread_state_get_type
|
||||
GST_TYPE_THREAD_STATE
|
||||
gst_alloc_trace_flags_get_type
|
||||
GST_TYPE_ALLOC_TRACE_FLAGS
|
||||
gst_type_find_probability_get_type
|
||||
GST_TYPE_TYPE_FIND_PROBABILITY
|
||||
gst_element_state_get_type
|
||||
GST_TYPE_ELEMENT_STATE
|
||||
gst_element_state_return_get_type
|
||||
GST_TYPE_ELEMENT_STATE_RETURN
|
||||
gst_result_get_type
|
||||
GST_TYPE_RESULT
|
||||
gst_uri_type_get_type
|
||||
GST_TYPE_URI_TYPE
|
||||
gst_registry_return_get_type
|
||||
GST_TYPE_REGISTRY_RETURN
|
||||
gst_registry_flags_get_type
|
||||
GST_TYPE_REGISTRY_FLAGS
|
||||
gst_parse_error_get_type
|
||||
GST_TYPE_PARSE_ERROR
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gstmarshal</FILE>
|
||||
gst_marshal_VOID__VOID
|
||||
gst_marshal_VOID__BOOLEAN
|
||||
gst_marshal_VOID__INT
|
||||
gst_marshal_VOID__STRING
|
||||
gst_marshal_VOID__BOXED
|
||||
gst_marshal_VOID__POINTER
|
||||
gst_marshal_VOID__POINTER_OBJECT
|
||||
gst_marshal_VOID__OBJECT
|
||||
gst_marshal_VOID__OBJECT_PARAM
|
||||
gst_marshal_VOID__OBJECT_POINTER
|
||||
gst_marshal_VOID__OBJECT_BOXED
|
||||
gst_marshal_VOID__OBJECT_OBJECT_STRING
|
||||
gst_marshal_VOID__OBJECT_STRING
|
||||
gst_marshal_VOID__INT_INT
|
||||
gst_marshal_VOID__INT64
|
||||
gst_marshal_VOID__UINT_BOXED
|
||||
gst_marshal_VOID__UINT_POINTER
|
||||
gst_marshal_BOOLEAN__VOID
|
||||
gst_marshal_BOOLEAN__POINTER
|
||||
gst_marshal_POINTER__POINTER
|
||||
gst_marshal_BOXED__BOXED
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gstcpu</FILE>
|
||||
GstCPUFlags
|
||||
|
@ -1611,26 +1700,6 @@ gst_cpu_get_flags
|
|||
<FILE>gstdata_private</FILE>
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gsterror</FILE>
|
||||
GstCoreError
|
||||
GstLibraryError
|
||||
GstResourceError
|
||||
GstStreamError
|
||||
GST_TYPE_G_ERROR
|
||||
GST_LIBRARY_ERROR
|
||||
GST_RESOURCE_ERROR
|
||||
GST_CORE_ERROR
|
||||
GST_STREAM_ERROR
|
||||
GST_ERROR_SYSTEM
|
||||
gst_g_error_get_type
|
||||
gst_error_get_message
|
||||
gst_stream_error_quark
|
||||
gst_core_error_quark
|
||||
gst_resource_error_quark
|
||||
gst_library_error_quark
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gstfilter</FILE>
|
||||
GstFilterFunc
|
||||
|
@ -2012,128 +2081,49 @@ gst_version
|
|||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gstenumtypes</FILE>
|
||||
gst_object_flags_get_type
|
||||
GST_TYPE_OBJECT_FLAGS
|
||||
gst_bin_flags_get_type
|
||||
GST_TYPE_BIN_FLAGS
|
||||
gst_buffer_flag_get_type
|
||||
GST_TYPE_BUFFER_FLAG
|
||||
gst_clock_entry_status_get_type
|
||||
GST_TYPE_CLOCK_ENTRY_STATUS
|
||||
gst_clock_entry_type_get_type
|
||||
GST_TYPE_CLOCK_ENTRY_TYPE
|
||||
gst_clock_return_get_type
|
||||
GST_TYPE_CLOCK_RETURN
|
||||
gst_clock_flags_get_type
|
||||
GST_TYPE_CLOCK_FLAGS
|
||||
gst_cpu_flags_get_type
|
||||
GST_TYPE_CPU_FLAGS
|
||||
gst_data_flags_get_type
|
||||
GST_TYPE_DATA_FLAGS
|
||||
gst_element_flags_get_type
|
||||
GST_TYPE_ELEMENT_FLAGS
|
||||
gst_core_error_get_type
|
||||
GST_TYPE_CORE_ERROR
|
||||
gst_library_error_get_type
|
||||
GST_TYPE_LIBRARY_ERROR
|
||||
gst_resource_error_get_type
|
||||
GST_TYPE_RESOURCE_ERROR
|
||||
gst_stream_error_get_type
|
||||
GST_TYPE_STREAM_ERROR
|
||||
gst_event_type_get_type
|
||||
GST_TYPE_EVENT_TYPE
|
||||
gst_event_flag_get_type
|
||||
GST_TYPE_EVENT_FLAG
|
||||
gst_seek_type_get_type
|
||||
GST_TYPE_SEEK_TYPE
|
||||
gst_seek_accuracy_get_type
|
||||
GST_TYPE_SEEK_ACCURACY
|
||||
gst_format_get_type
|
||||
GST_TYPE_FORMAT
|
||||
gst_index_certainty_get_type
|
||||
GST_TYPE_INDEX_CERTAINTY
|
||||
gst_index_entry_type_get_type
|
||||
GST_TYPE_INDEX_ENTRY_TYPE
|
||||
gst_index_lookup_method_get_type
|
||||
GST_TYPE_INDEX_LOOKUP_METHOD
|
||||
gst_assoc_flags_get_type
|
||||
GST_TYPE_ASSOC_FLAGS
|
||||
gst_index_resolver_method_get_type
|
||||
GST_TYPE_INDEX_RESOLVER_METHOD
|
||||
gst_index_flags_get_type
|
||||
GST_TYPE_INDEX_FLAGS
|
||||
gst_debug_level_get_type
|
||||
GST_TYPE_DEBUG_LEVEL
|
||||
gst_debug_color_flags_get_type
|
||||
GST_TYPE_DEBUG_COLOR_FLAGS
|
||||
gst_pad_link_return_get_type
|
||||
GST_TYPE_PAD_LINK_RETURN
|
||||
gst_pad_direction_get_type
|
||||
GST_TYPE_PAD_DIRECTION
|
||||
gst_pad_flags_get_type
|
||||
GST_TYPE_PAD_FLAGS
|
||||
gst_pad_presence_get_type
|
||||
GST_TYPE_PAD_PRESENCE
|
||||
gst_pad_template_flags_get_type
|
||||
GST_TYPE_PAD_TEMPLATE_FLAGS
|
||||
gst_plugin_error_get_type
|
||||
GST_TYPE_PLUGIN_ERROR
|
||||
gst_query_type_get_type
|
||||
GST_TYPE_QUERY_TYPE
|
||||
gst_scheduler_flags_get_type
|
||||
GST_TYPE_SCHEDULER_FLAGS
|
||||
gst_scheduler_state_get_type
|
||||
GST_TYPE_SCHEDULER_STATE
|
||||
gst_tag_merge_mode_get_type
|
||||
GST_TYPE_TAG_MERGE_MODE
|
||||
gst_tag_flag_get_type
|
||||
GST_TYPE_TAG_FLAG
|
||||
gst_thread_state_get_type
|
||||
GST_TYPE_THREAD_STATE
|
||||
gst_alloc_trace_flags_get_type
|
||||
GST_TYPE_ALLOC_TRACE_FLAGS
|
||||
gst_type_find_probability_get_type
|
||||
GST_TYPE_TYPE_FIND_PROBABILITY
|
||||
gst_element_state_get_type
|
||||
GST_TYPE_ELEMENT_STATE
|
||||
gst_element_state_return_get_type
|
||||
GST_TYPE_ELEMENT_STATE_RETURN
|
||||
gst_result_get_type
|
||||
GST_TYPE_RESULT
|
||||
gst_uri_type_get_type
|
||||
GST_TYPE_URI_TYPE
|
||||
gst_registry_return_get_type
|
||||
GST_TYPE_REGISTRY_RETURN
|
||||
gst_registry_flags_get_type
|
||||
GST_TYPE_REGISTRY_FLAGS
|
||||
gst_parse_error_get_type
|
||||
GST_TYPE_PARSE_ERROR
|
||||
<FILE>gettext</FILE>
|
||||
gettext
|
||||
dgettext
|
||||
dcgettext
|
||||
ngettext
|
||||
dngettext
|
||||
dcngettext
|
||||
textdomain
|
||||
bindtextdomain
|
||||
bind_textdomain_codeset
|
||||
gettext_noop
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gstmarshal</FILE>
|
||||
gst_marshal_VOID__VOID
|
||||
gst_marshal_VOID__BOOLEAN
|
||||
gst_marshal_VOID__INT
|
||||
gst_marshal_VOID__STRING
|
||||
gst_marshal_VOID__BOXED
|
||||
gst_marshal_VOID__POINTER
|
||||
gst_marshal_VOID__POINTER_OBJECT
|
||||
gst_marshal_VOID__OBJECT
|
||||
gst_marshal_VOID__OBJECT_PARAM
|
||||
gst_marshal_VOID__OBJECT_POINTER
|
||||
gst_marshal_VOID__OBJECT_BOXED
|
||||
gst_marshal_VOID__OBJECT_OBJECT_STRING
|
||||
gst_marshal_VOID__OBJECT_STRING
|
||||
gst_marshal_VOID__INT_INT
|
||||
gst_marshal_VOID__INT64
|
||||
gst_marshal_VOID__UINT_BOXED
|
||||
gst_marshal_VOID__UINT_POINTER
|
||||
gst_marshal_BOOLEAN__VOID
|
||||
gst_marshal_BOOLEAN__POINTER
|
||||
gst_marshal_POINTER__POINTER
|
||||
gst_marshal_BOXED__BOXED
|
||||
<FILE>gsterror</FILE>
|
||||
GstCoreError
|
||||
GstLibraryError
|
||||
GstResourceError
|
||||
GstStreamError
|
||||
GST_TYPE_G_ERROR
|
||||
GST_LIBRARY_ERROR
|
||||
GST_RESOURCE_ERROR
|
||||
GST_CORE_ERROR
|
||||
GST_STREAM_ERROR
|
||||
GST_ERROR_SYSTEM
|
||||
gst_g_error_get_type
|
||||
gst_error_get_message
|
||||
gst_stream_error_quark
|
||||
gst_core_error_quark
|
||||
gst_resource_error_quark
|
||||
gst_library_error_quark
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gst-i18n-app</FILE>
|
||||
_
|
||||
N_
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gst-i18n-lib</FILE>
|
||||
_
|
||||
N_
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
|
|
|
@ -24,12 +24,3 @@ methods to request buffers from its pads.
|
|||
@AGGREGATOR_LOOP_SELECT:
|
||||
@AGGREGATOR_CHAIN:
|
||||
|
||||
<!-- ##### FUNCTION gst_aggregator_factory_init ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@factory:
|
||||
@Returns:
|
||||
|
||||
|
||||
|
|
|
@ -1,85 +0,0 @@
|
|||
<!-- ##### SECTION Title ##### -->
|
||||
GstAutoplugFactory
|
||||
|
||||
<!-- ##### SECTION Short_Description ##### -->
|
||||
Create autopluggers from a factory.
|
||||
|
||||
<!-- ##### SECTION Long_Description ##### -->
|
||||
<para>
|
||||
An autoplugfactory is used to create instances of an autoplugger. It
|
||||
can be added to a #GstPlugin as it extends #GstPluginFeature.
|
||||
</para>
|
||||
<para>
|
||||
Use gst_autoplug_factory_new() to create a new autoplugger which can be registered
|
||||
to a plugin with gst_plugin_add_feature().
|
||||
</para>
|
||||
<para>
|
||||
Use gst_autoplug_factory_find() to find the named autoplugfactory.
|
||||
or use gst_autoplug_factory_get_list() to get a list of all available autopluggers.
|
||||
</para>
|
||||
<para>
|
||||
Once an autoplugfactory has been obtained use gst_autoplug_factory_create() to
|
||||
instantiate a real autoplugger. Optionally gst_autoplug_factory_make() to create
|
||||
a autoplugger from the named factory.
|
||||
</para>
|
||||
<para>
|
||||
Use gst_autoplug_factory_destroy() to remove the factory from the global list.
|
||||
</para>
|
||||
|
||||
<!-- ##### SECTION See_Also ##### -->
|
||||
<para>
|
||||
#GstAutoplug, #GstPlugin, #GstPluginFeature.
|
||||
</para>
|
||||
|
||||
<!-- ##### STRUCT GstAutoplugFactory ##### -->
|
||||
<para>
|
||||
The autoplugfactory object
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_autoplug_factory_new ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@name:
|
||||
@longdesc:
|
||||
@type:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_autoplug_factory_destroy ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@factory:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_autoplug_factory_find ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@name:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_autoplug_factory_create ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@factory:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_autoplug_factory_make ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@name:
|
||||
@Returns:
|
||||
|
||||
|
|
@ -63,16 +63,6 @@ clock providers in the bin.
|
|||
@klass:
|
||||
|
||||
|
||||
<!-- ##### USER_FUNCTION GstBinPrePostIterateFunction ##### -->
|
||||
<para>
|
||||
The signature of the callback for the post and pre iterate function as set with
|
||||
gst_bin_set_pre_iterate_function() and gst_bin_set_post_iterate_function().
|
||||
</para>
|
||||
|
||||
@bin: The bin that performed the callback
|
||||
@user_data: user data
|
||||
|
||||
|
||||
<!-- ##### ENUM GstBinFlags ##### -->
|
||||
<para>
|
||||
Flags for a bin.
|
||||
|
@ -235,26 +225,6 @@ Flags for a bin.
|
|||
@child:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_bin_set_pre_iterate_function ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@bin:
|
||||
@func:
|
||||
@user_data:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_bin_set_post_iterate_function ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@bin:
|
||||
@func:
|
||||
@user_data:
|
||||
|
||||
|
||||
<!-- ##### SIGNAL GstBin::element-added ##### -->
|
||||
<para>
|
||||
|
||||
|
|
|
@ -37,11 +37,6 @@ to create a buffer with preallocated
|
|||
data of a given size.
|
||||
</para>
|
||||
<para>
|
||||
GstBuffers can also be created from a #GstBufferPool with
|
||||
gst_buffer_new_from_pool(). The bufferpool can be obtained from a
|
||||
peer element with gst_pad_get_bufferpool().
|
||||
</para>
|
||||
<para>
|
||||
gst_buffer_ref() is used to increase the refcount of a buffer. This must be
|
||||
done when you want to keep a handle to the buffer after pushing it to the
|
||||
next element.
|
||||
|
|
|
@ -1,63 +0,0 @@
|
|||
<!-- ##### SECTION Title ##### -->
|
||||
GstBufferStore
|
||||
|
||||
<!-- ##### SECTION Short_Description ##### -->
|
||||
|
||||
|
||||
<!-- ##### SECTION Long_Description ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### SECTION See_Also ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### FUNCTION gst_buffer_store_new ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_buffer_store_clear ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@store:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_buffer_store_add_buffer ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@store:
|
||||
@buffer:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_buffer_store_get_buffer ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@store:
|
||||
@offset:
|
||||
@size:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_buffer_store_get_size ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@store:
|
||||
@offset:
|
||||
@Returns:
|
||||
|
||||
|
|
@ -29,12 +29,3 @@ with the buffer. (fakesink)
|
|||
@FAKESINK_STATE_ERROR_PAUSED_READY:
|
||||
@FAKESINK_STATE_ERROR_READY_NULL:
|
||||
|
||||
<!-- ##### FUNCTION gst_fakesink_factory_init ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@factory:
|
||||
@Returns:
|
||||
|
||||
|
||||
|
|
|
@ -56,12 +56,3 @@ The <classname>GstFakeSrc</classname> generates empty buffers. (fakesrc)
|
|||
@FAKESRC_FILLTYPE_PATTERN:
|
||||
@FAKESRC_FILLTYPE_PATTERN_CONT:
|
||||
|
||||
<!-- ##### FUNCTION gst_fakesrc_factory_init ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@factory:
|
||||
@Returns:
|
||||
|
||||
|
||||
|
|
|
@ -14,12 +14,3 @@ GstMD5Sink
|
|||
|
||||
</para>
|
||||
|
||||
<!-- ##### FUNCTION gst_md5sink_factory_init ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@factory:
|
||||
@Returns:
|
||||
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,166 +0,0 @@
|
|||
<!-- ##### SECTION Title ##### -->
|
||||
gstsearchfuncs
|
||||
|
||||
<!-- ##### SECTION Short_Description ##### -->
|
||||
|
||||
|
||||
<!-- ##### SECTION Long_Description ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### SECTION See_Also ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### MACRO GST_AUTOPLUG_MAX_COST ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
|
||||
<!-- ##### STRUCT GstAutoplugNode ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@prev:
|
||||
@fac:
|
||||
@templ:
|
||||
@cost:
|
||||
@endpoint:
|
||||
|
||||
<!-- ##### FUNCTION gst_autoplug_caps_intersect ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@src:
|
||||
@sink:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_autoplug_can_connect_src ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@fac:
|
||||
@src:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_autoplug_can_connect_sink ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@fac:
|
||||
@sink:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_autoplug_can_match ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@src:
|
||||
@dest:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_autoplug_factory_has_direction ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@fac:
|
||||
@dir:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### MACRO gst_autoplug_factory_has_sink ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@fac:
|
||||
|
||||
|
||||
<!-- ##### MACRO gst_autoplug_factory_has_src ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@fac:
|
||||
|
||||
|
||||
<!-- ##### MACRO gst_autoplug_get_cost ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@fac:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_autoplug_factories_sinks ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@factories:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_autoplug_factories_srcs ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@factories:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_autoplug_factories_filters ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@factories:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_autoplug_factories_filters_with_sink_caps ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@factories:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_autoplug_factories_at_most_templates ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@factories:
|
||||
@dir:
|
||||
@maxtemplates:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_autoplug_sp ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@src_caps:
|
||||
@sink_caps:
|
||||
@factories:
|
||||
@Returns:
|
||||
|
||||
|
|
@ -22,12 +22,3 @@ GstShaper
|
|||
@SHAPER_POLICY_TIMESTAMPS:
|
||||
@SHAPER_POLICY_BUFFERSIZE:
|
||||
|
||||
<!-- ##### FUNCTION gst_shaper_factory_init ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@factory:
|
||||
@Returns:
|
||||
|
||||
|
||||
|
|
|
@ -14,12 +14,6 @@ GstSpider
|
|||
|
||||
</para>
|
||||
|
||||
<!-- ##### VARIABLE gst_spider_details ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### TYPEDEF GstSpiderConnection ##### -->
|
||||
<para>
|
||||
|
||||
|
|
|
@ -14,12 +14,3 @@ A tee can be used to split out the filter graph.
|
|||
|
||||
</para>
|
||||
|
||||
<!-- ##### FUNCTION gst_tee_factory_init ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@factory:
|
||||
@Returns:
|
||||
|
||||
|
||||
|
|
|
@ -70,6 +70,28 @@ Some convenience functions
|
|||
@type:
|
||||
@type_as_function:
|
||||
@parent_type:
|
||||
@\
|
||||
parent_type_macro:
|
||||
@\
|
||||
parent_type_macro:
|
||||
@\
|
||||
parent_type_macro:
|
||||
@\
|
||||
parent_type_macro:
|
||||
@\
|
||||
parent_type_macro:
|
||||
@\
|
||||
parent_type_macro:
|
||||
@\
|
||||
parent_type_macro:
|
||||
@\
|
||||
parent_type_macro:
|
||||
@\
|
||||
parent_type_macro:
|
||||
@\
|
||||
parent_type_macro:
|
||||
@\
|
||||
parent_type_macro:
|
||||
@\
|
||||
parent_type_macro:
|
||||
@\
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
GstValue
|
||||
|
||||
<!-- ##### SECTION Short_Description ##### -->
|
||||
|
||||
GValue implementations specific to GStreamer
|
||||
|
||||
<!-- ##### SECTION Long_Description ##### -->
|
||||
<para>
|
||||
|
|
|
@ -115,6 +115,10 @@ GstXML
|
|||
|
||||
</para>
|
||||
|
||||
@:
|
||||
@:
|
||||
@:
|
||||
|
||||
@gstxml: the object which received the signal.
|
||||
@arg1:
|
||||
@arg2:
|
||||
|
@ -124,7 +128,7 @@ GstXML
|
|||
|
||||
</para>
|
||||
|
||||
@:
|
||||
@:
|
||||
@:
|
||||
@gstxml: the object which received the signal.
|
||||
@arg1:
|
||||
@arg2:
|
||||
|
||||
|
|
|
@ -113,7 +113,6 @@ libgstreamer_@GST_MAJORMINOR@_la_SOURCES = \
|
|||
gsttag.c \
|
||||
gsttaginterface.c \
|
||||
gstthread.c \
|
||||
gstthreaddummy.c \
|
||||
$(GST_TRACE_SRC) \
|
||||
gsttrashstack.c \
|
||||
gsttypefind.c \
|
||||
|
|
|
@ -50,6 +50,11 @@
|
|||
#include "gstspideridentity.h"
|
||||
#include "gstsearchfuncs.h"
|
||||
|
||||
static GstElementDetails gst_spider_details = GST_ELEMENT_DETAILS ("Spider",
|
||||
"Generic",
|
||||
"Automatically link sinks and sources",
|
||||
"Benjamin Otte <in7y118@public.uni-hamburg.de>");
|
||||
|
||||
GST_DEBUG_CATEGORY (gst_spider_debug);
|
||||
#define GST_CAT_DEFAULT gst_spider_debug
|
||||
|
||||
|
@ -729,11 +734,6 @@ gst_spider_plug_from_srcpad (GstSpiderConnection * conn, GstPad * srcpad)
|
|||
return result;
|
||||
}
|
||||
|
||||
GstElementDetails gst_spider_details = GST_ELEMENT_DETAILS ("Spider",
|
||||
"Generic",
|
||||
"Automatically link sinks and sources",
|
||||
"Benjamin Otte <in7y118@public.uni-hamburg.de>");
|
||||
|
||||
static gboolean
|
||||
plugin_init (GstPlugin * plugin)
|
||||
{
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
extern GstElementDetails gst_spider_details;
|
||||
GST_DEBUG_CATEGORY_EXTERN(gst_spider_debug);
|
||||
|
||||
/*
|
||||
|
|
|
@ -69,8 +69,6 @@ struct _GstAggregatorClass {
|
|||
|
||||
GType gst_aggregator_get_type (void);
|
||||
|
||||
gboolean gst_aggregator_factory_init (GstElementFactory *factory);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_AGGREGATOR_H__ */
|
||||
|
|
|
@ -75,8 +75,6 @@ struct _GstFakeSinkClass {
|
|||
|
||||
GType gst_fakesink_get_type(void);
|
||||
|
||||
gboolean gst_fakesink_factory_init (GstElementFactory *factory);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_FAKESINK_H__ */
|
||||
|
|
|
@ -115,8 +115,6 @@ struct _GstFakeSrcClass {
|
|||
|
||||
GType gst_fakesrc_get_type(void);
|
||||
|
||||
gboolean gst_fakesrc_factory_init (GstElementFactory *factory);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_FAKESRC_H__ */
|
||||
|
|
|
@ -69,8 +69,6 @@ struct _GstMD5SinkClass {
|
|||
|
||||
GType gst_md5sink_get_type (void);
|
||||
|
||||
gboolean gst_md5sink_factory_init (GstElementFactory *factory);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_MD5SINK_H__ */
|
||||
|
|
|
@ -66,8 +66,6 @@ struct _GstShaperClass {
|
|||
};
|
||||
|
||||
GType gst_shaper_get_type (void);
|
||||
gboolean gst_shaper_factory_init (GstElementFactory *factory);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -58,8 +58,6 @@ struct _GstTeeClass {
|
|||
|
||||
GType gst_tee_get_type (void);
|
||||
|
||||
gboolean gst_tee_factory_init (GstElementFactory *factory);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_TEE_H__ */
|
||||
|
|
44
gst/gst.c
44
gst/gst.c
|
@ -48,8 +48,6 @@ static GstRegistry *_user_registry;
|
|||
static gboolean _gst_registry_fixed = FALSE;
|
||||
#endif
|
||||
|
||||
static gboolean _gst_use_threads = TRUE;
|
||||
|
||||
static gboolean _gst_enable_cpu_opt = TRUE;
|
||||
|
||||
static gboolean gst_initialized = FALSE;
|
||||
|
@ -61,8 +59,6 @@ extern gint _gst_trace_on;
|
|||
/* set to TRUE when segfaults need to be left as is */
|
||||
gboolean _gst_disable_segtrap = FALSE;
|
||||
|
||||
extern GThreadFunctions gst_thread_dummy_functions;
|
||||
|
||||
|
||||
static void load_plugin_func (gpointer data, gpointer user_data);
|
||||
static void init_popt_callback (poptContext context,
|
||||
|
@ -164,7 +160,7 @@ gst_init_get_popt_table (void)
|
|||
{"gst-plugin-load", NUL, POPT_ARG_STRING | POPT_ARGFLAG_STRIP, NULL,
|
||||
ARG_PLUGIN_LOAD,
|
||||
N_("Comma-separated list of plugins to preload in addition to the "
|
||||
"list stored in env variable GST_PLUGIN_PATH"),
|
||||
"list stored in envronment variable GST_PLUGIN_PATH"),
|
||||
N_("PLUGINS")},
|
||||
{"gst-disable-segtrap", NUL, POPT_ARG_NONE | POPT_ARGFLAG_STRIP, NULL,
|
||||
ARG_SEGTRAP_DISABLE,
|
||||
|
@ -232,6 +228,11 @@ gst_init_check (int *argc, char **argv[])
|
|||
* This function will terminate your program if it was unable to initialize
|
||||
* GStreamer for some reason. If you want your program to fall back,
|
||||
* use gst_init_check() instead.
|
||||
*
|
||||
* WARNING: This function does not work in the same way as corresponding
|
||||
* functions in other glib-style libraries, such as gtk_init(). In
|
||||
* particular, unknown command line options cause this function to
|
||||
* abort program execution.
|
||||
*/
|
||||
void
|
||||
gst_init (int *argc, char **argv[])
|
||||
|
@ -449,12 +450,8 @@ init_pre (void)
|
|||
|
||||
if (g_thread_supported ()) {
|
||||
/* somebody already initialized threading */
|
||||
_gst_use_threads = TRUE;
|
||||
} else {
|
||||
if (_gst_use_threads)
|
||||
g_thread_init (NULL);
|
||||
else
|
||||
g_thread_init (&gst_thread_dummy_functions);
|
||||
g_thread_init (NULL);
|
||||
}
|
||||
/* we need threading to be enabled right here */
|
||||
_gst_debug_init ();
|
||||
|
@ -566,8 +563,7 @@ init_post (void)
|
|||
llf = G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_ERROR | G_LOG_FLAG_FATAL;
|
||||
g_log_set_handler (g_log_domain_gstreamer, llf, debug_log_handler, NULL);
|
||||
|
||||
GST_INFO ("Initializing GStreamer Core Library version %s %s",
|
||||
VERSION, _gst_use_threads ? "" : "(no threads)");
|
||||
GST_INFO ("Initializing GStreamer Core Library version %s", VERSION);
|
||||
|
||||
_gst_format_initialize ();
|
||||
_gst_query_type_initialize ();
|
||||
|
@ -806,27 +802,19 @@ init_popt_callback (poptContext context, enum poptCallbackReason reason,
|
|||
* gst_use_threads:
|
||||
* @use_threads: a #gboolean indicating whether threads should be used
|
||||
*
|
||||
* Instructs the core to turn on/off threading. When threading
|
||||
* is turned off, all thread operations such as mutexes and conditionals
|
||||
* are turned into NOPs. use this if you want absolute minimal overhead
|
||||
* and you don't use any threads in the pipeline.
|
||||
* <note><para>
|
||||
* This function may only be called before threads are initialized. This
|
||||
* usually happens when calling gst_init.
|
||||
* </para></note>
|
||||
* This function is deprecated and should not be used in new code.
|
||||
* GStreamer requires threads to be enabled at all times.
|
||||
*/
|
||||
void
|
||||
gst_use_threads (gboolean use_threads)
|
||||
{
|
||||
g_return_if_fail (!gst_initialized);
|
||||
g_return_if_fail (g_thread_supported ());
|
||||
|
||||
_gst_use_threads = use_threads;
|
||||
}
|
||||
|
||||
/**
|
||||
* gst_has_threads:
|
||||
*
|
||||
* This function is deprecated and should not be used in new code.
|
||||
*
|
||||
* Queries if GStreamer has threads enabled.
|
||||
*
|
||||
* Returns: %TRUE if threads are enabled.
|
||||
|
@ -834,7 +822,7 @@ gst_use_threads (gboolean use_threads)
|
|||
gboolean
|
||||
gst_has_threads (void)
|
||||
{
|
||||
return _gst_use_threads;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
|
@ -844,6 +832,9 @@ static GSList *mainloops = NULL;
|
|||
* gst_main:
|
||||
*
|
||||
* Enters the main GStreamer processing loop.
|
||||
*
|
||||
* This function duplicates functionality in glib, and will be removed
|
||||
* during the 0.9 development series.
|
||||
*/
|
||||
void
|
||||
gst_main (void)
|
||||
|
@ -860,6 +851,9 @@ gst_main (void)
|
|||
* gst_main_quit:
|
||||
*
|
||||
* Exits the main GStreamer processing loop.
|
||||
*
|
||||
* This function duplicates functionality in glib, and will be removed
|
||||
* during the 0.9 development series.
|
||||
*/
|
||||
void
|
||||
gst_main_quit (void)
|
||||
|
|
26
gst/gstbin.c
26
gst/gstbin.c
|
@ -89,6 +89,11 @@ static void gst_bin_init (GstBin * bin);
|
|||
static GstElementClass *parent_class = NULL;
|
||||
static guint gst_bin_signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
/**
|
||||
* gst_bin_get_type:
|
||||
*
|
||||
* Returns: the type of #GstBin
|
||||
*/
|
||||
GType
|
||||
gst_bin_get_type (void)
|
||||
{
|
||||
|
@ -409,9 +414,10 @@ gst_bin_unset_element_sched (GstElement * element, GstScheduler * sched)
|
|||
* gst_bin_add_many:
|
||||
* @bin: the bin to add the elements to
|
||||
* @element_1: the first element to add to the bin
|
||||
* @...: NULL-terminated list of elements to add to the bin
|
||||
* @...: additional elements to add to the bin
|
||||
*
|
||||
* Add a list of elements to a bin. Uses #gst_bin_add.
|
||||
* Adds a NULL-terminated list of elements to a bin. This function is
|
||||
* equivalent to calling #gst_bin_add() for each member of the list.
|
||||
*/
|
||||
void
|
||||
gst_bin_add_many (GstBin * bin, GstElement * element_1, ...)
|
||||
|
@ -481,8 +487,8 @@ gst_bin_add_func (GstBin * bin, GstElement * element)
|
|||
* @bin: #GstBin to add element to
|
||||
* @element: #GstElement to add to bin
|
||||
*
|
||||
* Add the given element to the bin. Set the elements parent, and thus
|
||||
* add a reference.
|
||||
* Adds the given element to the bin. Sets the element's parent, and thus
|
||||
* adds a reference.
|
||||
*/
|
||||
void
|
||||
gst_bin_add (GstBin * bin, GstElement * element)
|
||||
|
@ -558,10 +564,11 @@ gst_bin_remove_func (GstBin * bin, GstElement * element)
|
|||
* @bin: #GstBin to remove element from
|
||||
* @element: #GstElement to remove
|
||||
*
|
||||
* Remove the element from its associated bin, unparenting as well.
|
||||
* The element will also be unreferenced so there's no need to call
|
||||
* gst_object_unref on it.
|
||||
* If you want the element to still exist after removing, you need to call
|
||||
* Remove the element from its associated bin, unparenting it as well.
|
||||
* Unparenting the element means that the element will be dereferenced,
|
||||
* so if the bin holds the only reference to the element, the element
|
||||
* will be freed in the process of removing it from the bin. If you
|
||||
* want the element to still exist after removing, you need to call
|
||||
* #gst_object_ref before removing it from the bin.
|
||||
*/
|
||||
void
|
||||
|
@ -591,7 +598,8 @@ gst_bin_remove (GstBin * bin, GstElement * element)
|
|||
* @element_1: the first element to remove from the bin
|
||||
* @...: NULL-terminated list of elements to remove from the bin
|
||||
*
|
||||
* Remove a list of elements from a bin. Uses #gst_bin_remove.
|
||||
* Remove a list of elements from a bin. This function is equivalent
|
||||
* to calling #gst_bin_remove with each member of the list.
|
||||
*/
|
||||
void
|
||||
gst_bin_remove_many (GstBin * bin, GstElement * element_1, ...)
|
||||
|
|
|
@ -37,8 +37,6 @@ extern GType _gst_bin_type;
|
|||
#define GST_BIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_BIN, GstBin))
|
||||
#define GST_BIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_BIN, GstBinClass))
|
||||
|
||||
typedef void (*GstBinPrePostIterateFunction) (GstBin *bin, gpointer user_data);
|
||||
|
||||
typedef enum {
|
||||
/* this bin is a manager of child elements, i.e. a pipeline or thread */
|
||||
GST_BIN_FLAG_MANAGER = GST_ELEMENT_FLAG_LAST,
|
||||
|
@ -119,13 +117,6 @@ GstElementStateReturn gst_bin_sync_children_state (GstBin *bin);
|
|||
void gst_bin_child_state_change (GstBin *bin, GstElementState oldstate,
|
||||
GstElementState newstate, GstElement *child);
|
||||
|
||||
void gst_bin_set_pre_iterate_function (GstBin *bin,
|
||||
GstBinPrePostIterateFunction func,
|
||||
gpointer user_data);
|
||||
void gst_bin_set_post_iterate_function (GstBin *bin,
|
||||
GstBinPrePostIterateFunction func,
|
||||
gpointer user_data);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
|
|
|
@ -339,8 +339,8 @@ gst_buffer_merge (GstBuffer * buf1, GstBuffer * buf2)
|
|||
* @buf1: a first source #GstBuffer.
|
||||
* @buf2: the second source #GstBuffer.
|
||||
*
|
||||
* Determines whether a gst_buffer_span() is free (as in free beer),
|
||||
* or requires a memcpy.
|
||||
* Determines whether a gst_buffer_span() can be done without copying
|
||||
* the contents, that is, whether the data areas are contiguous.
|
||||
*
|
||||
* Returns: TRUE if the buffers are contiguous,
|
||||
* FALSE if a copy would be required.
|
||||
|
|
|
@ -332,6 +332,8 @@ gst_caps_append_structure (GstCaps * caps, GstStructure * structure)
|
|||
* gst_caps_split_one:
|
||||
* @caps:
|
||||
*
|
||||
* This function is not implemented.
|
||||
*
|
||||
* Returns:
|
||||
*/
|
||||
GstCaps *
|
||||
|
@ -344,9 +346,11 @@ gst_caps_split_one (GstCaps * caps)
|
|||
}
|
||||
|
||||
/**
|
||||
* gst_caps_split_one:
|
||||
* gst_caps_get_size:
|
||||
* @caps: a #GstCaps
|
||||
*
|
||||
* Gets the number of structures contained in @caps.
|
||||
*
|
||||
* Returns: the number of structures that @caps contains
|
||||
*/
|
||||
int
|
||||
|
@ -467,6 +471,8 @@ gst_caps_set_simple_valist (GstCaps * caps, char *field, va_list varargs)
|
|||
* gst_caps_is_any:
|
||||
* @caps: the @GstCaps to test
|
||||
*
|
||||
* Determines if @caps represents any media format.
|
||||
*
|
||||
* Returns: TRUE if @caps represents any format.
|
||||
*/
|
||||
gboolean
|
||||
|
@ -481,6 +487,8 @@ gst_caps_is_any (const GstCaps * caps)
|
|||
* gst_caps_is_empty:
|
||||
* @caps: the @GstCaps to test
|
||||
*
|
||||
* Determines if @caps represents no media formats.
|
||||
*
|
||||
* Returns: TRUE if @caps represents no formats.
|
||||
*/
|
||||
gboolean
|
||||
|
@ -498,6 +506,11 @@ gst_caps_is_empty (const GstCaps * caps)
|
|||
* gst_caps_is_chained:
|
||||
* @caps: the @GstCaps to test
|
||||
*
|
||||
* Determines if @caps contains multiple #GstStructures.
|
||||
*
|
||||
* This function is deprecated, and should not be used in new code.
|
||||
* Use #gst_caps_is_simple() instead.
|
||||
*
|
||||
* Returns: TRUE if @caps contains more than one structure
|
||||
*/
|
||||
gboolean
|
||||
|
@ -641,10 +654,14 @@ gst_caps_cap_is_always_compatible (const GstStructure * struct1,
|
|||
}
|
||||
|
||||
/**
|
||||
* gst_caps_is_always_compatible
|
||||
* gst_caps_is_always_compatible:
|
||||
* @caps1: the #GstCaps to test
|
||||
* @caps2: the #GstCaps to test
|
||||
*
|
||||
* A given #GstCaps structure is always compatible with another if
|
||||
* every media format that is in the first is also contained in the
|
||||
* second. That is, @caps1 is a subset of @caps2.
|
||||
*
|
||||
* Returns: TRUE if @caps1 is a subset of @caps2.
|
||||
*/
|
||||
gboolean
|
||||
|
@ -654,14 +671,15 @@ gst_caps_is_always_compatible (const GstCaps * caps1, const GstCaps * caps2)
|
|||
|
||||
g_return_val_if_fail (caps1 != NULL, FALSE);
|
||||
g_return_val_if_fail (caps2 != NULL, FALSE);
|
||||
/* FIXME: is this right ? */
|
||||
g_return_val_if_fail (!gst_caps_is_empty (caps1), FALSE);
|
||||
g_return_val_if_fail (!gst_caps_is_empty (caps2), FALSE);
|
||||
|
||||
if (gst_caps_is_any (caps2))
|
||||
return TRUE;
|
||||
if (gst_caps_is_any (caps1))
|
||||
return FALSE;
|
||||
if (gst_caps_is_empty (caps1))
|
||||
return TRUE;
|
||||
if (gst_caps_is_empty (caps2))
|
||||
return FALSE;
|
||||
|
||||
for (i = 0; i < caps1->structs->len; i++) {
|
||||
GstStructure *struct1 = gst_caps_get_structure (caps1, i);
|
||||
|
@ -996,6 +1014,15 @@ gst_caps_simplify (const GstCaps * caps)
|
|||
}
|
||||
|
||||
#ifndef GST_DISABLE_LOADSAVE
|
||||
/**
|
||||
* gst_caps_save_thyself:
|
||||
* @caps: a #GstCaps structure
|
||||
* @parent: a XML parent node
|
||||
*
|
||||
* Serializes a #GstCaps to XML and adds it as a child node of @parent.
|
||||
*
|
||||
* Returns: a XML node pointer
|
||||
*/
|
||||
xmlNodePtr
|
||||
gst_caps_save_thyself (const GstCaps * caps, xmlNodePtr parent)
|
||||
{
|
||||
|
@ -1003,6 +1030,14 @@ gst_caps_save_thyself (const GstCaps * caps, xmlNodePtr parent)
|
|||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* gst_caps_load_thyself:
|
||||
* @parent: a XML node
|
||||
*
|
||||
* Creates a #GstCaps from its XML serialization.
|
||||
*
|
||||
* Returns: a new #GstCaps structure
|
||||
*/
|
||||
GstCaps *
|
||||
gst_caps_load_thyself (xmlNodePtr parent)
|
||||
{
|
||||
|
@ -1171,6 +1206,17 @@ gst_caps_copy_conditional (const GstCaps * src)
|
|||
|
||||
/* fixate utility functions */
|
||||
|
||||
/**
|
||||
* gst_caps_structure_fixate_field_nearest_int:
|
||||
* @structure: a #GstStructure
|
||||
* @field_name: a field in @structure
|
||||
* @target: the target value of the fixation
|
||||
*
|
||||
* Fixates a #GstStructure by changing the given field to the nearest
|
||||
* integer to @target that is a subset of the existing field.
|
||||
*
|
||||
* Returns: TRUE if the structure could be fixated
|
||||
*/
|
||||
gboolean
|
||||
gst_caps_structure_fixate_field_nearest_int (GstStructure * structure,
|
||||
const char *field_name, int target)
|
||||
|
@ -1223,6 +1269,17 @@ gst_caps_structure_fixate_field_nearest_int (GstStructure * structure,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
/**
|
||||
* gst_caps_structure_fixate_field_nearest_double:
|
||||
* @structure: a #GstStructure
|
||||
* @field_name: a field in @structure
|
||||
* @target: the target value of the fixation
|
||||
*
|
||||
* Fixates a #GstStructure by changing the given field to the nearest
|
||||
* double to @target that is a subset of the existing field.
|
||||
*
|
||||
* Returns: TRUE if the structure could be fixated
|
||||
*/
|
||||
gboolean
|
||||
gst_caps_structure_fixate_field_nearest_double (GstStructure * structure,
|
||||
const char *field_name, double target)
|
||||
|
|
|
@ -19,6 +19,20 @@
|
|||
|
||||
#include <gst/gstfilter.h>
|
||||
|
||||
/**
|
||||
* gst_filter_run:
|
||||
* @list: a linked list
|
||||
* @func: the function to execute for each item
|
||||
* @first: flag to stop execution after a successful item
|
||||
* @user_data: user data
|
||||
*
|
||||
* Iterates over the elements in @list, calling @func with the
|
||||
* list item data for each item. If @func returns TRUE, @data is
|
||||
* prepended to the list of results returned. If @first is true,
|
||||
* the search is halted after the first result is found.
|
||||
*
|
||||
* Returns: the list of results
|
||||
*/
|
||||
GList *
|
||||
gst_filter_run (const GList * list, GstFilterFunc func, gboolean first,
|
||||
gpointer user_data)
|
||||
|
|
|
@ -373,6 +373,8 @@ gst_tag_get_description (const gchar * tag)
|
|||
* gst_tag_get_flag:
|
||||
* @tag: the tag
|
||||
*
|
||||
* Gets the flag of @tag.
|
||||
*
|
||||
* Returns the flag of this tag.
|
||||
*/
|
||||
GstTagFlag
|
||||
|
@ -388,7 +390,7 @@ gst_tag_get_flag (const gchar * tag)
|
|||
}
|
||||
|
||||
/**
|
||||
* gst_tag_list_is_fixed:
|
||||
* gst_tag_is_fixed:
|
||||
* @tag: tag to check
|
||||
*
|
||||
* Checks if the given tag is fixed. A fixed tag can only contain one value.
|
||||
|
@ -827,7 +829,7 @@ gst_event_new_tag (GstTagList * list)
|
|||
}
|
||||
|
||||
/**
|
||||
* get_event_tag_get_list:
|
||||
* gst_event_tag_get_list:
|
||||
* @tag_event: a tagging #GstEvent
|
||||
*
|
||||
* Gets the taglist from a given tagging event.
|
||||
|
|
|
@ -373,6 +373,8 @@ gst_tag_get_description (const gchar * tag)
|
|||
* gst_tag_get_flag:
|
||||
* @tag: the tag
|
||||
*
|
||||
* Gets the flag of @tag.
|
||||
*
|
||||
* Returns the flag of this tag.
|
||||
*/
|
||||
GstTagFlag
|
||||
|
@ -388,7 +390,7 @@ gst_tag_get_flag (const gchar * tag)
|
|||
}
|
||||
|
||||
/**
|
||||
* gst_tag_list_is_fixed:
|
||||
* gst_tag_is_fixed:
|
||||
* @tag: tag to check
|
||||
*
|
||||
* Checks if the given tag is fixed. A fixed tag can only contain one value.
|
||||
|
@ -827,7 +829,7 @@ gst_event_new_tag (GstTagList * list)
|
|||
}
|
||||
|
||||
/**
|
||||
* get_event_tag_get_list:
|
||||
* gst_event_tag_get_list:
|
||||
* @tag_event: a tagging #GstEvent
|
||||
*
|
||||
* Gets the taglist from a given tagging event.
|
||||
|
|
|
@ -1,161 +0,0 @@
|
|||
/* GStreamer
|
||||
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Library General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Library General Public
|
||||
* License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include <unistd.h>
|
||||
#include <sys/time.h>
|
||||
#include <glib.h>
|
||||
#include "gstlog.h"
|
||||
|
||||
static GMutex *mutex = NULL;
|
||||
static GCond *cond = NULL;
|
||||
|
||||
static GMutex *
|
||||
gst_mutex_new_dummy_impl (void)
|
||||
{
|
||||
if (!mutex)
|
||||
mutex = g_malloc (8);
|
||||
|
||||
return mutex;
|
||||
}
|
||||
|
||||
static void
|
||||
gst_mutex_dummy_impl (GMutex * mutex)
|
||||
{ /* NOP */
|
||||
}
|
||||
|
||||
static gboolean
|
||||
gst_mutex_trylock_dummy_impl (GMutex * mutex)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static GCond *
|
||||
gst_cond_new_dummy_impl (void)
|
||||
{
|
||||
if (!cond)
|
||||
cond = g_malloc (8);
|
||||
|
||||
return cond;
|
||||
}
|
||||
|
||||
static void
|
||||
gst_cond_dummy_impl (GCond * cond)
|
||||
{ /* NOP */
|
||||
}
|
||||
|
||||
static gboolean
|
||||
gst_cond_timed_wait_dummy_impl (GCond * cond, GMutex * mutex,
|
||||
GTimeVal * end_time)
|
||||
{
|
||||
struct timeval tvtarget;
|
||||
GTimeVal tvnow;
|
||||
guint64 now, target;
|
||||
gint64 diff;
|
||||
|
||||
target = end_time->tv_sec * 1000000 + end_time->tv_usec;
|
||||
|
||||
g_get_current_time (&tvnow);
|
||||
now = tvnow.tv_sec * 1000000 + tvnow.tv_usec;
|
||||
|
||||
diff = target - now;
|
||||
if (diff > 1000) {
|
||||
tvtarget.tv_usec = diff % 1000000;
|
||||
tvtarget.tv_sec = diff / 1000000;
|
||||
|
||||
select (0, NULL, NULL, NULL, &tvtarget);
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static GPrivate *
|
||||
gst_private_new_dummy_impl (GDestroyNotify destructor)
|
||||
{
|
||||
gpointer data;
|
||||
|
||||
data = g_new0 (gpointer, 1);
|
||||
|
||||
return (GPrivate *) data;
|
||||
}
|
||||
|
||||
static gpointer
|
||||
gst_private_get_dummy_impl (GPrivate * private_key)
|
||||
{
|
||||
gpointer *data = (gpointer) private_key;
|
||||
|
||||
return *data;
|
||||
}
|
||||
|
||||
static void
|
||||
gst_private_set_dummy_impl (GPrivate * private_key, gpointer data)
|
||||
{
|
||||
*((gpointer *) private_key) = data;
|
||||
}
|
||||
|
||||
static void
|
||||
gst_thread_create_dummy_impl (GThreadFunc func, gpointer data,
|
||||
gulong stack_size, gboolean joinable, gboolean bound,
|
||||
GThreadPriority priority, gpointer thread, GError ** error)
|
||||
{
|
||||
g_warning ("GStreamer configured to not use threads");
|
||||
}
|
||||
|
||||
static void
|
||||
gst_thread_dummy_impl (void)
|
||||
{ /* NOP */
|
||||
}
|
||||
|
||||
static void
|
||||
gst_thread_dummy_impl_1 (gpointer thread)
|
||||
{ /* NOP */
|
||||
}
|
||||
|
||||
static void
|
||||
gst_thread_set_priority_dummy_impl (gpointer thread, GThreadPriority priority)
|
||||
{ /* NOP */
|
||||
}
|
||||
|
||||
static gboolean
|
||||
gst_thread_equal_dummy_impl (gpointer thread1, gpointer thread2)
|
||||
{
|
||||
return (thread1 == thread2);
|
||||
}
|
||||
|
||||
GThreadFunctions gst_thread_dummy_functions = {
|
||||
gst_mutex_new_dummy_impl,
|
||||
(void (*)(GMutex *)) gst_mutex_dummy_impl,
|
||||
gst_mutex_trylock_dummy_impl,
|
||||
(void (*)(GMutex *)) gst_mutex_dummy_impl,
|
||||
gst_mutex_dummy_impl,
|
||||
gst_cond_new_dummy_impl,
|
||||
(void (*)(GCond *)) gst_cond_dummy_impl,
|
||||
(void (*)(GCond *)) gst_cond_dummy_impl,
|
||||
(void (*)(GCond *, GMutex *)) gst_cond_dummy_impl,
|
||||
gst_cond_timed_wait_dummy_impl,
|
||||
gst_cond_dummy_impl,
|
||||
gst_private_new_dummy_impl,
|
||||
gst_private_get_dummy_impl,
|
||||
gst_private_set_dummy_impl,
|
||||
gst_thread_create_dummy_impl,
|
||||
gst_thread_dummy_impl,
|
||||
gst_thread_dummy_impl_1,
|
||||
gst_thread_dummy_impl,
|
||||
gst_thread_set_priority_dummy_impl,
|
||||
gst_thread_dummy_impl_1, gst_thread_equal_dummy_impl
|
||||
};
|
104
gst/gstvalue.c
104
gst/gstvalue.c
|
@ -140,6 +140,10 @@ gst_value_lcopy_list (const GValue * value, guint n_collect_values,
|
|||
|
||||
/**
|
||||
* gst_value_list_prepend_value:
|
||||
* @value: a GstValueList to prepend a value to
|
||||
* @prepend_value: the value to prepend
|
||||
*
|
||||
* Prepends @prepend_value to the GstValueList in @value.
|
||||
*
|
||||
*/
|
||||
void
|
||||
|
@ -152,7 +156,10 @@ gst_value_list_prepend_value (GValue * value, const GValue * prepend_value)
|
|||
|
||||
/**
|
||||
* gst_value_list_append_value:
|
||||
* @value: a GstValueList to append a value to
|
||||
* @apppend_value: the value to append
|
||||
*
|
||||
* Appends @append_value to the GstValueList in @value.
|
||||
*/
|
||||
void
|
||||
gst_value_list_append_value (GValue * value, const GValue * append_value)
|
||||
|
@ -164,7 +171,11 @@ gst_value_list_append_value (GValue * value, const GValue * append_value)
|
|||
|
||||
/**
|
||||
* gst_value_list_get_size:
|
||||
* @value: a GstValueList
|
||||
*
|
||||
* Gets the number of values contained in @value.
|
||||
*
|
||||
* Returns: the number of values
|
||||
*/
|
||||
guint
|
||||
gst_value_list_get_size (const GValue * value)
|
||||
|
@ -176,7 +187,13 @@ gst_value_list_get_size (const GValue * value)
|
|||
|
||||
/**
|
||||
* gst_value_list_get_value:
|
||||
* @value: a GstValueList
|
||||
* @index
|
||||
*
|
||||
* Gets the value that is a member of the list contained in @value and
|
||||
* has the index @index.
|
||||
*
|
||||
* Returns: the value at the given index
|
||||
*/
|
||||
const GValue *
|
||||
gst_value_list_get_value (const GValue * value, guint index)
|
||||
|
@ -194,8 +211,8 @@ gst_value_list_get_value (const GValue * value, guint index)
|
|||
* @value1: first value to put into the union
|
||||
* @value2: second value to put into the union
|
||||
*
|
||||
* Concatenates copies of value1 and value2 into a list. dest will be
|
||||
* initialized to the type GST_TYPE_LIST.
|
||||
* Concatenates copies of value1 and value2 into a list. The value
|
||||
* @dest is initialized to the type GST_TYPE_LIST.
|
||||
*/
|
||||
void
|
||||
gst_value_list_concat (GValue * dest, const GValue * value1,
|
||||
|
@ -362,7 +379,10 @@ gst_value_lcopy_fourcc (const GValue * value, guint n_collect_values,
|
|||
|
||||
/**
|
||||
* gst_value_set_fourcc:
|
||||
* @value: a GValue initialized to GST_TYPE_FOURCC
|
||||
* @fourcc: the fourcc to set
|
||||
*
|
||||
* Sets @value to @fourcc.
|
||||
*/
|
||||
void
|
||||
gst_value_set_fourcc (GValue * value, guint32 fourcc)
|
||||
|
@ -374,7 +394,11 @@ gst_value_set_fourcc (GValue * value, guint32 fourcc)
|
|||
|
||||
/**
|
||||
* gst_value_get_fourcc:
|
||||
* @value: a GValue initialized to GST_TYPE_FOURCC
|
||||
*
|
||||
* Gets the fourcc contained in @value.
|
||||
*
|
||||
* Returns: the fourcc contained in @value.
|
||||
*/
|
||||
guint32
|
||||
gst_value_get_fourcc (const GValue * value)
|
||||
|
@ -495,7 +519,11 @@ gst_value_lcopy_int_range (const GValue * value, guint n_collect_values,
|
|||
|
||||
/**
|
||||
* gst_value_set_int_range:
|
||||
* @value: a GValue initialized to GST_TYPE_INT_RANGE
|
||||
* @start: the start of the range
|
||||
* @end: the end of the range
|
||||
*
|
||||
* Sets @value to the range specified by @start and @end.
|
||||
*/
|
||||
void
|
||||
gst_value_set_int_range (GValue * value, int start, int end)
|
||||
|
@ -508,7 +536,11 @@ gst_value_set_int_range (GValue * value, int start, int end)
|
|||
|
||||
/**
|
||||
* gst_value_get_int_range_min:
|
||||
* @value: a GValue initialized to GST_TYPE_INT_RANGE
|
||||
*
|
||||
* Gets the minimum of the range specified by @value.
|
||||
*
|
||||
* Returns: the minumum of the range
|
||||
*/
|
||||
int
|
||||
gst_value_get_int_range_min (const GValue * value)
|
||||
|
@ -520,7 +552,11 @@ gst_value_get_int_range_min (const GValue * value)
|
|||
|
||||
/**
|
||||
* gst_value_get_int_range_max:
|
||||
* @value: a GValue initialized to GST_TYPE_INT_RANGE
|
||||
*
|
||||
* Gets the maximum of the range specified by @value.
|
||||
*
|
||||
* Returns: the maxumum of the range
|
||||
*/
|
||||
int
|
||||
gst_value_get_int_range_max (const GValue * value)
|
||||
|
@ -610,7 +646,11 @@ gst_value_lcopy_double_range (const GValue * value, guint n_collect_values,
|
|||
|
||||
/**
|
||||
* gst_value_set_double_range:
|
||||
* @value: a GValue initialized to GST_TYPE_DOUBLE_RANGE
|
||||
* @start: the start of the range
|
||||
* @end: the end of the range
|
||||
*
|
||||
* Sets @value to the range specified by @start and @end.
|
||||
*/
|
||||
void
|
||||
gst_value_set_double_range (GValue * value, double start, double end)
|
||||
|
@ -623,7 +663,11 @@ gst_value_set_double_range (GValue * value, double start, double end)
|
|||
|
||||
/**
|
||||
* gst_value_get_double_range_min:
|
||||
* @value: a GValue initialized to GST_TYPE_DOUBLE_RANGE
|
||||
*
|
||||
* Gets the minimum of the range specified by @value.
|
||||
*
|
||||
* Returns: the minumum of the range
|
||||
*/
|
||||
double
|
||||
gst_value_get_double_range_min (const GValue * value)
|
||||
|
@ -635,7 +679,11 @@ gst_value_get_double_range_min (const GValue * value)
|
|||
|
||||
/**
|
||||
* gst_value_get_double_range_max:
|
||||
* @value: a GValue initialized to GST_TYPE_DOUBLE_RANGE
|
||||
*
|
||||
* Gets the maximum of the range specified by @value.
|
||||
*
|
||||
* Returns: the maxumum of the range
|
||||
*/
|
||||
double
|
||||
gst_value_get_double_range_max (const GValue * value)
|
||||
|
@ -690,7 +738,11 @@ gst_value_deserialize_double_range (GValue * dest, const char *s)
|
|||
|
||||
/**
|
||||
* gst_value_set_caps:
|
||||
* @value: a GValue initialized to GST_TYPE_CAPS
|
||||
* @caps: the caps to set the value to
|
||||
*
|
||||
* Sets the contents of @value to coorespond to @caps. The actual
|
||||
* #GstCaps structure is copied before it is used.
|
||||
*/
|
||||
void
|
||||
gst_value_set_caps (GValue * value, const GstCaps * caps)
|
||||
|
@ -702,7 +754,11 @@ gst_value_set_caps (GValue * value, const GstCaps * caps)
|
|||
|
||||
/**
|
||||
* gst_value_get_caps:
|
||||
* @value: a GValue initialized to GST_TYPE_CAPS
|
||||
*
|
||||
* Gets the contents of @value.
|
||||
*
|
||||
* Returns: the contents of @value
|
||||
*/
|
||||
const GstCaps *
|
||||
gst_value_get_caps (const GValue * value)
|
||||
|
@ -1082,7 +1138,12 @@ gst_value_intersect_list (GValue * dest, const GValue * value1,
|
|||
|
||||
/**
|
||||
* gst_value_can_compare:
|
||||
* @value1: a value to compare
|
||||
* @value2: another value to compare
|
||||
*
|
||||
* Determines if @value1 and @value2 can be compared.
|
||||
*
|
||||
* Returns: TRUE if the values can be compared
|
||||
*/
|
||||
gboolean
|
||||
gst_value_can_compare (const GValue * value1, const GValue * value2)
|
||||
|
@ -1103,7 +1164,16 @@ gst_value_can_compare (const GValue * value1, const GValue * value2)
|
|||
|
||||
/**
|
||||
* gst_value_compare:
|
||||
* @value1: a value to compare
|
||||
* @value2: another value to compare
|
||||
*
|
||||
* Compares @value1 and @value2. If @value1 and @value2 cannot be
|
||||
* compared, the function returns GST_VALUE_UNORDERED. Otherwise,
|
||||
* if @value1 is greater than @value2, GST_VALUE_GREATER is returned.
|
||||
* If @value1 is less than @value2, GST_VALUE_LESSER is returned.
|
||||
* If the values are equal, GST_VALUE_EQUAL is returned.
|
||||
*
|
||||
* Returns: A GstValueCompareType value
|
||||
*/
|
||||
int
|
||||
gst_value_compare (const GValue * value1, const GValue * value2)
|
||||
|
@ -1131,7 +1201,19 @@ gst_value_compare (const GValue * value1, const GValue * value2)
|
|||
|
||||
/**
|
||||
* gst_value_can_union:
|
||||
* @value1: a value to union
|
||||
* @value2: another value to union
|
||||
*
|
||||
* Determines if @value1 and @value2 can be non-trivially unioned.
|
||||
* Any two values can be trivially unioned by adding both of them
|
||||
* to a GstValueList. However, certain types have the possibility
|
||||
* to be unioned in a simpler way. For example, an integer range
|
||||
* and an integer can be unioned if the integer is a subset of the
|
||||
* integer range. If there is the possibility that two values can
|
||||
* be unioned, this function returns TRUE.
|
||||
*
|
||||
* Returns: TRUE if there is a function allowing the two values to
|
||||
* be unioned.
|
||||
*/
|
||||
gboolean
|
||||
gst_value_can_union (const GValue * value1, const GValue * value2)
|
||||
|
@ -1151,7 +1233,13 @@ gst_value_can_union (const GValue * value1, const GValue * value2)
|
|||
|
||||
/**
|
||||
* gst_value_union:
|
||||
* @dest: the destination value
|
||||
* @value1: a value to union
|
||||
* @value2: another value to union
|
||||
*
|
||||
* Creates a GValue cooresponding to the union of @value1 and @value2.
|
||||
*
|
||||
* Returns: TRUE if the values could be unioned
|
||||
*/
|
||||
gboolean
|
||||
gst_value_union (GValue * dest, const GValue * value1, const GValue * value2)
|
||||
|
@ -1173,6 +1261,12 @@ gst_value_union (GValue * dest, const GValue * value1, const GValue * value2)
|
|||
|
||||
/**
|
||||
* gst_value_register_union_func:
|
||||
* @type1: a type to union
|
||||
* @type2: another type to union
|
||||
* @func: a function that implments creating a union between the two types
|
||||
*
|
||||
* Registers a union function that can create a union between GValues
|
||||
* of the type @type1 and @type2.
|
||||
*
|
||||
*/
|
||||
void
|
||||
|
@ -1216,7 +1310,13 @@ gst_value_can_intersect (const GValue * value1, const GValue * value2)
|
|||
|
||||
/**
|
||||
* gst_value_intersect:
|
||||
* @dest: the destination value for intersection
|
||||
* @value1: a value to intersect
|
||||
* @value2: another value to intersect
|
||||
*
|
||||
* Calculates the intersection of the two values.
|
||||
*
|
||||
* Returns: TRUE if the intersection is non-empty
|
||||
*/
|
||||
gboolean
|
||||
gst_value_intersect (GValue * dest, const GValue * value1,
|
||||
|
|
|
@ -69,8 +69,6 @@ struct _GstAggregatorClass {
|
|||
|
||||
GType gst_aggregator_get_type (void);
|
||||
|
||||
gboolean gst_aggregator_factory_init (GstElementFactory *factory);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_AGGREGATOR_H__ */
|
||||
|
|
|
@ -75,8 +75,6 @@ struct _GstFakeSinkClass {
|
|||
|
||||
GType gst_fakesink_get_type(void);
|
||||
|
||||
gboolean gst_fakesink_factory_init (GstElementFactory *factory);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_FAKESINK_H__ */
|
||||
|
|
|
@ -115,8 +115,6 @@ struct _GstFakeSrcClass {
|
|||
|
||||
GType gst_fakesrc_get_type(void);
|
||||
|
||||
gboolean gst_fakesrc_factory_init (GstElementFactory *factory);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_FAKESRC_H__ */
|
||||
|
|
|
@ -69,8 +69,6 @@ struct _GstMD5SinkClass {
|
|||
|
||||
GType gst_md5sink_get_type (void);
|
||||
|
||||
gboolean gst_md5sink_factory_init (GstElementFactory *factory);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_MD5SINK_H__ */
|
||||
|
|
|
@ -66,8 +66,6 @@ struct _GstShaperClass {
|
|||
};
|
||||
|
||||
GType gst_shaper_get_type (void);
|
||||
gboolean gst_shaper_factory_init (GstElementFactory *factory);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -58,8 +58,6 @@ struct _GstTeeClass {
|
|||
|
||||
GType gst_tee_get_type (void);
|
||||
|
||||
gboolean gst_tee_factory_init (GstElementFactory *factory);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_TEE_H__ */
|
||||
|
|
Loading…
Reference in a new issue