mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-15 12:56:33 +00:00
79314 lines
3.3 MiB
79314 lines
3.3 MiB
<?xml version="1.0"?>
|
|
<!-- This file was automatically generated from C sources - DO NOT EDIT!
|
|
To affect the contents of this file, edit the original C definitions,
|
|
and/or use gtk-doc annotations. -->
|
|
<repository version="1.2"
|
|
xmlns="http://www.gtk.org/introspection/core/1.0"
|
|
xmlns:c="http://www.gtk.org/introspection/c/1.0"
|
|
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
|
|
<include name="GLib" version="2.0"/>
|
|
<include name="GModule" version="2.0"/>
|
|
<include name="GObject" version="2.0"/>
|
|
<package name="gstreamer-1.0"/>
|
|
<c:include name="gst/gst.h"/>
|
|
<namespace name="Gst"
|
|
version="1.0"
|
|
shared-library="libgstreamer-1.0.so.0"
|
|
c:identifier-prefixes="Gst"
|
|
c:symbol-prefixes="gst">
|
|
<alias name="ClockID" c:type="GstClockID">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="61">A datatype to hold the handle to an outstanding sync or async clock callback.</doc>
|
|
<source-position filename="gst/gstclock.h" line="66"/>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</alias>
|
|
<alias name="ClockTime" c:type="GstClockTime">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="41">A datatype to hold a time, measured in nanoseconds.</doc>
|
|
<source-position filename="gst/gstclock.h" line="46"/>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</alias>
|
|
<alias name="ClockTimeDiff" c:type="GstClockTimeDiff">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="55">A datatype to hold a time difference, measured in nanoseconds.</doc>
|
|
<source-position filename="gst/gstclock.h" line="60"/>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</alias>
|
|
<alias name="ElementFactoryListType" c:type="GstElementFactoryListType">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.h"
|
|
line="124">A type defining the type of an element factory.</doc>
|
|
<source-position filename="gst/gstelementfactory.h" line="129"/>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</alias>
|
|
<function-macro name="ALLOCATOR"
|
|
c:identifier="GST_ALLOCATOR"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstallocator.h" line="38"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ALLOCATOR_CAST"
|
|
c:identifier="GST_ALLOCATOR_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstallocator.h" line="40"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ALLOCATOR_CLASS"
|
|
c:identifier="GST_ALLOCATOR_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstallocator.h" line="39"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ALLOCATOR_GET_CLASS"
|
|
c:identifier="GST_ALLOCATOR_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstallocator.h" line="37"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="ALLOCATOR_SYSMEM"
|
|
value="SystemMemory"
|
|
c:type="GST_ALLOCATOR_SYSMEM">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.h"
|
|
line="58">The allocator name for the default system memory allocator</doc>
|
|
<source-position filename="gst/gstallocator.h" line="63"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<record name="AllocationParams"
|
|
c:type="GstAllocationParams"
|
|
glib:type-name="GstAllocationParams"
|
|
glib:get-type="gst_allocation_params_get_type"
|
|
c:symbol-prefix="allocation_params">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.h"
|
|
line="65">Parameters to control the allocation of memory</doc>
|
|
<source-position filename="gst/gstallocator.h" line="82"/>
|
|
<field name="flags" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.h"
|
|
line="67">flags to control allocation</doc>
|
|
<type name="MemoryFlags" c:type="GstMemoryFlags"/>
|
|
</field>
|
|
<field name="align" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.h"
|
|
line="68">the desired alignment of the memory</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</field>
|
|
<field name="prefix" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.h"
|
|
line="69">the desired prefix</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</field>
|
|
<field name="padding" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.h"
|
|
line="70">the desired padding</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<method name="copy" c:identifier="gst_allocation_params_copy">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="156">Create a copy of @params.
|
|
|
|
Free-function: gst_allocation_params_free</doc>
|
|
<source-position filename="gst/gstallocator.h" line="175"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="164">a new ##GstAllocationParams, free with
|
|
gst_allocation_params_free().</doc>
|
|
<type name="AllocationParams" c:type="GstAllocationParams*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="params"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="158">a #GstAllocationParams</doc>
|
|
<type name="AllocationParams" c:type="const GstAllocationParams*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="free" c:identifier="gst_allocation_params_free">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="180">Free @params</doc>
|
|
<source-position filename="gst/gstallocator.h" line="178"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="params" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="182">a #GstAllocationParams</doc>
|
|
<type name="AllocationParams" c:type="GstAllocationParams*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="init" c:identifier="gst_allocation_params_init">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="142">Initialize @params to its default values</doc>
|
|
<source-position filename="gst/gstallocator.h" line="171"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="params" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="144">a #GstAllocationParams</doc>
|
|
<type name="AllocationParams" c:type="GstAllocationParams*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<class name="Allocator"
|
|
c:symbol-prefix="allocator"
|
|
c:type="GstAllocator"
|
|
parent="Object"
|
|
abstract="1"
|
|
glib:type-name="GstAllocator"
|
|
glib:get-type="gst_allocator_get_type"
|
|
glib:type-struct="AllocatorClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="22">Memory is usually created by allocators with a gst_allocator_alloc()
|
|
method call. When %NULL is used as the allocator, the default allocator will
|
|
be used.
|
|
|
|
New allocators can be registered with gst_allocator_register().
|
|
Allocators are identified by name and can be retrieved with
|
|
gst_allocator_find(). gst_allocator_set_default() can be used to change the
|
|
default allocator.
|
|
|
|
New memory can be created with gst_memory_new_wrapped() that wraps the memory
|
|
allocated elsewhere.</doc>
|
|
<source-position filename="gst/gstallocator.h" line="152"/>
|
|
<function name="find" c:identifier="gst_allocator_find">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="216">Find a previously registered allocator with @name. When @name is %NULL, the
|
|
default allocator will be returned.</doc>
|
|
<source-position filename="gst/gstallocator.h" line="163"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="223">a #GstAllocator or %NULL when
|
|
the allocator with @name was not registered. Use gst_object_unref()
|
|
to release the allocator after usage.</doc>
|
|
<type name="Allocator" c:type="GstAllocator*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="218">the name of the allocator</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="register" c:identifier="gst_allocator_register">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="192">Registers the memory @allocator with @name. This function takes ownership of
|
|
@allocator.</doc>
|
|
<source-position filename="gst/gstallocator.h" line="160"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="194">the name of the allocator</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="allocator" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="195">#GstAllocator</doc>
|
|
<type name="Allocator" c:type="GstAllocator*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<virtual-method name="alloc" invoker="alloc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="267">Use @allocator to allocate a new memory block with memory that is at least
|
|
@size big.
|
|
|
|
The optional @params can specify the prefix and padding for the memory. If
|
|
%NULL is passed, no flags, no extra prefix/padding and a default alignment is
|
|
used.
|
|
|
|
The prefix/padding will be filled with 0 if flags contains
|
|
#GST_MEMORY_FLAG_ZERO_PREFIXED and #GST_MEMORY_FLAG_ZERO_PADDED respectively.
|
|
|
|
When @allocator is %NULL, the default allocator will be used.
|
|
|
|
The alignment in @params is given as a bitmask so that @align + 1 equals
|
|
the amount of bytes to align to. For example, to align to 8 bytes,
|
|
use an alignment of 7.</doc>
|
|
<source-position filename="gst/gstallocator.h" line="146"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="289">a new #GstMemory.</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="allocator"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="269">a #GstAllocator to use</doc>
|
|
<type name="Allocator" c:type="GstAllocator*"/>
|
|
</instance-parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="270">size of the visible memory area</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="params"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="271">optional parameters</doc>
|
|
<type name="AllocationParams" c:type="GstAllocationParams*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="free" invoker="free">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="317">Free @memory that was previously allocated with gst_allocator_alloc().</doc>
|
|
<source-position filename="gst/gstallocator.h" line="148"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="allocator" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="319">a #GstAllocator to use</doc>
|
|
<type name="Allocator" c:type="GstAllocator*"/>
|
|
</instance-parameter>
|
|
<parameter name="memory" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="320">the memory to free</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="alloc" c:identifier="gst_allocator_alloc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="267">Use @allocator to allocate a new memory block with memory that is at least
|
|
@size big.
|
|
|
|
The optional @params can specify the prefix and padding for the memory. If
|
|
%NULL is passed, no flags, no extra prefix/padding and a default alignment is
|
|
used.
|
|
|
|
The prefix/padding will be filled with 0 if flags contains
|
|
#GST_MEMORY_FLAG_ZERO_PREFIXED and #GST_MEMORY_FLAG_ZERO_PADDED respectively.
|
|
|
|
When @allocator is %NULL, the default allocator will be used.
|
|
|
|
The alignment in @params is given as a bitmask so that @align + 1 equals
|
|
the amount of bytes to align to. For example, to align to 8 bytes,
|
|
use an alignment of 7.</doc>
|
|
<source-position filename="gst/gstallocator.h" line="183"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="289">a new #GstMemory.</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="allocator"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="269">a #GstAllocator to use</doc>
|
|
<type name="Allocator" c:type="GstAllocator*"/>
|
|
</instance-parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="270">size of the visible memory area</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="params"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="271">optional parameters</doc>
|
|
<type name="AllocationParams" c:type="GstAllocationParams*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="free" c:identifier="gst_allocator_free">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="317">Free @memory that was previously allocated with gst_allocator_alloc().</doc>
|
|
<source-position filename="gst/gstallocator.h" line="187"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="allocator" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="319">a #GstAllocator to use</doc>
|
|
<type name="Allocator" c:type="GstAllocator*"/>
|
|
</instance-parameter>
|
|
<parameter name="memory" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="320">the memory to free</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_default" c:identifier="gst_allocator_set_default">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="245">Set the default allocator. This function takes ownership of @allocator.</doc>
|
|
<source-position filename="gst/gstallocator.h" line="166"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="allocator" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="247">a #GstAllocator</doc>
|
|
<type name="Allocator" c:type="GstAllocator*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<field name="object">
|
|
<type name="Object" c:type="GstObject"/>
|
|
</field>
|
|
<field name="mem_type">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</field>
|
|
<field name="mem_map">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.h"
|
|
line="99">the implementation of the GstMemoryMapFunction</doc>
|
|
<type name="MemoryMapFunction" c:type="GstMemoryMapFunction"/>
|
|
</field>
|
|
<field name="mem_unmap">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.h"
|
|
line="100">the implementation of the GstMemoryUnmapFunction</doc>
|
|
<type name="MemoryUnmapFunction" c:type="GstMemoryUnmapFunction"/>
|
|
</field>
|
|
<field name="mem_copy">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.h"
|
|
line="101">the implementation of the GstMemoryCopyFunction</doc>
|
|
<type name="MemoryCopyFunction" c:type="GstMemoryCopyFunction"/>
|
|
</field>
|
|
<field name="mem_share">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.h"
|
|
line="102">the implementation of the GstMemoryShareFunction</doc>
|
|
<type name="MemoryShareFunction" c:type="GstMemoryShareFunction"/>
|
|
</field>
|
|
<field name="mem_is_span">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.h"
|
|
line="103">the implementation of the GstMemoryIsSpanFunction</doc>
|
|
<type name="MemoryIsSpanFunction" c:type="GstMemoryIsSpanFunction"/>
|
|
</field>
|
|
<field name="mem_map_full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.h"
|
|
line="104">the implementation of the GstMemoryMapFullFunction.
|
|
Will be used instead of @mem_map if present. (Since: 1.6)</doc>
|
|
<type name="MemoryMapFullFunction" c:type="GstMemoryMapFullFunction"/>
|
|
</field>
|
|
<field name="mem_unmap_full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.h"
|
|
line="106">the implementation of the GstMemoryUnmapFullFunction.
|
|
Will be used instead of @mem_unmap if present. (Since: 1.6)</doc>
|
|
<type name="MemoryUnmapFullFunction"
|
|
c:type="GstMemoryUnmapFullFunction"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="2">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="AllocatorPrivate" c:type="GstAllocatorPrivate*"/>
|
|
</field>
|
|
</class>
|
|
<record name="AllocatorClass"
|
|
c:type="GstAllocatorClass"
|
|
glib:is-gtype-struct-for="Allocator">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.h"
|
|
line="134">The #GstAllocator is used to create new memory.</doc>
|
|
<source-position filename="gst/gstallocator.h" line="152"/>
|
|
<field name="object_class">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.h"
|
|
line="136">Object parent class</doc>
|
|
<type name="ObjectClass" c:type="GstObjectClass"/>
|
|
</field>
|
|
<field name="alloc">
|
|
<callback name="alloc">
|
|
<source-position filename="gst/gstallocator.h" line="146"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="289">a new #GstMemory.</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="allocator"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="269">a #GstAllocator to use</doc>
|
|
<type name="Allocator" c:type="GstAllocator*"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="270">size of the visible memory area</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="params"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="271">optional parameters</doc>
|
|
<type name="AllocationParams" c:type="GstAllocationParams*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="free">
|
|
<callback name="free">
|
|
<source-position filename="gst/gstallocator.h" line="148"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="allocator" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="319">a #GstAllocator to use</doc>
|
|
<type name="Allocator" c:type="GstAllocator*"/>
|
|
</parameter>
|
|
<parameter name="memory" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="320">the memory to free</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<bitfield name="AllocatorFlags"
|
|
glib:type-name="GstAllocatorFlags"
|
|
glib:get-type="gst_allocator_flags_get_type"
|
|
c:type="GstAllocatorFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.h"
|
|
line="84">Flags for allocators.</doc>
|
|
<member name="custom_alloc"
|
|
value="16"
|
|
c:identifier="GST_ALLOCATOR_FLAG_CUSTOM_ALLOC"
|
|
glib:nick="custom-alloc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.h"
|
|
line="86">The allocator has a custom alloc function.</doc>
|
|
</member>
|
|
<member name="last"
|
|
value="1048576"
|
|
c:identifier="GST_ALLOCATOR_FLAG_LAST"
|
|
glib:nick="last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.h"
|
|
line="87">first flag that can be used for custom purposes</doc>
|
|
</member>
|
|
</bitfield>
|
|
<record name="AllocatorPrivate" c:type="GstAllocatorPrivate" disguised="1">
|
|
<source-position filename="gst/gstallocator.h" line="31"/>
|
|
</record>
|
|
<record name="AtomicQueue"
|
|
c:type="GstAtomicQueue"
|
|
glib:type-name="GstAtomicQueue"
|
|
glib:get-type="gst_atomic_queue_get_type"
|
|
c:symbol-prefix="atomic_queue">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstatomicqueue.c"
|
|
line="31">The #GstAtomicQueue object implements a queue that can be used from multiple
|
|
threads without performing any blocking operations.</doc>
|
|
<source-position filename="gst/gstatomicqueue.h" line="41"/>
|
|
<constructor name="new" c:identifier="gst_atomic_queue_new">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstatomicqueue.c"
|
|
line="146">Create a new atomic queue instance. @initial_size will be rounded up to the
|
|
nearest power of 2 and used as the initial size of the queue.</doc>
|
|
<source-position filename="gst/gstatomicqueue.h" line="48"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstatomicqueue.c"
|
|
line="153">a new #GstAtomicQueue</doc>
|
|
<type name="AtomicQueue" c:type="GstAtomicQueue*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="initial_size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstatomicqueue.c"
|
|
line="148">initial queue size</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<method name="length" c:identifier="gst_atomic_queue_length">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstatomicqueue.c"
|
|
line="391">Get the amount of items in the queue.</doc>
|
|
<source-position filename="gst/gstatomicqueue.h" line="66"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstatomicqueue.c"
|
|
line="397">the number of elements in the queue.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="queue" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstatomicqueue.c"
|
|
line="393">a #GstAtomicQueue</doc>
|
|
<type name="AtomicQueue" c:type="GstAtomicQueue*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="peek" c:identifier="gst_atomic_queue_peek">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstatomicqueue.c"
|
|
line="211">Peek the head element of the queue without removing it from the queue.</doc>
|
|
<source-position filename="gst/gstatomicqueue.h" line="63"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstatomicqueue.c"
|
|
line="217">the head element of @queue or
|
|
%NULL when the queue is empty.</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="queue" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstatomicqueue.c"
|
|
line="213">a #GstAtomicQueue</doc>
|
|
<type name="AtomicQueue" c:type="GstAtomicQueue*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="pop" c:identifier="gst_atomic_queue_pop">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstatomicqueue.c"
|
|
line="261">Get the head element of the queue.</doc>
|
|
<source-position filename="gst/gstatomicqueue.h" line="60"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstatomicqueue.c"
|
|
line="267">the head element of @queue or %NULL when
|
|
the queue is empty.</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="queue" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstatomicqueue.c"
|
|
line="263">a #GstAtomicQueue</doc>
|
|
<type name="AtomicQueue" c:type="GstAtomicQueue*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="push" c:identifier="gst_atomic_queue_push">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstatomicqueue.c"
|
|
line="330">Append @data to the tail of the queue.</doc>
|
|
<source-position filename="gst/gstatomicqueue.h" line="57"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="queue" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstatomicqueue.c"
|
|
line="332">a #GstAtomicQueue</doc>
|
|
<type name="AtomicQueue" c:type="GstAtomicQueue*"/>
|
|
</instance-parameter>
|
|
<parameter name="data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstatomicqueue.c"
|
|
line="333">the data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="ref" c:identifier="gst_atomic_queue_ref">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstatomicqueue.c"
|
|
line="172">Increase the refcount of @queue.</doc>
|
|
<source-position filename="gst/gstatomicqueue.h" line="51"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="queue" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstatomicqueue.c"
|
|
line="174">a #GstAtomicQueue</doc>
|
|
<type name="AtomicQueue" c:type="GstAtomicQueue*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unref" c:identifier="gst_atomic_queue_unref">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstatomicqueue.c"
|
|
line="196">Unref @queue and free the memory when the refcount reaches 0.</doc>
|
|
<source-position filename="gst/gstatomicqueue.h" line="54"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="queue" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstatomicqueue.c"
|
|
line="198">a #GstAtomicQueue</doc>
|
|
<type name="AtomicQueue" c:type="GstAtomicQueue*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<function-macro name="BIN" c:identifier="GST_BIN" introspectable="0">
|
|
<source-position filename="gst/gstbin.h" line="37"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BIN_CAST"
|
|
c:identifier="GST_BIN_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstbin.h" line="39"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BIN_CHILDREN"
|
|
c:identifier="GST_BIN_CHILDREN"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.h"
|
|
line="84">Gets the list with children in a bin.</doc>
|
|
<source-position filename="gst/gstbin.h" line="90"/>
|
|
<parameters>
|
|
<parameter name="bin">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.h"
|
|
line="86">a #GstBin</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BIN_CHILDREN_COOKIE"
|
|
c:identifier="GST_BIN_CHILDREN_COOKIE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.h"
|
|
line="91">Gets the children cookie that watches the children list.</doc>
|
|
<source-position filename="gst/gstbin.h" line="97"/>
|
|
<parameters>
|
|
<parameter name="bin">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.h"
|
|
line="93">a #GstBin</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BIN_CLASS"
|
|
c:identifier="GST_BIN_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstbin.h" line="38"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BIN_GET_CLASS"
|
|
c:identifier="GST_BIN_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstbin.h" line="36"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BIN_IS_NO_RESYNC"
|
|
c:identifier="GST_BIN_IS_NO_RESYNC"
|
|
version="1.0.5"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.h"
|
|
line="62">Check if @bin will resync its state change when elements are added and
|
|
removed.</doc>
|
|
<source-position filename="gst/gstbin.h" line="71"/>
|
|
<parameters>
|
|
<parameter name="bin">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.h"
|
|
line="64">A #GstBin</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BIN_NUMCHILDREN"
|
|
c:identifier="GST_BIN_NUMCHILDREN"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.h"
|
|
line="77">Gets the number of children in a bin.</doc>
|
|
<source-position filename="gst/gstbin.h" line="83"/>
|
|
<parameters>
|
|
<parameter name="bin">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.h"
|
|
line="79">a #GstBin</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUFFER" c:identifier="GST_BUFFER" introspectable="0">
|
|
<source-position filename="gst/gstbuffer.h" line="44"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUFFER_CAST"
|
|
c:identifier="GST_BUFFER_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstbuffer.h" line="43"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="BUFFER_COPY_ALL" value="15" c:type="GST_BUFFER_COPY_ALL">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="530">Combination of all possible fields that can be copied with
|
|
gst_buffer_copy_into().</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="535"/>
|
|
<type name="BufferCopyFlags" c:type="GstBufferCopyFlags"/>
|
|
</constant>
|
|
<constant name="BUFFER_COPY_METADATA"
|
|
value="7"
|
|
c:type="GST_BUFFER_COPY_METADATA">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="521">Combination of all possible metadata fields that can be copied with
|
|
gst_buffer_copy_into().</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="527"/>
|
|
<type name="BufferCopyFlags" c:type="GstBufferCopyFlags"/>
|
|
</constant>
|
|
<function-macro name="BUFFER_DTS"
|
|
c:identifier="GST_BUFFER_DTS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="89">The decoding timestamp (dts) in nanoseconds (as a #GstClockTime)
|
|
of the data in the buffer. This is the timestamp when the media should be
|
|
decoded or processed otherwise.
|
|
Value will be %GST_CLOCK_TIME_NONE if the dts is unknown.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="98"/>
|
|
<parameters>
|
|
<parameter name="buf">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="91">a #GstBuffer.:</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUFFER_DTS_IS_VALID"
|
|
c:identifier="GST_BUFFER_DTS_IS_VALID"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="153">Tests if the dts is known.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="159"/>
|
|
<parameters>
|
|
<parameter name="buffer">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="155">a #GstBuffer</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUFFER_DTS_OR_PTS"
|
|
c:identifier="GST_BUFFER_DTS_OR_PTS"
|
|
version="1.8"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="99">Returns the buffer decoding timestamp (dts) if valid, else the buffer
|
|
presentation time (pts)</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="108"/>
|
|
<parameters>
|
|
<parameter name="buf">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="101">a #GstBuffer.:</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUFFER_DURATION"
|
|
c:identifier="GST_BUFFER_DURATION"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="109">The duration in nanoseconds (as a #GstClockTime) of the data in the buffer.
|
|
Value will be %GST_CLOCK_TIME_NONE if the duration is unknown.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="116"/>
|
|
<parameters>
|
|
<parameter name="buf">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="111">a #GstBuffer.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUFFER_DURATION_IS_VALID"
|
|
c:identifier="GST_BUFFER_DURATION_IS_VALID"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="139">Tests if the duration is known.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="145"/>
|
|
<parameters>
|
|
<parameter name="buffer">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="141">a #GstBuffer</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUFFER_FLAGS"
|
|
c:identifier="GST_BUFFER_FLAGS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="46">A flags word containing #GstBufferFlags flags set on this buffer.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="52"/>
|
|
<parameters>
|
|
<parameter name="buf">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="48">a #GstBuffer.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUFFER_FLAG_IS_SET"
|
|
c:identifier="GST_BUFFER_FLAG_IS_SET"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="53">Gives the status of a specific flag on a buffer.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="60"/>
|
|
<parameters>
|
|
<parameter name="buf">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="55">a #GstBuffer.</doc>
|
|
</parameter>
|
|
<parameter name="flag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="56">the #GstBufferFlags flag to check.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUFFER_FLAG_SET"
|
|
c:identifier="GST_BUFFER_FLAG_SET"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="61">Sets a buffer flag on a buffer.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="68"/>
|
|
<parameters>
|
|
<parameter name="buf">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="63">a #GstBuffer.</doc>
|
|
</parameter>
|
|
<parameter name="flag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="64">the #GstBufferFlags flag to set.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUFFER_FLAG_UNSET"
|
|
c:identifier="GST_BUFFER_FLAG_UNSET"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="69">Clears a buffer flag.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="76"/>
|
|
<parameters>
|
|
<parameter name="buf">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="71">a #GstBuffer.</doc>
|
|
</parameter>
|
|
<parameter name="flag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="72">the #GstBufferFlags flag to clear.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUFFER_IS_DISCONT"
|
|
c:identifier="GST_BUFFER_IS_DISCONT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="174">Tests if the buffer marks a discontinuity in the stream.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="180"/>
|
|
<parameters>
|
|
<parameter name="buffer">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="176">a #GstBuffer</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUFFER_LIST"
|
|
c:identifier="GST_BUFFER_LIST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstbufferlist.h" line="35"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUFFER_LIST_CAST"
|
|
c:identifier="GST_BUFFER_LIST_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstbufferlist.h" line="34"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUFFER_OFFSET"
|
|
c:identifier="GST_BUFFER_OFFSET"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="117">The offset in the source file of the beginning of this buffer.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="123"/>
|
|
<parameters>
|
|
<parameter name="buf">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="119">a #GstBuffer.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUFFER_OFFSET_END"
|
|
c:identifier="GST_BUFFER_OFFSET_END"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="124">The offset in the source file of the end of this buffer.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="130"/>
|
|
<parameters>
|
|
<parameter name="buf">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="126">a #GstBuffer.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUFFER_OFFSET_END_IS_VALID"
|
|
c:identifier="GST_BUFFER_OFFSET_END_IS_VALID"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="167">Tests if the end offset is known.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="173"/>
|
|
<parameters>
|
|
<parameter name="buffer">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="169">a #GstBuffer</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUFFER_OFFSET_IS_VALID"
|
|
c:identifier="GST_BUFFER_OFFSET_IS_VALID"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="160">Tests if the start offset is known.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="166"/>
|
|
<parameters>
|
|
<parameter name="buffer">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="162">a #GstBuffer</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="BUFFER_OFFSET_NONE"
|
|
value="18446744073709551615"
|
|
c:type="GST_BUFFER_OFFSET_NONE">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="132">Constant for no-offset return results.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="137"/>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</constant>
|
|
<function-macro name="BUFFER_POOL"
|
|
c:identifier="GST_BUFFER_POOL"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstbufferpool.h" line="39"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUFFER_POOL_CAST"
|
|
c:identifier="GST_BUFFER_POOL_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstbufferpool.h" line="41"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUFFER_POOL_CLASS"
|
|
c:identifier="GST_BUFFER_POOL_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstbufferpool.h" line="40"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUFFER_POOL_GET_CLASS"
|
|
c:identifier="GST_BUFFER_POOL_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstbufferpool.h" line="38"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUFFER_POOL_IS_FLUSHING"
|
|
c:identifier="GST_BUFFER_POOL_IS_FLUSHING"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.h"
|
|
line="90">Check if the bufferpool is flushing. Subclasses might want to check the
|
|
state of the pool in the acquire function.</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="97"/>
|
|
<parameters>
|
|
<parameter name="pool">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.h"
|
|
line="92">a GstBufferPool</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUFFER_PTS"
|
|
c:identifier="GST_BUFFER_PTS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="79">The presentation timestamp (pts) in nanoseconds (as a #GstClockTime)
|
|
of the data in the buffer. This is the timestamp when the media should be
|
|
presented to the user.
|
|
Value will be %GST_CLOCK_TIME_NONE if the pts is unknown.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="88"/>
|
|
<parameters>
|
|
<parameter name="buf">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="81">a #GstBuffer.:</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUFFER_PTS_IS_VALID"
|
|
c:identifier="GST_BUFFER_PTS_IS_VALID"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="146">Tests if the pts is known.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="152"/>
|
|
<parameters>
|
|
<parameter name="buffer">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="148">a #GstBuffer</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUS" c:identifier="GST_BUS" introspectable="0">
|
|
<source-position filename="gst/gstbus.h" line="36"/>
|
|
<parameters>
|
|
<parameter name="bus">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUS_CAST"
|
|
c:identifier="GST_BUS_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstbus.h" line="41"/>
|
|
<parameters>
|
|
<parameter name="bus">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUS_CLASS"
|
|
c:identifier="GST_BUS_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstbus.h" line="38"/>
|
|
<parameters>
|
|
<parameter name="bclass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="BUS_GET_CLASS"
|
|
c:identifier="GST_BUS_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstbus.h" line="40"/>
|
|
<parameters>
|
|
<parameter name="bus">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<class name="Bin"
|
|
c:symbol-prefix="bin"
|
|
c:type="GstBin"
|
|
parent="Element"
|
|
glib:type-name="GstBin"
|
|
glib:get-type="gst_bin_get_type"
|
|
glib:type-struct="BinClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="26">#GstBin is an element that can contain other #GstElement, allowing them to be
|
|
managed as a group.
|
|
Pads from the child elements can be ghosted to the bin, see #GstGhostPad.
|
|
This makes the bin look like any other elements and enables creation of
|
|
higher-level abstraction elements.
|
|
|
|
A new #GstBin is created with gst_bin_new(). Use a #GstPipeline instead if you
|
|
want to create a toplevel bin because a normal bin doesn't have a bus or
|
|
handle clock distribution of its own.
|
|
|
|
After the bin has been created you will typically add elements to it with
|
|
gst_bin_add(). You can remove elements with gst_bin_remove().
|
|
|
|
An element can be retrieved from a bin with gst_bin_get_by_name(), using the
|
|
elements name. gst_bin_get_by_name_recurse_up() is mainly used for internal
|
|
purposes and will query the parent bins when the element is not found in the
|
|
current bin.
|
|
|
|
An iterator of elements in a bin can be retrieved with
|
|
gst_bin_iterate_elements(). Various other iterators exist to retrieve the
|
|
elements in a bin.
|
|
|
|
gst_object_unref() is used to drop your reference to the bin.
|
|
|
|
The #GstBin::element-added signal is fired whenever a new element is added to
|
|
the bin. Likewise the #GstBin::element-removed signal is fired whenever an
|
|
element is removed from the bin.
|
|
|
|
## Notes
|
|
|
|
A #GstBin internally intercepts every #GstMessage posted by its children and
|
|
implements the following default behaviour for each of them:
|
|
|
|
* GST_MESSAGE_EOS: This message is only posted by sinks in the PLAYING
|
|
state. If all sinks posted the EOS message, this bin will post and EOS
|
|
message upwards.
|
|
|
|
* GST_MESSAGE_SEGMENT_START: Just collected and never forwarded upwards.
|
|
The messages are used to decide when all elements have completed playback
|
|
of their segment.
|
|
|
|
* GST_MESSAGE_SEGMENT_DONE: Is posted by #GstBin when all elements that posted
|
|
a SEGMENT_START have posted a SEGMENT_DONE.
|
|
|
|
* GST_MESSAGE_DURATION_CHANGED: Is posted by an element that detected a change
|
|
in the stream duration. The duration change is posted to the
|
|
application so that it can refetch the new duration with a duration
|
|
query. Note that these messages can be posted before the bin is
|
|
prerolled, in which case the duration query might fail. Note also that
|
|
there might be a discrepancy (due to internal buffering/queueing) between the
|
|
stream being currently displayed and the returned duration query.
|
|
Applications might want to also query for duration (and changes) by
|
|
listening to the GST_MESSAGE_STREAM_START message, signaling the active start
|
|
of a (new) stream.
|
|
|
|
* GST_MESSAGE_CLOCK_LOST: This message is posted by an element when it
|
|
can no longer provide a clock. The default bin behaviour is to
|
|
check if the lost clock was the one provided by the bin. If so and
|
|
the bin is currently in the PLAYING state, the message is forwarded to
|
|
the bin parent.
|
|
This message is also generated when a clock provider is removed from
|
|
the bin. If this message is received by the application, it should
|
|
PAUSE the pipeline and set it back to PLAYING to force a new clock
|
|
distribution.
|
|
|
|
* GST_MESSAGE_CLOCK_PROVIDE: This message is generated when an element
|
|
can provide a clock. This mostly happens when a new clock
|
|
provider is added to the bin. The default behaviour of the bin is to
|
|
mark the currently selected clock as dirty, which will perform a clock
|
|
recalculation the next time the bin is asked to provide a clock.
|
|
This message is never sent tot the application but is forwarded to
|
|
the parent of the bin.
|
|
|
|
* OTHERS: posted upwards.
|
|
|
|
A #GstBin implements the following default behaviour for answering to a
|
|
#GstQuery:
|
|
|
|
* GST_QUERY_DURATION: The bin will forward the query to all sink
|
|
elements contained within and will return the maximum value.
|
|
If no sinks are available in the bin, the query fails.
|
|
|
|
* GST_QUERY_POSITION:The query is sent to all sink elements in the bin and the
|
|
MAXIMUM of all values is returned. If no sinks are available in the bin,
|
|
the query fails.
|
|
|
|
* OTHERS:the query is forwarded to all sink elements, the result
|
|
of the first sink that answers the query successfully is returned. If no
|
|
sink is in the bin, the query fails.
|
|
|
|
A #GstBin will by default forward any event sent to it to all sink
|
|
(#GST_EVENT_TYPE_DOWNSTREAM) or source (#GST_EVENT_TYPE_UPSTREAM) elements
|
|
depending on the event type.
|
|
If all the elements return %TRUE, the bin will also return %TRUE, else %FALSE
|
|
is returned. If no elements of the required type are in the bin, the event
|
|
handler will return %TRUE.</doc>
|
|
<source-position filename="gst/gstbin.h" line="193"/>
|
|
<implements name="ChildProxy"/>
|
|
<constructor name="new" c:identifier="gst_bin_new">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="534">Creates a new bin with the given name.</doc>
|
|
<source-position filename="gst/gstbin.h" line="199"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="540">a new #GstBin</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="536">the name of the new bin</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<virtual-method name="add_element">
|
|
<source-position filename="gst/gstbin.h" line="177"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="deep_element_added">
|
|
<source-position filename="gst/gstbin.h" line="188"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
<parameter name="sub_bin" transfer-ownership="none">
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</parameter>
|
|
<parameter name="child" transfer-ownership="none">
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="deep_element_removed">
|
|
<source-position filename="gst/gstbin.h" line="189"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
<parameter name="sub_bin" transfer-ownership="none">
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</parameter>
|
|
<parameter name="child" transfer-ownership="none">
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="do_latency">
|
|
<source-position filename="gst/gstbin.h" line="184"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="element_added">
|
|
<source-position filename="gst/gstbin.h" line="172"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
<parameter name="child" transfer-ownership="none">
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="element_removed">
|
|
<source-position filename="gst/gstbin.h" line="173"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
<parameter name="child" transfer-ownership="none">
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="handle_message">
|
|
<source-position filename="gst/gstbin.h" line="180"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
<parameter name="message" transfer-ownership="none">
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="remove_element">
|
|
<source-position filename="gst/gstbin.h" line="178"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="add" c:identifier="gst_bin_add">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="1506">Adds the given element to the bin. Sets the element's parent, and thus
|
|
takes ownership of the element. An element can only be added to one bin.
|
|
|
|
If the element's pads are linked to other pads, the pads will be unlinked
|
|
before the element is added to the bin.
|
|
|
|
> When you add an element to an already-running pipeline, you will have to
|
|
> take care to set the state of the newly-added element to the desired
|
|
> state (usually PLAYING or PAUSED, same you set the pipeline to originally)
|
|
> with gst_element_set_state(), or use gst_element_sync_state_with_parent().
|
|
> The bin or pipeline will not take care of this for you.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstbin.h" line="204"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="1525">%TRUE if the element could be added, %FALSE if
|
|
the bin does not want to accept the element.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="1508">a #GstBin</doc>
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="1509">the #GstElement to add</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_many"
|
|
c:identifier="gst_bin_add_many"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2684">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. The return
|
|
value of each gst_bin_add() is ignored.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1134"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2686">a #GstBin</doc>
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
<parameter name="element_1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2687">the #GstElement element to add to the bin</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2688">additional elements to add to the bin</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="find_unlinked_pad"
|
|
c:identifier="gst_bin_find_unlinked_pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3286">Recursively looks for elements with an unlinked pad of the given
|
|
direction within the specified bin and returns an unlinked pad
|
|
if one is found, or %NULL otherwise. If a pad is found, the caller
|
|
owns a reference to it and should use gst_object_unref() on the
|
|
pad when it is not needed any longer.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1140"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3297">unlinked pad of the given
|
|
direction, %NULL.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3288">bin in which to look for elements with unlinked pads</doc>
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
<parameter name="direction" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3289">whether to look for an unlinked source or sink pad</doc>
|
|
<type name="PadDirection" c:type="GstPadDirection"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_by_interface" c:identifier="gst_bin_get_by_interface">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="4504">Looks for an element inside the bin that implements the given
|
|
interface. If such an element is found, it returns the element.
|
|
You can cast this element to the given interface afterwards. If you want
|
|
all elements that implement the interface, use
|
|
gst_bin_iterate_all_by_interface(). This function recurses into child bins.
|
|
|
|
MT safe. Caller owns returned reference.</doc>
|
|
<source-position filename="gst/gstbin.h" line="218"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="4517">A #GstElement inside the bin
|
|
implementing the interface</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="4506">a #GstBin</doc>
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
<parameter name="iface" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="4507">the #GType of an interface</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_by_name" c:identifier="gst_bin_get_by_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="4405">Gets the element with the given name from a bin. This
|
|
function recurses into child bins.
|
|
|
|
Returns %NULL if no element with the given name is found in the bin.
|
|
|
|
MT safe. Caller owns returned reference.</doc>
|
|
<source-position filename="gst/gstbin.h" line="212"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="4417">the #GstElement with the given
|
|
name, or %NULL</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="4407">a #GstBin</doc>
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="4408">the element name to search for</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_by_name_recurse_up"
|
|
c:identifier="gst_bin_get_by_name_recurse_up">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="4448">Gets the element with the given name from this bin. If the
|
|
element is not found, a recursion is performed on the parent bin.
|
|
|
|
Returns %NULL if:
|
|
- no element with the given name is found in the bin
|
|
|
|
MT safe. Caller owns returned reference.</doc>
|
|
<source-position filename="gst/gstbin.h" line="215"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="4461">the #GstElement with the given
|
|
name, or %NULL</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="4450">a #GstBin</doc>
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="4451">the element name to search for</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_suppressed_flags"
|
|
c:identifier="gst_bin_get_suppressed_flags"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="1434">Return the suppressed flags of the bin.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstbin.h" line="254"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="1442">the bin's suppressed #GstElementFlags.</doc>
|
|
<type name="ElementFlags" c:type="GstElementFlags"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="1436">a #GstBin</doc>
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="iterate_all_by_element_factory_name"
|
|
c:identifier="gst_bin_iterate_all_by_element_factory_name"
|
|
version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="4602">Looks for all elements inside the bin with the given element factory name.
|
|
The function recurses inside child bins. The iterator will yield a series of
|
|
#GstElement that should be unreffed after use.
|
|
|
|
MT safe. Caller owns returned value.</doc>
|
|
<source-position filename="gst/gstbin.h" line="241"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="4613">a #GstIterator of #GstElement
|
|
for all elements in the bin with the given element factory name,
|
|
or %NULL.</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="4604">a #GstBin</doc>
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
<parameter name="factory_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="4605">the name of the #GstElementFactory</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="iterate_all_by_interface"
|
|
c:identifier="gst_bin_iterate_all_by_interface">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="4551">Looks for all elements inside the bin that implements the given
|
|
interface. You can safely cast all returned elements to the given interface.
|
|
The function recurses inside child bins. The iterator will yield a series
|
|
of #GstElement that should be unreffed after use.
|
|
|
|
MT safe. Caller owns returned value.</doc>
|
|
<source-position filename="gst/gstbin.h" line="238"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="4563">a #GstIterator of #GstElement
|
|
for all elements in the bin implementing the given interface,
|
|
or %NULL</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="4553">a #GstBin</doc>
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
<parameter name="iface" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="4554">the #GType of an interface</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="iterate_elements" c:identifier="gst_bin_iterate_elements">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="1914">Gets an iterator for the elements in this bin.
|
|
|
|
MT safe. Caller owns returned value.</doc>
|
|
<source-position filename="gst/gstbin.h" line="223"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="1922">a #GstIterator of #GstElement,
|
|
or %NULL</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="1916">a #GstBin</doc>
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="iterate_recurse" c:identifier="gst_bin_iterate_recurse">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="1954">Gets an iterator for the elements in this bin.
|
|
This iterator recurses into GstBin children.
|
|
|
|
MT safe. Caller owns returned value.</doc>
|
|
<source-position filename="gst/gstbin.h" line="229"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="1963">a #GstIterator of #GstElement,
|
|
or %NULL</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="1956">a #GstBin</doc>
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="iterate_sinks" c:identifier="gst_bin_iterate_sinks">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="2012">Gets an iterator for all elements in the bin that have the
|
|
#GST_ELEMENT_FLAG_SINK flag set.
|
|
|
|
MT safe. Caller owns returned value.</doc>
|
|
<source-position filename="gst/gstbin.h" line="232"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="2021">a #GstIterator of #GstElement,
|
|
or %NULL</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="2014">a #GstBin</doc>
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="iterate_sorted" c:identifier="gst_bin_iterate_sorted">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="2462">Gets an iterator for the elements in this bin in topologically
|
|
sorted order. This means that the elements are returned from
|
|
the most downstream elements (sinks) to the sources.
|
|
|
|
This function is used internally to perform the state changes
|
|
of the bin elements and for clock selection.
|
|
|
|
MT safe. Caller owns returned value.</doc>
|
|
<source-position filename="gst/gstbin.h" line="226"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="2475">a #GstIterator of #GstElement,
|
|
or %NULL</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="2464">a #GstBin</doc>
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="iterate_sources" c:identifier="gst_bin_iterate_sources">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="2073">Gets an iterator for all elements in the bin that have the
|
|
#GST_ELEMENT_FLAG_SOURCE flag set.
|
|
|
|
MT safe. Caller owns returned value.</doc>
|
|
<source-position filename="gst/gstbin.h" line="235"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="2082">a #GstIterator of #GstElement,
|
|
or %NULL</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="2075">a #GstBin</doc>
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="recalculate_latency"
|
|
c:identifier="gst_bin_recalculate_latency">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="2745">Query @bin for the current latency using and reconfigures this latency to all the
|
|
elements with a LATENCY event.
|
|
|
|
This method is typically called on the pipeline when a #GST_MESSAGE_LATENCY
|
|
is posted on the bus.
|
|
|
|
This function simply emits the 'do-latency' signal so any custom latency
|
|
calculations will be performed.</doc>
|
|
<source-position filename="gst/gstbin.h" line="246"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="2758">%TRUE if the latency could be queried and reconfigured.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="2747">a #GstBin</doc>
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove" c:identifier="gst_bin_remove">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="1861">Removes the element from the 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.
|
|
|
|
If the element's pads are linked to other pads, the pads will be unlinked
|
|
before the element is removed from the bin.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstbin.h" line="207"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="1878">%TRUE if the element could be removed, %FALSE if
|
|
the bin does not want to remove the element.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="1863">a #GstBin</doc>
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="1864">the #GstElement to remove</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_many"
|
|
c:identifier="gst_bin_remove_many"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2713">Remove a list of elements from a bin. This function is equivalent
|
|
to calling gst_bin_remove() with each member of the list.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1137"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2715">a #GstBin</doc>
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
<parameter name="element_1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2716">the first #GstElement to remove from the bin</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2717">%NULL-terminated list of elements to remove from the bin</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_suppressed_flags"
|
|
c:identifier="gst_bin_set_suppressed_flags"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="1407">Suppress the given flags on the bin. #GstElementFlags of a
|
|
child element are propagated when it is added to the bin.
|
|
When suppressed flags are set, those specified flags will
|
|
not be propagated to the bin.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstbin.h" line="251"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="1409">a #GstBin</doc>
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="1410">the #GstElementFlags to suppress</doc>
|
|
<type name="ElementFlags" c:type="GstElementFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="sync_children_states"
|
|
c:identifier="gst_bin_sync_children_states"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3358">Synchronizes the state of every child of @bin with the state
|
|
of @bin. See also gst_element_sync_state_with_parent().</doc>
|
|
<source-position filename="gst/gstutils.h" line="1143"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3365">%TRUE if syncing the state was successful for all children,
|
|
otherwise %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3360">a #GstBin</doc>
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="async-handling" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="345">If set to %TRUE, the bin will handle asynchronous state changes.
|
|
This should be used only if the bin subclass is modifying the state
|
|
of its children on its own.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</property>
|
|
<property name="message-forward" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="428">Forward all children messages, even those that would normally be filtered by
|
|
the bin. This can be interesting when one wants to be notified of the EOS
|
|
state of individual elements, for example.
|
|
|
|
The messages are converted to an ELEMENT message with the bin as the
|
|
source. The structure of the message is named 'GstBinForwarded' and contains
|
|
a field named 'message' of type GST_TYPE_MESSAGE that contains the original
|
|
forwarded message.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</property>
|
|
<field name="element">
|
|
<type name="Element" c:type="GstElement"/>
|
|
</field>
|
|
<field name="numchildren">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.h"
|
|
line="101">the number of children in this bin</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</field>
|
|
<field name="children">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.h"
|
|
line="102">the list of children in this bin</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Element"/>
|
|
</type>
|
|
</field>
|
|
<field name="children_cookie">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.h"
|
|
line="103">updated whenever @children changes</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</field>
|
|
<field name="child_bus">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.h"
|
|
line="104">internal bus for handling child messages</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</field>
|
|
<field name="messages">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.h"
|
|
line="105">queued and cached messages</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Message"/>
|
|
</type>
|
|
</field>
|
|
<field name="polling">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.h"
|
|
line="106">the bin is currently calculating its state</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</field>
|
|
<field name="state_dirty">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.h"
|
|
line="107">the bin needs to recalculate its state (deprecated)</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</field>
|
|
<field name="clock_dirty">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.h"
|
|
line="108">the bin needs to select a new clock</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</field>
|
|
<field name="provided_clock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.h"
|
|
line="109">the last clock selected</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</field>
|
|
<field name="clock_provider">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.h"
|
|
line="110">the element that provided @provided_clock</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="BinPrivate" c:type="GstBinPrivate*"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<glib:signal name="deep-element-added" when="first" version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="379">Will be emitted after the element was added to sub_bin.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="sub_bin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="382">the #GstBin the element was added to</doc>
|
|
<type name="Bin"/>
|
|
</parameter>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="383">the #GstElement that was added to @sub_bin</doc>
|
|
<type name="Element"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="deep-element-removed" when="first" version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="393">Will be emitted after the element was removed from sub_bin.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="sub_bin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="396">the #GstBin the element was removed from</doc>
|
|
<type name="Bin"/>
|
|
</parameter>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="397">the #GstElement that was removed from @sub_bin</doc>
|
|
<type name="Element"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="do-latency" when="last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="407">Will be emitted when the bin needs to perform latency calculations. This
|
|
signal is only emitted for toplevel bins or when async-handling is
|
|
enabled.
|
|
|
|
Only one signal handler is invoked. If no signals are connected, the
|
|
default handler is invoked, which will query and distribute the lowest
|
|
possible latency to all sinks.
|
|
|
|
Connect to this signal if the default latency calculations are not
|
|
sufficient, like when you need different latencies for different sinks in
|
|
the same pipeline.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
</glib:signal>
|
|
<glib:signal name="element-added" when="first">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="357">Will be emitted after the element was added to the bin.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="360">the #GstElement that was added to the bin</doc>
|
|
<type name="Element"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="element-removed" when="first">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="368">Will be emitted after the element was removed from the bin.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.c"
|
|
line="371">the #GstElement that was removed from the bin</doc>
|
|
<type name="Element"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
</class>
|
|
<record name="BinClass"
|
|
c:type="GstBinClass"
|
|
glib:is-gtype-struct-for="Bin">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.h"
|
|
line="141">Subclasses can override the @add_element and @remove_element to
|
|
update the list of children in the bin.
|
|
|
|
The @handle_message method can be overridden to implement custom
|
|
message handling. @handle_message takes ownership of the message, just like
|
|
#gst_element_post_message.
|
|
|
|
The @deep_element_added vfunc will be called when a new element has been
|
|
added to any bin inside this bin, so it will also be called if a new child
|
|
was added to a sub-bin of this bin. #GstBin implementations that override
|
|
this message should chain up to the parent class implementation so the
|
|
#GstBin::deep-element-added signal is emitted on all parents.</doc>
|
|
<source-position filename="gst/gstbin.h" line="193"/>
|
|
<field name="parent_class">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.h"
|
|
line="143">bin parent class</doc>
|
|
<type name="ElementClass" c:type="GstElementClass"/>
|
|
</field>
|
|
<field name="pool" readable="0" private="1">
|
|
<type name="GLib.ThreadPool" c:type="GThreadPool*"/>
|
|
</field>
|
|
<field name="element_added">
|
|
<callback name="element_added">
|
|
<source-position filename="gst/gstbin.h" line="172"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="bin" transfer-ownership="none">
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</parameter>
|
|
<parameter name="child" transfer-ownership="none">
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="element_removed">
|
|
<callback name="element_removed">
|
|
<source-position filename="gst/gstbin.h" line="173"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="bin" transfer-ownership="none">
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</parameter>
|
|
<parameter name="child" transfer-ownership="none">
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="add_element">
|
|
<callback name="add_element">
|
|
<source-position filename="gst/gstbin.h" line="177"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="bin" transfer-ownership="none">
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</parameter>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="remove_element">
|
|
<callback name="remove_element">
|
|
<source-position filename="gst/gstbin.h" line="178"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="bin" transfer-ownership="none">
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</parameter>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="handle_message">
|
|
<callback name="handle_message">
|
|
<source-position filename="gst/gstbin.h" line="180"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="bin" transfer-ownership="none">
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</parameter>
|
|
<parameter name="message" transfer-ownership="none">
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="do_latency">
|
|
<callback name="do_latency">
|
|
<source-position filename="gst/gstbin.h" line="184"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="bin" transfer-ownership="none">
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="deep_element_added">
|
|
<callback name="deep_element_added">
|
|
<source-position filename="gst/gstbin.h" line="188"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="bin" transfer-ownership="none">
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</parameter>
|
|
<parameter name="sub_bin" transfer-ownership="none">
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</parameter>
|
|
<parameter name="child" transfer-ownership="none">
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="deep_element_removed">
|
|
<callback name="deep_element_removed">
|
|
<source-position filename="gst/gstbin.h" line="189"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="bin" transfer-ownership="none">
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</parameter>
|
|
<parameter name="sub_bin" transfer-ownership="none">
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</parameter>
|
|
<parameter name="child" transfer-ownership="none">
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="2">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<bitfield name="BinFlags"
|
|
glib:type-name="GstBinFlags"
|
|
glib:get-type="gst_bin_flags_get_type"
|
|
c:type="GstBinFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.h"
|
|
line="41">GstBinFlags are a set of flags specific to bins. Most are set/used
|
|
internally. They can be checked using the GST_OBJECT_FLAG_IS_SET () macro,
|
|
and (un)set using GST_OBJECT_FLAG_SET () and GST_OBJECT_FLAG_UNSET ().</doc>
|
|
<member name="no_resync"
|
|
value="16384"
|
|
c:identifier="GST_BIN_FLAG_NO_RESYNC"
|
|
glib:nick="no-resync">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.h"
|
|
line="43">don't resync a state change when elements are
|
|
added or linked in the bin (Since: 1.0.5)</doc>
|
|
</member>
|
|
<member name="streams_aware"
|
|
value="32768"
|
|
c:identifier="GST_BIN_FLAG_STREAMS_AWARE"
|
|
glib:nick="streams-aware">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.h"
|
|
line="45">Indicates whether the bin can handle elements
|
|
that add/remove source pads at any point in time without
|
|
first posting a no-more-pads signal (Since: 1.10)</doc>
|
|
</member>
|
|
<member name="last"
|
|
value="524288"
|
|
c:identifier="GST_BIN_FLAG_LAST"
|
|
glib:nick="last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbin.h"
|
|
line="48">the last enum in the series of flags for bins.
|
|
Derived classes can use this as first value in a list of flags.</doc>
|
|
</member>
|
|
</bitfield>
|
|
<record name="BinPrivate" c:type="GstBinPrivate" disguised="1">
|
|
<source-position filename="gst/gstbin.h" line="75"/>
|
|
</record>
|
|
<class name="Bitmask"
|
|
c:symbol-prefix="bitmask"
|
|
glib:type-name="GstBitmask"
|
|
glib:get-type="gst_bitmask_get_type"
|
|
glib:fundamental="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="358">A fundamental type that describes a 64-bit bitmask</doc>
|
|
</class>
|
|
<record name="Buffer"
|
|
c:type="GstBuffer"
|
|
glib:type-name="GstBuffer"
|
|
glib:get-type="gst_buffer_get_type"
|
|
c:symbol-prefix="buffer">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="23">Buffers are the basic unit of data transfer in GStreamer. They contain the
|
|
timing and offset along with other arbitrary metadata that is associated
|
|
with the #GstMemory blocks that the buffer contains.
|
|
|
|
Buffers are usually created with gst_buffer_new(). After a buffer has been
|
|
created one will typically allocate memory for it and add it to the buffer.
|
|
The following example creates a buffer that can hold a given video frame
|
|
with a given width, height and bits per plane.
|
|
|[<!-- language="C" -->
|
|
GstBuffer *buffer;
|
|
GstMemory *memory;
|
|
gint size, width, height, bpp;
|
|
...
|
|
size = width * height * bpp;
|
|
buffer = gst_buffer_new ();
|
|
memory = gst_allocator_alloc (NULL, size, NULL);
|
|
gst_buffer_insert_memory (buffer, -1, memory);
|
|
...
|
|
]|
|
|
|
|
Alternatively, use gst_buffer_new_allocate() to create a buffer with
|
|
preallocated data of a given size.
|
|
|
|
Buffers can contain a list of #GstMemory objects. You can retrieve how many
|
|
memory objects with gst_buffer_n_memory() and you can get a pointer
|
|
to memory with gst_buffer_peek_memory()
|
|
|
|
A buffer will usually have timestamps, and a duration, but neither of these
|
|
are guaranteed (they may be set to #GST_CLOCK_TIME_NONE). Whenever a
|
|
meaningful value can be given for these, they should be set. The timestamps
|
|
and duration are measured in nanoseconds (they are #GstClockTime values).
|
|
|
|
The buffer DTS refers to the timestamp when the buffer should be decoded and
|
|
is usually monotonically increasing. The buffer PTS refers to the timestamp when
|
|
the buffer content should be presented to the user and is not always
|
|
monotonically increasing.
|
|
|
|
A buffer can also have one or both of a start and an end offset. These are
|
|
media-type specific. For video buffers, the start offset will generally be
|
|
the frame number. For audio buffers, it will be the number of samples
|
|
produced so far. For compressed data, it could be the byte offset in a
|
|
source or destination file. Likewise, the end offset will be the offset of
|
|
the end of the buffer. These can only be meaningfully interpreted if you
|
|
know the media type of the buffer (the preceding CAPS event). Either or both
|
|
can be set to #GST_BUFFER_OFFSET_NONE.
|
|
|
|
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. The buffer refcount determines the writability of the buffer, a
|
|
buffer is only writable when the refcount is exactly 1, i.e. when the caller
|
|
has the only reference to the buffer.
|
|
|
|
To efficiently create a smaller buffer out of an existing one, you can
|
|
use gst_buffer_copy_region(). This method tries to share the memory objects
|
|
between the two buffers.
|
|
|
|
If a plug-in wants to modify the buffer data or metadata in-place, it should
|
|
first obtain a buffer that is safe to modify by using
|
|
gst_buffer_make_writable(). This function is optimized so that a copy will
|
|
only be made when it is necessary.
|
|
|
|
Several flags of the buffer can be set and unset with the
|
|
GST_BUFFER_FLAG_SET() and GST_BUFFER_FLAG_UNSET() macros. Use
|
|
GST_BUFFER_FLAG_IS_SET() to test if a certain #GstBufferFlags flag is set.
|
|
|
|
Buffers can be efficiently merged into a larger buffer with
|
|
gst_buffer_append(). Copying of memory will only be done when absolutely
|
|
needed.
|
|
|
|
Arbitrary extra metadata can be set on a buffer with gst_buffer_add_meta().
|
|
Metadata can be retrieved with gst_buffer_get_meta(). See also #GstMeta
|
|
|
|
An element should either unref the buffer or push it out on a src pad
|
|
using gst_pad_push() (see #GstPad).
|
|
|
|
Buffers are usually freed by unreffing them with gst_buffer_unref(). When
|
|
the refcount drops to 0, any memory and metadata pointed to by the buffer is
|
|
unreffed as well. Buffers allocated from a #GstBufferPool will be returned to
|
|
the pool when the refcount drops to 0.
|
|
|
|
The #GstParentBufferMeta is a meta which can be attached to a #GstBuffer
|
|
to hold a reference to another buffer that is only released when the child
|
|
#GstBuffer is released.
|
|
|
|
Typically, #GstParentBufferMeta is used when the child buffer is directly
|
|
using the #GstMemory of the parent buffer, and wants to prevent the parent
|
|
buffer from being returned to a buffer pool until the #GstMemory is available
|
|
for re-use. (Since: 1.6)</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="278"/>
|
|
<field name="mini_object" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="243">the parent structure</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject"/>
|
|
</field>
|
|
<field name="pool" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="244">pointer to the pool owner of the buffer</doc>
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</field>
|
|
<field name="pts" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="245">presentation timestamp of the buffer, can be #GST_CLOCK_TIME_NONE when the
|
|
pts is not known or relevant. The pts contains the timestamp when the
|
|
media should be presented to the user.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</field>
|
|
<field name="dts" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="248">decoding timestamp of the buffer, can be #GST_CLOCK_TIME_NONE when the
|
|
dts is not known or relevant. The dts contains the timestamp when the
|
|
media should be processed.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</field>
|
|
<field name="duration" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="251">duration in time of the buffer data, can be #GST_CLOCK_TIME_NONE
|
|
when the duration is not known or relevant.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</field>
|
|
<field name="offset" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="253">a media specific offset for the buffer data.
|
|
For video frames, this is the frame number of this buffer.
|
|
For audio samples, this is the offset of the first sample in this buffer.
|
|
For file data or compressed data this is the byte offset of the first
|
|
byte in this buffer.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</field>
|
|
<field name="offset_end" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="258">the last offset contained in this buffer. It has the same
|
|
format as @offset.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</field>
|
|
<constructor name="new" c:identifier="gst_buffer_new">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="836">Creates a newly allocated buffer without any data.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="289"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="843">the new #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<constructor name="new_allocate" c:identifier="gst_buffer_new_allocate">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="858">Tries to create a newly allocated buffer with data of the given size and
|
|
extra parameters from @allocator. If the requested amount of memory can't be
|
|
allocated, %NULL will be returned. The allocated buffer memory is not cleared.
|
|
|
|
When @allocator is %NULL, the default memory allocator will be used.
|
|
|
|
Note that when @size == 0, the buffer will not have memory associated with it.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="292"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="875">a new #GstBuffer, or %NULL if
|
|
the memory couldn't be allocated.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="allocator"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="860">the #GstAllocator to use, or %NULL to use the
|
|
default allocator</doc>
|
|
<type name="Allocator" c:type="GstAllocator*"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="862">the size in bytes of the new buffer's data.</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="params"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="863">optional parameters</doc>
|
|
<type name="AllocationParams" c:type="GstAllocationParams*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_wrapped" c:identifier="gst_buffer_new_wrapped">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1004">Creates a new buffer that wraps the given @data. The memory will be freed
|
|
with g_free and will be marked writable.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="299"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1014">a new #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="data" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1006">data to wrap</doc>
|
|
<array length="1" zero-terminated="0" c:type="gpointer">
|
|
<type name="guint8"/>
|
|
</array>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1007">allocated size of @data</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_wrapped_bytes"
|
|
c:identifier="gst_buffer_new_wrapped_bytes"
|
|
version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1022">Creates a new #GstBuffer that wraps the given @bytes. The data inside
|
|
@bytes cannot be %NULL and the resulting buffer will be marked as read only.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="301"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1031">a new #GstBuffer wrapping @bytes</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="bytes" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1024">a #GBytes to wrap</doc>
|
|
<type name="GLib.Bytes" c:type="GBytes*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_wrapped_full"
|
|
c:identifier="gst_buffer_new_wrapped_full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="964">Allocate a new buffer that wraps the given memory. @data must point to
|
|
@maxsize of memory, the wrapped buffer will have the region from @offset and
|
|
@size visible.
|
|
|
|
When the buffer is destroyed, @notify will be called with @user_data.
|
|
|
|
The prefix/padding must be filled with 0 if @flags contains
|
|
#GST_MEMORY_FLAG_ZERO_PREFIXED and #GST_MEMORY_FLAG_ZERO_PADDED respectively.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="295"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="983">a new #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="966">#GstMemoryFlags</doc>
|
|
<type name="MemoryFlags" c:type="GstMemoryFlags"/>
|
|
</parameter>
|
|
<parameter name="data" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="967">data to wrap</doc>
|
|
<array length="4" zero-terminated="0" c:type="gpointer">
|
|
<type name="guint8"/>
|
|
</array>
|
|
</parameter>
|
|
<parameter name="maxsize" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="968">allocated size of @data</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="969">offset in @data</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="970">size of valid data</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="971">user_data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="notify"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
scope="async"
|
|
closure="5">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="972">called with @user_data when the memory is freed</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<method name="add_custom_meta"
|
|
c:identifier="gst_buffer_add_custom_meta"
|
|
version="1.20">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2875">Creates and adds a #GstCustomMeta for the desired @name. @name must have
|
|
been successfully registered with gst_meta_register_custom().</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="668"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2883">The #GstCustomMeta that was added to the buffer</doc>
|
|
<type name="CustomMeta" c:type="GstCustomMeta*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2877">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2878">the registered name of the desired custom meta</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_meta" c:identifier="gst_buffer_add_meta">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2271">Add metadata for @info to @buffer using the parameters in @params.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="650"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2279">the metadata for the api in @info on @buffer.</doc>
|
|
<type name="Meta" c:type="GstMeta*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2273">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="info" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2274">a #GstMetaInfo</doc>
|
|
<type name="MetaInfo" c:type="const GstMetaInfo*"/>
|
|
</parameter>
|
|
<parameter name="params"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2275">params for @info</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_parent_buffer_meta"
|
|
c:identifier="gst_buffer_add_parent_buffer_meta"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2574">Add a #GstParentBufferMeta to @buffer that holds a reference on
|
|
@ref until the buffer is freed.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="753"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2582">The #GstParentBufferMeta that was added to the buffer</doc>
|
|
<type name="ParentBufferMeta" c:type="GstParentBufferMeta*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2576">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="ref" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2577">a #GstBuffer to ref</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_protection_meta"
|
|
c:identifier="gst_buffer_add_protection_meta"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstprotection.c"
|
|
line="127">Attaches protection metadata to a #GstBuffer.</doc>
|
|
<source-position filename="gst/gstprotection.h" line="90"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstprotection.c"
|
|
line="137">a pointer to the added #GstProtectionMeta if successful; %NULL if
|
|
unsuccessful.</doc>
|
|
<type name="ProtectionMeta" c:type="GstProtectionMeta*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstprotection.c"
|
|
line="129">#GstBuffer holding an encrypted sample, to which protection
|
|
metadata should be added.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="info" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstprotection.c"
|
|
line="131">a #GstStructure holding cryptographic
|
|
information relating to the sample contained in @buffer. This
|
|
function takes ownership of @info.</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_reference_timestamp_meta"
|
|
c:identifier="gst_buffer_add_reference_timestamp_meta"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2705">Add a #GstReferenceTimestampMeta to @buffer that holds a @timestamp and
|
|
optionally @duration based on a specific timestamp @reference. See the
|
|
documentation of #GstReferenceTimestampMeta for details.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="798"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2716">The #GstReferenceTimestampMeta that was added to the buffer</doc>
|
|
<type name="ReferenceTimestampMeta"
|
|
c:type="GstReferenceTimestampMeta*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2707">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="reference" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2708">identifier for the timestamp reference.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
<parameter name="timestamp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2709">timestamp</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="duration" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2710">duration, or %GST_CLOCK_TIME_NONE</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="append" c:identifier="gst_buffer_append">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2152">Append all the memory from @buf2 to @buf1. The result buffer will contain a
|
|
concatenation of the memory of @buf1 and @buf2.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="617"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2160">the new #GstBuffer that contains the memory
|
|
of the two source buffers.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buf1" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2154">the first source #GstBuffer to append.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="buf2" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2155">the second source #GstBuffer to append.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="append_memory" c:identifier="gst_buffer_append_memory">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1083">Append the memory block @mem to @buffer. This function takes
|
|
ownership of @mem and thus doesn't increase its refcount.
|
|
|
|
This function is identical to gst_buffer_insert_memory() with an index of -1.
|
|
See gst_buffer_insert_memory() for more details.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="327"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1085">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="mem" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1086">a #GstMemory.</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="append_region" c:identifier="gst_buffer_append_region">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2169">Append @size bytes at @offset from @buf2 to @buf1. The result buffer will
|
|
contain a concatenation of the memory of @buf1 and the requested region of
|
|
@buf2.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="614"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2180">the new #GstBuffer that contains the memory
|
|
of the two source buffers.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buf1" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2171">the first source #GstBuffer to append.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="buf2" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2172">the second source #GstBuffer to append.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2173">the offset in @buf2</doc>
|
|
<type name="gssize" c:type="gssize"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2174">the size or -1 of @buf2</doc>
|
|
<type name="gssize" c:type="gssize"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="copy" c:identifier="gst_buffer_copy" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="469">Create a copy of the given buffer. This will only copy the buffer's
|
|
data to a newly allocated memory if needed (if the type of memory
|
|
requires it), otherwise the underlying data is just referenced.
|
|
Check gst_buffer_copy_deep() if you want to force the data
|
|
to be copied to newly allocated memory.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="481"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="479">a new copy of @buf.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buf" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="471">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="const GstBuffer*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="copy_deep"
|
|
c:identifier="gst_buffer_copy_deep"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="728">Create a copy of the given buffer. This will make a newly allocated
|
|
copy of the data the source buffer contains.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="489"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="735">a new copy of @buf.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buf" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="730">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="const GstBuffer*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="copy_into" c:identifier="gst_buffer_copy_into">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="519">Copies the information from @src into @dest.
|
|
|
|
If @dest already contains memory and @flags contains GST_BUFFER_COPY_MEMORY,
|
|
the memory from @src will be appended to @dest.
|
|
|
|
@flags indicate which fields will be copied.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="541"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="534">%TRUE if the copying succeeded, %FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="dest" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="521">a destination #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="522">a source #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="523">flags indicating what metadata fields should be copied.</doc>
|
|
<type name="BufferCopyFlags" c:type="GstBufferCopyFlags"/>
|
|
</parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="524">offset to copy from</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="525">total size to copy. If -1, all data is copied.</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="copy_region" c:identifier="gst_buffer_copy_region">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2109">Creates a sub-buffer from @parent at @offset and @size.
|
|
This sub-buffer uses the actual memory space of the parent buffer.
|
|
This function will copy the offset and timestamp fields when the
|
|
offset is 0. If not, they will be set to #GST_CLOCK_TIME_NONE and
|
|
#GST_BUFFER_OFFSET_NONE.
|
|
If @offset equals 0 and @size equals the total size of @buffer, the
|
|
duration and offset end fields are also copied. If not they will be set
|
|
to #GST_CLOCK_TIME_NONE and #GST_BUFFER_OFFSET_NONE.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="608"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2129">the new #GstBuffer or %NULL if the arguments were
|
|
invalid.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2111">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2112">the #GstBufferCopyFlags</doc>
|
|
<type name="BufferCopyFlags" c:type="GstBufferCopyFlags"/>
|
|
</parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2113">the offset into parent #GstBuffer at which the new sub-buffer
|
|
begins.</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2115">the size of the new #GstBuffer sub-buffer, in bytes. If -1, all
|
|
data is copied.</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="extract" c:identifier="gst_buffer_extract">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1957">Copy @size bytes starting from @offset in @buffer to @dest.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="360"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1967">The amount of bytes extracted. This value can be lower than @size
|
|
when @buffer did not contain enough data.</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1959">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1960">the offset to extract</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="dest"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1961">
|
|
the destination address</doc>
|
|
<array length="2" zero-terminated="0" c:type="gpointer">
|
|
<type name="guint8"/>
|
|
</array>
|
|
</parameter>
|
|
<parameter name="size"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1963">the size to extract</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="extract_dup"
|
|
c:identifier="gst_buffer_extract_dup"
|
|
version="1.0.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2539">Extracts a copy of at most @size bytes the data at @offset into
|
|
newly-allocated memory. @dest must be freed using g_free() when done.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="396"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2541">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2542">the offset to extract</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2543">the size to extract</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="dest"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2544">A pointer where
|
|
the destination array will be written. Might be %NULL if the size is 0.</doc>
|
|
<array length="3" zero-terminated="0" c:type="gpointer*">
|
|
<type name="guint8"/>
|
|
</array>
|
|
</parameter>
|
|
<parameter name="dest_size"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2546">A location where the size of @dest can be written</doc>
|
|
<type name="gsize" c:type="gsize*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="fill" c:identifier="gst_buffer_fill">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1905">Copy @size bytes from @src to @buffer at @offset.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="357"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1914">The amount of bytes copied. This value can be lower than @size
|
|
when @buffer did not contain enough data.</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1907">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1908">the offset to fill</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1909">the source address</doc>
|
|
<array length="2" zero-terminated="0" c:type="gconstpointer">
|
|
<type name="guint8"/>
|
|
</array>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1910">the size to fill</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="find_memory" c:identifier="gst_buffer_find_memory">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1359">Find the memory blocks that span @size bytes starting from @offset
|
|
in @buffer.
|
|
|
|
When this function returns %TRUE, @idx will contain the index of the first
|
|
memory block where the byte for @offset can be found and @length contains the
|
|
number of memory blocks containing the @size remaining bytes. @skip contains
|
|
the number of bytes to skip in the memory block at @idx to get to the byte
|
|
for @offset.
|
|
|
|
@size can be -1 to get all the memory blocks after @idx.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="348"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1379">%TRUE when @size bytes starting from @offset could be found in
|
|
@buffer and @idx, @length and @skip will be filled.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1361">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1362">an offset</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1363">a size</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="idx"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1364">pointer to index</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
<parameter name="length"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1365">pointer to length</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
<parameter name="skip"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1366">pointer to skip</doc>
|
|
<type name="gsize" c:type="gsize*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="foreach_meta" c:identifier="gst_buffer_foreach_meta">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2467">Call @func with @user_data for each meta in @buffer.
|
|
|
|
@func can modify the passed meta pointer or its contents. The return value
|
|
of @func define if this function returns or if the remaining metadata items
|
|
in the buffer should be skipped.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="663"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2479">%FALSE when @func returned %FALSE for one of the metadata.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2469">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="call"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2470">a #GstBufferForeachMetaFunc to call</doc>
|
|
<type name="BufferForeachMetaFunc"
|
|
c:type="GstBufferForeachMetaFunc"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2471">user data passed to @func</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_all_memory" c:identifier="gst_buffer_get_all_memory">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1193">Get all the memory block in @buffer. The memory blocks will be merged
|
|
into one large #GstMemory.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="339"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1200">a #GstMemory that contains the merged memory.
|
|
Use gst_memory_unref () after usage.</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1195">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_custom_meta"
|
|
c:identifier="gst_buffer_get_custom_meta"
|
|
version="1.20">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2906">Find the first #GstCustomMeta on @buffer for the desired @name.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="672"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2913">the #GstCustomMeta or %NULL when there
|
|
is no such metadata on @buffer.</doc>
|
|
<type name="CustomMeta" c:type="GstCustomMeta*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2908">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2909">the registered name of the custom meta to retrieve.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_flags"
|
|
c:identifier="gst_buffer_get_flags"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="353">Get the #GstBufferFlags flags set on this buffer.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="400"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="359">the flags set on this buffer.</doc>
|
|
<type name="BufferFlags" c:type="GstBufferFlags"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="355">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_memory" c:identifier="gst_buffer_get_memory">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1177">Get the memory block at index @idx in @buffer.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="336"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1184">a #GstMemory that contains the data of the
|
|
memory block at @idx. Use gst_memory_unref () after usage.</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1179">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="idx" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1180">an index</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_memory_range"
|
|
c:identifier="gst_buffer_get_memory_range">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1209">Get @length memory blocks in @buffer starting at @idx. The memory blocks will
|
|
be merged into one large #GstMemory.
|
|
|
|
If @length is -1, all memory starting from @idx is merged.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="318"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1220">a #GstMemory that contains the merged data of @length
|
|
blocks starting at @idx. Use gst_memory_unref () after usage.</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1211">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="idx" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1212">an index</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="length" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1213">a length</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_meta" c:identifier="gst_buffer_get_meta">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2215">Get the metadata for @api on buffer. When there is no such metadata, %NULL is
|
|
returned. If multiple metadata with the given @api are attached to this
|
|
buffer only the first one is returned. To handle multiple metadata with a
|
|
given API use gst_buffer_iterate_meta() or gst_buffer_foreach_meta() instead
|
|
and check the meta->info.api member for the API type.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="644"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2226">the metadata for @api on
|
|
@buffer.</doc>
|
|
<type name="Meta" c:type="GstMeta*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2217">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="api" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2218">the #GType of an API</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_n_meta"
|
|
c:identifier="gst_buffer_get_n_meta"
|
|
version="1.14">
|
|
<source-position filename="gst/gstbuffer.h" line="647"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2254">number of metas of type @api_type on @buffer.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2251">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="api_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2252">the #GType of an API</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_reference_timestamp_meta"
|
|
c:identifier="gst_buffer_get_reference_timestamp_meta"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2743">Find the first #GstReferenceTimestampMeta on @buffer that conforms to
|
|
@reference. Conformance is tested by checking if the meta's reference is a
|
|
subset of @reference.
|
|
|
|
Buffers can contain multiple #GstReferenceTimestampMeta metadata items.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="804"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2754">the #GstReferenceTimestampMeta or %NULL when there
|
|
is no such metadata on @buffer.</doc>
|
|
<type name="ReferenceTimestampMeta"
|
|
c:type="GstReferenceTimestampMeta*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2745">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="reference"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2746">a reference #GstCaps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_size" c:identifier="gst_buffer_get_size">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1516">Get the total size of the memory blocks in @buffer.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="378"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1522">total size of the memory blocks in @buffer.</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1518">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_sizes" c:identifier="gst_buffer_get_sizes">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1494">Get the total size of the memory blocks in @b.
|
|
|
|
When not %NULL, @offset will contain the offset of the data in the
|
|
first memory block in @buffer and @maxsize will contain the sum of
|
|
the size and @offset and the amount of extra padding on the last
|
|
memory block. @offset and @maxsize can be used to resize the
|
|
buffer memory blocks with gst_buffer_resize().</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="375"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1508">total size of the memory blocks in @buffer.</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1496">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="offset"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1497">a pointer to the offset</doc>
|
|
<type name="gsize" c:type="gsize*"/>
|
|
</parameter>
|
|
<parameter name="maxsize"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1498">a pointer to the maxsize</doc>
|
|
<type name="gsize" c:type="gsize*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_sizes_range" c:identifier="gst_buffer_get_sizes_range">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1539">Get the total size of @length memory blocks stating from @idx in @buffer.
|
|
|
|
When not %NULL, @offset will contain the offset of the data in the
|
|
memory block in @buffer at @idx and @maxsize will contain the sum of the size
|
|
and @offset and the amount of extra padding on the memory block at @idx +
|
|
@length -1.
|
|
@offset and @maxsize can be used to resize the buffer memory blocks with
|
|
gst_buffer_resize_range().</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="369"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1556">total size of @length memory blocks starting at @idx in @buffer.</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1541">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="idx" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1542">an index</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="length" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1543">a length</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="offset"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1544">a pointer to the offset</doc>
|
|
<type name="gsize" c:type="gsize*"/>
|
|
</parameter>
|
|
<parameter name="maxsize"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1545">a pointer to the maxsize</doc>
|
|
<type name="gsize" c:type="gsize*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_flags"
|
|
c:identifier="gst_buffer_has_flags"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="369">Gives the status of a specific flag on a buffer.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="403"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="376">%TRUE if all flags in @flags are found on @buffer.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="371">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="372">the #GstBufferFlags flag to check.</doc>
|
|
<type name="BufferFlags" c:type="GstBufferFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="insert_memory" c:identifier="gst_buffer_insert_memory">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1100">Insert the memory block @mem to @buffer at @idx. This function takes ownership
|
|
of @mem and thus doesn't increase its refcount.
|
|
|
|
Only gst_buffer_get_max_memory() can be added to a buffer. If more memory is
|
|
added, existing memory blocks will automatically be merged to make room for
|
|
the new memory.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="309"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1102">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="idx" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1103">the index to add the memory at, or -1 to append it to the end</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="mem" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1104">a #GstMemory.</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_all_memory_writable"
|
|
c:identifier="gst_buffer_is_all_memory_writable"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1475">Check if all memory blocks in @buffer are writable.
|
|
|
|
Note that this function does not check if @buffer is writable, use
|
|
gst_buffer_is_writable() to check that if needed.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="354"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1484">%TRUE if all memory blocks in @buffer are writable</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1477">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_memory_range_writable"
|
|
c:identifier="gst_buffer_is_memory_range_writable"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1432">Check if @length memory blocks in @buffer starting from @idx are writable.
|
|
|
|
@length can be -1 to check all the memory blocks after @idx.
|
|
|
|
Note that this function does not check if @buffer is writable, use
|
|
gst_buffer_is_writable() to check that if needed.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="351"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1445">%TRUE if the memory range is writable</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1434">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="idx" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1435">an index</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="length" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1436">a length should not be 0</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="iterate_meta"
|
|
c:identifier="gst_buffer_iterate_meta"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2389">Retrieve the next #GstMeta after @current. If @state points
|
|
to %NULL, the first metadata is returned.
|
|
|
|
@state will be updated with an opaque state pointer</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="656"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2399">The next #GstMeta or %NULL
|
|
when there are no more items.</doc>
|
|
<type name="Meta" c:type="GstMeta*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2391">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="state"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none"
|
|
nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2392">an opaque state pointer</doc>
|
|
<type name="gpointer" c:type="gpointer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="iterate_meta_filtered"
|
|
c:identifier="gst_buffer_iterate_meta_filtered"
|
|
version="1.12"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2424">Retrieve the next #GstMeta of type @meta_api_type after the current one
|
|
according to @state. If @state points to %NULL, the first metadata of
|
|
type @meta_api_type is returned.
|
|
|
|
@state will be updated with an opaque state pointer</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="659"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2436">The next #GstMeta of type
|
|
@meta_api_type or %NULL when there are no more items.</doc>
|
|
<type name="Meta" c:type="GstMeta*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2426">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="state"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none"
|
|
nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2427">an opaque state pointer</doc>
|
|
<type name="gpointer" c:type="gpointer*"/>
|
|
</parameter>
|
|
<parameter name="meta_api_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2428">only return #GstMeta of this type</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="map" c:identifier="gst_buffer_map">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1756">This function fills @info with the #GstMapInfo of all merged memory
|
|
blocks in @buffer.
|
|
|
|
@flags describe the desired access of the memory. When @flags is
|
|
#GST_MAP_WRITE, @buffer should be writable (as returned from
|
|
gst_buffer_is_writable()).
|
|
|
|
When @buffer is writable but the memory isn't, a writable copy will
|
|
automatically be created and returned. The readonly copy of the
|
|
buffer memory will then also be replaced with this writable copy.
|
|
|
|
The memory in @info should be unmapped with gst_buffer_unmap() after
|
|
usage.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="390"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1776">%TRUE if the map succeeded and @info contains valid data.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1758">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="info"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1759">info about the mapping</doc>
|
|
<type name="MapInfo" c:type="GstMapInfo*"/>
|
|
</parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1760">flags for the mapping</doc>
|
|
<type name="MapFlags" c:type="GstMapFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="map_range" c:identifier="gst_buffer_map_range">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1784">This function fills @info with the #GstMapInfo of @length merged memory blocks
|
|
starting at @idx in @buffer. When @length is -1, all memory blocks starting
|
|
from @idx are merged and mapped.
|
|
|
|
@flags describe the desired access of the memory. When @flags is
|
|
#GST_MAP_WRITE, @buffer should be writable (as returned from
|
|
gst_buffer_is_writable()).
|
|
|
|
When @buffer is writable but the memory isn't, a writable copy will
|
|
automatically be created and returned. The readonly copy of the buffer memory
|
|
will then also be replaced with this writable copy.
|
|
|
|
The memory in @info should be unmapped with gst_buffer_unmap() after usage.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="387"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1806">%TRUE if the map succeeded and @info contains valid
|
|
data.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1786">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="idx" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1787">an index</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="length" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1788">a length</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="info"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1789">info about the mapping</doc>
|
|
<type name="MapInfo" c:type="GstMapInfo*"/>
|
|
</parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1790">flags for the mapping</doc>
|
|
<type name="MapFlags" c:type="GstMapFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="memcmp" c:identifier="gst_buffer_memcmp">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2008">Compare @size bytes starting from @offset in @buffer with the memory in @mem.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="363"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2017">0 if the memory is equal.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2010">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2011">the offset in @buffer</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="mem" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2012">the memory to compare</doc>
|
|
<array length="2" zero-terminated="0" c:type="gconstpointer">
|
|
<type name="guint8"/>
|
|
</array>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2013">the size to compare</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="memset" c:identifier="gst_buffer_memset">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2061">Fill @buf with @size bytes with @val starting from @offset.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="366"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2070">The amount of bytes filled. This value can be lower than @size
|
|
when @buffer did not contain enough data.</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2063">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2064">the offset in @buffer</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="val" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2065">the value to set</doc>
|
|
<type name="guint8" c:type="guint8"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2066">the size to set</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="n_memory" c:identifier="gst_buffer_n_memory">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1049">Get the amount of memory blocks that this buffer has. This amount is never
|
|
larger than what gst_buffer_get_max_memory() returns.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="306"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1056">the number of memory blocks this buffer is made of.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1051">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="peek_memory" c:identifier="gst_buffer_peek_memory">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1157">Get the memory block at @idx in @buffer. The memory block stays valid until
|
|
the memory block in @buffer is removed, replaced or merged, typically with
|
|
any call that modifies the memory in @buffer.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="315"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1166">the #GstMemory at @idx.</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1159">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="idx" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1160">an index</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="prepend_memory" c:identifier="gst_buffer_prepend_memory">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1066">Prepend the memory block @mem to @buffer. This function takes
|
|
ownership of @mem and thus doesn't increase its refcount.
|
|
|
|
This function is identical to gst_buffer_insert_memory() with an index of 0.
|
|
See gst_buffer_insert_memory() for more details.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="324"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1068">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="mem" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1069">a #GstMemory.</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="ref" c:identifier="gst_buffer_ref" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="414">Increases the refcount of the given buffer by one.
|
|
|
|
Note that the refcount affects the writability
|
|
of @buf and its metadata, see gst_buffer_is_writable().
|
|
It is important to note that keeping additional references to
|
|
GstBuffer instances can potentially increase the number
|
|
of memcpy operations in a pipeline.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="428"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="426">@buf</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buf" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="416">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_all_memory"
|
|
c:identifier="gst_buffer_remove_all_memory">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1316">Remove all the memory blocks in @buffer.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="345"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1318">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_memory" c:identifier="gst_buffer_remove_memory">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1303">Remove the memory block in @b at index @i.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="342"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1305">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="idx" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1306">an index</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_memory_range"
|
|
c:identifier="gst_buffer_remove_memory_range">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1329">Remove @length memory blocks in @buffer starting from @idx.
|
|
|
|
@length can be -1, in which case all memory starting from @idx is removed.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="321"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1331">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="idx" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1332">an index</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="length" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1333">a length</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_meta" c:identifier="gst_buffer_remove_meta">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2335">Remove the metadata for @meta on @buffer.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="653"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2342">%TRUE if the metadata existed and was removed, %FALSE if no such
|
|
metadata was on @buffer.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2337">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="meta" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2338">a #GstMeta</doc>
|
|
<type name="Meta" c:type="GstMeta*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="replace_all_memory"
|
|
c:identifier="gst_buffer_replace_all_memory">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1255">Replaces all memory in @buffer with @mem.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="333"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1257">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="mem" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1258">a #GstMemory</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="replace_memory" c:identifier="gst_buffer_replace_memory">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1241">Replaces the memory block at index @idx in @buffer with @mem.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="330"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1243">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="idx" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1244">an index</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="mem" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1245">a #GstMemory</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="replace_memory_range"
|
|
c:identifier="gst_buffer_replace_memory_range">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1268">Replaces @length memory blocks in @buffer starting at @idx with @mem.
|
|
|
|
If @length is -1, all memory starting from @idx will be removed and
|
|
replaced with @mem.
|
|
|
|
@buffer should be writable.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="312"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1270">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="idx" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1271">an index</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="length" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1272">a length should not be 0</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="mem" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1273">a #GstMemory</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="resize" c:identifier="gst_buffer_resize">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1621">Set the offset and total size of the memory blocks in @buffer.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="381"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1623">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1624">the offset adjustment</doc>
|
|
<type name="gssize" c:type="gssize"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1625">the new size or -1 to just adjust the offset</doc>
|
|
<type name="gssize" c:type="gssize"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="resize_range" c:identifier="gst_buffer_resize_range">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1648">Set the total size of the @length memory blocks starting at @idx in
|
|
@buffer</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="372"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1659">%TRUE if resizing succeeded, %FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1650">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="idx" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1651">an index</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="length" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1652">a length</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1653">the offset adjustment</doc>
|
|
<type name="gssize" c:type="gssize"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1654">the new size or -1 to just adjust the offset</doc>
|
|
<type name="gssize" c:type="gssize"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_flags"
|
|
c:identifier="gst_buffer_set_flags"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="386">Sets one or more buffer flags on a buffer.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="406"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="393">%TRUE if @flags were successfully set on buffer.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="388">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="389">the #GstBufferFlags to set.</doc>
|
|
<type name="BufferFlags" c:type="GstBufferFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_size" c:identifier="gst_buffer_set_size">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1635">Set the total size of the memory blocks in @buffer.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="384"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1637">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1638">the new size</doc>
|
|
<type name="gssize" c:type="gssize"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unmap" c:identifier="gst_buffer_unmap">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1884">Release the memory previously mapped with gst_buffer_map().</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="393"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1886">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="info" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="1887">a #GstMapInfo</doc>
|
|
<type name="MapInfo" c:type="GstMapInfo*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unref" c:identifier="gst_buffer_unref" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="435">Decreases the refcount of the buffer. If the refcount reaches 0, the buffer
|
|
with the associated metadata and memory will be freed.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="442"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buf" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="437">a #GstBuffer.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unset_flags"
|
|
c:identifier="gst_buffer_unset_flags"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="404">Clears one or more buffer flags.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="409"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="411">true if @flags is successfully cleared from buffer.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="406">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="407">the #GstBufferFlags to clear</doc>
|
|
<type name="BufferFlags" c:type="GstBufferFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<function name="get_max_memory"
|
|
c:identifier="gst_buffer_get_max_memory"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="500">Get the maximum amount of memory blocks that a buffer can hold. This is a
|
|
compile time constant that can be queried with the function.
|
|
|
|
When more memory blocks are added, existing memory blocks will be merged
|
|
together to make room for the new block.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="284"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="509">the maximum amount of memory blocks that a buffer can hold.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="replace"
|
|
c:identifier="gst_buffer_replace"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="582">Modifies a pointer to a #GstBuffer to point to a different #GstBuffer. The
|
|
modification is done atomically (so this is useful for ensuring thread safety
|
|
in some cases), and the reference counts are updated appropriately (the old
|
|
buffer is unreffed, the new is reffed).
|
|
|
|
Either @nbuf or the #GstBuffer pointed to by @obuf may be %NULL.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="598"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="596">%TRUE when @obuf was different from @nbuf.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="obuf"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="584">pointer to a pointer to
|
|
a #GstBuffer to be replaced.</doc>
|
|
<type name="Buffer" c:type="GstBuffer**"/>
|
|
</parameter>
|
|
<parameter name="nbuf"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="586">pointer to a #GstBuffer that will
|
|
replace the buffer pointed to by @obuf.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</record>
|
|
<bitfield name="BufferCopyFlags"
|
|
glib:type-name="GstBufferCopyFlags"
|
|
glib:get-type="gst_buffer_copy_flags_get_type"
|
|
c:type="GstBufferCopyFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="491">A set of flags that can be provided to the gst_buffer_copy_into()
|
|
function to specify which items should be copied.</doc>
|
|
<member name="none"
|
|
value="0"
|
|
c:identifier="GST_BUFFER_COPY_NONE"
|
|
glib:nick="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="493">copy nothing</doc>
|
|
</member>
|
|
<member name="flags"
|
|
value="1"
|
|
c:identifier="GST_BUFFER_COPY_FLAGS"
|
|
glib:nick="flags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="494">flag indicating that buffer flags should be copied</doc>
|
|
</member>
|
|
<member name="timestamps"
|
|
value="2"
|
|
c:identifier="GST_BUFFER_COPY_TIMESTAMPS"
|
|
glib:nick="timestamps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="495">flag indicating that buffer pts, dts,
|
|
duration, offset and offset_end should be copied</doc>
|
|
</member>
|
|
<member name="meta"
|
|
value="4"
|
|
c:identifier="GST_BUFFER_COPY_META"
|
|
glib:nick="meta">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="503">flag indicating that buffer meta should be
|
|
copied</doc>
|
|
</member>
|
|
<member name="memory"
|
|
value="8"
|
|
c:identifier="GST_BUFFER_COPY_MEMORY"
|
|
glib:nick="memory">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="497">flag indicating that buffer memory should be reffed
|
|
and appended to already existing memory. Unless the memory is marked as
|
|
NO_SHARE, no actual copy of the memory is made but it is simply reffed.
|
|
Add @GST_BUFFER_COPY_DEEP to force a real copy.</doc>
|
|
</member>
|
|
<member name="merge"
|
|
value="16"
|
|
c:identifier="GST_BUFFER_COPY_MERGE"
|
|
glib:nick="merge">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="501">flag indicating that buffer memory should be
|
|
merged</doc>
|
|
</member>
|
|
<member name="deep"
|
|
value="32"
|
|
c:identifier="GST_BUFFER_COPY_DEEP"
|
|
glib:nick="deep">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="505">flag indicating that memory should always be
|
|
copied instead of reffed (Since: 1.2)</doc>
|
|
</member>
|
|
</bitfield>
|
|
<bitfield name="BufferFlags"
|
|
glib:type-name="GstBufferFlags"
|
|
glib:get-type="gst_buffer_flags_get_type"
|
|
c:type="GstBufferFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="182">A set of buffer flags used to describe properties of a #GstBuffer.</doc>
|
|
<member name="live"
|
|
value="16"
|
|
c:identifier="GST_BUFFER_FLAG_LIVE"
|
|
glib:nick="live">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="184">the buffer is live data and should be discarded in
|
|
the PAUSED state.</doc>
|
|
</member>
|
|
<member name="decode_only"
|
|
value="32"
|
|
c:identifier="GST_BUFFER_FLAG_DECODE_ONLY"
|
|
glib:nick="decode-only">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="186">the buffer contains data that should be dropped
|
|
because it will be clipped against the segment
|
|
boundaries or because it does not contain data
|
|
that should be shown to the user.</doc>
|
|
</member>
|
|
<member name="discont"
|
|
value="64"
|
|
c:identifier="GST_BUFFER_FLAG_DISCONT"
|
|
glib:nick="discont">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="190">the buffer marks a data discontinuity in the stream.
|
|
This typically occurs after a seek or a dropped buffer
|
|
from a live or network source.</doc>
|
|
</member>
|
|
<member name="resync"
|
|
value="128"
|
|
c:identifier="GST_BUFFER_FLAG_RESYNC"
|
|
glib:nick="resync">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="193">the buffer timestamps might have a discontinuity
|
|
and this buffer is a good point to resynchronize.</doc>
|
|
</member>
|
|
<member name="corrupted"
|
|
value="256"
|
|
c:identifier="GST_BUFFER_FLAG_CORRUPTED"
|
|
glib:nick="corrupted">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="195">the buffer data is corrupted.</doc>
|
|
</member>
|
|
<member name="marker"
|
|
value="512"
|
|
c:identifier="GST_BUFFER_FLAG_MARKER"
|
|
glib:nick="marker">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="196">the buffer contains a media specific marker. for
|
|
video this is the end of a frame boundary, for audio
|
|
this is the start of a talkspurt.</doc>
|
|
</member>
|
|
<member name="header"
|
|
value="1024"
|
|
c:identifier="GST_BUFFER_FLAG_HEADER"
|
|
glib:nick="header">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="199">the buffer contains header information that is
|
|
needed to decode the following data.</doc>
|
|
</member>
|
|
<member name="gap"
|
|
value="2048"
|
|
c:identifier="GST_BUFFER_FLAG_GAP"
|
|
glib:nick="gap">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="201">the buffer has been created to fill a gap in the
|
|
stream and contains media neutral data (elements can
|
|
switch to optimized code path that ignores the buffer
|
|
content).</doc>
|
|
</member>
|
|
<member name="droppable"
|
|
value="4096"
|
|
c:identifier="GST_BUFFER_FLAG_DROPPABLE"
|
|
glib:nick="droppable">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="205">the buffer can be dropped without breaking the
|
|
stream, for example to reduce bandwidth.</doc>
|
|
</member>
|
|
<member name="delta_unit"
|
|
value="8192"
|
|
c:identifier="GST_BUFFER_FLAG_DELTA_UNIT"
|
|
glib:nick="delta-unit">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="207">this unit cannot be decoded independently.</doc>
|
|
</member>
|
|
<member name="tag_memory"
|
|
value="16384"
|
|
c:identifier="GST_BUFFER_FLAG_TAG_MEMORY"
|
|
glib:nick="tag-memory">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="208">this flag is set when memory of the buffer
|
|
is added/removed</doc>
|
|
</member>
|
|
<member name="sync_after"
|
|
value="32768"
|
|
c:identifier="GST_BUFFER_FLAG_SYNC_AFTER"
|
|
glib:nick="sync-after">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="210">Elements which write to disk or permanent
|
|
storage should ensure the data is synced after
|
|
writing the contents of this buffer. (Since: 1.6)</doc>
|
|
</member>
|
|
<member name="non_droppable"
|
|
value="65536"
|
|
c:identifier="GST_BUFFER_FLAG_NON_DROPPABLE"
|
|
glib:nick="non-droppable">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="213">This buffer is important and should not be dropped.
|
|
This can be used to mark important buffers, e.g. to flag
|
|
RTP packets carrying keyframes or codec setup data for RTP
|
|
Forward Error Correction purposes, or to prevent still video
|
|
frames from being dropped by elements due to QoS. (Since: 1.14)</doc>
|
|
</member>
|
|
<member name="last"
|
|
value="1048576"
|
|
c:identifier="GST_BUFFER_FLAG_LAST"
|
|
glib:nick="last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="218">additional media specific flags can be added starting from
|
|
this flag.</doc>
|
|
</member>
|
|
</bitfield>
|
|
<callback name="BufferForeachMetaFunc" c:type="GstBufferForeachMetaFunc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="622">A function that will be called from gst_buffer_foreach_meta(). The @meta
|
|
field will point to a the reference of the meta.
|
|
|
|
@buffer should not be modified from this callback.
|
|
|
|
When this function returns %TRUE, the next meta will be
|
|
returned. When %FALSE is returned, gst_buffer_foreach_meta() will return.
|
|
|
|
When @meta is set to %NULL, the item will be removed from the buffer.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="640"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="638">%FALSE when gst_buffer_foreach_meta() should stop</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="624">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
<parameter name="meta"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="625">a pointer to a #GstMeta</doc>
|
|
<type name="Meta" c:type="GstMeta**"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="626">user data passed to gst_buffer_foreach_meta()</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<record name="BufferList"
|
|
c:type="GstBufferList"
|
|
glib:type-name="GstBufferList"
|
|
glib:get-type="gst_buffer_list_get_type"
|
|
c:symbol-prefix="buffer_list">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="24">Buffer lists are an object containing a list of buffers.
|
|
|
|
Buffer lists are created with gst_buffer_list_new() and filled with data
|
|
using a gst_buffer_list_insert().
|
|
|
|
Buffer lists can be pushed on a srcpad with gst_pad_push_list(). This is
|
|
interesting when multiple buffers need to be pushed in one go because it
|
|
can reduce the amount of overhead for pushing each buffer individually.</doc>
|
|
<source-position filename="gst/gstbufferlist.h" line="37"/>
|
|
<constructor name="new" c:identifier="gst_buffer_list_new">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="181">Creates a new, empty #GstBufferList. The caller is responsible for unreffing
|
|
the returned #GstBufferList.
|
|
|
|
Free-function: gst_buffer_list_unref</doc>
|
|
<source-position filename="gst/gstbufferlist.h" line="209"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="189">the new #GstBufferList. gst_buffer_list_unref()
|
|
after usage.</doc>
|
|
<type name="BufferList" c:type="GstBufferList*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<constructor name="new_sized" c:identifier="gst_buffer_list_new_sized">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="145">Creates a new, empty #GstBufferList. The caller is responsible for unreffing
|
|
the returned #GstBufferList. The list will have @size space preallocated so
|
|
that memory reallocations can be avoided.
|
|
|
|
Free-function: gst_buffer_list_unref</doc>
|
|
<source-position filename="gst/gstbufferlist.h" line="212"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="155">the new #GstBufferList. gst_buffer_list_unref()
|
|
after usage.</doc>
|
|
<type name="BufferList" c:type="GstBufferList*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="147">an initial reserved size</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<method name="calculate_size"
|
|
c:identifier="gst_buffer_list_calculate_size"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="528">Calculates the size of the data contained in buffer list by adding the
|
|
size of all buffers.</doc>
|
|
<source-position filename="gst/gstbufferlist.h" line="237"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="535">the size of the data contained in buffer list in bytes.</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="530">a #GstBufferList</doc>
|
|
<type name="BufferList" c:type="GstBufferList*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="copy"
|
|
c:identifier="gst_buffer_list_copy"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.h"
|
|
line="118">Create a shallow copy of the given buffer list. This will make a newly
|
|
allocated copy of the source list with copies of buffer pointers. The
|
|
refcount of buffers pointed to will be increased by one.</doc>
|
|
<source-position filename="gst/gstbufferlist.h" line="128"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.h"
|
|
line="126">a new copy of @list.</doc>
|
|
<type name="BufferList" c:type="GstBufferList*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.h"
|
|
line="120">a #GstBufferList</doc>
|
|
<type name="BufferList" c:type="const GstBufferList*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="copy_deep"
|
|
c:identifier="gst_buffer_list_copy_deep"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="489">Create a copy of the given buffer list. This will make a newly allocated
|
|
copy of the buffer that the source buffer list contains.</doc>
|
|
<source-position filename="gst/gstbufferlist.h" line="234"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="496">a new copy of @list.</doc>
|
|
<type name="BufferList" c:type="GstBufferList*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="491">a #GstBufferList</doc>
|
|
<type name="BufferList" c:type="const GstBufferList*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="foreach" c:identifier="gst_buffer_list_foreach">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="236">Call @func with @data for each buffer in @list.
|
|
|
|
@func can modify the passed buffer pointer or its contents. The return value
|
|
of @func define if this function returns or if the remaining buffers in
|
|
the list should be skipped.</doc>
|
|
<source-position filename="gst/gstbufferlist.h" line="230"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="248">%TRUE when @func returned %TRUE for each buffer in @list or when
|
|
@list is empty.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="238">a #GstBufferList</doc>
|
|
<type name="BufferList" c:type="GstBufferList*"/>
|
|
</instance-parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="call"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="239">a #GstBufferListFunc to call</doc>
|
|
<type name="BufferListFunc" c:type="GstBufferListFunc"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="240">user data passed to @func</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get" c:identifier="gst_buffer_list_get">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="338">Get the buffer at @idx.
|
|
|
|
You must make sure that @idx does not exceed the number of
|
|
buffers available.</doc>
|
|
<source-position filename="gst/gstbufferlist.h" line="218"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="348">the buffer at @idx in @group
|
|
or %NULL when there is no buffer. The buffer remains valid as
|
|
long as @list is valid and buffer is not removed from the list.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="340">a #GstBufferList</doc>
|
|
<type name="BufferList" c:type="GstBufferList*"/>
|
|
</instance-parameter>
|
|
<parameter name="idx" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="341">the index</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_writable"
|
|
c:identifier="gst_buffer_list_get_writable"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="361">Gets the buffer at @idx, ensuring it is a writable buffer.
|
|
|
|
You must make sure that @idx does not exceed the number of
|
|
buffers available.</doc>
|
|
<source-position filename="gst/gstbufferlist.h" line="221"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="371">the buffer at @idx in @group.
|
|
The returned buffer remains valid as long as @list is valid and
|
|
the buffer is not removed from the list.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="363">a (writable) #GstBufferList</doc>
|
|
<type name="BufferList" c:type="GstBufferList*"/>
|
|
</instance-parameter>
|
|
<parameter name="idx" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="364">the index</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="insert" c:identifier="gst_buffer_list_insert">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="409">Insert @buffer at @idx in @list. Other buffers are moved to make room for
|
|
this new buffer.
|
|
|
|
A -1 value for @idx will append the buffer at the end.</doc>
|
|
<source-position filename="gst/gstbufferlist.h" line="224"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="411">a #GstBufferList</doc>
|
|
<type name="BufferList" c:type="GstBufferList*"/>
|
|
</instance-parameter>
|
|
<parameter name="idx" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="412">the index</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="buffer" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="413">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="length" c:identifier="gst_buffer_list_length">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="198">Returns the number of buffers in @list.</doc>
|
|
<source-position filename="gst/gstbufferlist.h" line="215"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="204">the number of buffers in the buffer list</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="200">a #GstBufferList</doc>
|
|
<type name="BufferList" c:type="GstBufferList*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="ref" c:identifier="gst_buffer_list_ref" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.h"
|
|
line="63">Increases the refcount of the given buffer list by one.
|
|
|
|
Note that the refcount affects the writability of @list and its data, see
|
|
gst_buffer_list_make_writable(). It is important to note that keeping
|
|
additional references to GstBufferList instances can potentially increase
|
|
the number of memcpy operations in a pipeline.</doc>
|
|
<source-position filename="gst/gstbufferlist.h" line="76"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.h"
|
|
line="74">@list</doc>
|
|
<type name="BufferList" c:type="GstBufferList*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.h"
|
|
line="65">a #GstBufferList</doc>
|
|
<type name="BufferList" c:type="GstBufferList*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove" c:identifier="gst_buffer_list_remove">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="469">Remove @length buffers starting from @idx in @list. The following buffers
|
|
are moved to close the gap.</doc>
|
|
<source-position filename="gst/gstbufferlist.h" line="227"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="471">a #GstBufferList</doc>
|
|
<type name="BufferList" c:type="GstBufferList*"/>
|
|
</instance-parameter>
|
|
<parameter name="idx" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="472">the index</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="length" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="473">the amount to remove</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unref"
|
|
c:identifier="gst_buffer_list_unref"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.h"
|
|
line="84">Decreases the refcount of the buffer list. If the refcount reaches 0, the
|
|
buffer list will be freed.</doc>
|
|
<source-position filename="gst/gstbufferlist.h" line="91"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.h"
|
|
line="86">a #GstBufferList</doc>
|
|
<type name="BufferList" c:type="GstBufferList*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<callback name="BufferListFunc" c:type="GstBufferListFunc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.h"
|
|
line="39">A function that will be called from gst_buffer_list_foreach(). The @buffer
|
|
field will point to a the reference of the buffer at @idx.
|
|
|
|
When this function returns %TRUE, the next buffer will be
|
|
returned. When %FALSE is returned, gst_buffer_list_foreach() will return.
|
|
|
|
When @buffer is set to %NULL, the item will be removed from the bufferlist.
|
|
When @buffer has been made writable, the new buffer reference can be assigned
|
|
to @buffer. This function is responsible for unreffing the old buffer when
|
|
removing or modifying.</doc>
|
|
<source-position filename="gst/gstbufferlist.h" line="58"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.h"
|
|
line="56">%FALSE when gst_buffer_list_foreach() should stop</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="buffer"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.h"
|
|
line="41">pointer the buffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer**"/>
|
|
</parameter>
|
|
<parameter name="idx" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.h"
|
|
line="42">the index of @buffer</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.h"
|
|
line="43">user data passed to gst_buffer_list_foreach()</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<class name="BufferPool"
|
|
c:symbol-prefix="buffer_pool"
|
|
c:type="GstBufferPool"
|
|
parent="Object"
|
|
glib:type-name="GstBufferPool"
|
|
glib:get-type="gst_buffer_pool_get_type"
|
|
glib:type-struct="BufferPoolClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="22">A #GstBufferPool is an object that can be used to pre-allocate and recycle
|
|
buffers of the same size and with the same properties.
|
|
|
|
A #GstBufferPool is created with gst_buffer_pool_new().
|
|
|
|
Once a pool is created, it needs to be configured. A call to
|
|
gst_buffer_pool_get_config() returns the current configuration structure from
|
|
the pool. With gst_buffer_pool_config_set_params() and
|
|
gst_buffer_pool_config_set_allocator() the bufferpool parameters and
|
|
allocator can be configured. Other properties can be configured in the pool
|
|
depending on the pool implementation.
|
|
|
|
A bufferpool can have extra options that can be enabled with
|
|
gst_buffer_pool_config_add_option(). The available options can be retrieved
|
|
with gst_buffer_pool_get_options(). Some options allow for additional
|
|
configuration properties to be set.
|
|
|
|
After the configuration structure has been configured,
|
|
gst_buffer_pool_set_config() updates the configuration in the pool. This can
|
|
fail when the configuration structure is not accepted.
|
|
|
|
After the a pool has been configured, it can be activated with
|
|
gst_buffer_pool_set_active(). This will preallocate the configured resources
|
|
in the pool.
|
|
|
|
When the pool is active, gst_buffer_pool_acquire_buffer() can be used to
|
|
retrieve a buffer from the pool.
|
|
|
|
Buffers allocated from a bufferpool will automatically be returned to the
|
|
pool with gst_buffer_pool_release_buffer() when their refcount drops to 0.
|
|
|
|
The bufferpool can be deactivated again with gst_buffer_pool_set_active().
|
|
All further gst_buffer_pool_acquire_buffer() calls will return an error. When
|
|
all buffers are returned to the pool they will be freed.
|
|
|
|
Use gst_object_unref() to release the reference to a bufferpool. If the
|
|
refcount of the pool reaches 0, the pool will be freed.</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="176"/>
|
|
<constructor name="new" c:identifier="gst_buffer_pool_new">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="205">Creates a new #GstBufferPool instance.</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="184"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="210">a new #GstBufferPool instance</doc>
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<function name="config_add_option"
|
|
c:identifier="gst_buffer_pool_config_add_option">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="873">Enabled the option in @config. This will instruct the @bufferpool to enable
|
|
the specified option on the buffers that it allocates.
|
|
|
|
The supported options by @pool can be retrieved with gst_buffer_pool_get_options().</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="233"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="config" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="875">a #GstBufferPool configuration</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
<parameter name="option" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="876">an option to add</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="config_get_allocator"
|
|
c:identifier="gst_buffer_pool_config_get_allocator">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1024">Get the @allocator and @params from @config.</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="224"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1032">%TRUE, if the values are set.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="config" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1026">a #GstBufferPool configuration</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
<parameter name="allocator"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1027">a #GstAllocator, or %NULL</doc>
|
|
<type name="Allocator" c:type="GstAllocator**"/>
|
|
</parameter>
|
|
<parameter name="params"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1028">#GstAllocationParams, or %NULL</doc>
|
|
<type name="AllocationParams" c:type="GstAllocationParams*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="config_get_option"
|
|
c:identifier="gst_buffer_pool_config_get_option">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="937">Parse an available @config and get the option at @index of the options API
|
|
array.</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="236"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="945">a #gchar of the option at @index.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="config" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="939">a #GstBufferPool configuration</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="940">position in the option array to read</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="config_get_params"
|
|
c:identifier="gst_buffer_pool_config_get_params">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="996">Get the configuration values from @config.</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="216"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1006">%TRUE if all parameters could be fetched.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="config" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="998">a #GstBufferPool configuration</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
<parameter name="caps"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="999">the caps of buffers</doc>
|
|
<type name="Caps" c:type="GstCaps**"/>
|
|
</parameter>
|
|
<parameter name="size"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1000">the size of each buffer, not including prefix and padding</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
<parameter name="min_buffers"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1001">the minimum amount of buffers to allocate.</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
<parameter name="max_buffers"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1002">the maximum amount of buffers to allocate or 0 for unlimited.</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="config_has_option"
|
|
c:identifier="gst_buffer_pool_config_has_option">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="966">Check if @config contains @option.</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="239"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="973">%TRUE if the options array contains @option.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="config" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="968">a #GstBufferPool configuration</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
<parameter name="option" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="969">an option</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="config_n_options"
|
|
c:identifier="gst_buffer_pool_config_n_options">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="913">Retrieve the number of values currently stored in the options array of the
|
|
@config structure.</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="230"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="920">the options array size as a #guint.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="config" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="915">a #GstBufferPool configuration</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="config_set_allocator"
|
|
c:identifier="gst_buffer_pool_config_set_allocator">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="842">Set the @allocator and @params on @config.
|
|
|
|
One of @allocator and @params can be %NULL, but not both. When @allocator
|
|
is %NULL, the default allocator of the pool will use the values in @param
|
|
to perform its allocation. When @param is %NULL, the pool will use the
|
|
provided @allocator with its default #GstAllocationParams.
|
|
|
|
A call to gst_buffer_pool_set_config() can update the allocator and params
|
|
with the values that it is able to do. Some pools are, for example, not able
|
|
to operate with different allocators or cannot allocate with the values
|
|
specified in @params. Use gst_buffer_pool_get_config() to get the currently
|
|
used values.</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="220"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="config" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="844">a #GstBufferPool configuration</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
<parameter name="allocator"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="845">a #GstAllocator</doc>
|
|
<type name="Allocator" c:type="GstAllocator*"/>
|
|
</parameter>
|
|
<parameter name="params"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="846">#GstAllocationParams</doc>
|
|
<type name="AllocationParams" c:type="const GstAllocationParams*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="config_set_params"
|
|
c:identifier="gst_buffer_pool_config_set_params">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="817">Configure @config with the given parameters.</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="212"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="config" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="819">a #GstBufferPool configuration</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
<parameter name="caps"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="820">caps for the buffers</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="821">the size of each buffer, not including prefix and padding</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="min_buffers" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="822">the minimum amount of buffers to allocate.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="max_buffers" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="823">the maximum amount of buffers to allocate or 0 for unlimited.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="config_validate_params"
|
|
c:identifier="gst_buffer_pool_config_validate_params"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1057">Validate that changes made to @config are still valid in the context of the
|
|
expected parameters. This function is a helper that can be used to validate
|
|
changes made by a pool to a config when gst_buffer_pool_set_config()
|
|
returns %FALSE. This expects that @caps haven't changed and that
|
|
@min_buffers aren't lower then what we initially expected.
|
|
This does not check if options or allocator parameters are still valid,
|
|
won't check if size have changed, since changing the size is valid to adapt
|
|
padding.</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="242"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1076">%TRUE, if the parameters are valid in this context.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="config" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1059">a #GstBufferPool configuration</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
<parameter name="caps"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1060">the excepted caps of buffers</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1061">the expected size of each buffer, not including prefix and padding</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="min_buffers" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1062">the expected minimum amount of buffers to allocate.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="max_buffers" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1063">the expect maximum amount of buffers to allocate or 0 for unlimited.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<virtual-method name="acquire_buffer" invoker="acquire_buffer">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1247">Acquire a buffer from @pool. @buffer should point to a memory location that
|
|
can hold a pointer to the new buffer.
|
|
|
|
@params can be %NULL or contain optional parameters to influence the
|
|
allocation.</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="164"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1259">a #GstFlowReturn such as %GST_FLOW_FLUSHING when the pool is
|
|
inactive.</doc>
|
|
<type name="FlowReturn" c:type="GstFlowReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1249">a #GstBufferPool</doc>
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</instance-parameter>
|
|
<parameter name="buffer"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1250">a location for a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer**"/>
|
|
</parameter>
|
|
<parameter name="params"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1251">parameters.</doc>
|
|
<type name="BufferPoolAcquireParams"
|
|
c:type="GstBufferPoolAcquireParams*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="alloc_buffer">
|
|
<source-position filename="gst/gstbufferpool.h" line="166"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="FlowReturn" c:type="GstFlowReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</instance-parameter>
|
|
<parameter name="buffer" transfer-ownership="none">
|
|
<type name="Buffer" c:type="GstBuffer**"/>
|
|
</parameter>
|
|
<parameter name="params" transfer-ownership="none">
|
|
<type name="BufferPoolAcquireParams"
|
|
c:type="GstBufferPoolAcquireParams*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="flush_start">
|
|
<source-position filename="gst/gstbufferpool.h" line="171"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="flush_stop">
|
|
<source-position filename="gst/gstbufferpool.h" line="172"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="free_buffer">
|
|
<source-position filename="gst/gstbufferpool.h" line="170"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</instance-parameter>
|
|
<parameter name="buffer" transfer-ownership="none">
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="get_options" invoker="get_options">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="753">Get a %NULL terminated array of string with supported bufferpool options for
|
|
@pool. An option would typically be enabled with
|
|
gst_buffer_pool_config_add_option().</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="158"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="761">a %NULL terminated array
|
|
of strings.</doc>
|
|
<array c:type="const gchar**">
|
|
<type name="utf8"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="755">a #GstBufferPool</doc>
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="release_buffer" invoker="release_buffer">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1346">Release @buffer to @pool. @buffer should have previously been allocated from
|
|
@pool with gst_buffer_pool_acquire_buffer().
|
|
|
|
This function is usually called automatically when the last ref on @buffer
|
|
disappears.</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="169"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1348">a #GstBufferPool</doc>
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</instance-parameter>
|
|
<parameter name="buffer" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1349">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="reset_buffer">
|
|
<source-position filename="gst/gstbufferpool.h" line="168"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</instance-parameter>
|
|
<parameter name="buffer" transfer-ownership="none">
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="set_config" invoker="set_config">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="631">Set the configuration of the pool. If the pool is already configured, and
|
|
the configuration haven't change, this function will return %TRUE. If the
|
|
pool is active, this method will return %FALSE and active configuration
|
|
will remain. Buffers allocated form this pool must be returned or else this
|
|
function will do nothing and return %FALSE.
|
|
|
|
@config is a #GstStructure that contains the configuration parameters for
|
|
the pool. A default and mandatory set of parameters can be configured with
|
|
gst_buffer_pool_config_set_params(), gst_buffer_pool_config_set_allocator()
|
|
and gst_buffer_pool_config_add_option().
|
|
|
|
If the parameters in @config can not be set exactly, this function returns
|
|
%FALSE and will try to update as much state as possible. The new state can
|
|
then be retrieved and refined with gst_buffer_pool_get_config().
|
|
|
|
This function takes ownership of @config.</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="159"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="653">%TRUE when the configuration could be set.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="633">a #GstBufferPool</doc>
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</instance-parameter>
|
|
<parameter name="config" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="634">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="start">
|
|
<source-position filename="gst/gstbufferpool.h" line="161"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="stop">
|
|
<source-position filename="gst/gstbufferpool.h" line="162"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="acquire_buffer"
|
|
c:identifier="gst_buffer_pool_acquire_buffer">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1247">Acquire a buffer from @pool. @buffer should point to a memory location that
|
|
can hold a pointer to the new buffer.
|
|
|
|
@params can be %NULL or contain optional parameters to influence the
|
|
allocation.</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="248"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1259">a #GstFlowReturn such as %GST_FLOW_FLUSHING when the pool is
|
|
inactive.</doc>
|
|
<type name="FlowReturn" c:type="GstFlowReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1249">a #GstBufferPool</doc>
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</instance-parameter>
|
|
<parameter name="buffer"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1250">a location for a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer**"/>
|
|
</parameter>
|
|
<parameter name="params"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1251">parameters.</doc>
|
|
<type name="BufferPoolAcquireParams"
|
|
c:type="GstBufferPoolAcquireParams*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_config" c:identifier="gst_buffer_pool_get_config">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="726">Get a copy of the current configuration of the pool. This configuration
|
|
can either be modified and used for the gst_buffer_pool_set_config() call
|
|
or it must be freed after usage.</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="198"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="734">a copy of the current configuration of @pool. use
|
|
gst_structure_free() after usage or gst_buffer_pool_set_config().</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="728">a #GstBufferPool</doc>
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_options" c:identifier="gst_buffer_pool_get_options">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="753">Get a %NULL terminated array of string with supported bufferpool options for
|
|
@pool. An option would typically be enabled with
|
|
gst_buffer_pool_config_add_option().</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="201"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="761">a %NULL terminated array
|
|
of strings.</doc>
|
|
<array c:type="const gchar**">
|
|
<type name="utf8"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="755">a #GstBufferPool</doc>
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_option" c:identifier="gst_buffer_pool_has_option">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="790">Check if the bufferpool supports @option.</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="204"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="797">%TRUE if the buffer pool contains @option.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="792">a #GstBufferPool</doc>
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</instance-parameter>
|
|
<parameter name="option" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="793">an option</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_active" c:identifier="gst_buffer_pool_is_active">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="571">Check if @pool is active. A pool can be activated with the
|
|
gst_buffer_pool_set_active() call.</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="192"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="578">%TRUE when the pool is active.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="573">a #GstBufferPool</doc>
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="release_buffer"
|
|
c:identifier="gst_buffer_pool_release_buffer">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1346">Release @buffer to @pool. @buffer should have previously been allocated from
|
|
@pool with gst_buffer_pool_acquire_buffer().
|
|
|
|
This function is usually called automatically when the last ref on @buffer
|
|
disappears.</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="252"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1348">a #GstBufferPool</doc>
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</instance-parameter>
|
|
<parameter name="buffer" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1349">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_active" c:identifier="gst_buffer_pool_set_active">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="475">Control the active state of @pool. When the pool is inactive, new calls to
|
|
gst_buffer_pool_acquire_buffer() will return with %GST_FLOW_FLUSHING.
|
|
|
|
Activating the bufferpool will preallocate all resources in the pool based on
|
|
the configuration of the pool.
|
|
|
|
Deactivating will free the resources again when there are no outstanding
|
|
buffers. When there are outstanding buffers, they will be freed as soon as
|
|
they are all returned to the pool.</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="189"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="490">%FALSE when the pool was not configured or when preallocation of the
|
|
buffers failed.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="477">a #GstBufferPool</doc>
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</instance-parameter>
|
|
<parameter name="active" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="478">the new active state</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_config" c:identifier="gst_buffer_pool_set_config">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="631">Set the configuration of the pool. If the pool is already configured, and
|
|
the configuration haven't change, this function will return %TRUE. If the
|
|
pool is active, this method will return %FALSE and active configuration
|
|
will remain. Buffers allocated form this pool must be returned or else this
|
|
function will do nothing and return %FALSE.
|
|
|
|
@config is a #GstStructure that contains the configuration parameters for
|
|
the pool. A default and mandatory set of parameters can be configured with
|
|
gst_buffer_pool_config_set_params(), gst_buffer_pool_config_set_allocator()
|
|
and gst_buffer_pool_config_add_option().
|
|
|
|
If the parameters in @config can not be set exactly, this function returns
|
|
%FALSE and will try to update as much state as possible. The new state can
|
|
then be retrieved and refined with gst_buffer_pool_get_config().
|
|
|
|
This function takes ownership of @config.</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="195"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="653">%TRUE when the configuration could be set.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="633">a #GstBufferPool</doc>
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</instance-parameter>
|
|
<parameter name="config" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="634">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_flushing"
|
|
c:identifier="gst_buffer_pool_set_flushing"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1385">Enable or disable the flushing state of a @pool without freeing or
|
|
allocating buffers.</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="207"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1387">a #GstBufferPool</doc>
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</instance-parameter>
|
|
<parameter name="flushing" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1388">whether to start or stop flushing</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<field name="object">
|
|
<type name="Object" c:type="GstObject"/>
|
|
</field>
|
|
<field name="flushing">
|
|
<type name="gint" c:type="gint"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="BufferPoolPrivate" c:type="GstBufferPoolPrivate*"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<bitfield name="BufferPoolAcquireFlags"
|
|
glib:type-name="GstBufferPoolAcquireFlags"
|
|
glib:get-type="gst_buffer_pool_acquire_flags_get_type"
|
|
c:type="GstBufferPoolAcquireFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.h"
|
|
line="43">Additional flags to control the allocation of a buffer</doc>
|
|
<member name="none"
|
|
value="0"
|
|
c:identifier="GST_BUFFER_POOL_ACQUIRE_FLAG_NONE"
|
|
glib:nick="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.h"
|
|
line="45">no flags</doc>
|
|
</member>
|
|
<member name="key_unit"
|
|
value="1"
|
|
c:identifier="GST_BUFFER_POOL_ACQUIRE_FLAG_KEY_UNIT"
|
|
glib:nick="key-unit">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.h"
|
|
line="46">buffer is keyframe</doc>
|
|
</member>
|
|
<member name="dontwait"
|
|
value="2"
|
|
c:identifier="GST_BUFFER_POOL_ACQUIRE_FLAG_DONTWAIT"
|
|
glib:nick="dontwait">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.h"
|
|
line="47">when the bufferpool is empty, acquire_buffer
|
|
will by default block until a buffer is released into the pool again. Setting
|
|
this flag makes acquire_buffer return #GST_FLOW_EOS instead of blocking.</doc>
|
|
</member>
|
|
<member name="discont"
|
|
value="4"
|
|
c:identifier="GST_BUFFER_POOL_ACQUIRE_FLAG_DISCONT"
|
|
glib:nick="discont">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.h"
|
|
line="50">buffer is discont</doc>
|
|
</member>
|
|
<member name="last"
|
|
value="65536"
|
|
c:identifier="GST_BUFFER_POOL_ACQUIRE_FLAG_LAST"
|
|
glib:nick="last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.h"
|
|
line="51">last flag, subclasses can use private flags
|
|
starting from this value.</doc>
|
|
</member>
|
|
</bitfield>
|
|
<record name="BufferPoolAcquireParams" c:type="GstBufferPoolAcquireParams">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.h"
|
|
line="66">Parameters passed to the gst_buffer_pool_acquire_buffer() function to control the
|
|
allocation of the buffer.
|
|
|
|
The default implementation ignores the @start and @stop members but other
|
|
implementations can use this extra information to decide what buffer to
|
|
return.</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="88"/>
|
|
<field name="format" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.h"
|
|
line="68">the format of @start and @stop</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</field>
|
|
<field name="start" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.h"
|
|
line="69">the start position</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</field>
|
|
<field name="stop" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.h"
|
|
line="70">the stop position</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</field>
|
|
<field name="flags" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.h"
|
|
line="71">additional flags</doc>
|
|
<type name="BufferPoolAcquireFlags"
|
|
c:type="GstBufferPoolAcquireFlags"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="BufferPoolClass"
|
|
c:type="GstBufferPoolClass"
|
|
glib:is-gtype-struct-for="BufferPool">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.h"
|
|
line="117">The GstBufferPool class.</doc>
|
|
<source-position filename="gst/gstbufferpool.h" line="176"/>
|
|
<field name="object_class">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.h"
|
|
line="119">Object parent class</doc>
|
|
<type name="ObjectClass" c:type="GstObjectClass"/>
|
|
</field>
|
|
<field name="get_options">
|
|
<callback name="get_options">
|
|
<source-position filename="gst/gstbufferpool.h" line="158"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="761">a %NULL terminated array
|
|
of strings.</doc>
|
|
<array c:type="const gchar**">
|
|
<type name="utf8"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="755">a #GstBufferPool</doc>
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="set_config">
|
|
<callback name="set_config">
|
|
<source-position filename="gst/gstbufferpool.h" line="159"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="653">%TRUE when the configuration could be set.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="633">a #GstBufferPool</doc>
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</parameter>
|
|
<parameter name="config" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="634">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="start">
|
|
<callback name="start">
|
|
<source-position filename="gst/gstbufferpool.h" line="161"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pool" transfer-ownership="none">
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="stop">
|
|
<callback name="stop">
|
|
<source-position filename="gst/gstbufferpool.h" line="162"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pool" transfer-ownership="none">
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="acquire_buffer">
|
|
<callback name="acquire_buffer">
|
|
<source-position filename="gst/gstbufferpool.h" line="164"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1259">a #GstFlowReturn such as %GST_FLOW_FLUSHING when the pool is
|
|
inactive.</doc>
|
|
<type name="FlowReturn" c:type="GstFlowReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1249">a #GstBufferPool</doc>
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</parameter>
|
|
<parameter name="buffer"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1250">a location for a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer**"/>
|
|
</parameter>
|
|
<parameter name="params"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1251">parameters.</doc>
|
|
<type name="BufferPoolAcquireParams"
|
|
c:type="GstBufferPoolAcquireParams*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="alloc_buffer">
|
|
<callback name="alloc_buffer">
|
|
<source-position filename="gst/gstbufferpool.h" line="166"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="FlowReturn" c:type="GstFlowReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pool" transfer-ownership="none">
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</parameter>
|
|
<parameter name="buffer" transfer-ownership="none">
|
|
<type name="Buffer" c:type="GstBuffer**"/>
|
|
</parameter>
|
|
<parameter name="params" transfer-ownership="none">
|
|
<type name="BufferPoolAcquireParams"
|
|
c:type="GstBufferPoolAcquireParams*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="reset_buffer">
|
|
<callback name="reset_buffer">
|
|
<source-position filename="gst/gstbufferpool.h" line="168"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pool" transfer-ownership="none">
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</parameter>
|
|
<parameter name="buffer" transfer-ownership="none">
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="release_buffer">
|
|
<callback name="release_buffer">
|
|
<source-position filename="gst/gstbufferpool.h" line="169"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1348">a #GstBufferPool</doc>
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</parameter>
|
|
<parameter name="buffer" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferpool.c"
|
|
line="1349">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="free_buffer">
|
|
<callback name="free_buffer">
|
|
<source-position filename="gst/gstbufferpool.h" line="170"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pool" transfer-ownership="none">
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</parameter>
|
|
<parameter name="buffer" transfer-ownership="none">
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="flush_start">
|
|
<callback name="flush_start">
|
|
<source-position filename="gst/gstbufferpool.h" line="171"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pool" transfer-ownership="none">
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="flush_stop">
|
|
<callback name="flush_stop">
|
|
<source-position filename="gst/gstbufferpool.h" line="172"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pool" transfer-ownership="none">
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="2">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="BufferPoolPrivate"
|
|
c:type="GstBufferPoolPrivate"
|
|
disguised="1">
|
|
<source-position filename="gst/gstbufferpool.h" line="32"/>
|
|
</record>
|
|
<enumeration name="BufferingMode"
|
|
glib:type-name="GstBufferingMode"
|
|
glib:get-type="gst_buffering_mode_get_type"
|
|
c:type="GstBufferingMode">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="193">The different types of buffering methods.</doc>
|
|
<member name="stream"
|
|
value="0"
|
|
c:identifier="GST_BUFFERING_STREAM"
|
|
glib:nick="stream">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="195">a small amount of data is buffered</doc>
|
|
</member>
|
|
<member name="download"
|
|
value="1"
|
|
c:identifier="GST_BUFFERING_DOWNLOAD"
|
|
glib:nick="download">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="196">the stream is being downloaded</doc>
|
|
</member>
|
|
<member name="timeshift"
|
|
value="2"
|
|
c:identifier="GST_BUFFERING_TIMESHIFT"
|
|
glib:nick="timeshift">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="197">the stream is being downloaded in a ringbuffer</doc>
|
|
</member>
|
|
<member name="live"
|
|
value="3"
|
|
c:identifier="GST_BUFFERING_LIVE"
|
|
glib:nick="live">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="198">the stream is a live stream</doc>
|
|
</member>
|
|
</enumeration>
|
|
<class name="Bus"
|
|
c:symbol-prefix="bus"
|
|
c:type="GstBus"
|
|
parent="Object"
|
|
glib:type-name="GstBus"
|
|
glib:get-type="gst_bus_get_type"
|
|
glib:type-struct="BusClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="22">The #GstBus is an object responsible for delivering #GstMessage packets in
|
|
a first-in first-out way from the streaming threads (see #GstTask) to the
|
|
application.
|
|
|
|
Since the application typically only wants to deal with delivery of these
|
|
messages from one thread, the GstBus will marshall the messages between
|
|
different threads. This is important since the actual streaming of media
|
|
is done in another thread than the application.
|
|
|
|
The GstBus provides support for #GSource based notifications. This makes it
|
|
possible to handle the delivery in the glib mainloop.
|
|
|
|
The #GSource callback function gst_bus_async_signal_func() can be used to
|
|
convert all bus messages into signal emissions.
|
|
|
|
A message is posted on the bus with the gst_bus_post() method. With the
|
|
gst_bus_peek() and gst_bus_pop() methods one can look at or retrieve a
|
|
previously posted message.
|
|
|
|
The bus can be polled with the gst_bus_poll() method. This methods blocks
|
|
up to the specified timeout value until one of the specified messages types
|
|
is posted on the bus. The application can then gst_bus_pop() the messages
|
|
from the bus to handle them.
|
|
Alternatively the application can register an asynchronous bus function
|
|
using gst_bus_add_watch_full() or gst_bus_add_watch(). This function will
|
|
install a #GSource in the default glib main loop and will deliver messages
|
|
a short while after they have been posted. Note that the main loop should
|
|
be running for the asynchronous callbacks.
|
|
|
|
It is also possible to get messages from the bus without any thread
|
|
marshalling with the gst_bus_set_sync_handler() method. This makes it
|
|
possible to react to a message in the same thread that posted the
|
|
message on the bus. This should only be used if the application is able
|
|
to deal with messages from different threads.
|
|
|
|
Every #GstPipeline has one bus.
|
|
|
|
Note that a #GstPipeline will set its bus into flushing state when changing
|
|
from READY to NULL state.</doc>
|
|
<source-position filename="gst/gstbus.h" line="133"/>
|
|
<constructor name="new" c:identifier="gst_bus_new">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="297">Creates a new #GstBus instance.</doc>
|
|
<source-position filename="gst/gstbus.h" line="139"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="302">a new #GstBus instance</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<virtual-method name="message">
|
|
<source-position filename="gst/gstbus.h" line="128"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bus" transfer-ownership="none">
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</instance-parameter>
|
|
<parameter name="message" transfer-ownership="none">
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="sync_message">
|
|
<source-position filename="gst/gstbus.h" line="129"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bus" transfer-ownership="none">
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</instance-parameter>
|
|
<parameter name="message" transfer-ownership="none">
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="add_signal_watch" c:identifier="gst_bus_add_signal_watch">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1446">Adds a bus signal watch to the default main context with the default priority
|
|
(%G_PRIORITY_DEFAULT). It is also possible to use a non-default
|
|
main context set up using g_main_context_push_thread_default() (before
|
|
one had to create a bus watch source and attach it to the desired main
|
|
context 'manually').
|
|
|
|
After calling this statement, the bus will emit the "message" signal for each
|
|
message posted on the bus.
|
|
|
|
This function may be called multiple times. To clean up, the caller is
|
|
responsible for calling gst_bus_remove_signal_watch() as many times as this
|
|
function is called.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstbus.h" line="212"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bus" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1448">a #GstBus on which you want to receive the "message" signal</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_signal_watch_full"
|
|
c:identifier="gst_bus_add_signal_watch_full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1387">Adds a bus signal watch to the default main context with the given @priority
|
|
(e.g. %G_PRIORITY_DEFAULT). It is also possible to use a non-default main
|
|
context set up using g_main_context_push_thread_default()
|
|
(before one had to create a bus watch source and attach it to the desired
|
|
main context 'manually').
|
|
|
|
After calling this statement, the bus will emit the "message" signal for each
|
|
message posted on the bus when the main loop is running.
|
|
|
|
This function may be called multiple times. To clean up, the caller is
|
|
responsible for calling gst_bus_remove_signal_watch() as many times as this
|
|
function is called.
|
|
|
|
There can only be a single bus watch per bus, you must remove any signal
|
|
watch before you can set another type of watch.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstbus.h" line="215"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bus" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1389">a #GstBus on which you want to receive the "message" signal</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</instance-parameter>
|
|
<parameter name="priority" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1390">The priority of the watch.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_watch"
|
|
c:identifier="gst_bus_add_watch"
|
|
shadowed-by="add_watch_full"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1030">Adds a bus watch to the default main context with the default priority
|
|
(%G_PRIORITY_DEFAULT). It is also possible to use a non-default main
|
|
context set up using g_main_context_push_thread_default() (before
|
|
one had to create a bus watch source and attach it to the desired main
|
|
context 'manually').
|
|
|
|
This function is used to receive asynchronous messages in the main loop.
|
|
There can only be a single bus watch per bus, you must remove it before you
|
|
can set a new one.
|
|
|
|
The bus watch will only work if a GLib main loop is being run.
|
|
|
|
The watch can be removed using gst_bus_remove_watch() or by returning %FALSE
|
|
from @func. If the watch was added to the default main context it is also
|
|
possible to remove the watch using g_source_remove().
|
|
|
|
The bus watch will take its own reference to the @bus, so it is safe to unref
|
|
@bus using gst_object_unref() after setting the bus watch.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstbus.h" line="188"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1057">The event source id or 0 if @bus already got an event source.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bus" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1032">a #GstBus to create the watch for</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</instance-parameter>
|
|
<parameter name="func" transfer-ownership="none" closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1033">A function to call when a message is received.</doc>
|
|
<type name="BusFunc" c:type="GstBusFunc"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1034">user data passed to @func.</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_watch_full"
|
|
c:identifier="gst_bus_add_watch_full"
|
|
shadows="add_watch">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="981">Adds a bus watch to the default main context with the given @priority (e.g.
|
|
%G_PRIORITY_DEFAULT). It is also possible to use a non-default main
|
|
context set up using g_main_context_push_thread_default() (before
|
|
one had to create a bus watch source and attach it to the desired main
|
|
context 'manually').
|
|
|
|
This function is used to receive asynchronous messages in the main loop.
|
|
There can only be a single bus watch per bus, you must remove it before you
|
|
can set a new one.
|
|
|
|
The bus watch will only work if a GLib main loop is being run.
|
|
|
|
When @func is called, the message belongs to the caller; if you want to
|
|
keep a copy of it, call gst_message_ref() before leaving @func.
|
|
|
|
The watch can be removed using gst_bus_remove_watch() or by returning %FALSE
|
|
from @func. If the watch was added to the default main context it is also
|
|
possible to remove the watch using g_source_remove().
|
|
|
|
The bus watch will take its own reference to the @bus, so it is safe to unref
|
|
@bus using gst_object_unref() after setting the bus watch.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstbus.h" line="182"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1013">The event source id or 0 if @bus already got an event source.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bus" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="983">a #GstBus to create the watch for.</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</instance-parameter>
|
|
<parameter name="priority" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="984">The priority of the watch.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="notified"
|
|
closure="2"
|
|
destroy="3">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="985">A function to call when a message is received.</doc>
|
|
<type name="BusFunc" c:type="GstBusFunc"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="986">user data passed to @func.</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="notify" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="987">the function to call when the source is removed.</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="async_signal_func"
|
|
c:identifier="gst_bus_async_signal_func">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1274">A helper #GstBusFunc that can be used to convert all asynchronous messages
|
|
into signals.</doc>
|
|
<source-position filename="gst/gstbus.h" line="203"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1283">%TRUE</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bus" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1276">a #GstBus</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</instance-parameter>
|
|
<parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1277">the #GstMessage received</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</parameter>
|
|
<parameter name="data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1278">user data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="create_watch" c:identifier="gst_bus_create_watch">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="911">Create watch for this bus. The GSource will be dispatched whenever
|
|
a message is on the bus. After the GSource is dispatched, the
|
|
message is popped off the bus and unreffed.</doc>
|
|
<source-position filename="gst/gstbus.h" line="179"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="919">a #GSource that can be added to a mainloop.</doc>
|
|
<type name="GLib.Source" c:type="GSource*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bus" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="913">a #GstBus to create the watch for</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="disable_sync_message_emission"
|
|
c:identifier="gst_bus_disable_sync_message_emission">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1359">Instructs GStreamer to stop emitting the "sync-message" signal for this bus.
|
|
See gst_bus_enable_sync_message_emission() for more information.
|
|
|
|
In the event that multiple pieces of code have called
|
|
gst_bus_enable_sync_message_emission(), the sync-message emissions will only
|
|
be stopped after all calls to gst_bus_enable_sync_message_emission() were
|
|
"cancelled" by calling this function. In this way the semantics are exactly
|
|
the same as gst_object_ref() that which calls enable should also call
|
|
disable.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstbus.h" line="224"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bus" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1361">a #GstBus on which you previously called
|
|
gst_bus_enable_sync_message_emission()</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="enable_sync_message_emission"
|
|
c:identifier="gst_bus_enable_sync_message_emission">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1327">Instructs GStreamer to emit the "sync-message" signal after running the bus's
|
|
sync handler. This function is here so that code can ensure that they can
|
|
synchronously receive messages without having to affect what the bin's sync
|
|
handler is.
|
|
|
|
This function may be called multiple times. To clean up, the caller is
|
|
responsible for calling gst_bus_disable_sync_message_emission() as many times
|
|
as this function is called.
|
|
|
|
While this function looks similar to gst_bus_add_signal_watch(), it is not
|
|
exactly the same -- this function enables *synchronous* emission of
|
|
signals when messages arrive; gst_bus_add_signal_watch() adds an idle callback
|
|
to pop messages off the bus *asynchronously*. The sync-message signal
|
|
comes from the thread of whatever object posted the message; the "message"
|
|
signal is marshalled to the main thread via the main loop.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstbus.h" line="221"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bus" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1329">a #GstBus on which you want to receive the "sync-message" signal</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_pollfd"
|
|
c:identifier="gst_bus_get_pollfd"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="774">Gets the file descriptor from the bus which can be used to get notified about
|
|
messages being available with functions like g_poll(), and allows integration
|
|
into other event loops based on file descriptors.
|
|
Whenever a message is available, the POLLIN / %G_IO_IN event is set.
|
|
|
|
Warning: NEVER read or write anything to the returned fd but only use it
|
|
for getting notifications via g_poll() or similar and then use the normal
|
|
GstBus API, e.g. gst_bus_pop().</doc>
|
|
<source-position filename="gst/gstbus.h" line="174"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bus" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="776">A #GstBus</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</instance-parameter>
|
|
<parameter name="fd"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="777">A GPollFD to fill</doc>
|
|
<type name="GLib.PollFD" c:type="GPollFD*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="have_pending" c:identifier="gst_bus_have_pending">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="444">Check if there are pending messages on the bus that
|
|
should be handled.</doc>
|
|
<source-position filename="gst/gstbus.h" line="145"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="451">%TRUE if there are messages on the bus to be handled, %FALSE
|
|
otherwise.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bus" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="446">a #GstBus to check</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="peek" c:identifier="gst_bus_peek">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="702">Peek the message on the top of the bus' queue. The message will remain
|
|
on the bus' message queue. A reference is returned, and needs to be unreffed
|
|
by the caller.</doc>
|
|
<source-position filename="gst/gstbus.h" line="148"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="710">the #GstMessage that is on the
|
|
bus, or %NULL if the bus is empty.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bus" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="704">a #GstBus</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="poll" c:identifier="gst_bus_poll">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1179">Poll the bus for messages. Will block while waiting for messages to come.
|
|
You can specify a maximum time to poll with the @timeout parameter. If
|
|
@timeout is negative, this function will block indefinitely.
|
|
|
|
All messages not in @events will be popped off the bus and will be ignored.
|
|
It is not possible to use message enums beyond #GST_MESSAGE_EXTENDED in the
|
|
@events mask
|
|
|
|
Because poll is implemented using the "message" signal enabled by
|
|
gst_bus_add_signal_watch(), calling gst_bus_poll() will cause the "message"
|
|
signal to be emitted for every message that poll sees. Thus a "message"
|
|
signal handler will see the same messages that this function sees -- neither
|
|
will steal messages from the other.
|
|
|
|
This function will run a main loop from the default main context when
|
|
polling.
|
|
|
|
You should never use this function, since it is pure evil. This is
|
|
especially true for GUI applications based on Gtk+ or Qt, but also for any
|
|
other non-trivial application that uses the GLib main loop. As this function
|
|
runs a GLib main loop, any callback attached to the default GLib main
|
|
context may be invoked. This could be timeouts, GUI events, I/O events etc.;
|
|
even if gst_bus_poll() is called with a 0 timeout. Any of these callbacks
|
|
may do things you do not expect, e.g. destroy the main application window or
|
|
some other resource; change other application state; display a dialog and
|
|
run another main loop until the user clicks it away. In short, using this
|
|
function may add a lot of complexity to your code through unexpected
|
|
re-entrancy and unexpected changes to your application's state.
|
|
|
|
For 0 timeouts use gst_bus_pop_filtered() instead of this function; for
|
|
other short timeouts use gst_bus_timed_pop_filtered(); everything else is
|
|
better handled by setting up an asynchronous bus watch and doing things
|
|
from there.</doc>
|
|
<source-position filename="gst/gstbus.h" line="197"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1221">the message that was received,
|
|
or %NULL if the poll timed out. The message is taken from the
|
|
bus and needs to be unreffed with gst_message_unref() after
|
|
usage.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bus" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1181">a #GstBus</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</instance-parameter>
|
|
<parameter name="events" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1182">a mask of #GstMessageType, representing the set of message types to
|
|
poll for (note special handling of extended message types below)</doc>
|
|
<type name="MessageType" c:type="GstMessageType"/>
|
|
</parameter>
|
|
<parameter name="timeout" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1184">the poll timeout, as a #GstClockTime, or #GST_CLOCK_TIME_NONE to poll
|
|
indefinitely.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="pop" c:identifier="gst_bus_pop">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="681">Get a message from the bus.</doc>
|
|
<source-position filename="gst/gstbus.h" line="151"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="687">the #GstMessage that is on the
|
|
bus, or %NULL if the bus is empty. The message is taken from
|
|
the bus and needs to be unreffed with gst_message_unref() after
|
|
usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bus" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="683">a #GstBus to pop</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="pop_filtered" c:identifier="gst_bus_pop_filtered">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="654">Get a message matching @type from the bus. Will discard all messages on
|
|
the bus that do not match @type and that have been posted before the first
|
|
message that does match @type. If there is no message matching @type on
|
|
the bus, all messages will be discarded. It is not possible to use message
|
|
enums beyond #GST_MESSAGE_EXTENDED in the @events mask.</doc>
|
|
<source-position filename="gst/gstbus.h" line="154"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="665">the next #GstMessage matching
|
|
@type that is on the bus, or %NULL if the bus is empty or there
|
|
is no message matching @type. The message is taken from the bus
|
|
and needs to be unreffed with gst_message_unref() after usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bus" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="656">a #GstBus to pop</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</instance-parameter>
|
|
<parameter name="types" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="657">message types to take into account</doc>
|
|
<type name="MessageType" c:type="GstMessageType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="post" c:identifier="gst_bus_post">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="318">Post a message on the given bus. Ownership of the message
|
|
is taken by the bus.</doc>
|
|
<source-position filename="gst/gstbus.h" line="142"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="326">%TRUE if the message could be posted, %FALSE if the bus is flushing.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bus" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="320">a #GstBus to post on</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</instance-parameter>
|
|
<parameter name="message" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="321">the #GstMessage to post</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_signal_watch"
|
|
c:identifier="gst_bus_remove_signal_watch">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1471">Removes a signal watch previously added with gst_bus_add_signal_watch().
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstbus.h" line="218"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bus" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1473">a #GstBus you previously added a signal watch to</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_watch"
|
|
c:identifier="gst_bus_remove_watch"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1066">Removes an installed bus watch from @bus.</doc>
|
|
<source-position filename="gst/gstbus.h" line="192"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1072">%TRUE on success or %FALSE if @bus has no event source.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bus" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1068">a #GstBus to remove the watch from.</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_flushing" c:identifier="gst_bus_set_flushing">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="469">If @flushing, flush out and unref any messages queued in the bus. Releases
|
|
references to the message origin objects. Will flush future messages until
|
|
gst_bus_set_flushing() sets @flushing to %FALSE.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstbus.h" line="163"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bus" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="471">a #GstBus</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</instance-parameter>
|
|
<parameter name="flushing" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="472">whether or not to flush the bus</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_sync_handler" c:identifier="gst_bus_set_sync_handler">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="733">Sets the synchronous handler on the bus. The function will be called
|
|
every time a new message is posted on the bus. Note that the function
|
|
will be called in the same thread context as the posting object. This
|
|
function is usually only called by the creator of the bus. Applications
|
|
should handle messages asynchronously using the gst_bus watch and poll
|
|
functions.
|
|
|
|
Before 1.16.3 it was not possible to replace an existing handler and
|
|
clearing an existing handler with %NULL was not thread-safe.</doc>
|
|
<source-position filename="gst/gstbus.h" line="168"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bus" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="735">a #GstBus to install the handler on</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</instance-parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
scope="notified"
|
|
closure="1"
|
|
destroy="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="736">The handler function to install</doc>
|
|
<type name="BusSyncHandler" c:type="GstBusSyncHandler"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="737">User data that will be sent to the handler function.</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="notify" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="738">called when @user_data becomes unused</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="sync_signal_handler"
|
|
c:identifier="gst_bus_sync_signal_handler">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1301">A helper GstBusSyncHandler that can be used to convert all synchronous
|
|
messages into signals.</doc>
|
|
<source-position filename="gst/gstbus.h" line="206"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1310">GST_BUS_PASS</doc>
|
|
<type name="BusSyncReply" c:type="GstBusSyncReply"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bus" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1303">a #GstBus</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</instance-parameter>
|
|
<parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1304">the #GstMessage received</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</parameter>
|
|
<parameter name="data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="1305">user data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="timed_pop" c:identifier="gst_bus_timed_pop">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="628">Get a message from the bus, waiting up to the specified timeout.
|
|
|
|
If @timeout is 0, this function behaves like gst_bus_pop(). If @timeout is
|
|
#GST_CLOCK_TIME_NONE, this function will block forever until a message was
|
|
posted on the bus.</doc>
|
|
<source-position filename="gst/gstbus.h" line="157"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="639">the #GstMessage that is on the
|
|
bus after the specified timeout or %NULL if the bus is empty
|
|
after the timeout expired. The message is taken from the bus
|
|
and needs to be unreffed with gst_message_unref() after usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bus" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="630">a #GstBus to pop</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</instance-parameter>
|
|
<parameter name="timeout" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="631">a timeout</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="timed_pop_filtered"
|
|
c:identifier="gst_bus_timed_pop_filtered">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="507">Get a message from the bus whose type matches the message type mask @types,
|
|
waiting up to the specified timeout (and discarding any messages that do not
|
|
match the mask provided).
|
|
|
|
If @timeout is 0, this function behaves like gst_bus_pop_filtered(). If
|
|
@timeout is #GST_CLOCK_TIME_NONE, this function will block forever until a
|
|
matching message was posted on the bus.</doc>
|
|
<source-position filename="gst/gstbus.h" line="160"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="521">a #GstMessage matching the
|
|
filter in @types, or %NULL if no matching message was found on
|
|
the bus until the timeout expired. The message is taken from
|
|
the bus and needs to be unreffed with gst_message_unref() after
|
|
usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="bus" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="509">a #GstBus to pop from</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</instance-parameter>
|
|
<parameter name="timeout" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="510">a timeout in nanoseconds, or GST_CLOCK_TIME_NONE to wait forever</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="types" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="511">message types to take into account, GST_MESSAGE_ANY for any type</doc>
|
|
<type name="MessageType" c:type="GstMessageType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="enable-async"
|
|
readable="0"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</property>
|
|
<field name="object">
|
|
<type name="Object" c:type="GstObject"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="BusPrivate" c:type="GstBusPrivate*"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<glib:signal name="message" when="last" detailed="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="232">A message has been posted on the bus. This signal is emitted from a
|
|
GSource added to the mainloop. this signal will only be emitted when
|
|
there is a mainloop running.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="235">the message that has been posted asynchronously</doc>
|
|
<type name="Message"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="sync-message" when="last" detailed="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="215">A message has been posted on the bus. This signal is emitted from the
|
|
thread that posted the message so one has to be careful with locking.
|
|
|
|
This signal will not be emitted by default, you have to call
|
|
gst_bus_enable_sync_message_emission() before.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.c"
|
|
line="218">the message that has been posted synchronously</doc>
|
|
<type name="Message"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
</class>
|
|
<record name="BusClass"
|
|
c:type="GstBusClass"
|
|
glib:is-gtype-struct-for="Bus">
|
|
<source-position filename="gst/gstbus.h" line="133"/>
|
|
<field name="parent_class">
|
|
<type name="ObjectClass" c:type="GstObjectClass"/>
|
|
</field>
|
|
<field name="message">
|
|
<callback name="message">
|
|
<source-position filename="gst/gstbus.h" line="128"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="bus" transfer-ownership="none">
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</parameter>
|
|
<parameter name="message" transfer-ownership="none">
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="sync_message">
|
|
<callback name="sync_message">
|
|
<source-position filename="gst/gstbus.h" line="129"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="bus" transfer-ownership="none">
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</parameter>
|
|
<parameter name="message" transfer-ownership="none">
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<bitfield name="BusFlags"
|
|
glib:type-name="GstBusFlags"
|
|
glib:get-type="gst_bus_flags_get_type"
|
|
c:type="GstBusFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.h"
|
|
line="43">The standard flags that a bus may have.</doc>
|
|
<member name="flushing"
|
|
value="16"
|
|
c:identifier="GST_BUS_FLUSHING"
|
|
glib:nick="flushing">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.h"
|
|
line="45">The bus is currently dropping all messages</doc>
|
|
</member>
|
|
<member name="flag_last"
|
|
value="32"
|
|
c:identifier="GST_BUS_FLAG_LAST"
|
|
glib:nick="flag-last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.h"
|
|
line="46">offset to define more flags</doc>
|
|
</member>
|
|
</bitfield>
|
|
<callback name="BusFunc" c:type="GstBusFunc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.h"
|
|
line="88">Specifies the type of function passed to gst_bus_add_watch() or
|
|
gst_bus_add_watch_full(), which is called from the mainloop when a message
|
|
is available on the bus.
|
|
|
|
The message passed to the function will be unreffed after execution of this
|
|
function so it should not be freed in the function.
|
|
|
|
Note that this function is used as a GSourceFunc which means that returning
|
|
%FALSE will remove the GSource from the mainloop.</doc>
|
|
<source-position filename="gst/gstbus.h" line="106"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.h"
|
|
line="104">%FALSE if the event source should be removed.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="bus" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.h"
|
|
line="90">the #GstBus that sent the message</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</parameter>
|
|
<parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.h"
|
|
line="91">the #GstMessage</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.h"
|
|
line="92">user data that has been given, when registering the handler</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<record name="BusPrivate" c:type="GstBusPrivate" disguised="1">
|
|
<source-position filename="gst/gstbus.h" line="26"/>
|
|
</record>
|
|
<callback name="BusSyncHandler" c:type="GstBusSyncHandler">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.h"
|
|
line="71">Handler will be invoked synchronously, when a new message has been injected
|
|
into the bus. This function is mostly used internally. Only one sync handler
|
|
can be attached to a given bus.
|
|
|
|
If the handler returns GST_BUS_DROP, it should unref the message, else the
|
|
message should not be unreffed by the sync handler.</doc>
|
|
<source-position filename="gst/gstbus.h" line="86"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.h"
|
|
line="84">#GstBusSyncReply stating what to do with the message</doc>
|
|
<type name="BusSyncReply" c:type="GstBusSyncReply"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="bus" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.h"
|
|
line="73">the #GstBus that sent the message</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</parameter>
|
|
<parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.h"
|
|
line="74">the #GstMessage</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.h"
|
|
line="75">user data that has been given, when registering the handler</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<enumeration name="BusSyncReply"
|
|
glib:type-name="GstBusSyncReply"
|
|
glib:get-type="gst_bus_sync_reply_get_type"
|
|
c:type="GstBusSyncReply">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.h"
|
|
line="56">The result values for a GstBusSyncHandler.</doc>
|
|
<member name="drop"
|
|
value="0"
|
|
c:identifier="GST_BUS_DROP"
|
|
glib:nick="drop">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.h"
|
|
line="58">drop the message</doc>
|
|
</member>
|
|
<member name="pass"
|
|
value="1"
|
|
c:identifier="GST_BUS_PASS"
|
|
glib:nick="pass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.h"
|
|
line="59">pass the message to the async queue</doc>
|
|
</member>
|
|
<member name="async"
|
|
value="2"
|
|
c:identifier="GST_BUS_ASYNC"
|
|
glib:nick="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbus.h"
|
|
line="60">pass message to async queue, continue if message is handled</doc>
|
|
</member>
|
|
</enumeration>
|
|
<function-macro name="CALL_PARENT"
|
|
c:identifier="GST_CALL_PARENT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="135">Just call the parent handler. This assumes that there is a variable
|
|
named parent_class that points to the (duh!) parent class. Note that
|
|
this macro is not to be used with things that return something, use
|
|
the _WITH_DEFAULT version for that</doc>
|
|
<source-position filename="gst/gstutils.h" line="146"/>
|
|
<parameters>
|
|
<parameter name="parent_class_cast">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="137">the name of the class cast macro for the parent type</doc>
|
|
</parameter>
|
|
<parameter name="name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="138">name of the function to call</doc>
|
|
</parameter>
|
|
<parameter name="args">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="139">arguments enclosed in '( )'</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CALL_PARENT_WITH_DEFAULT"
|
|
c:identifier="GST_CALL_PARENT_WITH_DEFAULT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="150">Same as GST_CALL_PARENT(), but in case there is no implementation, it
|
|
evaluates to @def_return.</doc>
|
|
<source-position filename="gst/gstutils.h" line="160"/>
|
|
<parameters>
|
|
<parameter name="parent_class_cast">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="152">the name of the class cast macro for the parent type</doc>
|
|
</parameter>
|
|
<parameter name="name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="153">name of the function to call</doc>
|
|
</parameter>
|
|
<parameter name="args">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="154">arguments enclosed in '( )'</doc>
|
|
</parameter>
|
|
<parameter name="def_return">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="155">default result</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="CAN_INLINE" value="1" c:type="GST_CAN_INLINE">
|
|
<source-position filename="gst/gstmacros.h" line="34"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<function-macro name="CAPS" c:identifier="GST_CAPS" introspectable="0">
|
|
<source-position filename="gst/gstcaps.h" line="36"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CAPS_CAST"
|
|
c:identifier="GST_CAPS_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcaps.h" line="35"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CAPS_FEATURES"
|
|
c:identifier="GST_CAPS_FEATURES"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcapsfeatures.h" line="38"/>
|
|
<parameters>
|
|
<parameter name="object">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CAPS_FEATURES_CAST"
|
|
c:identifier="GST_CAPS_FEATURES_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcapsfeatures.h" line="37"/>
|
|
<parameters>
|
|
<parameter name="object">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="CAPS_FEATURE_MEMORY_SYSTEM_MEMORY"
|
|
value="memory:SystemMemory"
|
|
c:type="GST_CAPS_FEATURE_MEMORY_SYSTEM_MEMORY">
|
|
<source-position filename="gst/gstcapsfeatures.h" line="40"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<function-macro name="CAPS_FLAGS"
|
|
c:identifier="GST_CAPS_FLAGS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="142">A flags word containing #GstCapsFlags flags set on this caps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="148"/>
|
|
<parameters>
|
|
<parameter name="caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="144">a #GstCaps.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CAPS_FLAG_IS_SET"
|
|
c:identifier="GST_CAPS_FLAG_IS_SET"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="166">Gives the status of a specific flag on a caps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="173"/>
|
|
<parameters>
|
|
<parameter name="caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="168">a #GstCaps.</doc>
|
|
</parameter>
|
|
<parameter name="flag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="169">the #GstCapsFlags to check.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CAPS_FLAG_SET"
|
|
c:identifier="GST_CAPS_FLAG_SET"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="174">Sets a caps flag on a caps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="181"/>
|
|
<parameters>
|
|
<parameter name="caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="176">a #GstCaps.</doc>
|
|
</parameter>
|
|
<parameter name="flag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="177">the #GstCapsFlags to set.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CAPS_FLAG_UNSET"
|
|
c:identifier="GST_CAPS_FLAG_UNSET"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="182">Clears a caps flag.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="189"/>
|
|
<parameters>
|
|
<parameter name="caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="184">a #GstCaps.</doc>
|
|
</parameter>
|
|
<parameter name="flag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="185">the #GstCapsFlags to clear.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CAPS_IS_SIMPLE"
|
|
c:identifier="GST_CAPS_IS_SIMPLE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="113">Convenience macro that checks if the number of structures in the given caps
|
|
is exactly one.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="120"/>
|
|
<parameters>
|
|
<parameter name="caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="115">the #GstCaps instance to check</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CAPS_REFCOUNT"
|
|
c:identifier="GST_CAPS_REFCOUNT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="151">Get access to the reference count field of the caps</doc>
|
|
<source-position filename="gst/gstcaps.h" line="157"/>
|
|
<parameters>
|
|
<parameter name="caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="153">a #GstCaps</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CAPS_REFCOUNT_VALUE"
|
|
c:identifier="GST_CAPS_REFCOUNT_VALUE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="158">Get the reference count value of the caps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="164"/>
|
|
<parameters>
|
|
<parameter name="caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="160">a #GstCaps</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CAT_MEMDUMP"
|
|
c:identifier="GST_CAT_MEMDUMP"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="902">Output a hexdump of @data in the given category.
|
|
|
|
There is no need to finish the end of the message string with a newline
|
|
character, a newline character will be added automatically.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="730"/>
|
|
<parameters>
|
|
<parameter name="cat">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="904">category to use</doc>
|
|
</parameter>
|
|
<parameter name="msg">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="905">message string to log with the data</doc>
|
|
</parameter>
|
|
<parameter name="data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="906">pointer to the data to output</doc>
|
|
</parameter>
|
|
<parameter name="length">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="907">length of the data to output</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CAT_MEMDUMP_OBJECT"
|
|
c:identifier="GST_CAT_MEMDUMP_OBJECT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="816">Output a hexdump of @data relating to the given object in the given
|
|
category.
|
|
|
|
There is no need to finish the end of the message string with a newline
|
|
character, a newline character will be added automatically.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="728"/>
|
|
<parameters>
|
|
<parameter name="cat">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="818">category to use</doc>
|
|
</parameter>
|
|
<parameter name="obj">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="819">the #GObject the message belongs to</doc>
|
|
</parameter>
|
|
<parameter name="msg">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="820">message string to log with the data</doc>
|
|
</parameter>
|
|
<parameter name="data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="821">pointer to the data to output</doc>
|
|
</parameter>
|
|
<parameter name="length">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="822">length of the data to output</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CHECK_VERSION"
|
|
c:identifier="GST_CHECK_VERSION"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstversion.h"
|
|
line="72">Check whether a GStreamer version equal to or greater than
|
|
major.minor.micro is present.</doc>
|
|
<source-position filename="gst/gstversion.h" line="81"/>
|
|
<parameters>
|
|
<parameter name="major">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstversion.h"
|
|
line="74">a number indicating the major version</doc>
|
|
</parameter>
|
|
<parameter name="minor">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstversion.h"
|
|
line="75">a number indicating the minor version</doc>
|
|
</parameter>
|
|
<parameter name="micro">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstversion.h"
|
|
line="76">a number indicating the micro version</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CHILD_PROXY"
|
|
c:identifier="GST_CHILD_PROXY"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstchildproxy.h" line="32"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CHILD_PROXY_GET_INTERFACE"
|
|
c:identifier="GST_CHILD_PROXY_GET_INTERFACE"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstchildproxy.h" line="34"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CLOCK" c:identifier="GST_CLOCK" introspectable="0">
|
|
<source-position filename="gst/gstclock.h" line="34"/>
|
|
<parameters>
|
|
<parameter name="clock">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CLOCK_CAST"
|
|
c:identifier="GST_CLOCK_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstclock.h" line="39"/>
|
|
<parameters>
|
|
<parameter name="clock">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CLOCK_CLASS"
|
|
c:identifier="GST_CLOCK_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstclock.h" line="36"/>
|
|
<parameters>
|
|
<parameter name="cclass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CLOCK_DIFF"
|
|
c:identifier="GST_CLOCK_DIFF"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="153">Calculate a difference between two clock times as a #GstClockTimeDiff.
|
|
The difference is calculated as @e - @s.</doc>
|
|
<source-position filename="gst/gstclock.h" line="161"/>
|
|
<parameters>
|
|
<parameter name="s">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="155">the first time</doc>
|
|
</parameter>
|
|
<parameter name="e">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="156">the second time</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CLOCK_ENTRY"
|
|
c:identifier="GST_CLOCK_ENTRY"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="335">Cast to a clock entry</doc>
|
|
<source-position filename="gst/gstclock.h" line="341"/>
|
|
<parameters>
|
|
<parameter name="entry">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="337">the entry to cast</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CLOCK_ENTRY_CLOCK"
|
|
c:identifier="GST_CLOCK_ENTRY_CLOCK"
|
|
introspectable="0"
|
|
deprecated="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="344">Get the owner clock of the entry</doc>
|
|
<doc-deprecated xml:space="preserve">Use gst_clock_id_get_clock() instead.</doc-deprecated>
|
|
<source-position filename="gst/gstclock.h" line="352"/>
|
|
<parameters>
|
|
<parameter name="entry">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="346">the entry to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CLOCK_ENTRY_INTERVAL"
|
|
c:identifier="GST_CLOCK_ENTRY_INTERVAL"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="368">Get the interval of this periodic entry</doc>
|
|
<source-position filename="gst/gstclock.h" line="374"/>
|
|
<parameters>
|
|
<parameter name="entry">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="370">the entry to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CLOCK_ENTRY_STATUS"
|
|
c:identifier="GST_CLOCK_ENTRY_STATUS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="375">The status of the entry</doc>
|
|
<source-position filename="gst/gstclock.h" line="381"/>
|
|
<parameters>
|
|
<parameter name="entry">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="377">the entry to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CLOCK_ENTRY_TIME"
|
|
c:identifier="GST_CLOCK_ENTRY_TIME"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="361">Get the requested time of this entry</doc>
|
|
<source-position filename="gst/gstclock.h" line="367"/>
|
|
<parameters>
|
|
<parameter name="entry">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="363">the entry to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CLOCK_ENTRY_TYPE"
|
|
c:identifier="GST_CLOCK_ENTRY_TYPE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="354">Get the type of the clock entry</doc>
|
|
<source-position filename="gst/gstclock.h" line="360"/>
|
|
<parameters>
|
|
<parameter name="entry">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="356">the entry to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CLOCK_FLAGS"
|
|
c:identifier="GST_CLOCK_FLAGS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="444">Gets the #GstClockFlags clock flags.</doc>
|
|
<source-position filename="gst/gstclock.h" line="450"/>
|
|
<parameters>
|
|
<parameter name="clock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="446">the clock to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CLOCK_GET_CLASS"
|
|
c:identifier="GST_CLOCK_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstclock.h" line="38"/>
|
|
<parameters>
|
|
<parameter name="clock">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CLOCK_STIME_IS_VALID"
|
|
c:identifier="GST_CLOCK_STIME_IS_VALID"
|
|
version="1.6"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="88">Tests if a given #GstClockTimeDiff of #gint64 represents a valid defined time.</doc>
|
|
<source-position filename="gst/gstclock.h" line="96"/>
|
|
<parameters>
|
|
<parameter name="time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="90">signed clock time to validate</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CLOCK_TIME_IS_VALID"
|
|
c:identifier="GST_CLOCK_TIME_IS_VALID"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="74">Tests if a given #GstClockTime represents a valid defined time.</doc>
|
|
<source-position filename="gst/gstclock.h" line="80"/>
|
|
<parameters>
|
|
<parameter name="time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="76">clock time to validate</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="CLOCK_TIME_NONE"
|
|
value="18446744073709551615"
|
|
c:type="GST_CLOCK_TIME_NONE">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="68">Constant to define an undefined clock time.</doc>
|
|
<source-position filename="gst/gstclock.h" line="73"/>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</constant>
|
|
<function-macro name="CONTEXT"
|
|
c:identifier="GST_CONTEXT"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcontext.h" line="41"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CONTEXT_CAST"
|
|
c:identifier="GST_CONTEXT_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcontext.h" line="40"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CONTROL_BINDING"
|
|
c:identifier="GST_CONTROL_BINDING"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcontrolbinding.h" line="33"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CONTROL_BINDING_CLASS"
|
|
c:identifier="GST_CONTROL_BINDING_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcontrolbinding.h" line="35"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CONTROL_BINDING_GET_CLASS"
|
|
c:identifier="GST_CONTROL_BINDING_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcontrolbinding.h" line="41"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CONTROL_BINDING_PSPEC"
|
|
c:identifier="GST_CONTROL_BINDING_PSPEC"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcontrolbinding.h" line="113"/>
|
|
<parameters>
|
|
<parameter name="cb">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CONTROL_SOURCE"
|
|
c:identifier="GST_CONTROL_SOURCE"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcontrolsource.h" line="35"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CONTROL_SOURCE_CLASS"
|
|
c:identifier="GST_CONTROL_SOURCE_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcontrolsource.h" line="37"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="CONTROL_SOURCE_GET_CLASS"
|
|
c:identifier="GST_CONTROL_SOURCE_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcontrolsource.h" line="43"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<record name="Caps"
|
|
c:type="GstCaps"
|
|
glib:type-name="GstCaps"
|
|
glib:get-type="gst_caps_get_type"
|
|
c:symbol-prefix="caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="20">Caps (capabilities) are lightweight refcounted objects describing media types.
|
|
They are composed of an array of #GstStructure.
|
|
|
|
Caps are exposed on #GstPadTemplate to describe all possible types a
|
|
given pad can handle. They are also stored in the #GstRegistry along with
|
|
a description of the #GstElement.
|
|
|
|
Caps are exposed on the element pads using the gst_pad_query_caps() pad
|
|
function. This function describes the possible types that the pad can
|
|
handle or produce at runtime.
|
|
|
|
A #GstCaps can be constructed with the following code fragment:
|
|
|[<!-- language="C" -->
|
|
GstCaps *caps = gst_caps_new_simple ("video/x-raw",
|
|
"format", G_TYPE_STRING, "I420",
|
|
"framerate", GST_TYPE_FRACTION, 25, 1,
|
|
"pixel-aspect-ratio", GST_TYPE_FRACTION, 1, 1,
|
|
"width", G_TYPE_INT, 320,
|
|
"height", G_TYPE_INT, 240,
|
|
NULL);
|
|
]|
|
|
|
|
A #GstCaps is fixed when it has no properties with ranges or lists. Use
|
|
gst_caps_is_fixed() to test for fixed caps. Fixed caps can be used in a
|
|
caps event to notify downstream elements of the current media type.
|
|
|
|
Various methods exist to work with the media types such as subtracting
|
|
or intersecting.
|
|
|
|
Be aware that the current #GstCaps / #GstStructure serialization into string
|
|
has limited support for nested #GstCaps / #GstStructure fields. It can only
|
|
support one level of nesting. Using more levels will lead to unexpected
|
|
behavior when using serialization features, such as gst_caps_to_string() or
|
|
gst_value_serialize() and their counterparts.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="334"/>
|
|
<field name="mini_object" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="328">the parent type</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject"/>
|
|
</field>
|
|
<constructor name="new_any" c:identifier="gst_caps_new_any">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="268">Creates a new #GstCaps that indicates that it is compatible with
|
|
any media format.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="413"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="274">the new #GstCaps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<constructor name="new_empty" c:identifier="gst_caps_new_empty">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="242">Creates a new #GstCaps that is empty. That is, the returned
|
|
#GstCaps contains no media formats.
|
|
The #GstCaps is guaranteed to be writable.
|
|
Caller is responsible for unreffing the returned caps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="410"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="250">the new #GstCaps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<constructor name="new_empty_simple"
|
|
c:identifier="gst_caps_new_empty_simple">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="286">Creates a new #GstCaps that contains one #GstStructure with name
|
|
@media_type.
|
|
Caller is responsible for unreffing the returned caps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="416"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="294">the new #GstCaps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="media_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="288">the media type of the structure</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_full"
|
|
c:identifier="gst_caps_new_full"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="344">Creates a new #GstCaps and adds all the structures listed as
|
|
arguments. The list must be %NULL-terminated. The structures
|
|
are not copied; the returned #GstCaps owns the structures.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="423"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="353">the new #GstCaps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="struct1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="346">the first structure to add</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="347">additional structures to add</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_full_valist"
|
|
c:identifier="gst_caps_new_full_valist"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="368">Creates a new #GstCaps and adds all the structures listed as
|
|
arguments. The list must be %NULL-terminated. The structures
|
|
are not copied; the returned #GstCaps owns the structures.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="426"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="377">the new #GstCaps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="370">the first structure to add</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
<parameter name="var_args" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="371">additional structures to add</doc>
|
|
<type name="va_list" c:type="va_list"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_simple"
|
|
c:identifier="gst_caps_new_simple"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="310">Creates a new #GstCaps that contains one #GstStructure. The
|
|
structure is defined by the arguments, which have the same format
|
|
as gst_structure_new().
|
|
Caller is responsible for unreffing the returned caps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="419"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="321">the new #GstCaps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="media_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="312">the media type of the structure</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="313">first field to set</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="314">additional arguments</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<method name="append" c:identifier="gst_caps_append">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="550">Appends the structures contained in @caps2 to @caps1. The structures in
|
|
@caps2 are not copied -- they are transferred to @caps1, and then @caps2 is
|
|
freed. If either caps is ANY, the resulting caps will be ANY.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="443"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="552">the #GstCaps that will be appended to</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps2" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="553">the #GstCaps to append</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="append_structure" c:identifier="gst_caps_append_structure">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="639">Appends @structure to @caps. The structure is not copied; @caps
|
|
becomes the owner of @structure.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="446"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="641">the #GstCaps that will be appended to</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="structure" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="642">the #GstStructure to append</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="append_structure_full"
|
|
c:identifier="gst_caps_append_structure_full"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="665">Appends @structure with @features to @caps. The structure is not copied; @caps
|
|
becomes the owner of @structure.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="449"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="667">the #GstCaps that will be appended to</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="structure" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="668">the #GstStructure to append</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
<parameter name="features"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="669">the #GstCapsFeatures to append</doc>
|
|
<type name="CapsFeatures" c:type="GstCapsFeatures*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="can_intersect" c:identifier="gst_caps_can_intersect">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1528">Tries intersecting @caps1 and @caps2 and reports whether the result would not
|
|
be empty</doc>
|
|
<source-position filename="gst/gstcaps.h" line="547"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1536">%TRUE if intersection would be not empty</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1530">a #GstCaps to intersect</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1531">a #GstCaps to intersect</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="copy" c:identifier="gst_caps_copy">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2664">Creates a new #GstCaps as a copy of the old @caps. The new caps will have a
|
|
refcount of 1, owned by the caller. The structures are copied as well.
|
|
|
|
Note that this function is the semantic equivalent of a gst_caps_ref()
|
|
followed by a gst_caps_make_writable(). If you only want to hold on to a
|
|
reference to the data, you should use gst_caps_ref().
|
|
|
|
When you are finished with the caps, call gst_caps_unref() on it.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="249"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2677">the new #GstCaps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2666">a #GstCaps.</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="copy_nth" c:identifier="gst_caps_copy_nth" version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1019">Creates a new #GstCaps and appends a copy of the nth structure
|
|
contained in @caps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="487"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1027">the new #GstCaps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1021">the #GstCaps to copy</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="nth" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1022">the nth structure to copy</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="filter_and_map_in_place"
|
|
c:identifier="gst_caps_filter_and_map_in_place"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2605">Calls the provided function once for each structure and caps feature in the
|
|
#GstCaps. In contrast to gst_caps_foreach(), the function may modify the
|
|
structure and features. In contrast to gst_caps_filter_and_map_in_place(),
|
|
the structure and features are removed from the caps if %FALSE is returned
|
|
from the function.
|
|
The caps must be mutable.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="512"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2607">a #GstCaps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="call"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2608">a function to call for each field</doc>
|
|
<type name="CapsFilterMapFunc" c:type="GstCapsFilterMapFunc"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2609">private data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="fixate" c:identifier="gst_caps_fixate">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2238">Modifies the given @caps into a representation with only fixed
|
|
values. First the caps will be truncated and then the first structure will be
|
|
fixated with gst_structure_fixate().
|
|
|
|
This function takes ownership of @caps and will call gst_caps_make_writable()
|
|
on it so you must not use @caps afterwards unless you keep an additional
|
|
reference to it with gst_caps_ref().
|
|
|
|
Note that it is not guaranteed that the returned caps have exactly one
|
|
structure. If @caps are empty caps then then returned caps will be
|
|
the empty too and contain no structure at all.
|
|
|
|
Calling this function with any caps is not allowed.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="573"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2256">the fixated caps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2240">a #GstCaps to fixate</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="foreach" c:identifier="gst_caps_foreach" version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2516">Calls the provided function once for each structure and caps feature in the
|
|
#GstCaps. The function must not modify the fields.
|
|
Also see gst_caps_map_in_place() and gst_caps_filter_and_map_in_place().</doc>
|
|
<source-position filename="gst/gstcaps.h" line="504"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2526">%TRUE if the supplied function returns %TRUE for each call,
|
|
%FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2518">a #GstCaps</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="call"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2519">a function to call for each field</doc>
|
|
<type name="CapsForeachFunc" c:type="GstCapsForeachFunc"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2520">private data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_features"
|
|
c:identifier="gst_caps_get_features"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="888">Finds the features in @caps that has the index @index, and
|
|
returns it.
|
|
|
|
WARNING: This function takes a const GstCaps *, but returns a
|
|
non-const GstCapsFeatures *. This is for programming convenience --
|
|
the caller should be aware that structures inside a constant
|
|
#GstCaps should not be modified. However, if you know the caps
|
|
are writable, either because you have just copied them or made
|
|
them writable with gst_caps_make_writable(), you may modify the
|
|
features returned in the usual way, e.g. with functions like
|
|
gst_caps_features_add().
|
|
|
|
You do not need to free or unref the structure returned, it
|
|
belongs to the #GstCaps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="484"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="908">a pointer to the #GstCapsFeatures
|
|
corresponding to @index</doc>
|
|
<type name="CapsFeatures" c:type="GstCapsFeatures*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="890">a #GstCaps</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="891">the index of the structure</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_size" c:identifier="gst_caps_get_size">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="840">Gets the number of structures contained in @caps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="467"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="846">the number of structures that @caps contains</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="842">a #GstCaps</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_structure" c:identifier="gst_caps_get_structure">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="856">Finds the structure in @caps that has the index @index, and
|
|
returns it.
|
|
|
|
WARNING: This function takes a const GstCaps *, but returns a
|
|
non-const GstStructure *. This is for programming convenience --
|
|
the caller should be aware that structures inside a constant
|
|
#GstCaps should not be modified. However, if you know the caps
|
|
are writable, either because you have just copied them or made
|
|
them writable with gst_caps_make_writable(), you may modify the
|
|
structure returned in the usual way, e.g. with functions like
|
|
gst_structure_set().
|
|
|
|
You do not need to free or unref the structure returned, it
|
|
belongs to the #GstCaps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="470"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="876">a pointer to the #GstStructure corresponding
|
|
to @index</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="858">a #GstCaps</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="859">the index of the structure</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="intersect" c:identifier="gst_caps_intersect">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1788">Creates a new #GstCaps that contains all the formats that are common
|
|
to both @caps1 and @caps2. Defaults to %GST_CAPS_INTERSECT_ZIG_ZAG mode.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="557"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1796">the new #GstCaps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1790">a #GstCaps to intersect</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1791">a #GstCaps to intersect</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="intersect_full" c:identifier="gst_caps_intersect_full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1742">Creates a new #GstCaps that contains all the formats that are common
|
|
to both @caps1 and @caps2, the order is defined by the #GstCapsIntersectMode
|
|
used.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="560"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1752">the new #GstCaps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1744">a #GstCaps to intersect</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1745">a #GstCaps to intersect</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1746">The intersection algorithm/mode to use</doc>
|
|
<type name="CapsIntersectMode" c:type="GstCapsIntersectMode"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_always_compatible"
|
|
c:identifier="gst_caps_is_always_compatible">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1292">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.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="528"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1301">%TRUE if @caps1 is a subset of @caps2.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1294">the #GstCaps to test</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1295">the #GstCaps to test</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_any" c:identifier="gst_caps_is_any">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1184">Determines if @caps represents any media format.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="519"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1190">%TRUE if @caps represents any format.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1186">the #GstCaps to test</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_empty" c:identifier="gst_caps_is_empty">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1200">Determines if @caps represents no media formats.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="522"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1206">%TRUE if @caps represents no formats.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1202">the #GstCaps to test</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_equal" c:identifier="gst_caps_is_equal">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1452">Checks if the given caps represent the same set of caps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="541"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1459">%TRUE if both caps are equal.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1454">a #GstCaps</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1455">another #GstCaps</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_equal_fixed" c:identifier="gst_caps_is_equal_fixed">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1260">Tests if two #GstCaps are equal. This function only works on fixed
|
|
#GstCaps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="544"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1268">%TRUE if the arguments represent the same format</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1262">the #GstCaps to test</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1263">the #GstCaps to test</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_fixed" c:identifier="gst_caps_is_fixed">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1226">Fixed #GstCaps describe exactly one format, that is, they have exactly
|
|
one structure, and each field in the structure describes a fixed type.
|
|
Examples of non-fixed types are GST_TYPE_INT_RANGE and GST_TYPE_LIST.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="525"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1234">%TRUE if @caps is fixed</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1228">the #GstCaps to test</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_strictly_equal"
|
|
c:identifier="gst_caps_is_strictly_equal">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1476">Checks if the given caps are exactly the same set of caps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="550"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1483">%TRUE if both caps are strictly equal.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1478">a #GstCaps</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1479">another #GstCaps</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_subset" c:identifier="gst_caps_is_subset">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1312">Checks if all caps represented by @subset are also represented by @superset.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="531"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1319">%TRUE if @subset is a subset of @superset</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="subset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1314">a #GstCaps</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="superset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1315">a potentially greater #GstCaps</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_subset_structure"
|
|
c:identifier="gst_caps_is_subset_structure">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1368">Checks if @structure is a subset of @caps. See gst_caps_is_subset()
|
|
for more information.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="534"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1376">%TRUE if @structure is a subset of @caps</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1370">a #GstCaps</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1371">a potential #GstStructure subset of @caps</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_subset_structure_full"
|
|
c:identifier="gst_caps_is_subset_structure_full"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1404">Checks if @structure is a subset of @caps. See gst_caps_is_subset()
|
|
for more information.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="537"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1413">%TRUE if @structure is a subset of @caps</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1406">a #GstCaps</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1407">a potential #GstStructure subset of @caps</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</parameter>
|
|
<parameter name="features"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1408">a #GstCapsFeatures for @structure</doc>
|
|
<type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="map_in_place"
|
|
c:identifier="gst_caps_map_in_place"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2557">Calls the provided function once for each structure and caps feature in the
|
|
#GstCaps. In contrast to gst_caps_foreach(), the function may modify but not
|
|
delete the structures and features. The caps must be mutable.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="508"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2567">%TRUE if the supplied function returns %TRUE for each call,
|
|
%FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2559">a #GstCaps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="call"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2560">a function to call for each field</doc>
|
|
<type name="CapsMapFunc" c:type="GstCapsMapFunc"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2561">private data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="merge" c:identifier="gst_caps_merge">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="585">Appends the structures contained in @caps2 to @caps1 if they are not yet
|
|
expressed by @caps1. The structures in @caps2 are not copied -- they are
|
|
transferred to a writable copy of @caps1, and then @caps2 is freed.
|
|
If either caps is ANY, the resulting caps will be ANY.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="456"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="595">the merged caps.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps1" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="587">the #GstCaps that will take the new entries</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps2" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="588">the #GstCaps to merge in</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="merge_structure" c:identifier="gst_caps_merge_structure">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="718">Appends @structure to @caps if its not already expressed by @caps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="459"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="725">the merged caps.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="720">the #GstCaps to merge into</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="structure" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="721">the #GstStructure to merge</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="merge_structure_full"
|
|
c:identifier="gst_caps_merge_structure_full"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="771">Appends @structure with @features to @caps if its not already expressed by @caps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="462"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="779">the merged caps.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="773">the #GstCaps to merge into</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="structure" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="774">the #GstStructure to merge</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
<parameter name="features"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="775">the #GstCapsFeatures to merge</doc>
|
|
<type name="CapsFeatures" c:type="GstCapsFeatures*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="normalize" c:identifier="gst_caps_normalize">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2001">Returns a #GstCaps that represents the same set of formats as
|
|
@caps, but contains no lists. Each list is expanded into separate
|
|
@GstStructures.
|
|
|
|
This function takes ownership of @caps and will call gst_caps_make_writable()
|
|
on it so you must not use @caps afterwards unless you keep an additional
|
|
reference to it with gst_caps_ref().</doc>
|
|
<source-position filename="gst/gstcaps.h" line="567"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2013">the normalized #GstCaps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2003">a #GstCaps to normalize</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="ref" c:identifier="gst_caps_ref" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="192">Add a reference to a #GstCaps object.
|
|
|
|
From this point on, until the caller calls gst_caps_unref() or
|
|
gst_caps_make_writable(), it is guaranteed that the caps object will not
|
|
change. This means its structures won't change, etc. To use a #GstCaps
|
|
object, you must always have a refcount on it -- either the one made
|
|
implicitly by e.g. gst_caps_new_simple(), or via taking one explicitly with
|
|
this function.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="207"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="205">the same #GstCaps object.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="194">the #GstCaps to reference</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_structure" c:identifier="gst_caps_remove_structure">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="697">removes the structure with the given index from the list of structures
|
|
contained in @caps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="453"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="699">the #GstCaps to remove from</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="idx" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="700">Index of the structure to remove</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_features"
|
|
c:identifier="gst_caps_set_features"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="946">Sets the #GstCapsFeatures @features for the structure at @index.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="476"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="948">a #GstCaps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="949">the index of the structure</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="features"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="950">the #GstCapsFeatures to set</doc>
|
|
<type name="CapsFeatures" c:type="GstCapsFeatures*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_features_simple"
|
|
c:identifier="gst_caps_set_features_simple"
|
|
version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="979">Sets the #GstCapsFeatures @features for all the structures of @caps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="480"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="981">a #GstCaps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="features"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="982">the #GstCapsFeatures to set</doc>
|
|
<type name="CapsFeatures" c:type="GstCapsFeatures*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_simple"
|
|
c:identifier="gst_caps_set_simple"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1160">Sets fields in a #GstCaps. The arguments must be passed in the same
|
|
manner as gst_structure_set(), and be %NULL-terminated.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="497"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1162">the #GstCaps to set</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="field" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1163">first field to set</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1164">additional parameters</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_simple_valist"
|
|
c:identifier="gst_caps_set_simple_valist"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1122">Sets fields in a #GstCaps. The arguments must be passed in the same
|
|
manner as gst_structure_set(), and be %NULL-terminated.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="500"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1124">the #GstCaps to set</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="field" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1125">first field to set</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
<parameter name="varargs" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1126">additional parameters</doc>
|
|
<type name="va_list" c:type="va_list"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_value" c:identifier="gst_caps_set_value">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1095">Sets the given @field on all structures of @caps to the given @value.
|
|
This is a convenience function for calling gst_structure_set_value() on
|
|
all structures of @caps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="493"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1097">a writable caps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="field" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1098">name of the field to set</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1099">value to set the field to</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="simplify" c:identifier="gst_caps_simplify">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2159">Converts the given @caps into a representation that represents the
|
|
same set of formats, but in a simpler form. Component structures that are
|
|
identical are merged. Component structures that have values that can be
|
|
merged are also merged.
|
|
|
|
This function takes ownership of @caps and will call gst_caps_make_writable()
|
|
on it if necessary, so you must not use @caps afterwards unless you keep an
|
|
additional reference to it with gst_caps_ref().
|
|
|
|
This method does not preserve the original order of @caps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="570"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2174">The simplified caps.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2161">a #GstCaps to simplify</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="steal_structure" c:identifier="gst_caps_steal_structure">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="527">Retrieves the structure with the given index from the list of structures
|
|
contained in @caps. The caller becomes the owner of the returned structure.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="473"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="535">a pointer to the #GstStructure
|
|
corresponding to @index.</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="529">the #GstCaps to retrieve from</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="530">Index of the structure to retrieve</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="subtract" c:identifier="gst_caps_subtract">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1867">Subtracts the @subtrahend from the @minuend.
|
|
> This function does not work reliably if optional properties for caps
|
|
> are included on one caps and omitted on the other.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="564"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1876">the resulting caps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="minuend" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1869">#GstCaps to subtract from</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</instance-parameter>
|
|
<parameter name="subtrahend" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1870">#GstCaps to subtract</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="to_string" c:identifier="gst_caps_to_string">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2294">Converts @caps to a string representation. This string representation
|
|
can be converted back to a #GstCaps by gst_caps_from_string().
|
|
|
|
For debugging purposes its easier to do something like this:
|
|
|[<!-- language="C" -->
|
|
GST_LOG ("caps are %" GST_PTR_FORMAT, caps);
|
|
]|
|
|
This prints the caps in human readable form.
|
|
|
|
The current implementation of serialization will lead to unexpected results
|
|
when there are nested #GstCaps / #GstStructure deeper than one level.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="578"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2310">a newly allocated string representing @caps.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2296">a #GstCaps</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="truncate" c:identifier="gst_caps_truncate">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1054">Discard all but the first structure from @caps. Useful when
|
|
fixating.
|
|
|
|
This function takes ownership of @caps and will call gst_caps_make_writable()
|
|
on it if necessary, so you must not use @caps afterwards unless you keep an
|
|
additional reference to it with gst_caps_ref().
|
|
|
|
Note that it is not guaranteed that the returned caps have exactly one
|
|
structure. If @caps is any or empty caps then then returned caps will be
|
|
the same and contain no structure at all.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="490"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1069">truncated caps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="1056">the #GstCaps to truncate</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unref" c:identifier="gst_caps_unref" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="214">Unref a #GstCaps and and free all its structures and the
|
|
structures' values when the refcount reaches 0.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="221"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="216">a #GstCaps.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<function name="from_string" c:identifier="gst_caps_from_string">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2476">Converts @caps from a string representation.
|
|
|
|
The current implementation of serialization will lead to unexpected results
|
|
when there are nested #GstCaps / #GstStructure deeper than one level.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="581"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2485">a newly allocated #GstCaps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="string" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2478">a string to convert to #GstCaps</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="replace"
|
|
c:identifier="gst_caps_replace"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="283">Modifies a pointer to a #GstCaps to point to a different #GstCaps. The
|
|
modification is done atomically (so this is useful for ensuring thread safety
|
|
in some cases), and the reference counts are updated appropriately (the old
|
|
caps is unreffed, the new is reffed).
|
|
|
|
Either @new_caps or the #GstCaps pointed to by @old_caps may be %NULL.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="299"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="297">%TRUE if @new_caps was different from @old_caps</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="old_caps"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="285">pointer to a pointer
|
|
to a #GstCaps to be replaced.</doc>
|
|
<type name="Caps" c:type="GstCaps**"/>
|
|
</parameter>
|
|
<parameter name="new_caps"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="287">pointer to a #GstCaps that will
|
|
replace the caps pointed to by @old_caps.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="take" c:identifier="gst_caps_take" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="306">Modifies a pointer to a #GstCaps to point to a different #GstCaps. This
|
|
function is similar to gst_caps_replace() except that it takes ownership
|
|
of @new_caps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="319"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="317">%TRUE if @new_caps was different from @old_caps</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="old_caps"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="308">pointer to a pointer to a #GstCaps to be
|
|
replaced.</doc>
|
|
<type name="Caps" c:type="GstCaps**"/>
|
|
</parameter>
|
|
<parameter name="new_caps"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="310">pointer to a #GstCaps that will
|
|
replace the caps pointed to by @old_caps.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</record>
|
|
<record name="CapsFeatures"
|
|
c:type="GstCapsFeatures"
|
|
version="1.2"
|
|
glib:type-name="GstCapsFeatures"
|
|
glib:get-type="gst_caps_features_get_type"
|
|
c:symbol-prefix="caps_features">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="21">#GstCapsFeatures can optionally be set on a #GstCaps to add requirements
|
|
for additional features for a specific #GstStructure. Caps structures with
|
|
the same name but with a non-equal set of caps features are not compatible.
|
|
If a pad supports multiple sets of features it has to add multiple equal
|
|
structures with different feature sets to the caps.
|
|
|
|
Empty #GstCapsFeatures are equivalent with the #GstCapsFeatures that only
|
|
contain #GST_CAPS_FEATURE_MEMORY_SYSTEM_MEMORY. ANY #GstCapsFeatures as
|
|
created by gst_caps_features_new_any() are equal to any other #GstCapsFeatures
|
|
and can be used to specify that any #GstCapsFeatures would be supported, e.g.
|
|
for elements that don't touch buffer memory. #GstCaps with ANY #GstCapsFeatures
|
|
are considered non-fixed and during negotiation some #GstCapsFeatures have
|
|
to be selected.
|
|
|
|
Examples for caps features would be the requirement of a specific #GstMemory
|
|
types or the requirement of having a specific #GstMeta on the buffer. Features
|
|
are given as a string of the format "memory:GstMemoryTypeName" or
|
|
"meta:GstMetaAPIName".</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="31"/>
|
|
<constructor name="new"
|
|
c:identifier="gst_caps_features_new"
|
|
version="1.2"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="220">Creates a new #GstCapsFeatures with the given features.
|
|
The last argument must be %NULL.
|
|
|
|
Free-function: gst_caps_features_free</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="61"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="230">a new, empty #GstCapsFeatures</doc>
|
|
<type name="CapsFeatures" c:type="GstCapsFeatures*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="feature1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="222">name of first feature to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="223">additional features</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_any"
|
|
c:identifier="gst_caps_features_new_any"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="196">Creates a new, ANY #GstCapsFeatures. This will be equal
|
|
to any other #GstCapsFeatures but caps with these are
|
|
unfixed.
|
|
|
|
Free-function: gst_caps_features_free</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="58"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="205">a new, ANY #GstCapsFeatures</doc>
|
|
<type name="CapsFeatures" c:type="GstCapsFeatures*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<constructor name="new_empty"
|
|
c:identifier="gst_caps_features_new_empty"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="169">Creates a new, empty #GstCapsFeatures.
|
|
|
|
Free-function: gst_caps_features_free</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="55"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="176">a new, empty #GstCapsFeatures</doc>
|
|
<type name="CapsFeatures" c:type="GstCapsFeatures*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<constructor name="new_id"
|
|
c:identifier="gst_caps_features_new_id"
|
|
version="1.2"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="279">Creates a new #GstCapsFeatures with the given features.
|
|
The last argument must be 0.
|
|
|
|
Free-function: gst_caps_features_free</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="67"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="289">a new, empty #GstCapsFeatures</doc>
|
|
<type name="CapsFeatures" c:type="GstCapsFeatures*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="feature1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="281">name of first feature to set</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="282">additional features</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_id_valist"
|
|
c:identifier="gst_caps_features_new_id_valist"
|
|
version="1.2"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="308">Creates a new #GstCapsFeatures with the given features.
|
|
|
|
Free-function: gst_caps_features_free</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="70"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="317">a new, empty #GstCapsFeatures</doc>
|
|
<type name="CapsFeatures" c:type="GstCapsFeatures*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="feature1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="310">name of first feature to set</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
<parameter name="varargs" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="311">variable argument list</doc>
|
|
<type name="va_list" c:type="va_list"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_valist"
|
|
c:identifier="gst_caps_features_new_valist"
|
|
version="1.2"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="249">Creates a new #GstCapsFeatures with the given features.
|
|
|
|
Free-function: gst_caps_features_free</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="64"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="258">a new, empty #GstCapsFeatures</doc>
|
|
<type name="CapsFeatures" c:type="GstCapsFeatures*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="feature1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="251">name of first feature to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="varargs" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="252">variable argument list</doc>
|
|
<type name="va_list" c:type="va_list"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<method name="add" c:identifier="gst_caps_features_add" version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="768">Adds @feature to @features.</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="109"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="features" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="770">a #GstCapsFeatures.</doc>
|
|
<type name="CapsFeatures" c:type="GstCapsFeatures*"/>
|
|
</instance-parameter>
|
|
<parameter name="feature" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="771">a feature.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_id"
|
|
c:identifier="gst_caps_features_add_id"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="788">Adds @feature to @features.</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="112"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="features" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="790">a #GstCapsFeatures.</doc>
|
|
<type name="CapsFeatures" c:type="GstCapsFeatures*"/>
|
|
</instance-parameter>
|
|
<parameter name="feature" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="791">a feature.</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="contains"
|
|
c:identifier="gst_caps_features_contains"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="647">Check if @features contains @feature.</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="97"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="654">%TRUE if @features contains @feature.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="features" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="649">a #GstCapsFeatures.</doc>
|
|
<type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
|
|
</instance-parameter>
|
|
<parameter name="feature" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="650">a feature</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="contains_id"
|
|
c:identifier="gst_caps_features_contains_id"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="669">Check if @features contains @feature.</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="100"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="676">%TRUE if @features contains @feature.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="features" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="671">a #GstCapsFeatures.</doc>
|
|
<type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
|
|
</instance-parameter>
|
|
<parameter name="feature" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="672">a feature</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="copy" c:identifier="gst_caps_features_copy" version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="377">Duplicates a #GstCapsFeatures and all its values.
|
|
|
|
Free-function: gst_caps_features_free</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="76"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="385">a new #GstCapsFeatures.</doc>
|
|
<type name="CapsFeatures" c:type="GstCapsFeatures*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="features" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="379">a #GstCapsFeatures to duplicate</doc>
|
|
<type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="free" c:identifier="gst_caps_features_free" version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="406">Frees a #GstCapsFeatures and all its values. The caps features must not
|
|
have a parent when this function is called.</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="79"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="features" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="408">the #GstCapsFeatures to free</doc>
|
|
<type name="CapsFeatures" c:type="GstCapsFeatures*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_nth"
|
|
c:identifier="gst_caps_features_get_nth"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="596">Returns the @i-th feature of @features.</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="91"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="603">The @i-th feature of @features.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="features" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="598">a #GstCapsFeatures.</doc>
|
|
<type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
|
|
</instance-parameter>
|
|
<parameter name="i" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="599">index of the feature</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_nth_id"
|
|
c:identifier="gst_caps_features_get_nth_id"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="623">Returns the @i-th feature of @features.</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="94"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="630">The @i-th feature of @features.</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="features" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="625">a #GstCapsFeatures.</doc>
|
|
<type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
|
|
</instance-parameter>
|
|
<parameter name="i" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="626">index of the feature</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_size"
|
|
c:identifier="gst_caps_features_get_size"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="578">Returns the number of features in @features.</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="88"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="584">The number of features in @features.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="features" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="580">a #GstCapsFeatures.</doc>
|
|
<type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_any"
|
|
c:identifier="gst_caps_features_is_any"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="750">Check if @features is %GST_CAPS_FEATURES_ANY.</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="106"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="756">%TRUE if @features is %GST_CAPS_FEATURES_ANY.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="features" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="752">a #GstCapsFeatures.</doc>
|
|
<type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_equal"
|
|
c:identifier="gst_caps_features_is_equal"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="703">Check if @features1 and @features2 are equal.</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="103"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="710">%TRUE if @features1 and @features2 are equal.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="features1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="705">a #GstCapsFeatures.</doc>
|
|
<type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
|
|
</instance-parameter>
|
|
<parameter name="features2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="706">a #GstCapsFeatures.</doc>
|
|
<type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove"
|
|
c:identifier="gst_caps_features_remove"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="821">Removes @feature from @features.</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="115"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="features" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="823">a #GstCapsFeatures.</doc>
|
|
<type name="CapsFeatures" c:type="GstCapsFeatures*"/>
|
|
</instance-parameter>
|
|
<parameter name="feature" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="824">a feature.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_id"
|
|
c:identifier="gst_caps_features_remove_id"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="840">Removes @feature from @features.</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="118"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="features" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="842">a #GstCapsFeatures.</doc>
|
|
<type name="CapsFeatures" c:type="GstCapsFeatures*"/>
|
|
</instance-parameter>
|
|
<parameter name="feature" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="843">a feature.</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_parent_refcount"
|
|
c:identifier="gst_caps_features_set_parent_refcount"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="338">Sets the parent_refcount field of #GstCapsFeatures. This field is used to
|
|
determine whether a caps features is mutable or not. This function should only be
|
|
called by code implementing parent objects of #GstCapsFeatures, as described in
|
|
the MT Refcounting section of the design documents.</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="73"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="348">%TRUE if the parent refcount could be set.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="features" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="340">a #GstCapsFeatures</doc>
|
|
<type name="CapsFeatures" c:type="GstCapsFeatures*"/>
|
|
</instance-parameter>
|
|
<parameter name="refcount" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="341">a pointer to the parent's refcount</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="to_string"
|
|
c:identifier="gst_caps_features_to_string"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="430">Converts @features to a human-readable string representation.
|
|
|
|
For debugging purposes its easier to do something like this:
|
|
|[<!-- language="C" -->
|
|
GST_LOG ("features is %" GST_PTR_FORMAT, features);
|
|
]|
|
|
This prints the features in human readable form.
|
|
|
|
Free-function: g_free</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="82"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="444">a pointer to string allocated by g_malloc().
|
|
g_free() after usage.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="features" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="432">a #GstCapsFeatures</doc>
|
|
<type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<function name="from_string"
|
|
c:identifier="gst_caps_features_from_string"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="486">Creates a #GstCapsFeatures from a string representation.
|
|
|
|
Free-function: gst_caps_features_free</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="85"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="494">a new #GstCapsFeatures or
|
|
%NULL when the string could not be parsed. Free with
|
|
gst_caps_features_free() after use.</doc>
|
|
<type name="CapsFeatures" c:type="GstCapsFeatures*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="features" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="488">a string representation of a #GstCapsFeatures.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</record>
|
|
<callback name="CapsFilterMapFunc" c:type="GstCapsFilterMapFunc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="388">A function that will be called in gst_caps_filter_and_map_in_place().
|
|
The function may modify @features and @structure, and both will be
|
|
removed from the caps if %FALSE is returned.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="401"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="398">%TRUE if the features and structure should be preserved,
|
|
%FALSE if it should be removed.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="features" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="390">the #GstCapsFeatures</doc>
|
|
<type name="CapsFeatures" c:type="GstCapsFeatures*"/>
|
|
</parameter>
|
|
<parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="391">the #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="392">user data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<bitfield name="CapsFlags"
|
|
glib:type-name="GstCapsFlags"
|
|
glib:get-type="gst_caps_flags_get_type"
|
|
c:type="GstCapsFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="40">Extra flags for a caps.</doc>
|
|
<member name="any"
|
|
value="16"
|
|
c:identifier="GST_CAPS_FLAG_ANY"
|
|
glib:nick="any">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="42">Caps has no specific content, but can contain
|
|
anything.</doc>
|
|
</member>
|
|
</bitfield>
|
|
<callback name="CapsForeachFunc" c:type="GstCapsForeachFunc" version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="354">A function that will be called in gst_caps_foreach(). The function may
|
|
not modify @features or @structure.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="368"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="363">%TRUE if the foreach operation should continue, %FALSE if
|
|
the foreach operation should stop with %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="features" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="356">the #GstCapsFeatures</doc>
|
|
<type name="CapsFeatures" c:type="GstCapsFeatures*"/>
|
|
</parameter>
|
|
<parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="357">the #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="358">user data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<enumeration name="CapsIntersectMode"
|
|
glib:type-name="GstCapsIntersectMode"
|
|
glib:get-type="gst_caps_intersect_mode_get_type"
|
|
c:type="GstCapsIntersectMode">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="51">Modes of caps intersection
|
|
|
|
@GST_CAPS_INTERSECT_ZIG_ZAG tries to preserve overall order of both caps
|
|
by iterating on the caps' structures as the following matrix shows:
|
|
|[
|
|
caps1
|
|
+-------------
|
|
| 1 2 4 7
|
|
caps2 | 3 5 8 10
|
|
| 6 9 11 12
|
|
]|
|
|
Used when there is no explicit precedence of one caps over the other. e.g.
|
|
tee's sink pad getcaps function, it will probe its src pad peers' for their
|
|
caps and intersect them with this mode.
|
|
|
|
@GST_CAPS_INTERSECT_FIRST is useful when an element wants to preserve
|
|
another element's caps priority order when intersecting with its own caps.
|
|
Example: If caps1 is [A, B, C] and caps2 is [E, B, D, A], the result
|
|
would be [A, B], maintaining the first caps priority on the intersection.</doc>
|
|
<member name="zig_zag"
|
|
value="0"
|
|
c:identifier="GST_CAPS_INTERSECT_ZIG_ZAG"
|
|
glib:nick="zig-zag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="53">Zig-zags over both caps.</doc>
|
|
</member>
|
|
<member name="first"
|
|
value="1"
|
|
c:identifier="GST_CAPS_INTERSECT_FIRST"
|
|
glib:nick="first">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="54">Keeps the first caps order.</doc>
|
|
</member>
|
|
</enumeration>
|
|
<callback name="CapsMapFunc" c:type="GstCapsMapFunc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="372">A function that will be called in gst_caps_map_in_place(). The function
|
|
may modify @features and @structure.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="384"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="381">%TRUE if the map operation should continue, %FALSE if
|
|
the map operation should stop with %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="features" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="374">the #GstCapsFeatures</doc>
|
|
<type name="CapsFeatures" c:type="GstCapsFeatures*"/>
|
|
</parameter>
|
|
<parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="375">the #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="376">user data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<interface name="ChildProxy"
|
|
c:symbol-prefix="child_proxy"
|
|
c:type="GstChildProxy"
|
|
glib:type-name="GstChildProxy"
|
|
glib:get-type="gst_child_proxy_get_type"
|
|
glib:type-struct="ChildProxyInterface">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="22">This interface abstracts handling of property sets for elements with
|
|
children. Imagine elements such as mixers or polyphonic generators. They all
|
|
have multiple #GstPad or some kind of voice objects. Another use case are
|
|
container elements like #GstBin.
|
|
The element implementing the interface acts as a parent for those child
|
|
objects.
|
|
|
|
By implementing this interface the child properties can be accessed from the
|
|
parent element by using gst_child_proxy_get() and gst_child_proxy_set().
|
|
|
|
Property names are written as "child-name::property-name". The whole naming
|
|
scheme is recursive. Thus "child1::child2::property" is valid too, if
|
|
"child1" and "child2" implement the #GstChildProxy interface.</doc>
|
|
<source-position filename="gst/gstchildproxy.h" line="68"/>
|
|
<virtual-method name="child_added" invoker="child_added">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="481">Emits the "child-added" signal.</doc>
|
|
<source-position filename="gst/gstchildproxy.h" line="63"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="483">the parent object</doc>
|
|
<type name="ChildProxy" c:type="GstChildProxy*"/>
|
|
</instance-parameter>
|
|
<parameter name="child" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="484">the newly added child</doc>
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="485">the name of the new child</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="child_removed" invoker="child_removed">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="496">Emits the "child-removed" signal.</doc>
|
|
<source-position filename="gst/gstchildproxy.h" line="64"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="498">the parent object</doc>
|
|
<type name="ChildProxy" c:type="GstChildProxy*"/>
|
|
</instance-parameter>
|
|
<parameter name="child" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="499">the removed child</doc>
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="500">the name of the old child</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="get_child_by_index" invoker="get_child_by_index">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="132">Fetches a child by its number.</doc>
|
|
<source-position filename="gst/gstchildproxy.h" line="59"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="139">the child object or %NULL if
|
|
not found (index too high). Unref after usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="134">the parent object to get the child from</doc>
|
|
<type name="ChildProxy" c:type="GstChildProxy*"/>
|
|
</instance-parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="135">the child's position in the child list</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="get_child_by_name" invoker="get_child_by_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="101">Looks up a child element by the given name.
|
|
|
|
This virtual method has a default implementation that uses #GstObject
|
|
together with gst_object_get_name(). If the interface is to be used with
|
|
#GObjects, this methods needs to be overridden.</doc>
|
|
<source-position filename="gst/gstchildproxy.h" line="58"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="112">the child object or %NULL if
|
|
not found. Unref after usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="103">the parent object to get the child from</doc>
|
|
<type name="ChildProxy" c:type="GstChildProxy*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="104">the child's name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="get_children_count" invoker="get_children_count">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="159">Gets the number of child objects this parent contains.</doc>
|
|
<source-position filename="gst/gstchildproxy.h" line="60"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="165">the number of child objects
|
|
|
|
MT safe.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="161">the parent object</doc>
|
|
<type name="ChildProxy" c:type="GstChildProxy*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="child_added" c:identifier="gst_child_proxy_child_added">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="481">Emits the "child-added" signal.</doc>
|
|
<source-position filename="gst/gstchildproxy.h" line="109"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="483">the parent object</doc>
|
|
<type name="ChildProxy" c:type="GstChildProxy*"/>
|
|
</instance-parameter>
|
|
<parameter name="child" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="484">the newly added child</doc>
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="485">the name of the new child</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="child_removed"
|
|
c:identifier="gst_child_proxy_child_removed">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="496">Emits the "child-removed" signal.</doc>
|
|
<source-position filename="gst/gstchildproxy.h" line="112"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="498">the parent object</doc>
|
|
<type name="ChildProxy" c:type="GstChildProxy*"/>
|
|
</instance-parameter>
|
|
<parameter name="child" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="499">the removed child</doc>
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="500">the name of the old child</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get" c:identifier="gst_child_proxy_get" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="347">Gets properties of the parent object and its children.</doc>
|
|
<source-position filename="gst/gstchildproxy.h" line="93"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="349">the parent object</doc>
|
|
<type name="ChildProxy" c:type="GstChildProxy*"/>
|
|
</instance-parameter>
|
|
<parameter name="first_property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="350">name of the first property to get</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="351">return location for the first property, followed optionally by more name/return location pairs, followed by %NULL</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_child_by_index"
|
|
c:identifier="gst_child_proxy_get_child_by_index">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="132">Fetches a child by its number.</doc>
|
|
<source-position filename="gst/gstchildproxy.h" line="80"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="139">the child object or %NULL if
|
|
not found (index too high). Unref after usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="134">the parent object to get the child from</doc>
|
|
<type name="ChildProxy" c:type="GstChildProxy*"/>
|
|
</instance-parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="135">the child's position in the child list</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_child_by_name"
|
|
c:identifier="gst_child_proxy_get_child_by_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="101">Looks up a child element by the given name.
|
|
|
|
This virtual method has a default implementation that uses #GstObject
|
|
together with gst_object_get_name(). If the interface is to be used with
|
|
#GObjects, this methods needs to be overridden.</doc>
|
|
<source-position filename="gst/gstchildproxy.h" line="74"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="112">the child object or %NULL if
|
|
not found. Unref after usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="103">the parent object to get the child from</doc>
|
|
<type name="ChildProxy" c:type="GstChildProxy*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="104">the child's name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_children_count"
|
|
c:identifier="gst_child_proxy_get_children_count">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="159">Gets the number of child objects this parent contains.</doc>
|
|
<source-position filename="gst/gstchildproxy.h" line="77"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="165">the number of child objects
|
|
|
|
MT safe.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="161">the parent object</doc>
|
|
<type name="ChildProxy" c:type="GstChildProxy*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_property" c:identifier="gst_child_proxy_get_property">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="257">Gets a single property using the GstChildProxy mechanism.
|
|
You are responsible for freeing it by calling g_value_unset()</doc>
|
|
<source-position filename="gst/gstchildproxy.h" line="86"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="259">object to query</doc>
|
|
<type name="ChildProxy" c:type="GstChildProxy*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="260">name of the property</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="261">a #GValue that should take the result.</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_valist"
|
|
c:identifier="gst_child_proxy_get_valist"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="293">Gets properties of the parent object and its children.</doc>
|
|
<source-position filename="gst/gstchildproxy.h" line="89"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="295">the object to query</doc>
|
|
<type name="ChildProxy" c:type="GstChildProxy*"/>
|
|
</instance-parameter>
|
|
<parameter name="first_property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="296">name of the first property to get</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="var_args" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="297">return location for the first property, followed optionally by more name/return location pairs, followed by %NULL</doc>
|
|
<type name="va_list" c:type="va_list"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="lookup" c:identifier="gst_child_proxy_lookup">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="184">Looks up which object and #GParamSpec would be effected by the given @name.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstchildproxy.h" line="83"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="197">%TRUE if @target and @pspec could be found. %FALSE otherwise. In that
|
|
case the values for @pspec and @target are not modified. Unref @target after
|
|
usage. For plain GObjects @target is the same as @object.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="186">child proxy object to lookup the property in</doc>
|
|
<type name="ChildProxy" c:type="GstChildProxy*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="187">name of the property to look up</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="target"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="188">pointer to a #GObject that
|
|
takes the real object to set property on</doc>
|
|
<type name="GObject.Object" c:type="GObject**"/>
|
|
</parameter>
|
|
<parameter name="pspec"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="190">pointer to take the #GParamSpec
|
|
describing the property</doc>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set" c:identifier="gst_child_proxy_set" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="460">Sets properties of the parent object and its children.</doc>
|
|
<source-position filename="gst/gstchildproxy.h" line="105"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="462">the parent object</doc>
|
|
<type name="ChildProxy" c:type="GstChildProxy*"/>
|
|
</instance-parameter>
|
|
<parameter name="first_property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="463">name of the first property to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="464">value for the first property, followed optionally by more name/value pairs, followed by %NULL</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_property" c:identifier="gst_child_proxy_set_property">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="368">Sets a single property using the GstChildProxy mechanism.</doc>
|
|
<source-position filename="gst/gstchildproxy.h" line="97"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="370">the parent object</doc>
|
|
<type name="ChildProxy" c:type="GstChildProxy*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="371">name of the property to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="372">new #GValue for the property</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_valist"
|
|
c:identifier="gst_child_proxy_set_valist"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="402">Sets properties of the parent object and its children.</doc>
|
|
<source-position filename="gst/gstchildproxy.h" line="101"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="404">the parent object</doc>
|
|
<type name="ChildProxy" c:type="GstChildProxy*"/>
|
|
</instance-parameter>
|
|
<parameter name="first_property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="405">name of the first property to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="var_args" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="406">value for the first property, followed optionally by more name/value pairs, followed by %NULL</doc>
|
|
<type name="va_list" c:type="va_list"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<glib:signal name="child-added" when="first">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="528">Will be emitted after the @object was added to the @child_proxy.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="531">the #GObject that was added</doc>
|
|
<type name="GObject.Object"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="532">the name of the new child</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="child-removed" when="first">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="542">Will be emitted after the @object was removed from the @child_proxy.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="545">the #GObject that was removed</doc>
|
|
<type name="GObject.Object"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="546">the name of the old child</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
</interface>
|
|
<record name="ChildProxyInterface"
|
|
c:type="GstChildProxyInterface"
|
|
glib:is-gtype-struct-for="ChildProxy">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.h"
|
|
line="44">#GstChildProxy interface.</doc>
|
|
<source-position filename="gst/gstchildproxy.h" line="68"/>
|
|
<field name="parent">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.h"
|
|
line="46">parent interface type.</doc>
|
|
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
|
|
</field>
|
|
<field name="get_child_by_name">
|
|
<callback name="get_child_by_name">
|
|
<source-position filename="gst/gstchildproxy.h" line="58"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="112">the child object or %NULL if
|
|
not found. Unref after usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="103">the parent object to get the child from</doc>
|
|
<type name="ChildProxy" c:type="GstChildProxy*"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="104">the child's name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="get_child_by_index">
|
|
<callback name="get_child_by_index">
|
|
<source-position filename="gst/gstchildproxy.h" line="59"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="139">the child object or %NULL if
|
|
not found (index too high). Unref after usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="134">the parent object to get the child from</doc>
|
|
<type name="ChildProxy" c:type="GstChildProxy*"/>
|
|
</parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="135">the child's position in the child list</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="get_children_count">
|
|
<callback name="get_children_count">
|
|
<source-position filename="gst/gstchildproxy.h" line="60"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="165">the number of child objects
|
|
|
|
MT safe.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="161">the parent object</doc>
|
|
<type name="ChildProxy" c:type="GstChildProxy*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="child_added">
|
|
<callback name="child_added">
|
|
<source-position filename="gst/gstchildproxy.h" line="63"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="483">the parent object</doc>
|
|
<type name="ChildProxy" c:type="GstChildProxy*"/>
|
|
</parameter>
|
|
<parameter name="child" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="484">the newly added child</doc>
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="485">the name of the new child</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="child_removed">
|
|
<callback name="child_removed">
|
|
<source-position filename="gst/gstchildproxy.h" line="64"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="498">the parent object</doc>
|
|
<type name="ChildProxy" c:type="GstChildProxy*"/>
|
|
</parameter>
|
|
<parameter name="child" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="499">the removed child</doc>
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstchildproxy.c"
|
|
line="500">the name of the old child</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<class name="Clock"
|
|
c:symbol-prefix="clock"
|
|
c:type="GstClock"
|
|
parent="Object"
|
|
abstract="1"
|
|
glib:type-name="GstClock"
|
|
glib:get-type="gst_clock_get_type"
|
|
glib:type-struct="ClockClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="24">GStreamer uses a global clock to synchronize the plugins in a pipeline.
|
|
Different clock implementations are possible by implementing this abstract
|
|
base class or, more conveniently, by subclassing #GstSystemClock.
|
|
|
|
The #GstClock returns a monotonically increasing time with the method
|
|
gst_clock_get_time(). Its accuracy and base time depend on the specific
|
|
clock implementation but time is always expressed in nanoseconds. Since the
|
|
baseline of the clock is undefined, the clock time returned is not
|
|
meaningful in itself, what matters are the deltas between two clock times.
|
|
The time returned by a clock is called the absolute time.
|
|
|
|
The pipeline uses the clock to calculate the running time. Usually all
|
|
renderers synchronize to the global clock using the buffer timestamps, the
|
|
newsegment events and the element's base time, see #GstPipeline.
|
|
|
|
A clock implementation can support periodic and single shot clock
|
|
notifications both synchronous and asynchronous.
|
|
|
|
One first needs to create a #GstClockID for the periodic or single shot
|
|
notification using gst_clock_new_single_shot_id() or
|
|
gst_clock_new_periodic_id().
|
|
|
|
To perform a blocking wait for the specific time of the #GstClockID use the
|
|
gst_clock_id_wait(). To receive a callback when the specific time is reached
|
|
in the clock use gst_clock_id_wait_async(). Both these calls can be
|
|
interrupted with the gst_clock_id_unschedule() call. If the blocking wait is
|
|
unscheduled a return value of #GST_CLOCK_UNSCHEDULED is returned.
|
|
|
|
Periodic callbacks scheduled async will be repeatedly called automatically
|
|
until it is unscheduled. To schedule a sync periodic callback,
|
|
gst_clock_id_wait() should be called repeatedly.
|
|
|
|
The async callbacks can happen from any thread, either provided by the core
|
|
or from a streaming thread. The application should be prepared for this.
|
|
|
|
A #GstClockID that has been unscheduled cannot be used again for any wait
|
|
operation, a new #GstClockID should be created and the old unscheduled one
|
|
should be destroyed with gst_clock_id_unref().
|
|
|
|
It is possible to perform a blocking wait on the same #GstClockID from
|
|
multiple threads. However, registering the same #GstClockID for multiple
|
|
async notifications is not possible, the callback will only be called for
|
|
the thread registering the entry last.
|
|
|
|
None of the wait operations unref the #GstClockID, the owner is responsible
|
|
for unreffing the ids itself. This holds for both periodic and single shot
|
|
notifications. The reason being that the owner of the #GstClockID has to
|
|
keep a handle to the #GstClockID to unblock the wait on FLUSHING events or
|
|
state changes and if the entry would be unreffed automatically, the handle
|
|
might become invalid without any notification.
|
|
|
|
These clock operations do not operate on the running time, so the callbacks
|
|
will also occur when not in PLAYING state as if the clock just keeps on
|
|
running. Some clocks however do not progress when the element that provided
|
|
the clock is not PLAYING.
|
|
|
|
When a clock has the #GST_CLOCK_FLAG_CAN_SET_MASTER flag set, it can be
|
|
slaved to another #GstClock with the gst_clock_set_master(). The clock will
|
|
then automatically be synchronized to this master clock by repeatedly
|
|
sampling the master clock and the slave clock and recalibrating the slave
|
|
clock with gst_clock_set_calibration(). This feature is mostly useful for
|
|
plugins that have an internal clock but must operate with another clock
|
|
selected by the #GstPipeline. They can track the offset and rate difference
|
|
of their internal clock relative to the master clock by using the
|
|
gst_clock_get_calibration() function.
|
|
|
|
The master/slave synchronisation can be tuned with the #GstClock:timeout,
|
|
#GstClock:window-size and #GstClock:window-threshold properties.
|
|
The #GstClock:timeout property defines the interval to sample the master
|
|
clock and run the calibration functions. #GstClock:window-size defines the
|
|
number of samples to use when calibrating and #GstClock:window-threshold
|
|
defines the minimum number of samples before the calibration is performed.</doc>
|
|
<source-position filename="gst/gstclock.h" line="503"/>
|
|
<function name="id_compare_func"
|
|
c:identifier="gst_clock_id_compare_func">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="460">Compares the two #GstClockID instances. This function can be used
|
|
as a GCompareFunc when sorting ids.</doc>
|
|
<source-position filename="gst/gstclock.h" line="612"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="468">negative value if a < b; zero if a = b; positive value if a > b
|
|
|
|
MT safe.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="id1"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="462">A #GstClockID</doc>
|
|
<type name="gpointer" c:type="gconstpointer"/>
|
|
</parameter>
|
|
<parameter name="id2"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="463">A #GstClockID to compare with</doc>
|
|
<type name="gpointer" c:type="gconstpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="id_get_clock"
|
|
c:identifier="gst_clock_id_get_clock"
|
|
version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1390">This function returns the underlying clock.</doc>
|
|
<source-position filename="gst/gstclock.h" line="615"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1396">a #GstClock or %NULL when the
|
|
underlying clock has been freed. Unref after usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="id" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1392">a #GstClockID</doc>
|
|
<type name="ClockID" c:type="GstClockID"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="id_get_time" c:identifier="gst_clock_id_get_time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="489">Get the time of the clock ID</doc>
|
|
<source-position filename="gst/gstclock.h" line="621"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="495">the time of the given clock id.
|
|
|
|
MT safe.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="id" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="491">The #GstClockID to query</doc>
|
|
<type name="ClockID" c:type="GstClockID"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="id_ref" c:identifier="gst_clock_id_ref">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="338">Increase the refcount of given @id.</doc>
|
|
<source-position filename="gst/gstclock.h" line="604"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="344">The same #GstClockID with increased refcount.
|
|
|
|
MT safe.</doc>
|
|
<type name="ClockID" c:type="GstClockID"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="id" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="340">The #GstClockID to ref</doc>
|
|
<type name="ClockID" c:type="GstClockID"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="id_unref" c:identifier="gst_clock_id_unref">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="381">Unref given @id. When the refcount reaches 0 the
|
|
#GstClockID will be freed.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstclock.h" line="607"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="id" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="383">The #GstClockID to unref</doc>
|
|
<type name="ClockID" c:type="GstClockID"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="id_unschedule" c:identifier="gst_clock_id_unschedule">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="676">Cancel an outstanding request with @id. This can either
|
|
be an outstanding async notification or a pending sync notification.
|
|
After this call, @id cannot be used anymore to receive sync or
|
|
async notifications, you need to create a new #GstClockID.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstclock.h" line="632"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="id" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="678">The id to unschedule</doc>
|
|
<type name="ClockID" c:type="GstClockID"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="id_uses_clock"
|
|
c:identifier="gst_clock_id_uses_clock"
|
|
version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1414">This function returns whether @id uses @clock as the underlying clock.
|
|
@clock can be NULL, in which case the return value indicates whether
|
|
the underlying clock has been freed. If this is the case, the @id is
|
|
no longer usable and should be freed.</doc>
|
|
<source-position filename="gst/gstclock.h" line="618"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1424">whether the clock @id uses the same underlying #GstClock @clock.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="id" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1416">a #GstClockID to check</doc>
|
|
<type name="ClockID" c:type="GstClockID"/>
|
|
</parameter>
|
|
<parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1417">a #GstClock to compare against</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="id_wait" c:identifier="gst_clock_id_wait">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="507">Perform a blocking wait on @id.
|
|
@id should have been created with gst_clock_new_single_shot_id()
|
|
or gst_clock_new_periodic_id() and should not have been unscheduled
|
|
with a call to gst_clock_id_unschedule().
|
|
|
|
If the @jitter argument is not %NULL and this function returns #GST_CLOCK_OK
|
|
or #GST_CLOCK_EARLY, it will contain the difference
|
|
against the clock and the time of @id when this method was
|
|
called.
|
|
Positive values indicate how late @id was relative to the clock
|
|
(in which case this function will return #GST_CLOCK_EARLY).
|
|
Negative values indicate how much time was spent waiting on the clock
|
|
before this function returned.</doc>
|
|
<source-position filename="gst/gstclock.h" line="624"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="527">the result of the blocking wait. #GST_CLOCK_EARLY will be returned
|
|
if the current clock time is past the time of @id, #GST_CLOCK_OK if
|
|
@id was scheduled in time. #GST_CLOCK_UNSCHEDULED if @id was
|
|
unscheduled with gst_clock_id_unschedule().
|
|
|
|
MT safe.</doc>
|
|
<type name="ClockReturn" c:type="GstClockReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="id" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="509">The #GstClockID to wait on</doc>
|
|
<type name="ClockID" c:type="GstClockID"/>
|
|
</parameter>
|
|
<parameter name="jitter"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="510">a pointer that will contain the jitter,
|
|
can be %NULL.</doc>
|
|
<type name="ClockTimeDiff" c:type="GstClockTimeDiff*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="id_wait_async" c:identifier="gst_clock_id_wait_async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="597">Register a callback on the given #GstClockID @id with the given
|
|
function and user_data. When passing a #GstClockID with an invalid
|
|
time to this function, the callback will be called immediately
|
|
with a time set to GST_CLOCK_TIME_NONE. The callback will
|
|
be called when the time of @id has been reached.
|
|
|
|
The callback @func can be invoked from any thread, either provided by the
|
|
core or from a streaming thread. The application should be prepared for this.</doc>
|
|
<source-position filename="gst/gstclock.h" line="627"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="613">the result of the non blocking wait.
|
|
|
|
MT safe.</doc>
|
|
<type name="ClockReturn" c:type="GstClockReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="id" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="599">a #GstClockID to wait on</doc>
|
|
<type name="ClockID" c:type="GstClockID"/>
|
|
</parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="notified"
|
|
closure="2"
|
|
destroy="3">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="600">The callback function</doc>
|
|
<type name="ClockCallback" c:type="GstClockCallback"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="601">User data passed in the callback</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="destroy_data"
|
|
transfer-ownership="none"
|
|
scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="602">#GDestroyNotify for user_data</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<virtual-method name="change_resolution">
|
|
<source-position filename="gst/gstclock.h" line="488"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
<parameter name="old_resolution" transfer-ownership="none">
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="new_resolution" transfer-ownership="none">
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="get_internal_time" invoker="get_internal_time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1059">Gets the current internal time of the given clock. The time is returned
|
|
unadjusted for the offset and the rate.</doc>
|
|
<source-position filename="gst/gstclock.h" line="493"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1066">the internal time of the clock. Or GST_CLOCK_TIME_NONE when
|
|
given invalid input.
|
|
|
|
MT safe.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1061">a #GstClock to query</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="get_resolution" invoker="get_resolution">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="860">Get the accuracy of the clock. The accuracy of the clock is the granularity
|
|
of the values returned by gst_clock_get_time().</doc>
|
|
<source-position filename="gst/gstclock.h" line="491"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="867">the resolution of the clock in units of #GstClockTime.
|
|
|
|
MT safe.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="862">a #GstClock</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="unschedule">
|
|
<source-position filename="gst/gstclock.h" line="499"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
<parameter name="entry" transfer-ownership="none">
|
|
<type name="ClockEntry" c:type="GstClockEntry*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="wait">
|
|
<source-position filename="gst/gstclock.h" line="496"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="ClockReturn" c:type="GstClockReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
<parameter name="entry" transfer-ownership="none">
|
|
<type name="ClockEntry" c:type="GstClockEntry*"/>
|
|
</parameter>
|
|
<parameter name="jitter" transfer-ownership="none">
|
|
<type name="ClockTimeDiff" c:type="GstClockTimeDiff*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="wait_async">
|
|
<source-position filename="gst/gstclock.h" line="498"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="ClockReturn" c:type="GstClockReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
<parameter name="entry" transfer-ownership="none">
|
|
<type name="ClockEntry" c:type="GstClockEntry*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="add_observation" c:identifier="gst_clock_add_observation">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1452">The time @master of the master clock and the time @slave of the slave
|
|
clock are added to the list of observations. If enough observations
|
|
are available, a linear regression algorithm is run on the
|
|
observations and @clock is recalibrated.
|
|
|
|
If this functions returns %TRUE, @r_squared will contain the
|
|
correlation coefficient of the interpolation. A value of 1.0
|
|
means a perfect regression was performed. This value can
|
|
be used to control the sampling frequency of the master and slave
|
|
clocks.</doc>
|
|
<source-position filename="gst/gstclock.h" line="543"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1470">%TRUE if enough observations were added to run the
|
|
regression algorithm.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1454">a #GstClock</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
<parameter name="slave" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1455">a time on the slave</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="master" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1456">a time on the master</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="r_squared"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1457">a pointer to hold the result</doc>
|
|
<type name="gdouble" c:type="gdouble*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_observation_unapplied"
|
|
c:identifier="gst_clock_add_observation_unapplied"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1491">Add a clock observation to the internal slaving algorithm the same as
|
|
gst_clock_add_observation(), and return the result of the master clock
|
|
estimation, without updating the internal calibration.
|
|
|
|
The caller can then take the results and call gst_clock_set_calibration()
|
|
with the values, or some modified version of them.</doc>
|
|
<source-position filename="gst/gstclock.h" line="546"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1493">a #GstClock</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
<parameter name="slave" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1494">a time on the slave</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="master" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1495">a time on the master</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="r_squared"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1496">a pointer to hold the result</doc>
|
|
<type name="gdouble" c:type="gdouble*"/>
|
|
</parameter>
|
|
<parameter name="internal"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1497">a location to store the internal time</doc>
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
<parameter name="external"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1498">a location to store the external time</doc>
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
<parameter name="rate_num"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1499">a location to store the rate numerator</doc>
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
<parameter name="rate_denom"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1500">a location to store the rate denominator</doc>
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="adjust_unlocked" c:identifier="gst_clock_adjust_unlocked">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="943">Converts the given @internal clock time to the external time, adjusting for the
|
|
rate and reference time set with gst_clock_set_calibration() and making sure
|
|
that the returned time is increasing. This function should be called with the
|
|
clock's OBJECT_LOCK held and is mainly used by clock subclasses.
|
|
|
|
This function is the reverse of gst_clock_unadjust_unlocked().</doc>
|
|
<source-position filename="gst/gstclock.h" line="559"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="955">the converted time of the clock.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="945">a #GstClock to use</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
<parameter name="internal" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="946">a clock time</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="adjust_with_calibration"
|
|
c:identifier="gst_clock_adjust_with_calibration"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="887">Converts the given @internal_target clock time to the external time,
|
|
using the passed calibration parameters. This function performs the
|
|
same calculation as gst_clock_adjust_unlocked() when called using the
|
|
current calibration parameters, but doesn't ensure a monotonically
|
|
increasing result as gst_clock_adjust_unlocked() does.
|
|
|
|
Note: The @clock parameter is unused and can be NULL</doc>
|
|
<source-position filename="gst/gstclock.h" line="562"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="905">the converted time of the clock.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="889">a #GstClock to use</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
<parameter name="internal_target" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="890">a clock time</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="cinternal" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="891">a reference internal time</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="cexternal" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="892">a reference external time</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="cnum" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="893">the numerator of the rate of the clock relative to its
|
|
internal time</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="cdenom" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="895">the denominator of the rate of the clock</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_calibration" c:identifier="gst_clock_get_calibration">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1201">Gets the internal rate and reference time of @clock. See
|
|
gst_clock_set_calibration() for more information.
|
|
|
|
@internal, @external, @rate_num, and @rate_denom can be left %NULL if the
|
|
caller is not interested in the values.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstclock.h" line="523"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1203">a #GstClock</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
<parameter name="internal"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1204">a location to store the internal time</doc>
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
<parameter name="external"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1205">a location to store the external time</doc>
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
<parameter name="rate_num"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1206">a location to store the rate numerator</doc>
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
<parameter name="rate_denom"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1207">a location to store the rate denominator</doc>
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_internal_time"
|
|
c:identifier="gst_clock_get_internal_time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1059">Gets the current internal time of the given clock. The time is returned
|
|
unadjusted for the offset and the rate.</doc>
|
|
<source-position filename="gst/gstclock.h" line="556"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1066">the internal time of the clock. Or GST_CLOCK_TIME_NONE when
|
|
given invalid input.
|
|
|
|
MT safe.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1061">a #GstClock to query</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_master" c:identifier="gst_clock_get_master">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1359">Get the master clock that @clock is slaved to or %NULL when the clock is
|
|
not slaved to any master clock.</doc>
|
|
<source-position filename="gst/gstclock.h" line="534"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1366">a master #GstClock or %NULL
|
|
when this clock is not slaved to a master clock. Unref after
|
|
usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1361">a #GstClock</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_resolution" c:identifier="gst_clock_get_resolution">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="860">Get the accuracy of the clock. The accuracy of the clock is the granularity
|
|
of the values returned by gst_clock_get_time().</doc>
|
|
<source-position filename="gst/gstclock.h" line="512"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="867">the resolution of the clock in units of #GstClockTime.
|
|
|
|
MT safe.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="862">a #GstClock</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_time" c:identifier="gst_clock_get_time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1105">Gets the current time of the given clock. The time is always
|
|
monotonically increasing and adjusted according to the current
|
|
offset and rate.</doc>
|
|
<source-position filename="gst/gstclock.h" line="515"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1113">the time of the clock. Or GST_CLOCK_TIME_NONE when
|
|
given invalid input.
|
|
|
|
MT safe.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1107">a #GstClock to query</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_timeout" c:identifier="gst_clock_get_timeout">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1597">Get the amount of time that master and slave clocks are sampled.</doc>
|
|
<source-position filename="gst/gstclock.h" line="540"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1603">the interval between samples.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1599">a #GstClock</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_synced"
|
|
c:identifier="gst_clock_is_synced"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1738">Checks if the clock is currently synced.
|
|
|
|
This returns if GST_CLOCK_FLAG_NEEDS_STARTUP_SYNC is not set on the clock.</doc>
|
|
<source-position filename="gst/gstclock.h" line="584"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1746">%TRUE if the clock is currently synced</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1740">a GstClock</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="new_periodic_id" c:identifier="gst_clock_new_periodic_id">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="429">Get an ID from @clock to trigger a periodic notification.
|
|
The periodic notifications will start at time @start_time and
|
|
will then be fired with the given @interval. @id should be unreffed
|
|
after usage.
|
|
|
|
Free-function: gst_clock_id_unref</doc>
|
|
<source-position filename="gst/gstclock.h" line="597"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="442">a #GstClockID that can be used to request the
|
|
time notification.
|
|
|
|
MT safe.</doc>
|
|
<type name="ClockID" c:type="GstClockID"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="431">The #GstClockID to get a periodic notification id from</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
<parameter name="start_time" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="432">the requested start time</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="interval" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="433">the requested interval</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="new_single_shot_id"
|
|
c:identifier="gst_clock_new_single_shot_id">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="404">Get a #GstClockID from @clock to trigger a single shot
|
|
notification at the requested time. The single shot id should be
|
|
unreffed after usage.
|
|
|
|
Free-function: gst_clock_id_unref</doc>
|
|
<source-position filename="gst/gstclock.h" line="594"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="415">a #GstClockID that can be used to request the
|
|
time notification.
|
|
|
|
MT safe.</doc>
|
|
<type name="ClockID" c:type="GstClockID"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="406">The #GstClockID to get a single shot notification from</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
<parameter name="time" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="407">the requested time</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="periodic_id_reinit"
|
|
c:identifier="gst_clock_periodic_id_reinit">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="317">Reinitializes the provided periodic @id to the provided start time and
|
|
interval. Does not modify the reference count.</doc>
|
|
<source-position filename="gst/gstclock.h" line="639"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="327">%TRUE if the GstClockID could be reinitialized to the provided
|
|
@time, else %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="319">a #GstClock</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
<parameter name="id" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="320">a #GstClockID</doc>
|
|
<type name="ClockID" c:type="GstClockID"/>
|
|
</parameter>
|
|
<parameter name="start_time" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="321">the requested start time</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="interval" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="322">the requested interval</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_calibration" c:identifier="gst_clock_set_calibration">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1142">Adjusts the rate and time of @clock. A rate of 1/1 is the normal speed of
|
|
the clock. Values bigger than 1/1 make the clock go faster.
|
|
|
|
@internal and @external are calibration parameters that arrange that
|
|
gst_clock_get_time() should have been @external at internal time @internal.
|
|
This internal time should not be in the future; that is, it should be less
|
|
than the value of gst_clock_get_internal_time() when this function is called.
|
|
|
|
Subsequent calls to gst_clock_get_time() will return clock times computed as
|
|
follows:
|
|
|
|
|[
|
|
time = (internal_time - internal) * rate_num / rate_denom + external
|
|
]|
|
|
|
|
This formula is implemented in gst_clock_adjust_unlocked(). Of course, it
|
|
tries to do the integer arithmetic as precisely as possible.
|
|
|
|
Note that gst_clock_get_time() always returns increasing values so when you
|
|
move the clock backwards, gst_clock_get_time() will report the previous value
|
|
until the clock catches up.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstclock.h" line="518"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1144">a #GstClock to calibrate</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
<parameter name="internal" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1145">a reference internal time</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="external" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1146">a reference external time</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="rate_num" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1147">the numerator of the rate of the clock relative to its
|
|
internal time</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="rate_denom" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1149">the denominator of the rate of the clock</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_master" c:identifier="gst_clock_set_master">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1271">Set @master as the master clock for @clock. @clock will be automatically
|
|
calibrated so that gst_clock_get_time() reports the same time as the
|
|
master clock.
|
|
|
|
A clock provider that slaves its clock to a master can get the current
|
|
calibration values with gst_clock_get_calibration().
|
|
|
|
@master can be %NULL in which case @clock will not be slaved anymore. It will
|
|
however keep reporting its time adjusted with the last configured rate
|
|
and time offsets.</doc>
|
|
<source-position filename="gst/gstclock.h" line="531"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1287">%TRUE if the clock is capable of being slaved to a master clock.
|
|
Trying to set a master on a clock without the
|
|
#GST_CLOCK_FLAG_CAN_SET_MASTER flag will make this function return %FALSE.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1273">a #GstClock</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
<parameter name="master"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1274">a master #GstClock</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_resolution" c:identifier="gst_clock_set_resolution">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="828">Set the accuracy of the clock. Some clocks have the possibility to operate
|
|
with different accuracy at the expense of more resource usage. There is
|
|
normally no need to change the default resolution of a clock. The resolution
|
|
of a clock can only be changed if the clock has the
|
|
#GST_CLOCK_FLAG_CAN_SET_RESOLUTION flag set.</doc>
|
|
<source-position filename="gst/gstclock.h" line="509"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="839">the new resolution of the clock.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="830">a #GstClock</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
<parameter name="resolution" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="831">The resolution to set</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_synced"
|
|
c:identifier="gst_clock_set_synced"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1759">Sets @clock to synced and emits the GstClock::synced signal, and wakes up any
|
|
thread waiting in gst_clock_wait_for_sync().
|
|
|
|
This function must only be called if GST_CLOCK_FLAG_NEEDS_STARTUP_SYNC
|
|
is set on the clock, and is intended to be called by subclasses only.</doc>
|
|
<source-position filename="gst/gstclock.h" line="589"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1761">a GstClock</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
<parameter name="synced" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1762">if the clock is synced</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_timeout" c:identifier="gst_clock_set_timeout">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1579">Set the amount of time, in nanoseconds, to sample master and slave
|
|
clocks</doc>
|
|
<source-position filename="gst/gstclock.h" line="537"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1581">a #GstClock</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
<parameter name="timeout" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1582">a timeout</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="single_shot_id_reinit"
|
|
c:identifier="gst_clock_single_shot_id_reinit">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="297">Reinitializes the provided single shot @id to the provided time. Does not
|
|
modify the reference count.</doc>
|
|
<source-position filename="gst/gstclock.h" line="635"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="306">%TRUE if the GstClockID could be reinitialized to the provided
|
|
@time, else %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="299">a #GstClock</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
<parameter name="id" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="300">a #GstClockID</doc>
|
|
<type name="ClockID" c:type="GstClockID"/>
|
|
</parameter>
|
|
<parameter name="time" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="301">The requested time.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unadjust_unlocked"
|
|
c:identifier="gst_clock_unadjust_unlocked">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1029">Converts the given @external clock time to the internal time of @clock,
|
|
using the rate and reference time set with gst_clock_set_calibration().
|
|
This function should be called with the clock's OBJECT_LOCK held and
|
|
is mainly used by clock subclasses.
|
|
|
|
This function is the reverse of gst_clock_adjust_unlocked().</doc>
|
|
<source-position filename="gst/gstclock.h" line="576"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1041">the internal time of the clock corresponding to @external.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1031">a #GstClock to use</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
<parameter name="external" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1032">an external clock time</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unadjust_with_calibration"
|
|
c:identifier="gst_clock_unadjust_with_calibration"
|
|
version="1.8">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="980">Converts the given @external_target clock time to the internal time,
|
|
using the passed calibration parameters. This function performs the
|
|
same calculation as gst_clock_unadjust_unlocked() when called using the
|
|
current calibration parameters.
|
|
|
|
Note: The @clock parameter is unused and can be NULL</doc>
|
|
<source-position filename="gst/gstclock.h" line="569"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="997">the converted time of the clock.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="982">a #GstClock to use</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
<parameter name="external_target" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="983">a clock time</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="cinternal" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="984">a reference internal time</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="cexternal" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="985">a reference external time</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="cnum" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="986">the numerator of the rate of the clock relative to its
|
|
internal time</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="cdenom" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="988">the denominator of the rate of the clock</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="wait_for_sync"
|
|
c:identifier="gst_clock_wait_for_sync"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1686">Waits until @clock is synced for reporting the current time. If @timeout
|
|
is %GST_CLOCK_TIME_NONE it will wait forever, otherwise it will time out
|
|
after @timeout nanoseconds.
|
|
|
|
For asynchronous waiting, the GstClock::synced signal can be used.
|
|
|
|
This returns immediately with TRUE if GST_CLOCK_FLAG_NEEDS_STARTUP_SYNC
|
|
is not set on the clock, or if the clock is already synced.</doc>
|
|
<source-position filename="gst/gstclock.h" line="581"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1700">%TRUE if waiting was successful, or %FALSE on timeout</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1688">a GstClock</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</instance-parameter>
|
|
<parameter name="timeout" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1689">timeout for waiting or %GST_CLOCK_TIME_NONE</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="timeout" writable="1" transfer-ownership="none">
|
|
<type name="guint64" c:type="guint64"/>
|
|
</property>
|
|
<property name="window-size" writable="1" transfer-ownership="none">
|
|
<type name="gint" c:type="gint"/>
|
|
</property>
|
|
<property name="window-threshold" writable="1" transfer-ownership="none">
|
|
<type name="gint" c:type="gint"/>
|
|
</property>
|
|
<field name="object">
|
|
<type name="Object" c:type="GstObject"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="ClockPrivate" c:type="GstClockPrivate*"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<glib:signal name="synced" when="last" version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="748">Signaled on clocks with GST_CLOCK_FLAG_NEEDS_STARTUP_SYNC set once
|
|
the clock is synchronized, or when it completely lost synchronization.
|
|
This signal will not be emitted on clocks without the flag.
|
|
|
|
This signal will be emitted from an arbitrary thread, most likely not
|
|
the application's main thread.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="synced" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="751">if the clock is synced now</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
</class>
|
|
<callback name="ClockCallback" c:type="GstClockCallback">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="285">The function prototype of the callback.</doc>
|
|
<source-position filename="gst/gstclock.h" line="296"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="294">%TRUE or %FALSE (currently unused)</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="287">The clock that triggered the callback</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</parameter>
|
|
<parameter name="time" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="288">The time it was triggered</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="id" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="289">The #GstClockID that expired</doc>
|
|
<type name="ClockID" c:type="GstClockID"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="3">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="290">user data passed in the gst_clock_id_wait_async() function</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<record name="ClockClass"
|
|
c:type="GstClockClass"
|
|
glib:is-gtype-struct-for="Clock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="467">GStreamer clock class. Override the vmethods to implement the clock
|
|
functionality.</doc>
|
|
<source-position filename="gst/gstclock.h" line="503"/>
|
|
<field name="parent_class">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="469">the parent class structure</doc>
|
|
<type name="ObjectClass" c:type="GstObjectClass"/>
|
|
</field>
|
|
<field name="change_resolution">
|
|
<callback name="change_resolution">
|
|
<source-position filename="gst/gstclock.h" line="488"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="clock" transfer-ownership="none">
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</parameter>
|
|
<parameter name="old_resolution" transfer-ownership="none">
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="new_resolution" transfer-ownership="none">
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="get_resolution">
|
|
<callback name="get_resolution">
|
|
<source-position filename="gst/gstclock.h" line="491"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="867">the resolution of the clock in units of #GstClockTime.
|
|
|
|
MT safe.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="862">a #GstClock</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="get_internal_time">
|
|
<callback name="get_internal_time">
|
|
<source-position filename="gst/gstclock.h" line="493"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1066">the internal time of the clock. Or GST_CLOCK_TIME_NONE when
|
|
given invalid input.
|
|
|
|
MT safe.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.c"
|
|
line="1061">a #GstClock to query</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="wait">
|
|
<callback name="wait">
|
|
<source-position filename="gst/gstclock.h" line="496"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="ClockReturn" c:type="GstClockReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="clock" transfer-ownership="none">
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</parameter>
|
|
<parameter name="entry" transfer-ownership="none">
|
|
<type name="ClockEntry" c:type="GstClockEntry*"/>
|
|
</parameter>
|
|
<parameter name="jitter" transfer-ownership="none">
|
|
<type name="ClockTimeDiff" c:type="GstClockTimeDiff*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="wait_async">
|
|
<callback name="wait_async">
|
|
<source-position filename="gst/gstclock.h" line="498"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="ClockReturn" c:type="GstClockReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="clock" transfer-ownership="none">
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</parameter>
|
|
<parameter name="entry" transfer-ownership="none">
|
|
<type name="ClockEntry" c:type="GstClockEntry*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="unschedule">
|
|
<callback name="unschedule">
|
|
<source-position filename="gst/gstclock.h" line="499"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="clock" transfer-ownership="none">
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</parameter>
|
|
<parameter name="entry" transfer-ownership="none">
|
|
<type name="ClockEntry" c:type="GstClockEntry*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="ClockEntry" c:type="GstClockEntry">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="383">All pending timeouts or periodic notifies are converted into
|
|
an entry.
|
|
Note that GstClockEntry should be treated as an opaque structure. It must
|
|
not be extended or allocated using a custom allocator.</doc>
|
|
<source-position filename="gst/gstclock.h" line="414"/>
|
|
<field name="refcount" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="385">reference counter (read-only)</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</field>
|
|
<field name="clock" writable="1">
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</field>
|
|
<field name="type" writable="1">
|
|
<type name="ClockEntryType" c:type="GstClockEntryType"/>
|
|
</field>
|
|
<field name="time" writable="1">
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</field>
|
|
<field name="interval" writable="1">
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</field>
|
|
<field name="status" writable="1">
|
|
<type name="ClockReturn" c:type="GstClockReturn"/>
|
|
</field>
|
|
<field name="func" writable="1">
|
|
<type name="ClockCallback" c:type="GstClockCallback"/>
|
|
</field>
|
|
<field name="user_data" writable="1">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</field>
|
|
<field name="destroy_data" writable="1">
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</field>
|
|
<field name="unscheduled" writable="1">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</field>
|
|
<field name="woken_up" writable="1">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<enumeration name="ClockEntryType"
|
|
glib:type-name="GstClockEntryType"
|
|
glib:get-type="gst_clock_entry_type_get_type"
|
|
c:type="GstClockEntryType">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="323">The type of the clock entry</doc>
|
|
<member name="single"
|
|
value="0"
|
|
c:identifier="GST_CLOCK_ENTRY_SINGLE"
|
|
glib:nick="single">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="325">a single shot timeout</doc>
|
|
</member>
|
|
<member name="periodic"
|
|
value="1"
|
|
c:identifier="GST_CLOCK_ENTRY_PERIODIC"
|
|
glib:nick="periodic">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="326">a periodic timeout request</doc>
|
|
</member>
|
|
</enumeration>
|
|
<bitfield name="ClockFlags"
|
|
glib:type-name="GstClockFlags"
|
|
glib:get-type="gst_clock_flags_get_type"
|
|
c:type="GstClockFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="418">The capabilities of this clock</doc>
|
|
<member name="can_do_single_sync"
|
|
value="16"
|
|
c:identifier="GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC"
|
|
glib:nick="can-do-single-sync">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="420">clock can do a single sync timeout request</doc>
|
|
</member>
|
|
<member name="can_do_single_async"
|
|
value="32"
|
|
c:identifier="GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC"
|
|
glib:nick="can-do-single-async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="421">clock can do a single async timeout request</doc>
|
|
</member>
|
|
<member name="can_do_periodic_sync"
|
|
value="64"
|
|
c:identifier="GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC"
|
|
glib:nick="can-do-periodic-sync">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="422">clock can do sync periodic timeout requests</doc>
|
|
</member>
|
|
<member name="can_do_periodic_async"
|
|
value="128"
|
|
c:identifier="GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC"
|
|
glib:nick="can-do-periodic-async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="423">clock can do async periodic timeout callbacks</doc>
|
|
</member>
|
|
<member name="can_set_resolution"
|
|
value="256"
|
|
c:identifier="GST_CLOCK_FLAG_CAN_SET_RESOLUTION"
|
|
glib:nick="can-set-resolution">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="424">clock's resolution can be changed</doc>
|
|
</member>
|
|
<member name="can_set_master"
|
|
value="512"
|
|
c:identifier="GST_CLOCK_FLAG_CAN_SET_MASTER"
|
|
glib:nick="can-set-master">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="425">clock can be slaved to a master clock</doc>
|
|
</member>
|
|
<member name="needs_startup_sync"
|
|
value="1024"
|
|
c:identifier="GST_CLOCK_FLAG_NEEDS_STARTUP_SYNC"
|
|
glib:nick="needs-startup-sync">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="426">clock needs to be synced before it can be used
|
|
(Since: 1.6)</doc>
|
|
</member>
|
|
<member name="last"
|
|
value="4096"
|
|
c:identifier="GST_CLOCK_FLAG_LAST"
|
|
glib:nick="last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="428">subclasses can add additional flags starting from this flag</doc>
|
|
</member>
|
|
</bitfield>
|
|
<record name="ClockPrivate" c:type="GstClockPrivate" disguised="1">
|
|
<source-position filename="gst/gstclock.h" line="282"/>
|
|
</record>
|
|
<enumeration name="ClockReturn"
|
|
glib:type-name="GstClockReturn"
|
|
glib:get-type="gst_clock_return_get_type"
|
|
c:type="GstClockReturn">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="298">The return value of a clock operation.</doc>
|
|
<member name="ok" value="0" c:identifier="GST_CLOCK_OK" glib:nick="ok">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="300">The operation succeeded.</doc>
|
|
</member>
|
|
<member name="early"
|
|
value="1"
|
|
c:identifier="GST_CLOCK_EARLY"
|
|
glib:nick="early">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="301">The operation was scheduled too late.</doc>
|
|
</member>
|
|
<member name="unscheduled"
|
|
value="2"
|
|
c:identifier="GST_CLOCK_UNSCHEDULED"
|
|
glib:nick="unscheduled">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="302">The clockID was unscheduled</doc>
|
|
</member>
|
|
<member name="busy"
|
|
value="3"
|
|
c:identifier="GST_CLOCK_BUSY"
|
|
glib:nick="busy">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="303">The ClockID is busy</doc>
|
|
</member>
|
|
<member name="badtime"
|
|
value="4"
|
|
c:identifier="GST_CLOCK_BADTIME"
|
|
glib:nick="badtime">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="304">A bad time was provided to a function.</doc>
|
|
</member>
|
|
<member name="error"
|
|
value="5"
|
|
c:identifier="GST_CLOCK_ERROR"
|
|
glib:nick="error">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="305">An error occurred</doc>
|
|
</member>
|
|
<member name="unsupported"
|
|
value="6"
|
|
c:identifier="GST_CLOCK_UNSUPPORTED"
|
|
glib:nick="unsupported">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="306">Operation is not supported</doc>
|
|
</member>
|
|
<member name="done"
|
|
value="7"
|
|
c:identifier="GST_CLOCK_DONE"
|
|
glib:nick="done">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="307">The ClockID is done waiting</doc>
|
|
</member>
|
|
</enumeration>
|
|
<enumeration name="ClockType"
|
|
glib:type-name="GstClockType"
|
|
glib:get-type="gst_clock_type_get_type"
|
|
c:type="GstClockType">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsystemclock.h"
|
|
line="45">The different kind of clocks.</doc>
|
|
<member name="realtime"
|
|
value="0"
|
|
c:identifier="GST_CLOCK_TYPE_REALTIME"
|
|
glib:nick="realtime">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsystemclock.h"
|
|
line="47">time since Epoch</doc>
|
|
</member>
|
|
<member name="monotonic"
|
|
value="1"
|
|
c:identifier="GST_CLOCK_TYPE_MONOTONIC"
|
|
glib:nick="monotonic">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsystemclock.h"
|
|
line="48">monotonic time since some unspecified starting
|
|
point</doc>
|
|
</member>
|
|
<member name="other"
|
|
value="2"
|
|
c:identifier="GST_CLOCK_TYPE_OTHER"
|
|
glib:nick="other">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsystemclock.h"
|
|
line="50">some other time source is used (Since: 1.0.5)</doc>
|
|
</member>
|
|
<member name="tai"
|
|
value="3"
|
|
c:identifier="GST_CLOCK_TYPE_TAI"
|
|
glib:nick="tai">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsystemclock.h"
|
|
line="51">time since Epoch, but using International Atomic Time
|
|
as reference (Since: 1.18)</doc>
|
|
</member>
|
|
</enumeration>
|
|
<record name="Context"
|
|
c:type="GstContext"
|
|
version="1.2"
|
|
glib:type-name="GstContext"
|
|
glib:get-type="gst_context_get_type"
|
|
c:symbol-prefix="context">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.c"
|
|
line="24">#GstContext is a container object used to store contexts like a device
|
|
context, a display server connection and similar concepts that should
|
|
be shared between multiple elements.
|
|
|
|
Applications can set a context on a complete pipeline by using
|
|
gst_element_set_context(), which will then be propagated to all
|
|
child elements. Elements can handle these in #GstElementClass.set_context()
|
|
and merge them with the context information they already have.
|
|
|
|
When an element needs a context it will do the following actions in this
|
|
order until one step succeeds:
|
|
1. Check if the element already has a context
|
|
2. Query downstream with GST_QUERY_CONTEXT for the context
|
|
3. Query upstream with GST_QUERY_CONTEXT for the context
|
|
4. Post a GST_MESSAGE_NEED_CONTEXT message on the bus with the required
|
|
context types and afterwards check if a usable context was set now
|
|
5. Create a context by itself and post a GST_MESSAGE_HAVE_CONTEXT message
|
|
on the bus.
|
|
|
|
Bins will catch GST_MESSAGE_NEED_CONTEXT messages and will set any previously
|
|
known context on the element that asks for it if possible. Otherwise the
|
|
application should provide one if it can.
|
|
|
|
#GstContext<!-- -->s can be persistent.
|
|
A persistent #GstContext is kept in elements when they reach
|
|
%GST_STATE_NULL, non-persistent ones will be removed.
|
|
Also, a non-persistent context won't override a previous persistent
|
|
context set to an element.</doc>
|
|
<source-position filename="gst/gstcontext.h" line="31"/>
|
|
<constructor name="new" c:identifier="gst_context_new" version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.c"
|
|
line="153">Create a new context.</doc>
|
|
<source-position filename="gst/gstcontext.h" line="137"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.c"
|
|
line="160">The new context.</doc>
|
|
<type name="Context" c:type="GstContext*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="context_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.c"
|
|
line="155">Context type</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="persistent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.c"
|
|
line="156">Persistent context</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<method name="get_context_type"
|
|
c:identifier="gst_context_get_context_type"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.c"
|
|
line="187">Get the type of @context.</doc>
|
|
<source-position filename="gst/gstcontext.h" line="140"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.c"
|
|
line="193">The type of the context.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="context" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.c"
|
|
line="189">The #GstContext.</doc>
|
|
<type name="Context" c:type="const GstContext*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_structure"
|
|
c:identifier="gst_context_get_structure"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.c"
|
|
line="226">Access the structure of the context.</doc>
|
|
<source-position filename="gst/gstcontext.h" line="146"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.c"
|
|
line="232">The structure of the context. The structure is
|
|
still owned by the context, which means that you should not modify it,
|
|
free it and that the pointer becomes invalid when you free the context.</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="context" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.c"
|
|
line="228">The #GstContext.</doc>
|
|
<type name="Context" c:type="const GstContext*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_context_type"
|
|
c:identifier="gst_context_has_context_type"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.c"
|
|
line="205">Checks if @context has @context_type.</doc>
|
|
<source-position filename="gst/gstcontext.h" line="143"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.c"
|
|
line="212">%TRUE if @context has @context_type.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="context" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.c"
|
|
line="207">The #GstContext.</doc>
|
|
<type name="Context" c:type="const GstContext*"/>
|
|
</instance-parameter>
|
|
<parameter name="context_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.c"
|
|
line="208">Context type to check.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_persistent"
|
|
c:identifier="gst_context_is_persistent"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.c"
|
|
line="268">Check if @context is persistent.</doc>
|
|
<source-position filename="gst/gstcontext.h" line="152"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.c"
|
|
line="274">%TRUE if the context is persistent.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="context" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.c"
|
|
line="270">The #GstContext.</doc>
|
|
<type name="Context" c:type="const GstContext*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="writable_structure"
|
|
c:identifier="gst_context_writable_structure"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.c"
|
|
line="246">Get a writable version of the structure.</doc>
|
|
<source-position filename="gst/gstcontext.h" line="149"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.c"
|
|
line="252">The structure of the context. The structure is still
|
|
owned by the context, which means that you should not free it and
|
|
that the pointer becomes invalid when you free the context.
|
|
This function checks if @context is writable.</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="context" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.c"
|
|
line="248">The #GstContext.</doc>
|
|
<type name="Context" c:type="GstContext*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<class name="ControlBinding"
|
|
c:symbol-prefix="control_binding"
|
|
c:type="GstControlBinding"
|
|
parent="Object"
|
|
abstract="1"
|
|
glib:type-name="GstControlBinding"
|
|
glib:get-type="gst_control_binding_get_type"
|
|
glib:type-struct="ControlBindingClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="22">A base class for value mapping objects that attaches control sources to gobject
|
|
properties. Such an object is taking one or more #GstControlSource instances,
|
|
combines them and maps the resulting value to the type and value range of the
|
|
bound property.</doc>
|
|
<source-position filename="gst/gstcontrolbinding.h" line="112"/>
|
|
<virtual-method name="get_g_value_array" invoker="get_g_value_array">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="366">Gets a number of #GValues for the given controlled property starting at the
|
|
requested time. The array @values need to hold enough space for @n_values of
|
|
#GValue.
|
|
|
|
This function is useful if one wants to e.g. draw a graph of the control
|
|
curve or apply a control curve sample by sample.</doc>
|
|
<source-position filename="gst/gstcontrolbinding.h" line="108"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="381">%TRUE if the given array could be filled, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="binding" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="368">the control binding</doc>
|
|
<type name="ControlBinding" c:type="GstControlBinding*"/>
|
|
</instance-parameter>
|
|
<parameter name="timestamp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="369">the time that should be processed</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="interval" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="370">the time spacing between subsequent values</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="n_values" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="371">the number of values</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="values" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="372">array to put control-values in</doc>
|
|
<array length="2" zero-terminated="0" c:type="GValue*">
|
|
<type name="GObject.Value" c:type="GValue"/>
|
|
</array>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="get_value" invoker="get_value">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="277">Gets the value for the given controlled property at the requested time.</doc>
|
|
<source-position filename="gst/gstcontrolbinding.h" line="106"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="284">the GValue of the property at the given time,
|
|
or %NULL if the property isn't controlled.</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="binding" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="279">the control binding</doc>
|
|
<type name="ControlBinding" c:type="GstControlBinding*"/>
|
|
</instance-parameter>
|
|
<parameter name="timestamp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="280">the time the control-change should be read from</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="get_value_array"
|
|
invoker="get_value_array"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="307">Gets a number of values for the given controlled property starting at the
|
|
requested time. The array @values need to hold enough space for @n_values of
|
|
the same type as the objects property's type.
|
|
|
|
This function is useful if one wants to e.g. draw a graph of the control
|
|
curve or apply a control curve sample by sample.
|
|
|
|
The values are unboxed and ready to be used. The similar function
|
|
gst_control_binding_get_g_value_array() returns the array as #GValues and is
|
|
more suitable for bindings.</doc>
|
|
<source-position filename="gst/gstcontrolbinding.h" line="107"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="326">%TRUE if the given array could be filled, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="binding" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="309">the control binding</doc>
|
|
<type name="ControlBinding" c:type="GstControlBinding*"/>
|
|
</instance-parameter>
|
|
<parameter name="timestamp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="310">the time that should be processed</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="interval" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="311">the time spacing between subsequent values</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="n_values" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="312">the number of values</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="values"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="313">array to put control-values in</doc>
|
|
<array length="2" zero-terminated="0" c:type="gpointer">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="sync_values" invoker="sync_values">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="239">Sets the property of the @object, according to the #GstControlSources that
|
|
handle them and for the given timestamp.
|
|
|
|
If this function fails, it is most likely the application developers fault.
|
|
Most probably the control sources are not setup correctly.</doc>
|
|
<source-position filename="gst/gstcontrolbinding.h" line="105"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="252">%TRUE if the controller value could be applied to the object
|
|
property, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="binding" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="241">the control binding</doc>
|
|
<type name="ControlBinding" c:type="GstControlBinding*"/>
|
|
</instance-parameter>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="242">the object that has controlled properties</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="timestamp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="243">the time that should be processed</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="last_sync" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="244">the last time this was called</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="get_g_value_array"
|
|
c:identifier="gst_control_binding_get_g_value_array">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="366">Gets a number of #GValues for the given controlled property starting at the
|
|
requested time. The array @values need to hold enough space for @n_values of
|
|
#GValue.
|
|
|
|
This function is useful if one wants to e.g. draw a graph of the control
|
|
curve or apply a control curve sample by sample.</doc>
|
|
<source-position filename="gst/gstcontrolbinding.h" line="131"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="381">%TRUE if the given array could be filled, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="binding" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="368">the control binding</doc>
|
|
<type name="ControlBinding" c:type="GstControlBinding*"/>
|
|
</instance-parameter>
|
|
<parameter name="timestamp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="369">the time that should be processed</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="interval" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="370">the time spacing between subsequent values</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="n_values" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="371">the number of values</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="values" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="372">array to put control-values in</doc>
|
|
<array length="2" zero-terminated="0" c:type="GValue*">
|
|
<type name="GObject.Value" c:type="GValue"/>
|
|
</array>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_value" c:identifier="gst_control_binding_get_value">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="277">Gets the value for the given controlled property at the requested time.</doc>
|
|
<source-position filename="gst/gstcontrolbinding.h" line="125"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="284">the GValue of the property at the given time,
|
|
or %NULL if the property isn't controlled.</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="binding" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="279">the control binding</doc>
|
|
<type name="ControlBinding" c:type="GstControlBinding*"/>
|
|
</instance-parameter>
|
|
<parameter name="timestamp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="280">the time the control-change should be read from</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_value_array"
|
|
c:identifier="gst_control_binding_get_value_array"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="307">Gets a number of values for the given controlled property starting at the
|
|
requested time. The array @values need to hold enough space for @n_values of
|
|
the same type as the objects property's type.
|
|
|
|
This function is useful if one wants to e.g. draw a graph of the control
|
|
curve or apply a control curve sample by sample.
|
|
|
|
The values are unboxed and ready to be used. The similar function
|
|
gst_control_binding_get_g_value_array() returns the array as #GValues and is
|
|
more suitable for bindings.</doc>
|
|
<source-position filename="gst/gstcontrolbinding.h" line="128"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="326">%TRUE if the given array could be filled, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="binding" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="309">the control binding</doc>
|
|
<type name="ControlBinding" c:type="GstControlBinding*"/>
|
|
</instance-parameter>
|
|
<parameter name="timestamp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="310">the time that should be processed</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="interval" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="311">the time spacing between subsequent values</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="n_values" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="312">the number of values</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="values" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="313">array to put control-values in</doc>
|
|
<array length="2" zero-terminated="0" c:type="gpointer">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_disabled"
|
|
c:identifier="gst_control_binding_is_disabled">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="481">Check if the control binding is disabled.</doc>
|
|
<source-position filename="gst/gstcontrolbinding.h" line="137"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="487">%TRUE if the binding is inactive</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="binding" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="483">the control binding</doc>
|
|
<type name="ControlBinding" c:type="GstControlBinding*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_disabled"
|
|
c:identifier="gst_control_binding_set_disabled">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="464">This function is used to disable a control binding for some time, i.e.
|
|
gst_object_sync_values() will do nothing.</doc>
|
|
<source-position filename="gst/gstcontrolbinding.h" line="134"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="binding" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="466">the control binding</doc>
|
|
<type name="ControlBinding" c:type="GstControlBinding*"/>
|
|
</instance-parameter>
|
|
<parameter name="disabled" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="467">boolean that specifies whether to disable the controller
|
|
or not.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="sync_values"
|
|
c:identifier="gst_control_binding_sync_values">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="239">Sets the property of the @object, according to the #GstControlSources that
|
|
handle them and for the given timestamp.
|
|
|
|
If this function fails, it is most likely the application developers fault.
|
|
Most probably the control sources are not setup correctly.</doc>
|
|
<source-position filename="gst/gstcontrolbinding.h" line="122"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="252">%TRUE if the controller value could be applied to the object
|
|
property, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="binding" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="241">the control binding</doc>
|
|
<type name="ControlBinding" c:type="GstControlBinding*"/>
|
|
</instance-parameter>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="242">the object that has controlled properties</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="timestamp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="243">the time that should be processed</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="last_sync" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="244">the last time this was called</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="name"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</property>
|
|
<property name="object"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<type name="Object"/>
|
|
</property>
|
|
<field name="parent">
|
|
<type name="Object" c:type="GstObject"/>
|
|
</field>
|
|
<field name="name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.h"
|
|
line="59">name of the property of this binding</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</field>
|
|
<field name="pspec">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.h"
|
|
line="60">#GParamSpec for this property</doc>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
|
|
</field>
|
|
<field name="object" readable="0" private="1">
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</field>
|
|
<field name="disabled" readable="0" private="1">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</field>
|
|
<union name="ABI" c:type="ABI">
|
|
<source-position filename="gst/gstcontrolbinding.h" line="85"/>
|
|
<record name="abi" c:type="abi">
|
|
<source-position filename="gst/gstcontrolbinding.h" line="83"/>
|
|
<field name="priv" writable="1">
|
|
<type name="ControlBindingPrivate"
|
|
c:type="GstControlBindingPrivate*"/>
|
|
</field>
|
|
</record>
|
|
<field name="_gst_reserved" writable="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</union>
|
|
</class>
|
|
<record name="ControlBindingClass"
|
|
c:type="GstControlBindingClass"
|
|
glib:is-gtype-struct-for="ControlBinding">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.h"
|
|
line="88">The class structure of #GstControlBinding.</doc>
|
|
<source-position filename="gst/gstcontrolbinding.h" line="112"/>
|
|
<field name="parent_class">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.h"
|
|
line="90">Parent class</doc>
|
|
<type name="ObjectClass" c:type="GstObjectClass"/>
|
|
</field>
|
|
<field name="sync_values">
|
|
<callback name="sync_values">
|
|
<source-position filename="gst/gstcontrolbinding.h" line="105"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="252">%TRUE if the controller value could be applied to the object
|
|
property, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="binding" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="241">the control binding</doc>
|
|
<type name="ControlBinding" c:type="GstControlBinding*"/>
|
|
</parameter>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="242">the object that has controlled properties</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="timestamp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="243">the time that should be processed</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="last_sync" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="244">the last time this was called</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="get_value">
|
|
<callback name="get_value">
|
|
<source-position filename="gst/gstcontrolbinding.h" line="106"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="284">the GValue of the property at the given time,
|
|
or %NULL if the property isn't controlled.</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="binding" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="279">the control binding</doc>
|
|
<type name="ControlBinding" c:type="GstControlBinding*"/>
|
|
</parameter>
|
|
<parameter name="timestamp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="280">the time the control-change should be read from</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="get_value_array" introspectable="0">
|
|
<callback name="get_value_array" introspectable="0">
|
|
<source-position filename="gst/gstcontrolbinding.h" line="107"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="326">%TRUE if the given array could be filled, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="binding" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="309">the control binding</doc>
|
|
<type name="ControlBinding" c:type="GstControlBinding*"/>
|
|
</parameter>
|
|
<parameter name="timestamp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="310">the time that should be processed</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="interval" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="311">the time spacing between subsequent values</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="n_values" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="312">the number of values</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="values"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="313">array to put control-values in</doc>
|
|
<array length="3" zero-terminated="0" c:type="gpointer">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="get_g_value_array">
|
|
<callback name="get_g_value_array">
|
|
<source-position filename="gst/gstcontrolbinding.h" line="108"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="381">%TRUE if the given array could be filled, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="binding" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="368">the control binding</doc>
|
|
<type name="ControlBinding" c:type="GstControlBinding*"/>
|
|
</parameter>
|
|
<parameter name="timestamp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="369">the time that should be processed</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="interval" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="370">the time spacing between subsequent values</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="n_values" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="371">the number of values</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="values" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.c"
|
|
line="372">array to put control-values in</doc>
|
|
<array length="3" zero-terminated="0" c:type="GValue*">
|
|
<type name="GObject.Value" c:type="GValue"/>
|
|
</array>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<callback name="ControlBindingConvert" c:type="GstControlBindingConvert">
|
|
<attribute name="doc.skip" value="true"/>
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolbinding.h"
|
|
line="51">FIXME(2.0): remove, this is unused</doc>
|
|
<source-position filename="gst/gstcontrolbinding.h" line="55"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="binding" transfer-ownership="none">
|
|
<type name="ControlBinding" c:type="GstControlBinding*"/>
|
|
</parameter>
|
|
<parameter name="src_value" transfer-ownership="none">
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
<parameter name="dest_value" transfer-ownership="none">
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<record name="ControlBindingPrivate"
|
|
c:type="GstControlBindingPrivate"
|
|
disguised="1">
|
|
<source-position filename="gst/gstcontrolbinding.h" line="47"/>
|
|
</record>
|
|
<class name="ControlSource"
|
|
c:symbol-prefix="control_source"
|
|
c:type="GstControlSource"
|
|
parent="Object"
|
|
abstract="1"
|
|
glib:type-name="GstControlSource"
|
|
glib:get-type="gst_control_source_get_type"
|
|
glib:type-struct="ControlSourceClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.c"
|
|
line="23">The #GstControlSource is a base class for control value sources that could
|
|
be used to get timestamp-value pairs. A control source essentially is a
|
|
function over time.
|
|
|
|
A #GstControlSource is used by first getting an instance of a specific
|
|
control-source, creating a binding for the control-source to the target property
|
|
of the element and then adding the binding to the element. The binding will
|
|
convert the data types and value range to fit to the bound property.
|
|
|
|
For implementing a new #GstControlSource one has to implement
|
|
#GstControlSourceGetValue and #GstControlSourceGetValueArray functions.
|
|
These are then used by gst_control_source_get_value() and
|
|
gst_control_source_get_value_array() to get values for specific timestamps.</doc>
|
|
<source-position filename="gst/gstcontrolsource.h" line="126"/>
|
|
<method name="control_source_get_value"
|
|
c:identifier="gst_control_source_get_value">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.c"
|
|
line="72">Gets the value for this #GstControlSource at a given timestamp.</doc>
|
|
<source-position filename="gst/gstcontrolsource.h" line="134"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.c"
|
|
line="80">%FALSE if the value couldn't be returned, %TRUE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.c"
|
|
line="74">the #GstControlSource object</doc>
|
|
<type name="ControlSource" c:type="GstControlSource*"/>
|
|
</instance-parameter>
|
|
<parameter name="timestamp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.c"
|
|
line="75">the time for which the value should be returned</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.c"
|
|
line="76">the value</doc>
|
|
<type name="gdouble" c:type="gdouble*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="control_source_get_value_array"
|
|
c:identifier="gst_control_source_get_value_array">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.c"
|
|
line="96">Gets an array of values for for this #GstControlSource. Values that are
|
|
undefined contain NANs.</doc>
|
|
<source-position filename="gst/gstcontrolsource.h" line="137"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.c"
|
|
line="107">%TRUE if the given array could be filled, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.c"
|
|
line="98">the #GstControlSource object</doc>
|
|
<type name="ControlSource" c:type="GstControlSource*"/>
|
|
</instance-parameter>
|
|
<parameter name="timestamp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.c"
|
|
line="99">the first timestamp</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="interval" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.c"
|
|
line="100">the time steps</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="n_values" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.c"
|
|
line="101">the number of values to fetch</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="values" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.c"
|
|
line="102">array to put control-values in</doc>
|
|
<array length="2" zero-terminated="0" c:type="gdouble*">
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</array>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<field name="parent">
|
|
<type name="Object" c:type="GstObject"/>
|
|
</field>
|
|
<field name="get_value">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.h"
|
|
line="97">Function for returning a value for a given timestamp</doc>
|
|
<type name="ControlSourceGetValue" c:type="GstControlSourceGetValue"/>
|
|
</field>
|
|
<field name="get_value_array">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.h"
|
|
line="98">Function for returning a values array for a given timestamp</doc>
|
|
<type name="ControlSourceGetValueArray"
|
|
c:type="GstControlSourceGetValueArray"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="ControlSourceClass"
|
|
c:type="GstControlSourceClass"
|
|
glib:is-gtype-struct-for="ControlSource">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.h"
|
|
line="113">The class structure of #GstControlSource.</doc>
|
|
<source-position filename="gst/gstcontrolsource.h" line="126"/>
|
|
<field name="parent_class">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.h"
|
|
line="115">Parent class</doc>
|
|
<type name="ObjectClass" c:type="GstObjectClass"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<callback name="ControlSourceGetValue" c:type="GstControlSourceGetValue">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.h"
|
|
line="65">Function for returning a value for a given timestamp.</doc>
|
|
<source-position filename="gst/gstcontrolsource.h" line="76"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.h"
|
|
line="73">%TRUE if the value was successfully calculated.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.h"
|
|
line="67">the #GstControlSource instance</doc>
|
|
<type name="ControlSource" c:type="GstControlSource*"/>
|
|
</parameter>
|
|
<parameter name="timestamp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.h"
|
|
line="68">timestamp for which a value should be calculated</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.h"
|
|
line="69">a value which will be set to the result.</doc>
|
|
<type name="gdouble" c:type="gdouble*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="ControlSourceGetValueArray"
|
|
c:type="GstControlSourceGetValueArray">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.h"
|
|
line="79">Function for returning an array of values for starting at a given timestamp.</doc>
|
|
<source-position filename="gst/gstcontrolsource.h" line="92"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.h"
|
|
line="89">%TRUE if the values were successfully calculated.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.h"
|
|
line="81">the #GstControlSource instance</doc>
|
|
<type name="ControlSource" c:type="GstControlSource*"/>
|
|
</parameter>
|
|
<parameter name="timestamp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.h"
|
|
line="82">timestamp for which a value should be calculated</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="interval" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.h"
|
|
line="83">the time spacing between subsequent values</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="n_values" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.h"
|
|
line="84">the number of values</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="values" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.h"
|
|
line="85">array to put control-values in</doc>
|
|
<type name="gdouble" c:type="gdouble*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<enumeration name="CoreError"
|
|
glib:type-name="GstCoreError"
|
|
glib:get-type="gst_core_error_get_type"
|
|
c:type="GstCoreError"
|
|
glib:error-domain="gst-core-error-quark">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="37">Core errors are errors inside the core GStreamer library.</doc>
|
|
<member name="failed"
|
|
value="1"
|
|
c:identifier="GST_CORE_ERROR_FAILED"
|
|
glib:nick="failed">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="39">a general error which doesn't fit in any other
|
|
category. Make sure you add a custom message to the error call.</doc>
|
|
</member>
|
|
<member name="too_lazy"
|
|
value="2"
|
|
c:identifier="GST_CORE_ERROR_TOO_LAZY"
|
|
glib:nick="too-lazy">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="41">do not use this except as a placeholder for
|
|
deciding where to go while developing code.</doc>
|
|
</member>
|
|
<member name="not_implemented"
|
|
value="3"
|
|
c:identifier="GST_CORE_ERROR_NOT_IMPLEMENTED"
|
|
glib:nick="not-implemented">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="43">use this when you do not want to implement
|
|
this functionality yet.</doc>
|
|
</member>
|
|
<member name="state_change"
|
|
value="4"
|
|
c:identifier="GST_CORE_ERROR_STATE_CHANGE"
|
|
glib:nick="state-change">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="45">used for state change errors.</doc>
|
|
</member>
|
|
<member name="pad"
|
|
value="5"
|
|
c:identifier="GST_CORE_ERROR_PAD"
|
|
glib:nick="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="46">used for pad-related errors.</doc>
|
|
</member>
|
|
<member name="thread"
|
|
value="6"
|
|
c:identifier="GST_CORE_ERROR_THREAD"
|
|
glib:nick="thread">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="47">used for thread-related errors.</doc>
|
|
</member>
|
|
<member name="negotiation"
|
|
value="7"
|
|
c:identifier="GST_CORE_ERROR_NEGOTIATION"
|
|
glib:nick="negotiation">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="48">used for negotiation-related errors.</doc>
|
|
</member>
|
|
<member name="event"
|
|
value="8"
|
|
c:identifier="GST_CORE_ERROR_EVENT"
|
|
glib:nick="event">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="49">used for event-related errors.</doc>
|
|
</member>
|
|
<member name="seek"
|
|
value="9"
|
|
c:identifier="GST_CORE_ERROR_SEEK"
|
|
glib:nick="seek">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="50">used for seek-related errors.</doc>
|
|
</member>
|
|
<member name="caps"
|
|
value="10"
|
|
c:identifier="GST_CORE_ERROR_CAPS"
|
|
glib:nick="caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="51">used for caps-related errors.</doc>
|
|
</member>
|
|
<member name="tag"
|
|
value="11"
|
|
c:identifier="GST_CORE_ERROR_TAG"
|
|
glib:nick="tag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="52">used for negotiation-related errors.</doc>
|
|
</member>
|
|
<member name="missing_plugin"
|
|
value="12"
|
|
c:identifier="GST_CORE_ERROR_MISSING_PLUGIN"
|
|
glib:nick="missing-plugin">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="53">used if a plugin is missing.</doc>
|
|
</member>
|
|
<member name="clock"
|
|
value="13"
|
|
c:identifier="GST_CORE_ERROR_CLOCK"
|
|
glib:nick="clock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="54">used for clock related errors.</doc>
|
|
</member>
|
|
<member name="disabled"
|
|
value="14"
|
|
c:identifier="GST_CORE_ERROR_DISABLED"
|
|
glib:nick="disabled">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="55">used if functionality has been disabled at
|
|
compile time.</doc>
|
|
</member>
|
|
<member name="num_errors"
|
|
value="15"
|
|
c:identifier="GST_CORE_ERROR_NUM_ERRORS"
|
|
glib:nick="num-errors">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="57">the number of core error types.</doc>
|
|
</member>
|
|
<function name="quark" c:identifier="gst_core_error_quark">
|
|
<attribute name="doc.skip" value="true"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
</function>
|
|
</enumeration>
|
|
<record name="CustomMeta" c:type="GstCustomMeta" version="1.20">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="108">Simple typing wrapper around #GstMeta</doc>
|
|
<source-position filename="gst/gstmeta.h" line="117"/>
|
|
<field name="meta" writable="1">
|
|
<type name="Meta" c:type="GstMeta"/>
|
|
</field>
|
|
<method name="get_structure"
|
|
c:identifier="gst_custom_meta_get_structure"
|
|
version="1.20">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="199">Retrieve the #GstStructure backing a custom meta, the structure's mutability
|
|
is conditioned to the writability of the #GstBuffer @meta is attached to.</doc>
|
|
<source-position filename="gst/gstmeta.h" line="264"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="205">the #GstStructure backing @meta</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="meta" transfer-ownership="none">
|
|
<type name="CustomMeta" c:type="GstCustomMeta*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_name"
|
|
c:identifier="gst_custom_meta_has_name"
|
|
version="1.20">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="218">Checks whether the name of the custom meta is @name</doc>
|
|
<source-position filename="gst/gstmeta.h" line="267"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="223">Whether @name is the name of the custom meta</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="meta" transfer-ownership="none">
|
|
<type name="CustomMeta" c:type="GstCustomMeta*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<callback name="CustomMetaTransformFunction"
|
|
c:type="GstCustomMetaTransformFunction"
|
|
version="1.20">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="192">Function called for each @meta in @buffer as a result of performing a
|
|
transformation on @transbuf. Additional @type specific transform data
|
|
is passed to the function as @data.
|
|
|
|
Implementations should check the @type of the transform and parse
|
|
additional type specific fields in @data that should be used to update
|
|
the metadata on @transbuf.</doc>
|
|
<source-position filename="gst/gstmeta.h" line="212"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="209">%TRUE if the transform could be performed</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="transbuf" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="194">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
<parameter name="meta" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="195">a #GstCustomMeta</doc>
|
|
<type name="CustomMeta" c:type="GstCustomMeta*"/>
|
|
</parameter>
|
|
<parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="196">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="197">the transform type</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
<parameter name="data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="198">transform specific data.</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="5">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="199">user data passed when registering the meta</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<constant name="DEBUG_BG_MASK" value="240" c:type="GST_DEBUG_BG_MASK">
|
|
<source-position filename="gst/gstinfo.h" line="209"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<function-macro name="DEBUG_BIN_TO_DOT_FILE"
|
|
c:identifier="GST_DEBUG_BIN_TO_DOT_FILE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.h"
|
|
line="75">To aid debugging applications one can use this method to write out the whole
|
|
network of gstreamer elements that form the pipeline into an dot file.
|
|
This file can be processed with graphviz to get an image, like this:
|
|
|[
|
|
dot -Tpng -oimage.png graph_lowlevel.dot
|
|
]|
|
|
There is also a utility called xdot which allows you to view the dot file
|
|
directly without converting it first.
|
|
|
|
The macro is only active if the environment variable GST_DEBUG_DUMP_DOT_DIR
|
|
is set to a basepath (e.g. /tmp), and the GStreamer debugging subsystem is
|
|
enabled (i.e., no use of `./configure --disable-gst-debug')</doc>
|
|
<source-position filename="gst/gstdebugutils.h" line="95"/>
|
|
<parameters>
|
|
<parameter name="bin">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.h"
|
|
line="77">the top-level pipeline that should be analyzed</doc>
|
|
</parameter>
|
|
<parameter name="details">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.h"
|
|
line="78">details to show in the graph, e.g. #GST_DEBUG_GRAPH_SHOW_ALL or
|
|
one or more other #GstDebugGraphDetails flags.</doc>
|
|
</parameter>
|
|
<parameter name="file_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.h"
|
|
line="80">output base filename (e.g. "myplayer")</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEBUG_BIN_TO_DOT_FILE_WITH_TS"
|
|
c:identifier="GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.h"
|
|
line="97">This works like GST_DEBUG_BIN_TO_DOT_FILE(), but adds the current timestamp
|
|
to the filename, so that it can be used to take multiple snapshots.</doc>
|
|
<source-position filename="gst/gstdebugutils.h" line="107"/>
|
|
<parameters>
|
|
<parameter name="bin">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.h"
|
|
line="99">the top-level pipeline that should be analyzed</doc>
|
|
</parameter>
|
|
<parameter name="details">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.h"
|
|
line="100">details to show in the graph, e.g. #GST_DEBUG_GRAPH_SHOW_ALL or
|
|
one or more other #GstDebugGraphDetails flags.</doc>
|
|
</parameter>
|
|
<parameter name="file_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.h"
|
|
line="102">output base filename (e.g. "myplayer")</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEBUG_CATEGORY"
|
|
c:identifier="GST_DEBUG_CATEGORY"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="557">Defines a GstDebugCategory variable.
|
|
This macro expands to nothing if debugging is disabled.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="564"/>
|
|
<parameters>
|
|
<parameter name="cat">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="559">the category</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEBUG_CATEGORY_EXTERN"
|
|
c:identifier="GST_DEBUG_CATEGORY_EXTERN"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="565">Declares a GstDebugCategory variable as extern. Use in header files.
|
|
This macro expands to nothing if debugging is disabled.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="572"/>
|
|
<parameters>
|
|
<parameter name="cat">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="567">the category</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEBUG_CATEGORY_GET"
|
|
c:identifier="GST_DEBUG_CATEGORY_GET"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="617">Looks up an existing #GstDebugCategory by its @name and sets @cat. If the
|
|
category is not found, but GST_CAT_DEFAULT is defined, that is assigned to
|
|
@cat. Otherwise @cat will be %NULL.
|
|
|
|
|[<!-- language="C" -->
|
|
GST_DEBUG_CATEGORY_STATIC (gst_myplugin_debug);
|
|
#define GST_CAT_DEFAULT gst_myplugin_debug
|
|
GST_DEBUG_CATEGORY_STATIC (GST_CAT_PERFORMANCE);
|
|
...
|
|
GST_DEBUG_CATEGORY_INIT (gst_myplugin_debug, "myplugin", 0, "nice element");
|
|
GST_DEBUG_CATEGORY_GET (GST_CAT_PERFORMANCE, "GST_PERFORMANCE");
|
|
]|</doc>
|
|
<source-position filename="gst/gstinfo.h" line="636"/>
|
|
<parameters>
|
|
<parameter name="cat">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="619">the category to initialize.</doc>
|
|
</parameter>
|
|
<parameter name="name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="620">log category name</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEBUG_CATEGORY_INIT"
|
|
c:identifier="GST_DEBUG_CATEGORY_INIT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="583">Initializes a new #GstDebugCategory with the given properties and set to
|
|
the default threshold.
|
|
|
|
> This macro expands to nothing if debugging is disabled.
|
|
>
|
|
> When naming your category, please follow the following conventions to ensure
|
|
> that the pattern matching for categories works as expected. It is not
|
|
> earth-shattering if you don't follow these conventions, but it would be nice
|
|
> for everyone.
|
|
>
|
|
> If you define a category for a plugin or a feature of it, name the category
|
|
> like the feature. So if you wanted to write a "filesrc" element, you would
|
|
> name the category "filesrc". Use lowercase letters only.
|
|
> If you define more than one category for the same element, append an
|
|
> underscore and an identifier to your categories, like this: "filesrc_cache"
|
|
>
|
|
> If you create a library or an application using debugging categories, use a
|
|
> common prefix followed by an underscore for all your categories. GStreamer
|
|
> uses the GST prefix so GStreamer categories look like "GST_STATES". Be sure
|
|
> to include uppercase letters.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="612"/>
|
|
<parameters>
|
|
<parameter name="cat">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="585">the category to initialize.</doc>
|
|
</parameter>
|
|
<parameter name="name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="586">the name of the category.</doc>
|
|
</parameter>
|
|
<parameter name="color">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="587">the colors to use for a color representation or 0 for no color.</doc>
|
|
</parameter>
|
|
<parameter name="description">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="588">optional description of the category.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEBUG_CATEGORY_STATIC"
|
|
c:identifier="GST_DEBUG_CATEGORY_STATIC"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="574">Defines a static GstDebugCategory variable.
|
|
This macro expands to nothing if debugging is disabled.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="581"/>
|
|
<parameters>
|
|
<parameter name="cat">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="576">the category</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="DEBUG_FG_MASK" value="15" c:type="GST_DEBUG_FG_MASK">
|
|
<source-position filename="gst/gstinfo.h" line="208"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<constant name="DEBUG_FORMAT_MASK"
|
|
value="65280"
|
|
c:type="GST_DEBUG_FORMAT_MASK">
|
|
<source-position filename="gst/gstinfo.h" line="210"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<function-macro name="DEBUG_FUNCPTR"
|
|
c:identifier="GST_DEBUG_FUNCPTR"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="1465">Register a pointer to a function with its name, so it can later be used by
|
|
GST_DEBUG_FUNCPTR_NAME().</doc>
|
|
<source-position filename="gst/gstinfo.h" line="1474"/>
|
|
<parameters>
|
|
<parameter name="ptr">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="1467">pointer to the function to register</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEBUG_FUNCPTR_NAME"
|
|
c:identifier="GST_DEBUG_FUNCPTR_NAME"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="1477">Retrieves the name of the function, if it was previously registered with
|
|
GST_DEBUG_FUNCPTR(). If not, it returns a description of the pointer.
|
|
|
|
This macro returns a constant string which must not be modified or
|
|
freed by the caller.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="1487"/>
|
|
<parameters>
|
|
<parameter name="ptr">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="1479">address of the function of which to look up the name</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEBUG_PAD_NAME"
|
|
c:identifier="GST_DEBUG_PAD_NAME"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="243">Evaluates to 2 strings, that describe the pad. Often used in debugging
|
|
statements.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="250"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="245">The pad to debug.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEBUG_REGISTER_FUNCPTR"
|
|
c:identifier="GST_DEBUG_REGISTER_FUNCPTR"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="1454">Register a pointer to a function with its name, so it can later be used by
|
|
GST_DEBUG_FUNCPTR_NAME().
|
|
|
|
Use this variant of #GST_DEBUG_FUNCPTR if you do not need to use @ptr.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="1463"/>
|
|
<parameters>
|
|
<parameter name="ptr">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="1456">pointer to the function to register</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEFINE_MINI_OBJECT_TYPE"
|
|
c:identifier="GST_DEFINE_MINI_OBJECT_TYPE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="293">Define a new mini-object type with the given name</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="300"/>
|
|
<parameters>
|
|
<parameter name="TypeName">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="295">name of the new type in CamelCase</doc>
|
|
</parameter>
|
|
<parameter name="type_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="296">name of the new type</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEVICE" c:identifier="GST_DEVICE" introspectable="0">
|
|
<source-position filename="gst/gstdevice.h" line="41"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEVICE_CAST"
|
|
c:identifier="GST_DEVICE_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdevice.h" line="43"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEVICE_CLASS"
|
|
c:identifier="GST_DEVICE_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdevice.h" line="42"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEVICE_GET_CLASS"
|
|
c:identifier="GST_DEVICE_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdevice.h" line="40"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEVICE_MONITOR"
|
|
c:identifier="GST_DEVICE_MONITOR"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdevicemonitor.h" line="41"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEVICE_MONITOR_CAST"
|
|
c:identifier="GST_DEVICE_MONITOR_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdevicemonitor.h" line="43"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEVICE_MONITOR_CLASS"
|
|
c:identifier="GST_DEVICE_MONITOR_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdevicemonitor.h" line="42"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEVICE_MONITOR_GET_CLASS"
|
|
c:identifier="GST_DEVICE_MONITOR_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdevicemonitor.h" line="40"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEVICE_PROVIDER"
|
|
c:identifier="GST_DEVICE_PROVIDER"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdeviceprovider.h" line="41"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEVICE_PROVIDER_CAST"
|
|
c:identifier="GST_DEVICE_PROVIDER_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdeviceprovider.h" line="43"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEVICE_PROVIDER_CLASS"
|
|
c:identifier="GST_DEVICE_PROVIDER_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdeviceprovider.h" line="42"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEVICE_PROVIDER_FACTORY"
|
|
c:identifier="GST_DEVICE_PROVIDER_FACTORY"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdeviceproviderfactory.h" line="55"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEVICE_PROVIDER_FACTORY_CAST"
|
|
c:identifier="GST_DEVICE_PROVIDER_FACTORY_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdeviceproviderfactory.h" line="61"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEVICE_PROVIDER_FACTORY_CLASS"
|
|
c:identifier="GST_DEVICE_PROVIDER_FACTORY_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdeviceproviderfactory.h" line="57"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DEVICE_PROVIDER_GET_CLASS"
|
|
c:identifier="GST_DEVICE_PROVIDER_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdeviceprovider.h" line="40"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DYNAMIC_TYPE_CLASS"
|
|
c:identifier="GST_DYNAMIC_TYPE_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdynamictypefactory.h" line="44"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DYNAMIC_TYPE_FACTORY"
|
|
c:identifier="GST_DYNAMIC_TYPE_FACTORY"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdynamictypefactory.h" line="42"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="DYNAMIC_TYPE_FACTORY_CAST"
|
|
c:identifier="GST_DYNAMIC_TYPE_FACTORY_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdynamictypefactory.h" line="48"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<record name="DateTime"
|
|
c:type="GstDateTime"
|
|
glib:type-name="GstDateTime"
|
|
glib:get-type="gst_date_time_get_type"
|
|
c:symbol-prefix="date_time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="32">Struct to store date, time and timezone information altogether.
|
|
#GstDateTime is refcounted and immutable.
|
|
|
|
Date information is handled using the proleptic Gregorian calendar.
|
|
|
|
Provides basic creation functions and accessor functions to its fields.</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="40"/>
|
|
<constructor name="new" c:identifier="gst_date_time_new">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="634">Creates a new #GstDateTime using the date and times in the gregorian calendar
|
|
in the supplied timezone.
|
|
|
|
@year should be from 1 to 9999, @month should be from 1 to 12, @day from
|
|
1 to 31, @hour from 0 to 23, @minutes and @seconds from 0 to 59.
|
|
|
|
Note that @tzoffset is a float and was chosen so for being able to handle
|
|
some fractional timezones, while it still keeps the readability of
|
|
representing it in hours for most timezones.
|
|
|
|
If value is -1 then all over value will be ignored. For example
|
|
if @month == -1, then #GstDateTime will created only for @year. If
|
|
@day == -1, then #GstDateTime will created for @year and @month and
|
|
so on.
|
|
|
|
Free-function: gst_date_time_unref</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="132"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="661">the newly created #GstDateTime</doc>
|
|
<type name="DateTime" c:type="GstDateTime*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="tzoffset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="636">Offset from UTC in hours.</doc>
|
|
<type name="gfloat" c:type="gfloat"/>
|
|
</parameter>
|
|
<parameter name="year" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="637">the gregorian year</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="month" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="638">the gregorian month</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="day" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="639">the day of the gregorian month</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="hour" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="640">the hour of the day</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="minute" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="641">the minute of the hour</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="seconds" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="642">the second of the minute</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_from_g_date_time"
|
|
c:identifier="gst_date_time_new_from_g_date_time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="71">Creates a new #GstDateTime from a #GDateTime object.
|
|
|
|
Free-function: gst_date_time_unref</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="153"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="79">a newly created #GstDateTime,
|
|
or %NULL on error</doc>
|
|
<type name="DateTime" c:type="GstDateTime*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="dt" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="73">the #GDateTime. The new #GstDateTime takes ownership.</doc>
|
|
<type name="GLib.DateTime" c:type="GDateTime*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_from_iso8601_string"
|
|
c:identifier="gst_date_time_new_from_iso8601_string">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="800">Tries to parse common variants of ISO-8601 datetime strings into a
|
|
#GstDateTime. Possible input formats are (for example):
|
|
2012-06-30T22:46:43Z, 2012, 2012-06, 2012-06-30, 2012-06-30T22:46:43-0430,
|
|
2012-06-30T22:46Z, 2012-06-30T22:46-0430, 2012-06-30 22:46,
|
|
2012-06-30 22:46:43, 2012-06-00, 2012-00-00, 2012-00-30, 22:46:43Z, 22:46Z,
|
|
22:46:43-0430, 22:46-0430, 22:46:30, 22:46
|
|
If no date is provided, it is assumed to be "today" in the timezone
|
|
provided (if any), otherwise UTC.
|
|
|
|
Free-function: gst_date_time_unref</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="147"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="815">a newly created #GstDateTime,
|
|
or %NULL on error</doc>
|
|
<type name="DateTime" c:type="GstDateTime*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="string" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="802">ISO 8601-formatted datetime string.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_from_unix_epoch_local_time"
|
|
c:identifier="gst_date_time_new_from_unix_epoch_local_time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="412">Creates a new #GstDateTime using the time since Jan 1, 1970 specified by
|
|
@secs. The #GstDateTime is in the local timezone.
|
|
|
|
Free-function: gst_date_time_unref</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="103"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="421">the newly created #GstDateTime</doc>
|
|
<type name="DateTime" c:type="GstDateTime*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="secs" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="414">seconds from the Unix epoch</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_from_unix_epoch_local_time_usecs"
|
|
c:identifier="gst_date_time_new_from_unix_epoch_local_time_usecs"
|
|
version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="452">Creates a new #GstDateTime using the time since Jan 1, 1970 specified by
|
|
@usecs. The #GstDateTime is in the local timezone.</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="109"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="459">a newly created #GstDateTime</doc>
|
|
<type name="DateTime" c:type="GstDateTime*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="usecs" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="454">microseconds from the Unix epoch</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_from_unix_epoch_utc"
|
|
c:identifier="gst_date_time_new_from_unix_epoch_utc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="432">Creates a new #GstDateTime using the time since Jan 1, 1970 specified by
|
|
@secs. The #GstDateTime is in the UTC timezone.
|
|
|
|
Free-function: gst_date_time_unref</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="106"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="441">the newly created #GstDateTime</doc>
|
|
<type name="DateTime" c:type="GstDateTime*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="secs" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="434">seconds from the Unix epoch</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_from_unix_epoch_utc_usecs"
|
|
c:identifier="gst_date_time_new_from_unix_epoch_utc_usecs"
|
|
version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="476">Creates a new #GstDateTime using the time since Jan 1, 1970 specified by
|
|
@usecs. The #GstDateTime is in UTC.</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="112"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="483">a newly created #GstDateTime</doc>
|
|
<type name="DateTime" c:type="GstDateTime*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="usecs" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="478">microseconds from the Unix epoch</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_local_time"
|
|
c:identifier="gst_date_time_new_local_time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="522">Creates a new #GstDateTime using the date and times in the gregorian calendar
|
|
in the local timezone.
|
|
|
|
@year should be from 1 to 9999, @month should be from 1 to 12, @day from
|
|
1 to 31, @hour from 0 to 23, @minutes and @seconds from 0 to 59.
|
|
|
|
If @month is -1, then the #GstDateTime created will only contain @year,
|
|
and all other fields will be considered not set.
|
|
|
|
If @day is -1, then the #GstDateTime created will only contain @year and
|
|
@month and all other fields will be considered not set.
|
|
|
|
If @hour is -1, then the #GstDateTime created will only contain @year and
|
|
@month and @day, and the time fields will be considered not set. In this
|
|
case @minute and @seconds should also be -1.
|
|
|
|
Free-function: gst_date_time_unref</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="115"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="549">the newly created #GstDateTime</doc>
|
|
<type name="DateTime" c:type="GstDateTime*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="year" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="524">the gregorian year</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="month" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="525">the gregorian month, or -1</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="day" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="526">the day of the gregorian month, or -1</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="hour" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="527">the hour of the day, or -1</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="minute" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="528">the minute of the hour, or -1</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="seconds" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="529">the second of the minute, or -1</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_now_local_time"
|
|
c:identifier="gst_date_time_new_now_local_time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="578">Creates a new #GstDateTime representing the current date and time.
|
|
|
|
Free-function: gst_date_time_unref</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="138"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="585">the newly created #GstDateTime which should
|
|
be freed with gst_date_time_unref().</doc>
|
|
<type name="DateTime" c:type="GstDateTime*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<constructor name="new_now_utc" c:identifier="gst_date_time_new_now_utc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="594">Creates a new #GstDateTime that represents the current instant at Universal
|
|
coordinated time.
|
|
|
|
Free-function: gst_date_time_unref</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="141"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="602">the newly created #GstDateTime which should
|
|
be freed with gst_date_time_unref().</doc>
|
|
<type name="DateTime" c:type="GstDateTime*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<constructor name="new_y" c:identifier="gst_date_time_new_y">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="343">Creates a new #GstDateTime using the date and times in the gregorian calendar
|
|
in the local timezone.
|
|
|
|
@year should be from 1 to 9999.
|
|
|
|
Free-function: gst_date_time_unref</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="122"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="354">the newly created #GstDateTime</doc>
|
|
<type name="DateTime" c:type="GstDateTime*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="year" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="345">the gregorian year</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_ym" c:identifier="gst_date_time_new_ym">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="362">Creates a new #GstDateTime using the date and times in the gregorian calendar
|
|
in the local timezone.
|
|
|
|
@year should be from 1 to 9999, @month should be from 1 to 12.
|
|
|
|
If value is -1 then all over value will be ignored. For example
|
|
if @month == -1, then #GstDateTime will created only for @year.
|
|
|
|
Free-function: gst_date_time_unref</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="125"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="377">the newly created #GstDateTime</doc>
|
|
<type name="DateTime" c:type="GstDateTime*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="year" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="364">the gregorian year</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="month" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="365">the gregorian month</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_ymd" c:identifier="gst_date_time_new_ymd">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="385">Creates a new #GstDateTime using the date and times in the gregorian calendar
|
|
in the local timezone.
|
|
|
|
@year should be from 1 to 9999, @month should be from 1 to 12, @day from
|
|
1 to 31.
|
|
|
|
If value is -1 then all over value will be ignored. For example
|
|
if @month == -1, then #GstDateTime will created only for @year. If
|
|
@day == -1, then #GstDateTime will created for @year and @month and
|
|
so on.
|
|
|
|
Free-function: gst_date_time_unref</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="128"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="404">the newly created #GstDateTime</doc>
|
|
<type name="DateTime" c:type="GstDateTime*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="year" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="387">the gregorian year</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="month" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="388">the gregorian month</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="day" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="389">the day of the gregorian month</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<method name="get_day" c:identifier="gst_date_time_get_day">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="229">Returns the day of the month of this #GstDateTime.
|
|
Call gst_date_time_has_day() before, to avoid warnings.</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="83"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="236">The day of this #GstDateTime</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="datetime" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="231">a #GstDateTime</doc>
|
|
<type name="DateTime" c:type="const GstDateTime*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_hour" c:identifier="gst_date_time_get_hour">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="247">Retrieves the hour of the day represented by @datetime in the gregorian
|
|
calendar. The return is in the range of 0 to 23.
|
|
Call gst_date_time_has_time() before, to avoid warnings.</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="86"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="255">the hour of the day</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="datetime" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="249">a #GstDateTime</doc>
|
|
<type name="DateTime" c:type="const GstDateTime*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_microsecond"
|
|
c:identifier="gst_date_time_get_microsecond">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="304">Retrieves the fractional part of the seconds in microseconds represented by
|
|
@datetime in the gregorian calendar.</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="95"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="311">the microsecond of the second</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="datetime" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="306">a #GstDateTime</doc>
|
|
<type name="DateTime" c:type="const GstDateTime*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_minute" c:identifier="gst_date_time_get_minute">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="266">Retrieves the minute of the hour represented by @datetime in the gregorian
|
|
calendar.
|
|
Call gst_date_time_has_time() before, to avoid warnings.</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="89"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="274">the minute of the hour</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="datetime" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="268">a #GstDateTime</doc>
|
|
<type name="DateTime" c:type="const GstDateTime*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_month" c:identifier="gst_date_time_get_month">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="211">Returns the month of this #GstDateTime. January is 1, February is 2, etc..
|
|
Call gst_date_time_has_month() before, to avoid warnings.</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="80"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="218">The month of this #GstDateTime</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="datetime" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="213">a #GstDateTime</doc>
|
|
<type name="DateTime" c:type="const GstDateTime*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_second" c:identifier="gst_date_time_get_second">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="285">Retrieves the second of the minute represented by @datetime in the gregorian
|
|
calendar.
|
|
Call gst_date_time_has_time() before, to avoid warnings.</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="92"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="293">the second represented by @datetime</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="datetime" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="287">a #GstDateTime</doc>
|
|
<type name="DateTime" c:type="const GstDateTime*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_time_zone_offset"
|
|
c:identifier="gst_date_time_get_time_zone_offset">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="322">Retrieves the offset from UTC in hours that the timezone specified
|
|
by @datetime represents. Timezones ahead (to the east) of UTC have positive
|
|
values, timezones before (to the west) of UTC have negative values.
|
|
If @datetime represents UTC time, then the offset is zero.</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="98"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="331">the offset from UTC in hours</doc>
|
|
<type name="gfloat" c:type="gfloat"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="datetime" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="324">a #GstDateTime</doc>
|
|
<type name="DateTime" c:type="const GstDateTime*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_year" c:identifier="gst_date_time_get_year">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="194">Returns the year of this #GstDateTime
|
|
Call gst_date_time_has_year() before, to avoid warnings.</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="77"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="201">The year of this #GstDateTime</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="datetime" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="196">a #GstDateTime</doc>
|
|
<type name="DateTime" c:type="const GstDateTime*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_day" c:identifier="gst_date_time_has_day">
|
|
<source-position filename="gst/gstdatetime.h" line="66"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="155">%TRUE if @datetime<!-- -->'s day field is set, otherwise %FALSE</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="datetime" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="153">a #GstDateTime</doc>
|
|
<type name="DateTime" c:type="const GstDateTime*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_month" c:identifier="gst_date_time_has_month">
|
|
<source-position filename="gst/gstdatetime.h" line="63"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="141">%TRUE if @datetime<!-- -->'s month field is set, otherwise %FALSE</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="datetime" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="139">a #GstDateTime</doc>
|
|
<type name="DateTime" c:type="const GstDateTime*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_second" c:identifier="gst_date_time_has_second">
|
|
<source-position filename="gst/gstdatetime.h" line="72"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="184">%TRUE if @datetime<!-- -->'s second field is set, otherwise %FALSE</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="datetime" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="182">a #GstDateTime</doc>
|
|
<type name="DateTime" c:type="const GstDateTime*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_time" c:identifier="gst_date_time_has_time">
|
|
<source-position filename="gst/gstdatetime.h" line="69"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="169">%TRUE if @datetime<!-- -->'s hour and minute fields are set,
|
|
otherwise %FALSE</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="datetime" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="167">a #GstDateTime</doc>
|
|
<type name="DateTime" c:type="const GstDateTime*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_year" c:identifier="gst_date_time_has_year">
|
|
<source-position filename="gst/gstdatetime.h" line="60"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="126">%TRUE if @datetime<!-- -->'s year field is set (which should always
|
|
be the case), otherwise %FALSE</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="datetime" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="124">a #GstDateTime</doc>
|
|
<type name="DateTime" c:type="const GstDateTime*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="ref" c:identifier="gst_date_time_ref">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="987">Atomically increments the reference count of @datetime by one.</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="158"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="993">the reference @datetime</doc>
|
|
<type name="DateTime" c:type="GstDateTime*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="datetime" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="989">a #GstDateTime</doc>
|
|
<type name="DateTime" c:type="GstDateTime*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="to_g_date_time"
|
|
c:identifier="gst_date_time_to_g_date_time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="100">Creates a new #GDateTime from a fully defined #GstDateTime object.
|
|
|
|
Free-function: g_date_time_unref</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="150"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="108">a newly created #GDateTime, or
|
|
%NULL on error</doc>
|
|
<type name="GLib.DateTime" c:type="GDateTime*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="datetime" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="102">GstDateTime.</doc>
|
|
<type name="DateTime" c:type="GstDateTime*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="to_iso8601_string"
|
|
c:identifier="gst_date_time_to_iso8601_string">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="776">Create a minimal string compatible with ISO-8601. Possible output formats
|
|
are (for example): 2012, 2012-06, 2012-06-23, 2012-06-23T23:30Z,
|
|
2012-06-23T23:30+0100, 2012-06-23T23:30:59Z, 2012-06-23T23:30:59+0100</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="144"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="784">a newly allocated string formatted according
|
|
to ISO 8601 and only including the datetime fields that are
|
|
valid, or %NULL in case there was an error. The string should
|
|
be freed with g_free().</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="datetime" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="778">GstDateTime.</doc>
|
|
<type name="DateTime" c:type="GstDateTime*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unref" c:identifier="gst_date_time_unref">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="1001">Atomically decrements the reference count of @datetime by one. When the
|
|
reference count reaches zero, the structure is freed.</doc>
|
|
<source-position filename="gst/gstdatetime.h" line="161"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="datetime" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdatetime.c"
|
|
line="1003">a #GstDateTime</doc>
|
|
<type name="DateTime" c:type="GstDateTime*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<record name="DebugCategory" c:type="GstDebugCategory">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="213">This is the struct that describes the categories. Once initialized with
|
|
#GST_DEBUG_CATEGORY_INIT, its values can't be changed anymore.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="226"/>
|
|
<field name="threshold" readable="0" private="1">
|
|
<type name="gint" c:type="gint"/>
|
|
</field>
|
|
<field name="color" readable="0" private="1">
|
|
<type name="guint" c:type="guint"/>
|
|
</field>
|
|
<field name="name" readable="0" private="1">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</field>
|
|
<field name="description" readable="0" private="1">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</field>
|
|
<method name="free"
|
|
c:identifier="gst_debug_category_free"
|
|
deprecated="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1824">Removes and frees the category and all associated resources.</doc>
|
|
<doc-deprecated xml:space="preserve">This function can easily cause memory corruption, don't use it.</doc-deprecated>
|
|
<source-position filename="gst/gstinfo.h" line="486"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="category" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1826">#GstDebugCategory to free.</doc>
|
|
<type name="DebugCategory" c:type="GstDebugCategory*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_color" c:identifier="gst_debug_category_get_color">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1908">Returns the color of a debug category used when printing output in this
|
|
category.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="502"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1915">the color of the category.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="category" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1910">a #GstDebugCategory to get the color of.</doc>
|
|
<type name="DebugCategory" c:type="GstDebugCategory*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_description"
|
|
c:identifier="gst_debug_category_get_description">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1923">Returns the description of a debug category.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="505"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1929">the description of the category.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="category" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1925">a #GstDebugCategory to get the description of.</doc>
|
|
<type name="DebugCategory" c:type="GstDebugCategory*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_name" c:identifier="gst_debug_category_get_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1894">Returns the name of a debug category.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="499"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1900">the name of the category.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="category" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1896">a #GstDebugCategory to get name of.</doc>
|
|
<type name="DebugCategory" c:type="GstDebugCategory*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_threshold"
|
|
c:identifier="gst_debug_category_get_threshold">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1880">Returns the threshold of a #GstDebugCategory.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="496"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1886">the #GstDebugLevel that is used as threshold.</doc>
|
|
<type name="DebugLevel" c:type="GstDebugLevel"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="category" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1882">a #GstDebugCategory to get threshold of.</doc>
|
|
<type name="DebugCategory" c:type="GstDebugCategory*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="reset_threshold"
|
|
c:identifier="gst_debug_category_reset_threshold">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1864">Resets the threshold of the category to the default level. Debug information
|
|
will only be output if the threshold is lower or equal to the level of the
|
|
debugging message.
|
|
Use this function to set the threshold back to where it was after using
|
|
gst_debug_category_set_threshold().</doc>
|
|
<source-position filename="gst/gstinfo.h" line="493"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="category" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1866">a #GstDebugCategory to reset threshold of.</doc>
|
|
<type name="DebugCategory" c:type="GstDebugCategory*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_threshold"
|
|
c:identifier="gst_debug_category_set_threshold">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1838">Sets the threshold of the category to the given level. Debug information will
|
|
only be output if the threshold is lower or equal to the level of the
|
|
debugging message.
|
|
> Do not use this function in production code, because other functions may
|
|
> change the threshold of categories as side effect. It is however a nice
|
|
> function to use when debugging (even from gdb).</doc>
|
|
<source-position filename="gst/gstinfo.h" line="489"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="category" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1840">a #GstDebugCategory to set threshold of.</doc>
|
|
<type name="DebugCategory" c:type="GstDebugCategory*"/>
|
|
</instance-parameter>
|
|
<parameter name="level" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1841">the #GstDebugLevel threshold to set.</doc>
|
|
<type name="DebugLevel" c:type="GstDebugLevel"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<bitfield name="DebugColorFlags"
|
|
glib:type-name="GstDebugColorFlags"
|
|
glib:get-type="gst_debug_color_flags_get_type"
|
|
c:type="GstDebugColorFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="130">These are some terminal style flags you can use when creating your
|
|
debugging categories to make them stand out in debugging output.</doc>
|
|
<member name="fg_black"
|
|
value="0"
|
|
c:identifier="GST_DEBUG_FG_BLACK"
|
|
glib:nick="fg-black">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="132">Use black as foreground color.</doc>
|
|
</member>
|
|
<member name="fg_red"
|
|
value="1"
|
|
c:identifier="GST_DEBUG_FG_RED"
|
|
glib:nick="fg-red">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="133">Use red as foreground color.</doc>
|
|
</member>
|
|
<member name="fg_green"
|
|
value="2"
|
|
c:identifier="GST_DEBUG_FG_GREEN"
|
|
glib:nick="fg-green">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="134">Use green as foreground color.</doc>
|
|
</member>
|
|
<member name="fg_yellow"
|
|
value="3"
|
|
c:identifier="GST_DEBUG_FG_YELLOW"
|
|
glib:nick="fg-yellow">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="135">Use yellow as foreground color.</doc>
|
|
</member>
|
|
<member name="fg_blue"
|
|
value="4"
|
|
c:identifier="GST_DEBUG_FG_BLUE"
|
|
glib:nick="fg-blue">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="136">Use blue as foreground color.</doc>
|
|
</member>
|
|
<member name="fg_magenta"
|
|
value="5"
|
|
c:identifier="GST_DEBUG_FG_MAGENTA"
|
|
glib:nick="fg-magenta">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="137">Use magenta as foreground color.</doc>
|
|
</member>
|
|
<member name="fg_cyan"
|
|
value="6"
|
|
c:identifier="GST_DEBUG_FG_CYAN"
|
|
glib:nick="fg-cyan">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="138">Use cyan as foreground color.</doc>
|
|
</member>
|
|
<member name="fg_white"
|
|
value="7"
|
|
c:identifier="GST_DEBUG_FG_WHITE"
|
|
glib:nick="fg-white">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="139">Use white as foreground color.</doc>
|
|
</member>
|
|
<member name="bg_black"
|
|
value="0"
|
|
c:identifier="GST_DEBUG_BG_BLACK"
|
|
glib:nick="bg-black">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="140">Use black as background color.</doc>
|
|
</member>
|
|
<member name="bg_red"
|
|
value="16"
|
|
c:identifier="GST_DEBUG_BG_RED"
|
|
glib:nick="bg-red">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="141">Use red as background color.</doc>
|
|
</member>
|
|
<member name="bg_green"
|
|
value="32"
|
|
c:identifier="GST_DEBUG_BG_GREEN"
|
|
glib:nick="bg-green">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="142">Use green as background color.</doc>
|
|
</member>
|
|
<member name="bg_yellow"
|
|
value="48"
|
|
c:identifier="GST_DEBUG_BG_YELLOW"
|
|
glib:nick="bg-yellow">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="143">Use yellow as background color.</doc>
|
|
</member>
|
|
<member name="bg_blue"
|
|
value="64"
|
|
c:identifier="GST_DEBUG_BG_BLUE"
|
|
glib:nick="bg-blue">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="144">Use blue as background color.</doc>
|
|
</member>
|
|
<member name="bg_magenta"
|
|
value="80"
|
|
c:identifier="GST_DEBUG_BG_MAGENTA"
|
|
glib:nick="bg-magenta">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="145">Use magenta as background color.</doc>
|
|
</member>
|
|
<member name="bg_cyan"
|
|
value="96"
|
|
c:identifier="GST_DEBUG_BG_CYAN"
|
|
glib:nick="bg-cyan">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="146">Use cyan as background color.</doc>
|
|
</member>
|
|
<member name="bg_white"
|
|
value="112"
|
|
c:identifier="GST_DEBUG_BG_WHITE"
|
|
glib:nick="bg-white">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="147">Use white as background color.</doc>
|
|
</member>
|
|
<member name="bold"
|
|
value="256"
|
|
c:identifier="GST_DEBUG_BOLD"
|
|
glib:nick="bold">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="148">Make the output bold.</doc>
|
|
</member>
|
|
<member name="underline"
|
|
value="512"
|
|
c:identifier="GST_DEBUG_UNDERLINE"
|
|
glib:nick="underline">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="149">Underline the output.</doc>
|
|
</member>
|
|
</bitfield>
|
|
<enumeration name="DebugColorMode"
|
|
glib:type-name="GstDebugColorMode"
|
|
glib:get-type="gst_debug_color_mode_get_type"
|
|
c:type="GstDebugColorMode">
|
|
<member name="off"
|
|
value="0"
|
|
c:identifier="GST_DEBUG_COLOR_MODE_OFF"
|
|
glib:nick="off">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="196">Do not use colors in logs.</doc>
|
|
</member>
|
|
<member name="on"
|
|
value="1"
|
|
c:identifier="GST_DEBUG_COLOR_MODE_ON"
|
|
glib:nick="on">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="197">Paint logs in a platform-specific way.</doc>
|
|
</member>
|
|
<member name="unix"
|
|
value="2"
|
|
c:identifier="GST_DEBUG_COLOR_MODE_UNIX"
|
|
glib:nick="unix">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="198">Paint logs with UNIX terminal color codes
|
|
no matter what platform GStreamer is running on.</doc>
|
|
</member>
|
|
</enumeration>
|
|
<callback name="DebugFuncPtr" c:type="GstDebugFuncPtr">
|
|
<attribute name="doc.skip" value="true"/>
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="396">we define this to avoid a compiler warning regarding a cast from a function
|
|
pointer to a void pointer
|
|
(see https://bugzilla.gnome.org/show_bug.cgi?id=309253)</doc>
|
|
<source-position filename="gst/gstinfo.h" line="402"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
</callback>
|
|
<bitfield name="DebugGraphDetails"
|
|
glib:type-name="GstDebugGraphDetails"
|
|
glib:get-type="gst_debug_graph_details_get_type"
|
|
c:type="GstDebugGraphDetails">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.h"
|
|
line="32">Available details for pipeline graphs produced by GST_DEBUG_BIN_TO_DOT_FILE()
|
|
and GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS().</doc>
|
|
<member name="media_type"
|
|
value="1"
|
|
c:identifier="GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE"
|
|
glib:nick="media-type">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.h"
|
|
line="34">show caps-name on edges</doc>
|
|
</member>
|
|
<member name="caps_details"
|
|
value="2"
|
|
c:identifier="GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS"
|
|
glib:nick="caps-details">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.h"
|
|
line="35">show caps-details on edges</doc>
|
|
</member>
|
|
<member name="non_default_params"
|
|
value="4"
|
|
c:identifier="GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS"
|
|
glib:nick="non-default-params">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.h"
|
|
line="36">show modified parameters on
|
|
elements</doc>
|
|
</member>
|
|
<member name="states"
|
|
value="8"
|
|
c:identifier="GST_DEBUG_GRAPH_SHOW_STATES"
|
|
glib:nick="states">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.h"
|
|
line="38">show element states</doc>
|
|
</member>
|
|
<member name="full_params"
|
|
value="16"
|
|
c:identifier="GST_DEBUG_GRAPH_SHOW_FULL_PARAMS"
|
|
glib:nick="full-params">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.h"
|
|
line="39">show full element parameter values even
|
|
if they are very long</doc>
|
|
</member>
|
|
<member name="all"
|
|
value="15"
|
|
c:identifier="GST_DEBUG_GRAPH_SHOW_ALL"
|
|
glib:nick="all">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.h"
|
|
line="41">show all the typical details that one might want</doc>
|
|
</member>
|
|
<member name="verbose"
|
|
value="4294967295"
|
|
c:identifier="GST_DEBUG_GRAPH_SHOW_VERBOSE"
|
|
glib:nick="verbose">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.h"
|
|
line="42">show all details regardless of how large or
|
|
verbose they make the resulting output</doc>
|
|
</member>
|
|
</bitfield>
|
|
<enumeration name="DebugLevel"
|
|
glib:type-name="GstDebugLevel"
|
|
glib:get-type="gst_debug_level_get_type"
|
|
c:type="GstDebugLevel">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="33">The level defines the importance of a debugging message. The more important a
|
|
message is, the greater the probability that the debugging system outputs it.</doc>
|
|
<member name="none"
|
|
value="0"
|
|
c:identifier="GST_LEVEL_NONE"
|
|
glib:nick="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="35">No debugging level specified or desired. Used to deactivate
|
|
debugging output.</doc>
|
|
</member>
|
|
<member name="error"
|
|
value="1"
|
|
c:identifier="GST_LEVEL_ERROR"
|
|
glib:nick="error">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="37">Error messages are to be used only when an error occurred
|
|
that stops the application from keeping working correctly.
|
|
An examples is gst_element_error, which outputs a message with this priority.
|
|
It does not mean that the application is terminating as with g_error.</doc>
|
|
</member>
|
|
<member name="warning"
|
|
value="2"
|
|
c:identifier="GST_LEVEL_WARNING"
|
|
glib:nick="warning">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="41">Warning messages are to inform about abnormal behaviour
|
|
that could lead to problems or weird behaviour later on. An example of this
|
|
would be clocking issues ("your computer is pretty slow") or broken input
|
|
data ("Can't synchronize to stream.")</doc>
|
|
</member>
|
|
<member name="fixme"
|
|
value="3"
|
|
c:identifier="GST_LEVEL_FIXME"
|
|
glib:nick="fixme">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="45">Fixme messages are messages that indicate that something
|
|
in the executed code path is not fully implemented or handled yet. Note
|
|
that this does not replace proper error handling in any way, the purpose
|
|
of this message is to make it easier to spot incomplete/unfinished pieces
|
|
of code when reading the debug log.</doc>
|
|
</member>
|
|
<member name="info"
|
|
value="4"
|
|
c:identifier="GST_LEVEL_INFO"
|
|
glib:nick="info">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="50">Informational messages should be used to keep the developer
|
|
updated about what is happening.
|
|
Examples where this should be used are when a typefind function has
|
|
successfully determined the type of the stream or when an mp3 plugin detects
|
|
the format to be used. ("This file has mono sound.")</doc>
|
|
</member>
|
|
<member name="debug"
|
|
value="5"
|
|
c:identifier="GST_LEVEL_DEBUG"
|
|
glib:nick="debug">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="55">Debugging messages should be used when something common
|
|
happens that is not the expected default behavior, or something that's
|
|
useful to know but doesn't happen all the time (ie. per loop iteration or
|
|
buffer processed or event handled).
|
|
An example would be notifications about state changes or receiving/sending
|
|
of events.</doc>
|
|
</member>
|
|
<member name="log"
|
|
value="6"
|
|
c:identifier="GST_LEVEL_LOG"
|
|
glib:nick="log">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="61">Log messages are messages that are very common but might be
|
|
useful to know. As a rule of thumb a pipeline that is running as expected
|
|
should never output anything else but LOG messages whilst processing data.
|
|
Use this log level to log recurring information in chain functions and
|
|
loop functions, for example.</doc>
|
|
</member>
|
|
<member name="trace"
|
|
value="7"
|
|
c:identifier="GST_LEVEL_TRACE"
|
|
glib:nick="trace">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="66">Tracing-related messages.
|
|
Examples for this are referencing/dereferencing of objects.</doc>
|
|
</member>
|
|
<member name="memdump"
|
|
value="9"
|
|
c:identifier="GST_LEVEL_MEMDUMP"
|
|
glib:nick="memdump">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="68">memory dump messages are used to log (small) chunks of
|
|
data as memory dumps in the log. They will be displayed as hexdump with
|
|
ASCII characters.</doc>
|
|
</member>
|
|
<member name="count"
|
|
value="10"
|
|
c:identifier="GST_LEVEL_COUNT"
|
|
glib:nick="count">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="71">The number of defined debugging levels.</doc>
|
|
</member>
|
|
<function name="get_name" c:identifier="gst_debug_level_get_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1338">Get the string representation of a debugging level</doc>
|
|
<source-position filename="gst/gstinfo.h" line="437"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1344">the name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="level" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1340">the level to get the name for</doc>
|
|
<type name="DebugLevel" c:type="GstDebugLevel"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</enumeration>
|
|
<record name="DebugMessage" c:type="GstDebugMessage" disguised="1">
|
|
<source-position filename="gst/gstinfo.h" line="331"/>
|
|
<method name="get" c:identifier="gst_debug_message_get">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="555">Gets the string representation of a #GstDebugMessage. This function is used
|
|
in debug handlers to extract the message.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="415"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="562">the string representation of a #GstDebugMessage.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="557">a debug message</doc>
|
|
<type name="DebugMessage" c:type="GstDebugMessage*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<class name="Device"
|
|
c:symbol-prefix="device"
|
|
c:type="GstDevice"
|
|
version="1.4"
|
|
parent="Object"
|
|
abstract="1"
|
|
glib:type-name="GstDevice"
|
|
glib:get-type="gst_device_get_type"
|
|
glib:type-struct="DeviceClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="22">#GstDevice are objects representing a device, they contain
|
|
relevant metadata about the device, such as its class and the #GstCaps
|
|
representing the media types it can produce or handle.
|
|
|
|
#GstDevice are created by #GstDeviceProvider objects which can be
|
|
aggregated by #GstDeviceMonitor objects.</doc>
|
|
<source-position filename="gst/gstdevice.h" line="85"/>
|
|
<virtual-method name="create_element"
|
|
invoker="create_element"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="190">Creates the element with all of the required parameters set to use
|
|
this device.</doc>
|
|
<source-position filename="gst/gstdevice.h" line="80"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="199">a new #GstElement configured to use
|
|
this device</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="device" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="192">a #GstDevice</doc>
|
|
<type name="Device" c:type="GstDevice*"/>
|
|
</instance-parameter>
|
|
<parameter name="name"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="193">name of new element, or %NULL to automatically
|
|
create a unique name.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="reconfigure_element"
|
|
invoker="reconfigure_element"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="312">Tries to reconfigure an existing element to use the device. If this
|
|
function fails, then one must destroy the element and create a new one
|
|
using gst_device_create_element().
|
|
|
|
Note: This should only be implemented for elements can change their
|
|
device in the PLAYING state.</doc>
|
|
<source-position filename="gst/gstdevice.h" line="81"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="324">%TRUE if the element could be reconfigured to use this device,
|
|
%FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="device" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="314">a #GstDevice</doc>
|
|
<type name="Device" c:type="GstDevice*"/>
|
|
</instance-parameter>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="315">a #GstElement</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="create_element"
|
|
c:identifier="gst_device_create_element"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="190">Creates the element with all of the required parameters set to use
|
|
this device.</doc>
|
|
<source-position filename="gst/gstdevice.h" line="91"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="199">a new #GstElement configured to use
|
|
this device</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="device" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="192">a #GstDevice</doc>
|
|
<type name="Device" c:type="GstDevice*"/>
|
|
</instance-parameter>
|
|
<parameter name="name"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="193">name of new element, or %NULL to automatically
|
|
create a unique name.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_caps" c:identifier="gst_device_get_caps" version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="226">Getter for the #GstCaps that this device supports.</doc>
|
|
<source-position filename="gst/gstdevice.h" line="94"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="232">The #GstCaps supported by this device. Unref with
|
|
gst_caps_unref() when done.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="device" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="228">a #GstDevice</doc>
|
|
<type name="Device" c:type="GstDevice*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_device_class"
|
|
c:identifier="gst_device_get_device_class"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="267">Gets the "class" of a device. This is a "/" separated list of
|
|
classes that represent this device. They are a subset of the
|
|
classes of the #GstDeviceProvider that produced this device.</doc>
|
|
<source-position filename="gst/gstdevice.h" line="100"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="275">The device class. Free with g_free() after use.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="device" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="269">a #GstDevice</doc>
|
|
<type name="Device" c:type="GstDevice*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_display_name"
|
|
c:identifier="gst_device_get_display_name"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="248">Gets the user-friendly name of the device.</doc>
|
|
<source-position filename="gst/gstdevice.h" line="97"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="254">The device name. Free with g_free() after use.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="device" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="250">a #GstDevice</doc>
|
|
<type name="Device" c:type="GstDevice*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_properties"
|
|
c:identifier="gst_device_get_properties"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="290">Gets the extra properties of a device.</doc>
|
|
<source-position filename="gst/gstdevice.h" line="103"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="296">The extra properties or %NULL when there are none.
|
|
Free with gst_structure_free() after use.</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="device" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="292">a #GstDevice</doc>
|
|
<type name="Device" c:type="GstDevice*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_classes"
|
|
c:identifier="gst_device_has_classes"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="385">Check if @device matches all of the given classes</doc>
|
|
<source-position filename="gst/gstdevice.h" line="112"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="393">%TRUE if @device matches.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="device" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="387">a #GstDevice</doc>
|
|
<type name="Device" c:type="GstDevice*"/>
|
|
</instance-parameter>
|
|
<parameter name="classes" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="388">a "/"-separated list of device classes to match, only match if
|
|
all classes are matched</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_classesv"
|
|
c:identifier="gst_device_has_classesv"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="342">Check if @factory matches all of the given classes</doc>
|
|
<source-position filename="gst/gstdevice.h" line="109"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="350">%TRUE if @device matches.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="device" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="344">a #GstDevice</doc>
|
|
<type name="Device" c:type="GstDevice*"/>
|
|
</instance-parameter>
|
|
<parameter name="classes" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="345">a %NULL terminated array of classes
|
|
to match, only match if all classes are matched</doc>
|
|
<array c:type="gchar**">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</array>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="reconfigure_element"
|
|
c:identifier="gst_device_reconfigure_element"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="312">Tries to reconfigure an existing element to use the device. If this
|
|
function fails, then one must destroy the element and create a new one
|
|
using gst_device_create_element().
|
|
|
|
Note: This should only be implemented for elements can change their
|
|
device in the PLAYING state.</doc>
|
|
<source-position filename="gst/gstdevice.h" line="106"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="324">%TRUE if the element could be reconfigured to use this device,
|
|
%FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="device" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="314">a #GstDevice</doc>
|
|
<type name="Device" c:type="GstDevice*"/>
|
|
</instance-parameter>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="315">a #GstElement</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="caps"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<type name="Caps"/>
|
|
</property>
|
|
<property name="device-class"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</property>
|
|
<property name="display-name"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</property>
|
|
<property name="properties"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<type name="Structure"/>
|
|
</property>
|
|
<field name="parent">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.h"
|
|
line="47">The parent #GstObject structure.</doc>
|
|
<type name="Object" c:type="GstObject"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="DevicePrivate" c:type="GstDevicePrivate*"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<glib:signal name="removed" when="last">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
</glib:signal>
|
|
</class>
|
|
<record name="DeviceClass"
|
|
c:type="GstDeviceClass"
|
|
glib:is-gtype-struct-for="Device"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.h"
|
|
line="63">The class structure for a #GstDevice object.</doc>
|
|
<source-position filename="gst/gstdevice.h" line="85"/>
|
|
<field name="parent_class">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.h"
|
|
line="65">The parent #GstObjectClass structure.</doc>
|
|
<type name="ObjectClass" c:type="GstObjectClass"/>
|
|
</field>
|
|
<field name="create_element">
|
|
<callback name="create_element">
|
|
<source-position filename="gst/gstdevice.h" line="80"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="199">a new #GstElement configured to use
|
|
this device</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="device" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="192">a #GstDevice</doc>
|
|
<type name="Device" c:type="GstDevice*"/>
|
|
</parameter>
|
|
<parameter name="name"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="193">name of new element, or %NULL to automatically
|
|
create a unique name.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="reconfigure_element">
|
|
<callback name="reconfigure_element">
|
|
<source-position filename="gst/gstdevice.h" line="81"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="324">%TRUE if the element could be reconfigured to use this device,
|
|
%FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="device" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="314">a #GstDevice</doc>
|
|
<type name="Device" c:type="GstDevice*"/>
|
|
</parameter>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevice.c"
|
|
line="315">a #GstElement</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<class name="DeviceMonitor"
|
|
c:symbol-prefix="device_monitor"
|
|
c:type="GstDeviceMonitor"
|
|
version="1.4"
|
|
parent="Object"
|
|
glib:type-name="GstDeviceMonitor"
|
|
glib:get-type="gst_device_monitor_get_type"
|
|
glib:type-struct="DeviceMonitorClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="22">Applications should create a #GstDeviceMonitor when they want
|
|
to probe, list and monitor devices of a specific type. The
|
|
#GstDeviceMonitor will create the appropriate
|
|
#GstDeviceProvider objects and manage them. It will then post
|
|
messages on its #GstBus for devices that have been added and
|
|
removed.
|
|
|
|
The device monitor will monitor all devices matching the filters that
|
|
the application has set.
|
|
|
|
The basic use pattern of a device monitor is as follows:
|
|
|[
|
|
static gboolean
|
|
my_bus_func (GstBus * bus, GstMessage * message, gpointer user_data)
|
|
{
|
|
GstDevice *device;
|
|
gchar *name;
|
|
|
|
switch (GST_MESSAGE_TYPE (message)) {
|
|
case GST_MESSAGE_DEVICE_ADDED:
|
|
gst_message_parse_device_added (message, &device);
|
|
name = gst_device_get_display_name (device);
|
|
g_print("Device added: %s\n", name);
|
|
g_free (name);
|
|
gst_object_unref (device);
|
|
break;
|
|
case GST_MESSAGE_DEVICE_REMOVED:
|
|
gst_message_parse_device_removed (message, &device);
|
|
name = gst_device_get_display_name (device);
|
|
g_print("Device removed: %s\n", name);
|
|
g_free (name);
|
|
gst_object_unref (device);
|
|
break;
|
|
default:
|
|
break;
|
|
}
|
|
|
|
return G_SOURCE_CONTINUE;
|
|
}
|
|
|
|
GstDeviceMonitor *
|
|
setup_raw_video_source_device_monitor (void) {
|
|
GstDeviceMonitor *monitor;
|
|
GstBus *bus;
|
|
GstCaps *caps;
|
|
|
|
monitor = gst_device_monitor_new ();
|
|
|
|
bus = gst_device_monitor_get_bus (monitor);
|
|
gst_bus_add_watch (bus, my_bus_func, NULL);
|
|
gst_object_unref (bus);
|
|
|
|
caps = gst_caps_new_empty_simple ("video/x-raw");
|
|
gst_device_monitor_add_filter (monitor, "Video/Source", caps);
|
|
gst_caps_unref (caps);
|
|
|
|
gst_device_monitor_start (monitor);
|
|
|
|
return monitor;
|
|
}
|
|
]|</doc>
|
|
<source-position filename="gst/gstdevicemonitor.h" line="76"/>
|
|
<constructor name="new"
|
|
c:identifier="gst_device_monitor_new"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="792">Create a new #GstDeviceMonitor</doc>
|
|
<source-position filename="gst/gstdevicemonitor.h" line="82"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="797">a new device monitor.</doc>
|
|
<type name="DeviceMonitor" c:type="GstDeviceMonitor*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<method name="add_filter"
|
|
c:identifier="gst_device_monitor_add_filter"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="621">Adds a filter for which #GstDevice will be monitored, any device that matches
|
|
all these classes and the #GstCaps will be returned.
|
|
|
|
If this function is called multiple times to add more filters, each will be
|
|
matched independently. That is, adding more filters will not further restrict
|
|
what devices are matched.
|
|
|
|
The #GstCaps supported by the device as returned by gst_device_get_caps() are
|
|
not intersected with caps filters added using this function.
|
|
|
|
Filters must be added before the #GstDeviceMonitor is started.</doc>
|
|
<source-position filename="gst/gstdevicemonitor.h" line="99"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="639">The id of the new filter or 0 if no provider matched the filter's
|
|
classes.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="monitor" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="623">a device monitor</doc>
|
|
<type name="DeviceMonitor" c:type="GstDeviceMonitor*"/>
|
|
</instance-parameter>
|
|
<parameter name="classes"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="624">device classes to use as filter or %NULL for any class</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="caps"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="625">the #GstCaps to filter or %NULL for ANY</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_bus"
|
|
c:identifier="gst_device_monitor_get_bus"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="814">Gets the #GstBus of this #GstDeviceMonitor</doc>
|
|
<source-position filename="gst/gstdevicemonitor.h" line="85"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="820">a #GstBus</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="monitor" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="816">a #GstDeviceProvider</doc>
|
|
<type name="DeviceMonitor" c:type="GstDeviceMonitor*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_devices"
|
|
c:identifier="gst_device_monitor_get_devices"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="344">Gets a list of devices from all of the relevant monitors. This may actually
|
|
probe the hardware if the monitor is not currently started.</doc>
|
|
<source-position filename="gst/gstdevicemonitor.h" line="88"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="351">a #GList of
|
|
#GstDevice</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Device"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="monitor" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="346">A #GstDeviceProvider</doc>
|
|
<type name="DeviceMonitor" c:type="GstDeviceMonitor*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_providers"
|
|
c:identifier="gst_device_monitor_get_providers"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="832">Get a list of the currently selected device provider factories.
|
|
|
|
This</doc>
|
|
<source-position filename="gst/gstdevicemonitor.h" line="106"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="840">
|
|
A list of device provider factory names that are currently being
|
|
monitored by @monitor or %NULL when nothing is being monitored.</doc>
|
|
<array c:type="gchar**">
|
|
<type name="utf8"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="monitor" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="834">a #GstDeviceMonitor</doc>
|
|
<type name="DeviceMonitor" c:type="GstDeviceMonitor*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_show_all_devices"
|
|
c:identifier="gst_device_monitor_get_show_all_devices"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="898">Get if @monitor is currently showing all devices, even those from hidden
|
|
providers.</doc>
|
|
<source-position filename="gst/gstdevicemonitor.h" line="112"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="905">%TRUE when all devices will be shown.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="monitor" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="900">a #GstDeviceMonitor</doc>
|
|
<type name="DeviceMonitor" c:type="GstDeviceMonitor*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_filter"
|
|
c:identifier="gst_device_monitor_remove_filter"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="725">Removes a filter from the #GstDeviceMonitor using the id that was returned
|
|
by gst_device_monitor_add_filter().</doc>
|
|
<source-position filename="gst/gstdevicemonitor.h" line="103"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="733">%TRUE of the filter id was valid, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="monitor" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="727">a device monitor</doc>
|
|
<type name="DeviceMonitor" c:type="GstDeviceMonitor*"/>
|
|
</instance-parameter>
|
|
<parameter name="filter_id" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="728">the id of the filter</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_show_all_devices"
|
|
c:identifier="gst_device_monitor_set_show_all_devices"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="877">Set if all devices should be visible, even those devices from hidden
|
|
providers. Setting @show_all to true might show some devices multiple times.</doc>
|
|
<source-position filename="gst/gstdevicemonitor.h" line="109"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="monitor" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="879">a #GstDeviceMonitor</doc>
|
|
<type name="DeviceMonitor" c:type="GstDeviceMonitor*"/>
|
|
</instance-parameter>
|
|
<parameter name="show_all" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="880">show all devices</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="start"
|
|
c:identifier="gst_device_monitor_start"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="444">Starts monitoring the devices, one this has succeeded, the
|
|
%GST_MESSAGE_DEVICE_ADDED and %GST_MESSAGE_DEVICE_REMOVED messages
|
|
will be emitted on the bus when the list of devices changes.</doc>
|
|
<source-position filename="gst/gstdevicemonitor.h" line="92"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="452">%TRUE if the device monitoring could be started</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="monitor" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="446">A #GstDeviceMonitor</doc>
|
|
<type name="DeviceMonitor" c:type="GstDeviceMonitor*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="stop" c:identifier="gst_device_monitor_stop" version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="551">Stops monitoring the devices.</doc>
|
|
<source-position filename="gst/gstdevicemonitor.h" line="95"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="monitor" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.c"
|
|
line="553">A #GstDeviceProvider</doc>
|
|
<type name="DeviceMonitor" c:type="GstDeviceMonitor*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="show-all" writable="1" transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</property>
|
|
<field name="parent">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.h"
|
|
line="47">the parent #GstObject structure</doc>
|
|
<type name="Object" c:type="GstObject"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="DeviceMonitorPrivate" c:type="GstDeviceMonitorPrivate*"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="DeviceMonitorClass"
|
|
c:type="GstDeviceMonitorClass"
|
|
glib:is-gtype-struct-for="DeviceMonitor"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.h"
|
|
line="63">Opaque device monitor class structure.</doc>
|
|
<source-position filename="gst/gstdevicemonitor.h" line="76"/>
|
|
<field name="parent_class">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdevicemonitor.h"
|
|
line="65">the parent #GstObjectClass structure</doc>
|
|
<type name="ObjectClass" c:type="GstObjectClass"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="DeviceMonitorPrivate"
|
|
c:type="GstDeviceMonitorPrivate"
|
|
disguised="1">
|
|
<source-position filename="gst/gstdevicemonitor.h" line="34"/>
|
|
</record>
|
|
<record name="DevicePrivate" c:type="GstDevicePrivate" disguised="1">
|
|
<source-position filename="gst/gstdevice.h" line="35"/>
|
|
</record>
|
|
<class name="DeviceProvider"
|
|
c:symbol-prefix="device_provider"
|
|
c:type="GstDeviceProvider"
|
|
version="1.4"
|
|
parent="Object"
|
|
abstract="1"
|
|
glib:type-name="GstDeviceProvider"
|
|
glib:get-type="gst_device_provider_get_type"
|
|
glib:type-struct="DeviceProviderClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="22">A #GstDeviceProvider subclass is provided by a plugin that handles devices
|
|
if there is a way to programmatically list connected devices. It can also
|
|
optionally provide updates to the list of connected devices.
|
|
|
|
Each #GstDeviceProvider subclass is a singleton, a plugin should
|
|
normally provide a single subclass for all devices.
|
|
|
|
Applications would normally use a #GstDeviceMonitor to monitor devices
|
|
from all relevant providers.</doc>
|
|
<source-position filename="gst/gstdeviceprovider.h" line="101"/>
|
|
<function name="register"
|
|
c:identifier="gst_device_provider_register"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="155">Create a new device providerfactory capable of instantiating objects of the
|
|
@type and add the factory to @plugin.</doc>
|
|
<source-position filename="gst/gstdeviceproviderfactory.h" line="85"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="166">%TRUE, if the registering succeeded, %FALSE on error</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="plugin"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="157">#GstPlugin to register the device provider with, or %NULL for
|
|
a static device provider.</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="159">name of device providers of this type</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="rank" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="160">rank of device provider (higher rank means more importance when autoplugging)</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="161">GType of device provider to register</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<virtual-method name="probe" introspectable="0">
|
|
<source-position filename="gst/gstdeviceprovider.h" line="91"/>
|
|
<return-value>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="provider" transfer-ownership="none">
|
|
<type name="DeviceProvider" c:type="GstDeviceProvider*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="start" invoker="start" version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="436">Starts providering the devices. This will cause #GST_MESSAGE_DEVICE_ADDED
|
|
and #GST_MESSAGE_DEVICE_REMOVED messages to be posted on the provider's bus
|
|
when devices are added or removed from the system.
|
|
|
|
Since the #GstDeviceProvider is a singleton,
|
|
gst_device_provider_start() may already have been called by another
|
|
user of the object, gst_device_provider_stop() needs to be called the same
|
|
number of times.
|
|
|
|
After this function has been called, gst_device_provider_get_devices() will
|
|
return the same objects that have been received from the
|
|
#GST_MESSAGE_DEVICE_ADDED messages and will no longer probe.</doc>
|
|
<source-position filename="gst/gstdeviceprovider.h" line="93"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="453">%TRUE if the device providering could be started</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="provider" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="438">A #GstDeviceProvider</doc>
|
|
<type name="DeviceProvider" c:type="GstDeviceProvider*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="stop" invoker="stop" version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="512">Decreases the use-count by one. If the use count reaches zero, this
|
|
#GstDeviceProvider will stop providering the devices. This needs to be
|
|
called the same number of times that gst_device_provider_start() was called.</doc>
|
|
<source-position filename="gst/gstdeviceprovider.h" line="94"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="provider" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="514">A #GstDeviceProvider</doc>
|
|
<type name="DeviceProvider" c:type="GstDeviceProvider*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="can_monitor"
|
|
c:identifier="gst_device_provider_can_monitor">
|
|
<source-position filename="gst/gstdeviceprovider.h" line="117"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="provider" transfer-ownership="none">
|
|
<type name="DeviceProvider" c:type="GstDeviceProvider*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="device_add"
|
|
c:identifier="gst_device_provider_device_add"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="611">Posts a message on the provider's #GstBus to inform applications that
|
|
a new device has been added.
|
|
|
|
This is for use by subclasses.
|
|
|
|
@device's reference count will be incremented, and any floating reference
|
|
will be removed (see gst_object_ref_sink()).</doc>
|
|
<source-position filename="gst/gstdeviceprovider.h" line="123"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="provider" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="613">a #GstDeviceProvider</doc>
|
|
<type name="DeviceProvider" c:type="GstDeviceProvider*"/>
|
|
</instance-parameter>
|
|
<parameter name="device" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="614">a #GstDevice that has been added</doc>
|
|
<type name="Device" c:type="GstDevice*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="device_changed"
|
|
c:identifier="gst_device_provider_device_changed"
|
|
version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="810">This function is used when @changed_device was modified into its new form
|
|
@device. This will post a `DEVICE_CHANGED` message on the bus to let
|
|
the application know that the device was modified. #GstDevice is immutable
|
|
for MT. safety purposes so this is an "atomic" way of letting the application
|
|
know when a device was modified.</doc>
|
|
<source-position filename="gst/gstdeviceprovider.h" line="170"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="provider" transfer-ownership="none">
|
|
<type name="DeviceProvider" c:type="GstDeviceProvider*"/>
|
|
</instance-parameter>
|
|
<parameter name="device" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="812">the new version of @changed_device</doc>
|
|
<type name="Device" c:type="GstDevice*"/>
|
|
</parameter>
|
|
<parameter name="changed_device" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="813">the old version of the device that has been updated</doc>
|
|
<type name="Device" c:type="GstDevice*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="device_remove"
|
|
c:identifier="gst_device_provider_device_remove"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="654">Posts a message on the provider's #GstBus to inform applications that
|
|
a device has been removed.
|
|
|
|
This is for use by subclasses.</doc>
|
|
<source-position filename="gst/gstdeviceprovider.h" line="126"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="provider" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="656">a #GstDeviceProvider</doc>
|
|
<type name="DeviceProvider" c:type="GstDeviceProvider*"/>
|
|
</instance-parameter>
|
|
<parameter name="device" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="657">a #GstDevice that has been removed</doc>
|
|
<type name="Device" c:type="GstDevice*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_bus"
|
|
c:identifier="gst_device_provider_get_bus"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="593">Gets the #GstBus of this #GstDeviceProvider</doc>
|
|
<source-position filename="gst/gstdeviceprovider.h" line="120"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="599">a #GstBus</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="provider" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="595">a #GstDeviceProvider</doc>
|
|
<type name="DeviceProvider" c:type="GstDeviceProvider*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_devices"
|
|
c:identifier="gst_device_provider_get_devices"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="387">Gets a list of devices that this provider understands. This may actually
|
|
probe the hardware if the provider is not currently started.
|
|
|
|
If the provider has been started, this will returned the same #GstDevice
|
|
objedcts that have been returned by the #GST_MESSAGE_DEVICE_ADDED messages.</doc>
|
|
<source-position filename="gst/gstdeviceprovider.h" line="108"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="397">a #GList of
|
|
#GstDevice</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Device"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="provider" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="389">A #GstDeviceProvider</doc>
|
|
<type name="DeviceProvider" c:type="GstDeviceProvider*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_factory"
|
|
c:identifier="gst_device_provider_get_factory"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="551">Retrieves the factory that was used to create this device provider.</doc>
|
|
<source-position filename="gst/gstdeviceprovider.h" line="177"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="557">the #GstDeviceProviderFactory used for
|
|
creating this device provider. no refcounting is needed.</doc>
|
|
<type name="DeviceProviderFactory"
|
|
c:type="GstDeviceProviderFactory*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="provider" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="553">a #GstDeviceProvider to request the device provider factory of.</doc>
|
|
<type name="DeviceProvider" c:type="GstDeviceProvider*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_hidden_providers"
|
|
c:identifier="gst_device_provider_get_hidden_providers"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="690">Get the provider factory names of the #GstDeviceProvider instances that
|
|
are hidden by @provider.</doc>
|
|
<source-position filename="gst/gstdeviceprovider.h" line="129"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="697">
|
|
a list of hidden providers factory names or %NULL when
|
|
nothing is hidden by @provider. Free with g_strfreev.</doc>
|
|
<array c:type="gchar**">
|
|
<type name="utf8"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="provider" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="692">a #GstDeviceProvider</doc>
|
|
<type name="DeviceProvider" c:type="GstDeviceProvider*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_metadata"
|
|
c:identifier="gst_device_provider_get_metadata"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="364">Get metadata with @key in @provider.</doc>
|
|
<source-position filename="gst/gstdeviceprovider.h" line="139"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="371">the metadata for @key.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="provider" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="366">provider to get metadata for</doc>
|
|
<type name="DeviceProvider" c:type="GstDeviceProvider*"/>
|
|
</instance-parameter>
|
|
<parameter name="key" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="367">the key to get</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="hide_provider"
|
|
c:identifier="gst_device_provider_hide_provider"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="729">Make @provider hide the devices from the factory with @name.
|
|
|
|
This function is used when @provider will also provide the devices reported
|
|
by provider factory @name. A monitor should stop monitoring the
|
|
device provider with @name to avoid duplicate devices.</doc>
|
|
<source-position filename="gst/gstdeviceprovider.h" line="132"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="provider" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="731">a #GstDeviceProvider</doc>
|
|
<type name="DeviceProvider" c:type="GstDeviceProvider*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="732">a provider factory name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_started"
|
|
c:identifier="gst_device_provider_is_started"
|
|
version="1.20">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="860">This function can be used to know if the @provider was successfully started.</doc>
|
|
<source-position filename="gst/gstdeviceprovider.h" line="143"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="provider" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="862">a #GstDeviceProvider</doc>
|
|
<type name="DeviceProvider" c:type="GstDeviceProvider*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="start"
|
|
c:identifier="gst_device_provider_start"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="436">Starts providering the devices. This will cause #GST_MESSAGE_DEVICE_ADDED
|
|
and #GST_MESSAGE_DEVICE_REMOVED messages to be posted on the provider's bus
|
|
when devices are added or removed from the system.
|
|
|
|
Since the #GstDeviceProvider is a singleton,
|
|
gst_device_provider_start() may already have been called by another
|
|
user of the object, gst_device_provider_stop() needs to be called the same
|
|
number of times.
|
|
|
|
After this function has been called, gst_device_provider_get_devices() will
|
|
return the same objects that have been received from the
|
|
#GST_MESSAGE_DEVICE_ADDED messages and will no longer probe.</doc>
|
|
<source-position filename="gst/gstdeviceprovider.h" line="111"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="453">%TRUE if the device providering could be started</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="provider" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="438">A #GstDeviceProvider</doc>
|
|
<type name="DeviceProvider" c:type="GstDeviceProvider*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="stop"
|
|
c:identifier="gst_device_provider_stop"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="512">Decreases the use-count by one. If the use count reaches zero, this
|
|
#GstDeviceProvider will stop providering the devices. This needs to be
|
|
called the same number of times that gst_device_provider_start() was called.</doc>
|
|
<source-position filename="gst/gstdeviceprovider.h" line="114"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="provider" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="514">A #GstDeviceProvider</doc>
|
|
<type name="DeviceProvider" c:type="GstDeviceProvider*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unhide_provider"
|
|
c:identifier="gst_device_provider_unhide_provider"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="768">Make @provider unhide the devices from factory @name.
|
|
|
|
This function is used when @provider will no longer provide the devices
|
|
reported by provider factory @name. A monitor should start
|
|
monitoring the devices from provider factory @name in order to see
|
|
all devices again.</doc>
|
|
<source-position filename="gst/gstdeviceprovider.h" line="135"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="provider" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="770">a #GstDeviceProvider</doc>
|
|
<type name="DeviceProvider" c:type="GstDeviceProvider*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="771">a provider factory name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<field name="parent">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.h"
|
|
line="48">The parent #GstObject</doc>
|
|
<type name="Object" c:type="GstObject"/>
|
|
</field>
|
|
<field name="devices">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.h"
|
|
line="49">a #GList of the #GstDevice objects</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</type>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="DeviceProviderPrivate" c:type="GstDeviceProviderPrivate*"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<glib:signal name="provider-hidden" when="first">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="provider-unhidden" when="first">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
</class>
|
|
<record name="DeviceProviderClass"
|
|
c:type="GstDeviceProviderClass"
|
|
glib:is-gtype-struct-for="DeviceProvider"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.h"
|
|
line="68">The structure of the base #GstDeviceProviderClass</doc>
|
|
<source-position filename="gst/gstdeviceprovider.h" line="101"/>
|
|
<field name="parent_class">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.h"
|
|
line="70">the parent #GstObjectClass structure</doc>
|
|
<type name="ObjectClass" c:type="GstObjectClass"/>
|
|
</field>
|
|
<field name="factory">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.h"
|
|
line="71">a pointer to the #GstDeviceProviderFactory that creates this
|
|
provider</doc>
|
|
<type name="DeviceProviderFactory" c:type="GstDeviceProviderFactory*"/>
|
|
</field>
|
|
<field name="probe" introspectable="0">
|
|
<callback name="probe" introspectable="0">
|
|
<source-position filename="gst/gstdeviceprovider.h" line="91"/>
|
|
<return-value>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="provider" transfer-ownership="none">
|
|
<type name="DeviceProvider" c:type="GstDeviceProvider*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="start">
|
|
<callback name="start">
|
|
<source-position filename="gst/gstdeviceprovider.h" line="93"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="453">%TRUE if the device providering could be started</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="provider" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="438">A #GstDeviceProvider</doc>
|
|
<type name="DeviceProvider" c:type="GstDeviceProvider*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="stop">
|
|
<callback name="stop">
|
|
<source-position filename="gst/gstdeviceprovider.h" line="94"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="provider" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="514">A #GstDeviceProvider</doc>
|
|
<type name="DeviceProvider" c:type="GstDeviceProvider*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="metadata" readable="0" private="1">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<method name="add_metadata"
|
|
c:identifier="gst_device_provider_class_add_metadata"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="200">Set @key with @value as metadata in @klass.</doc>
|
|
<source-position filename="gst/gstdeviceprovider.h" line="160"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="klass" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="202">class to set metadata for</doc>
|
|
<type name="DeviceProviderClass" c:type="GstDeviceProviderClass*"/>
|
|
</instance-parameter>
|
|
<parameter name="key" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="203">the key to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="204">the value to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_static_metadata"
|
|
c:identifier="gst_device_provider_class_add_static_metadata"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="222">Set @key with @value as metadata in @klass.
|
|
|
|
Same as gst_device_provider_class_add_metadata(), but @value must be a static string
|
|
or an inlined string, as it will not be copied. (GStreamer plugins will
|
|
be made resident once loaded, so this function can be used even from
|
|
dynamically loaded plugins.)</doc>
|
|
<source-position filename="gst/gstdeviceprovider.h" line="163"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="klass" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="224">class to set metadata for</doc>
|
|
<type name="DeviceProviderClass" c:type="GstDeviceProviderClass*"/>
|
|
</instance-parameter>
|
|
<parameter name="key" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="225">the key to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="226">the value to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_metadata"
|
|
c:identifier="gst_device_provider_class_get_metadata"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="343">Get metadata with @key in @klass.</doc>
|
|
<source-position filename="gst/gstdeviceprovider.h" line="166"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="350">the metadata for @key.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="klass" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="345">class to get metadata for</doc>
|
|
<type name="DeviceProviderClass" c:type="GstDeviceProviderClass*"/>
|
|
</instance-parameter>
|
|
<parameter name="key" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="346">the key to get</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_metadata"
|
|
c:identifier="gst_device_provider_class_set_metadata"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="252">Sets the detailed information for a #GstDeviceProviderClass.
|
|
|
|
> This function is for use in _class_init functions only.</doc>
|
|
<source-position filename="gst/gstdeviceprovider.h" line="148"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="klass" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="254">class to set metadata for</doc>
|
|
<type name="DeviceProviderClass" c:type="GstDeviceProviderClass*"/>
|
|
</instance-parameter>
|
|
<parameter name="longname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="255">The long English name of the device provider. E.g. "File Sink"</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="classification" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="256">String describing the type of device provider, as an
|
|
unordered list separated with slashes ('/'). See draft-klass.txt of the
|
|
design docs
|
|
for more details and common types. E.g: "Sink/File"</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="description" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="260">Sentence describing the purpose of the device provider.
|
|
E.g: "Write stream to a file"</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="author" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="262">Name and contact details of the author(s). Use \n to separate
|
|
multiple author metadata. E.g: "Joe Bloggs &lt;joe.blogs at foo.com&gt;"</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_static_metadata"
|
|
c:identifier="gst_device_provider_class_set_static_metadata"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="289">Sets the detailed information for a #GstDeviceProviderClass.
|
|
|
|
> This function is for use in _class_init functions only.
|
|
|
|
Same as gst_device_provider_class_set_metadata(), but @longname, @classification,
|
|
@description, and @author must be static strings or inlined strings, as
|
|
they will not be copied. (GStreamer plugins will be made resident once
|
|
loaded, so this function can be used even from dynamically loaded plugins.)</doc>
|
|
<source-position filename="gst/gstdeviceprovider.h" line="154"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="klass" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="291">class to set metadata for</doc>
|
|
<type name="DeviceProviderClass" c:type="GstDeviceProviderClass*"/>
|
|
</instance-parameter>
|
|
<parameter name="longname" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="292">The long English name of the element. E.g. "File Sink"</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="classification" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="293">String describing the type of element, as
|
|
an unordered list separated with slashes ('/'). See draft-klass.txt of the
|
|
design docs for more details and common types. E.g: "Sink/File"</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="description" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="296">Sentence describing the purpose of the
|
|
element. E.g: "Write stream to a file"</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="author" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceprovider.c"
|
|
line="298">Name and contact details of the author(s). Use \n
|
|
to separate multiple author metadata. E.g: "Joe Bloggs &lt;joe.blogs at
|
|
foo.com&gt;"</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<class name="DeviceProviderFactory"
|
|
c:symbol-prefix="device_provider_factory"
|
|
c:type="GstDeviceProviderFactory"
|
|
version="1.4"
|
|
parent="PluginFeature"
|
|
glib:type-name="GstDeviceProviderFactory"
|
|
glib:get-type="gst_device_provider_factory_get_type"
|
|
glib:type-struct="DeviceProviderFactoryClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="24">#GstDeviceProviderFactory is used to create instances of device providers. A
|
|
GstDeviceProviderfactory can be added to a #GstPlugin as it is also a
|
|
#GstPluginFeature.
|
|
|
|
Use the gst_device_provider_factory_find() and
|
|
gst_device_provider_factory_get() functions to create device
|
|
provider instances or use gst_device_provider_factory_get_by_name() as a
|
|
convenient shortcut.</doc>
|
|
<source-position filename="gst/gstdeviceproviderfactory.h" line="45"/>
|
|
<function name="find"
|
|
c:identifier="gst_device_provider_factory_find"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="103">Search for an device provider factory of the given name. Refs the returned
|
|
device provider factory; caller is responsible for unreffing.</doc>
|
|
<source-position filename="gst/gstdeviceproviderfactory.h" line="67"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="110">#GstDeviceProviderFactory if
|
|
found, %NULL otherwise</doc>
|
|
<type name="DeviceProviderFactory"
|
|
c:type="GstDeviceProviderFactory*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="105">name of factory to find</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="get_by_name"
|
|
c:identifier="gst_device_provider_factory_get_by_name"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="339">Returns the device provider of the type defined by the given device
|
|
provider factory.</doc>
|
|
<source-position filename="gst/gstdeviceproviderfactory.h" line="82"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="346">a #GstDeviceProvider or %NULL
|
|
if unable to create device provider</doc>
|
|
<type name="DeviceProvider" c:type="GstDeviceProvider*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="factoryname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="341">a named factory to instantiate</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="list_get_device_providers"
|
|
c:identifier="gst_device_provider_factory_list_get_device_providers"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="559">Get a list of factories with a rank greater or equal to @minrank.
|
|
The list of factories is returned by decreasing rank.</doc>
|
|
<source-position filename="gst/gstdeviceproviderfactory.h" line="95"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="566">
|
|
a #GList of #GstDeviceProviderFactory device providers. Use
|
|
gst_plugin_feature_list_free() after usage.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="DeviceProviderFactory"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="minrank" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="561">Minimum rank</doc>
|
|
<type name="Rank" c:type="GstRank"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<method name="get"
|
|
c:identifier="gst_device_provider_factory_get"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="241">Returns the device provider of the type defined by the given device
|
|
providerfactory.</doc>
|
|
<source-position filename="gst/gstdeviceproviderfactory.h" line="79"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="248">the #GstDeviceProvider or %NULL
|
|
if the device provider couldn't be created</doc>
|
|
<type name="DeviceProvider" c:type="GstDeviceProvider*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="243">factory to instantiate</doc>
|
|
<type name="DeviceProviderFactory"
|
|
c:type="GstDeviceProviderFactory*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_device_provider_type"
|
|
c:identifier="gst_device_provider_factory_get_device_provider_type"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="388">Get the #GType for device providers managed by this factory. The type can
|
|
only be retrieved if the device provider factory is loaded, which can be
|
|
assured with gst_plugin_feature_load().</doc>
|
|
<source-position filename="gst/gstdeviceproviderfactory.h" line="70"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="396">the #GType for device providers managed by this factory.</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="390">factory to get managed #GType from</doc>
|
|
<type name="DeviceProviderFactory"
|
|
c:type="GstDeviceProviderFactory*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_metadata"
|
|
c:identifier="gst_device_provider_factory_get_metadata"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="410">Get the metadata on @factory with @key.</doc>
|
|
<source-position filename="gst/gstdeviceproviderfactory.h" line="73"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="417">the metadata with @key on @factory or %NULL
|
|
when there was no metadata with the given @key.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="412">a #GstDeviceProviderFactory</doc>
|
|
<type name="DeviceProviderFactory"
|
|
c:type="GstDeviceProviderFactory*"/>
|
|
</instance-parameter>
|
|
<parameter name="key" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="413">a key</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_metadata_keys"
|
|
c:identifier="gst_device_provider_factory_get_metadata_keys"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="429">Get the available keys for the metadata on @factory.</doc>
|
|
<source-position filename="gst/gstdeviceproviderfactory.h" line="76"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="435">
|
|
a %NULL-terminated array of key strings, or %NULL when there is no
|
|
metadata. Free with g_strfreev() when no longer needed.</doc>
|
|
<array c:type="gchar**">
|
|
<type name="utf8"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="431">a #GstDeviceProviderFactory</doc>
|
|
<type name="DeviceProviderFactory"
|
|
c:type="GstDeviceProviderFactory*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_classes"
|
|
c:identifier="gst_device_provider_factory_has_classes"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="518">Check if @factory matches all of the given @classes</doc>
|
|
<source-position filename="gst/gstdeviceproviderfactory.h" line="92"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="526">%TRUE if @factory matches or if @classes is %NULL.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="520">a #GstDeviceProviderFactory</doc>
|
|
<type name="DeviceProviderFactory"
|
|
c:type="GstDeviceProviderFactory*"/>
|
|
</instance-parameter>
|
|
<parameter name="classes"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="521">a "/" separate list of classes to match, only match
|
|
if all classes are matched</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_classesv"
|
|
c:identifier="gst_device_provider_factory_has_classesv"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="467">Check if @factory matches all of the given classes</doc>
|
|
<source-position filename="gst/gstdeviceproviderfactory.h" line="89"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="475">%TRUE if @factory matches.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="469">a #GstDeviceProviderFactory</doc>
|
|
<type name="DeviceProviderFactory"
|
|
c:type="GstDeviceProviderFactory*"/>
|
|
</instance-parameter>
|
|
<parameter name="classes"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.c"
|
|
line="470">a %NULL terminated array
|
|
of classes to match, only match if all classes are matched</doc>
|
|
<array c:type="gchar**">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</array>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
</class>
|
|
<record name="DeviceProviderFactoryClass"
|
|
c:type="GstDeviceProviderFactoryClass"
|
|
disguised="1"
|
|
glib:is-gtype-struct-for="DeviceProviderFactory"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdeviceproviderfactory.h"
|
|
line="37">The opaque #GstDeviceProviderFactoryClass data structure.</doc>
|
|
<source-position filename="gst/gstdeviceproviderfactory.h" line="45"/>
|
|
</record>
|
|
<record name="DeviceProviderPrivate"
|
|
c:type="GstDeviceProviderPrivate"
|
|
disguised="1">
|
|
<source-position filename="gst/gstdeviceprovider.h" line="33"/>
|
|
</record>
|
|
<class name="DoubleRange"
|
|
c:symbol-prefix="double_range"
|
|
glib:type-name="GstDoubleRange"
|
|
glib:get-type="gst_double_range_get_type"
|
|
glib:fundamental="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="261">A fundamental type that describes a #gdouble range</doc>
|
|
</class>
|
|
<class name="DynamicTypeFactory"
|
|
c:symbol-prefix="dynamic_type_factory"
|
|
c:type="GstDynamicTypeFactory"
|
|
version="1.12"
|
|
parent="PluginFeature"
|
|
glib:type-name="GstDynamicTypeFactory"
|
|
glib:get-type="gst_dynamic_type_factory_get_type"
|
|
glib:type-struct="DynamicTypeFactoryClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdynamictypefactory.c"
|
|
line="22">#GstDynamicTypeFactory is used to represent a type that can be
|
|
automatically loaded the first time it is used. For example,
|
|
a non-standard type for use in caps fields.
|
|
|
|
In general, applications and plugins don't need to use the factory
|
|
beyond registering the type in a plugin init function. Once that is
|
|
done, the type is stored in the registry, and ready as soon as the
|
|
registry is loaded.
|
|
|
|
## Registering a type for dynamic loading
|
|
|
|
|[<!-- language="C" -->
|
|
|
|
static gboolean
|
|
plugin_init (GstPlugin * plugin)
|
|
{
|
|
return gst_dynamic_type_register (plugin, GST_TYPE_CUSTOM_CAPS_FIELD);
|
|
}
|
|
]|</doc>
|
|
<source-position filename="gst/gstdynamictypefactory.h" line="33"/>
|
|
<function name="load" c:identifier="gst_dynamic_type_factory_load">
|
|
<source-position filename="gst/gstdynamictypefactory.h" line="54"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="GType" c:type="GType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="factoryname" transfer-ownership="none">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</class>
|
|
<record name="DynamicTypeFactoryClass"
|
|
c:type="GstDynamicTypeFactoryClass"
|
|
disguised="1"
|
|
glib:is-gtype-struct-for="DynamicTypeFactory">
|
|
<source-position filename="gst/gstdynamictypefactory.h" line="33"/>
|
|
</record>
|
|
<function-macro name="ELEMENT"
|
|
c:identifier="GST_ELEMENT"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstelement.h" line="62"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ELEMENT_BUS"
|
|
c:identifier="GST_ELEMENT_BUS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="313">Get the message bus of this element. This is not thread-safe by default
|
|
(i.e. you will have to make sure the object lock is taken yourself).
|
|
If in doubt use gst_element_get_bus() instead.</doc>
|
|
<source-position filename="gst/gstelement.h" line="321"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="315">A #GstElement to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ELEMENT_CAST"
|
|
c:identifier="GST_ELEMENT_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstelement.h" line="64"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ELEMENT_CLASS"
|
|
c:identifier="GST_ELEMENT_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstelement.h" line="63"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ELEMENT_CLOCK"
|
|
c:identifier="GST_ELEMENT_CLOCK"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="323">Get the clock of this element.This is not thread-safe by default
|
|
(i.e. you will have to make sure it is safe yourself).
|
|
If in doubt use gst_element_get_clock() instead.</doc>
|
|
<source-position filename="gst/gstelement.h" line="331"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="325">A #GstElement to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ELEMENT_ERROR"
|
|
c:identifier="GST_ELEMENT_ERROR"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="406">Utility function that elements can use in case they encountered a fatal
|
|
data processing error. The pipeline will post an error message and the
|
|
application will be requested to stop further media processing.</doc>
|
|
<source-position filename="gst/gstelement.h" line="420"/>
|
|
<parameters>
|
|
<parameter name="el">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="408">the element that generates the error</doc>
|
|
</parameter>
|
|
<parameter name="domain">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="409">like CORE, LIBRARY, RESOURCE or STREAM (see [GstGError](gsterror))</doc>
|
|
</parameter>
|
|
<parameter name="code">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="410">error code defined for that domain (see [GstGError](gsterror))</doc>
|
|
</parameter>
|
|
<parameter name="text">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="411">the message to display (format string and args enclosed in
|
|
parentheses)</doc>
|
|
</parameter>
|
|
<parameter name="debug">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="413">debugging information for the message (format string and args
|
|
enclosed in parentheses)</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ELEMENT_ERROR_WITH_DETAILS"
|
|
c:identifier="GST_ELEMENT_ERROR_WITH_DETAILS"
|
|
version="1.10"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="373">Utility function that elements can use in case they encountered a fatal
|
|
data processing error. The pipeline will post an error message and the
|
|
application will be requested to stop further media processing.</doc>
|
|
<source-position filename="gst/gstelement.h" line="392"/>
|
|
<parameters>
|
|
<parameter name="el">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="375">the element that generates the error</doc>
|
|
</parameter>
|
|
<parameter name="domain">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="376">like CORE, LIBRARY, RESOURCE or STREAM (see [GstGError](gsterror))</doc>
|
|
</parameter>
|
|
<parameter name="code">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="377">error code defined for that domain (see [GstGError](gsterror))</doc>
|
|
</parameter>
|
|
<parameter name="text">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="378">the message to display (format string and args enclosed in
|
|
parentheses)</doc>
|
|
</parameter>
|
|
<parameter name="debug">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="380">debugging information for the message (format string and args
|
|
enclosed in parentheses)</doc>
|
|
</parameter>
|
|
<parameter name="args">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="382">optional name, type, value triplets, which will be stored
|
|
in the associated GstStructure. NULL terminator required.
|
|
Must be enclosed within parentheses.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ELEMENT_FACTORY"
|
|
c:identifier="GST_ELEMENT_FACTORY"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstelementfactory.h" line="45"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ELEMENT_FACTORY_CAST"
|
|
c:identifier="GST_ELEMENT_FACTORY_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstelementfactory.h" line="51"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ELEMENT_FACTORY_CLASS"
|
|
c:identifier="GST_ELEMENT_FACTORY_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstelementfactory.h" line="47"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="ELEMENT_FACTORY_KLASS_DECODER"
|
|
value="Decoder"
|
|
c:type="GST_ELEMENT_FACTORY_KLASS_DECODER">
|
|
<source-position filename="gst/gstelementfactory.h" line="200"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_KLASS_DECRYPTOR"
|
|
value="Decryptor"
|
|
c:type="GST_ELEMENT_FACTORY_KLASS_DECRYPTOR">
|
|
<source-position filename="gst/gstelementfactory.h" line="210"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_KLASS_DEMUXER"
|
|
value="Demuxer"
|
|
c:type="GST_ELEMENT_FACTORY_KLASS_DEMUXER">
|
|
<source-position filename="gst/gstelementfactory.h" line="205"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_KLASS_DEPAYLOADER"
|
|
value="Depayloader"
|
|
c:type="GST_ELEMENT_FACTORY_KLASS_DEPAYLOADER">
|
|
<source-position filename="gst/gstelementfactory.h" line="208"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_KLASS_ENCODER"
|
|
value="Encoder"
|
|
c:type="GST_ELEMENT_FACTORY_KLASS_ENCODER">
|
|
<source-position filename="gst/gstelementfactory.h" line="201"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_KLASS_ENCRYPTOR"
|
|
value="Encryptor"
|
|
c:type="GST_ELEMENT_FACTORY_KLASS_ENCRYPTOR">
|
|
<source-position filename="gst/gstelementfactory.h" line="211"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_KLASS_FORMATTER"
|
|
value="Formatter"
|
|
c:type="GST_ELEMENT_FACTORY_KLASS_FORMATTER">
|
|
<source-position filename="gst/gstelementfactory.h" line="209"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_KLASS_HARDWARE"
|
|
value="Hardware"
|
|
c:type="GST_ELEMENT_FACTORY_KLASS_HARDWARE"
|
|
version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.h"
|
|
line="220">Elements interacting with hardware devices should specify this classifier in
|
|
their metadata. You may need to put the element in "READY" state to test if
|
|
the hardware is present in the system.</doc>
|
|
<source-position filename="gst/gstelementfactory.h" line="228"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_KLASS_MEDIA_AUDIO"
|
|
value="Audio"
|
|
c:type="GST_ELEMENT_FACTORY_KLASS_MEDIA_AUDIO">
|
|
<source-position filename="gst/gstelementfactory.h" line="214"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_KLASS_MEDIA_IMAGE"
|
|
value="Image"
|
|
c:type="GST_ELEMENT_FACTORY_KLASS_MEDIA_IMAGE">
|
|
<source-position filename="gst/gstelementfactory.h" line="215"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_KLASS_MEDIA_METADATA"
|
|
value="Metadata"
|
|
c:type="GST_ELEMENT_FACTORY_KLASS_MEDIA_METADATA">
|
|
<source-position filename="gst/gstelementfactory.h" line="217"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_KLASS_MEDIA_SUBTITLE"
|
|
value="Subtitle"
|
|
c:type="GST_ELEMENT_FACTORY_KLASS_MEDIA_SUBTITLE">
|
|
<source-position filename="gst/gstelementfactory.h" line="216"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_KLASS_MEDIA_VIDEO"
|
|
value="Video"
|
|
c:type="GST_ELEMENT_FACTORY_KLASS_MEDIA_VIDEO">
|
|
<source-position filename="gst/gstelementfactory.h" line="213"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_KLASS_MUXER"
|
|
value="Muxer"
|
|
c:type="GST_ELEMENT_FACTORY_KLASS_MUXER">
|
|
<source-position filename="gst/gstelementfactory.h" line="204"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_KLASS_PARSER"
|
|
value="Parser"
|
|
c:type="GST_ELEMENT_FACTORY_KLASS_PARSER">
|
|
<source-position filename="gst/gstelementfactory.h" line="206"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_KLASS_PAYLOADER"
|
|
value="Payloader"
|
|
c:type="GST_ELEMENT_FACTORY_KLASS_PAYLOADER">
|
|
<source-position filename="gst/gstelementfactory.h" line="207"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_KLASS_SINK"
|
|
value="Sink"
|
|
c:type="GST_ELEMENT_FACTORY_KLASS_SINK">
|
|
<source-position filename="gst/gstelementfactory.h" line="202"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_KLASS_SRC"
|
|
value="Source"
|
|
c:type="GST_ELEMENT_FACTORY_KLASS_SRC">
|
|
<source-position filename="gst/gstelementfactory.h" line="203"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_ANY"
|
|
value="562949953421311"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_ANY">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.h"
|
|
line="153">Elements of any of the defined GST_ELEMENT_FACTORY_LIST types</doc>
|
|
<source-position filename="gst/gstelementfactory.h" line="158"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_AUDIOVIDEO_SINKS"
|
|
value="3940649673949188"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_AUDIOVIDEO_SINKS">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.h"
|
|
line="185">All sinks handling audio, video or image media types</doc>
|
|
<source-position filename="gst/gstelementfactory.h" line="190"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_AUDIO_ENCODER"
|
|
value="1125899906842626"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_AUDIO_ENCODER">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.h"
|
|
line="178">All encoders handling audio media types</doc>
|
|
<source-position filename="gst/gstelementfactory.h" line="183"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_DECODABLE"
|
|
value="1377"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_DECODABLE">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.h"
|
|
line="192">All elements used to 'decode' streams (decoders, demuxers, parsers, depayloaders)</doc>
|
|
<source-position filename="gst/gstelementfactory.h" line="197"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_DECODER"
|
|
value="1"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_DECODER">
|
|
<source-position filename="gst/gstelementfactory.h" line="131"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_DECRYPTOR"
|
|
value="1024"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_DECRYPTOR">
|
|
<source-position filename="gst/gstelementfactory.h" line="141"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_DEMUXER"
|
|
value="32"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_DEMUXER">
|
|
<source-position filename="gst/gstelementfactory.h" line="136"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_DEPAYLOADER"
|
|
value="256"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_DEPAYLOADER">
|
|
<source-position filename="gst/gstelementfactory.h" line="139"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_ENCODER"
|
|
value="2"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_ENCODER">
|
|
<source-position filename="gst/gstelementfactory.h" line="132"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_ENCRYPTOR"
|
|
value="2048"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_ENCRYPTOR">
|
|
<source-position filename="gst/gstelementfactory.h" line="142"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_FORMATTER"
|
|
value="512"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_FORMATTER">
|
|
<source-position filename="gst/gstelementfactory.h" line="140"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_HARDWARE"
|
|
value="4096"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_HARDWARE">
|
|
<source-position filename="gst/gstelementfactory.h" line="143"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_MAX_ELEMENTS"
|
|
value="281474976710656"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_MAX_ELEMENTS">
|
|
<source-position filename="gst/gstelementfactory.h" line="145"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_MEDIA_ANY"
|
|
value="18446462598732840960"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_MEDIA_ANY">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.h"
|
|
line="160">Elements matching any of the defined GST_ELEMENT_FACTORY_TYPE_MEDIA types
|
|
|
|
Note: Do not use this if you wish to not filter against any of the defined
|
|
media types. If you wish to do this, simply don't specify any
|
|
GST_ELEMENT_FACTORY_TYPE_MEDIA flag.</doc>
|
|
<source-position filename="gst/gstelementfactory.h" line="169"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_MEDIA_AUDIO"
|
|
value="1125899906842624"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_MEDIA_AUDIO">
|
|
<source-position filename="gst/gstelementfactory.h" line="148"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_MEDIA_IMAGE"
|
|
value="2251799813685248"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_MEDIA_IMAGE">
|
|
<source-position filename="gst/gstelementfactory.h" line="149"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_MEDIA_METADATA"
|
|
value="9007199254740992"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_MEDIA_METADATA">
|
|
<source-position filename="gst/gstelementfactory.h" line="151"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_MEDIA_SUBTITLE"
|
|
value="4503599627370496"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_MEDIA_SUBTITLE">
|
|
<source-position filename="gst/gstelementfactory.h" line="150"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_MEDIA_VIDEO"
|
|
value="562949953421312"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_MEDIA_VIDEO">
|
|
<source-position filename="gst/gstelementfactory.h" line="147"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_MUXER"
|
|
value="16"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_MUXER">
|
|
<source-position filename="gst/gstelementfactory.h" line="135"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_PARSER"
|
|
value="64"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_PARSER">
|
|
<source-position filename="gst/gstelementfactory.h" line="137"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_PAYLOADER"
|
|
value="128"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_PAYLOADER">
|
|
<source-position filename="gst/gstelementfactory.h" line="138"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_SINK"
|
|
value="4"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_SINK">
|
|
<source-position filename="gst/gstelementfactory.h" line="133"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_SRC"
|
|
value="8"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_SRC">
|
|
<source-position filename="gst/gstelementfactory.h" line="134"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<constant name="ELEMENT_FACTORY_TYPE_VIDEO_ENCODER"
|
|
value="2814749767106562"
|
|
c:type="GST_ELEMENT_FACTORY_TYPE_VIDEO_ENCODER">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.h"
|
|
line="171">All encoders handling video or image media types</doc>
|
|
<source-position filename="gst/gstelementfactory.h" line="176"/>
|
|
<type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
|
|
</constant>
|
|
<function-macro name="ELEMENT_FLOW_ERROR"
|
|
c:identifier="GST_ELEMENT_FLOW_ERROR"
|
|
version="1.10"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="355">Utility function that elements can use in case they encountered a fatal
|
|
data processing error due to wrong flow processing.</doc>
|
|
<source-position filename="gst/gstelement.h" line="365"/>
|
|
<parameters>
|
|
<parameter name="el">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="357">the element that generates the error</doc>
|
|
</parameter>
|
|
<parameter name="flow_return">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="358">the GstFlowReturn leading to that ERROR message</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ELEMENT_GET_CLASS"
|
|
c:identifier="GST_ELEMENT_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstelement.h" line="61"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ELEMENT_INFO"
|
|
c:identifier="GST_ELEMENT_INFO"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="531">Utility function that elements can use in case they want to inform
|
|
the application of something noteworthy that is not an error.
|
|
The pipeline will post a info message and the
|
|
application will be informed.</doc>
|
|
<source-position filename="gst/gstelement.h" line="546"/>
|
|
<parameters>
|
|
<parameter name="el">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="533">the element that generates the information</doc>
|
|
</parameter>
|
|
<parameter name="domain">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="534">like CORE, LIBRARY, RESOURCE or STREAM (see [GstGError](gsterror))</doc>
|
|
</parameter>
|
|
<parameter name="code">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="535">error code defined for that domain (see [GstGError](gsterror))</doc>
|
|
</parameter>
|
|
<parameter name="text">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="536">the message to display (format string and args enclosed in
|
|
parentheses)</doc>
|
|
</parameter>
|
|
<parameter name="debug">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="538">debugging information for the message (format string and args
|
|
enclosed in parentheses)</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ELEMENT_INFO_WITH_DETAILS"
|
|
c:identifier="GST_ELEMENT_INFO_WITH_DETAILS"
|
|
version="1.10"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="495">Utility function that elements can use in case they want to inform
|
|
the application of something noteworthy that is not an error.
|
|
The pipeline will post a info message and the
|
|
application will be informed.
|
|
Optional name, type, value triplets may be supplied, and will be stored
|
|
in the associated GstStructure. NULL terminator required.</doc>
|
|
<source-position filename="gst/gstelement.h" line="517"/>
|
|
<parameters>
|
|
<parameter name="el">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="497">the element that generates the information</doc>
|
|
</parameter>
|
|
<parameter name="domain">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="498">like CORE, LIBRARY, RESOURCE or STREAM (see [GstGError](gsterror))</doc>
|
|
</parameter>
|
|
<parameter name="code">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="499">error code defined for that domain (see [GstGError](gsterror))</doc>
|
|
</parameter>
|
|
<parameter name="text">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="500">the message to display (format string and args enclosed in
|
|
parentheses)</doc>
|
|
</parameter>
|
|
<parameter name="debug">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="502">debugging information for the message (format string and args
|
|
enclosed in parentheses)</doc>
|
|
</parameter>
|
|
<parameter name="args">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="504">optional name, type, value triplets, which will be stored
|
|
in the associated GstStructure. NULL terminator required.
|
|
Must be enclosed within parentheses.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ELEMENT_IS_LOCKED_STATE"
|
|
c:identifier="GST_ELEMENT_IS_LOCKED_STATE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="284">Check if the element is in the locked state and therefore will ignore state
|
|
changes from its parent object.</doc>
|
|
<source-position filename="gst/gstelement.h" line="291"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="286">A #GstElement to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ELEMENT_MESSAGE_MAKE_DETAILS"
|
|
c:identifier="GST_ELEMENT_MESSAGE_MAKE_DETAILS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstelement.h" line="353"/>
|
|
<parameters>
|
|
<parameter name="args">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="ELEMENT_METADATA_AUTHOR"
|
|
value="author"
|
|
c:type="GST_ELEMENT_METADATA_AUTHOR">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementmetadata.h"
|
|
line="52">Name and contact details of the author(s). Use \n to separate
|
|
multiple author details.
|
|
E.g: "Joe Bloggs &lt;joe.blogs at foo.com&gt;"</doc>
|
|
<source-position filename="gst/gstelementmetadata.h" line="59"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="ELEMENT_METADATA_DESCRIPTION"
|
|
value="description"
|
|
c:type="GST_ELEMENT_METADATA_DESCRIPTION">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementmetadata.h"
|
|
line="45">Sentence describing the purpose of the element.
|
|
E.g: "Write stream to a file"</doc>
|
|
<source-position filename="gst/gstelementmetadata.h" line="51"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="ELEMENT_METADATA_DOC_URI"
|
|
value="doc-uri"
|
|
c:type="GST_ELEMENT_METADATA_DOC_URI">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementmetadata.h"
|
|
line="61">Set uri pointing to user documentation. Applications can use this to show
|
|
help for e.g. effects to users.</doc>
|
|
<source-position filename="gst/gstelementmetadata.h" line="67"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="ELEMENT_METADATA_ICON_NAME"
|
|
value="icon-name"
|
|
c:type="GST_ELEMENT_METADATA_ICON_NAME">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementmetadata.h"
|
|
line="68">Elements that bridge to certain other products can include an icon of that
|
|
used product. Application can show the icon in menus/selectors to help
|
|
identifying specific elements.</doc>
|
|
<source-position filename="gst/gstelementmetadata.h" line="75"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="ELEMENT_METADATA_KLASS"
|
|
value="klass"
|
|
c:type="GST_ELEMENT_METADATA_KLASS">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementmetadata.h"
|
|
line="36">String describing the type of element, as an unordered list
|
|
separated with slashes ('/'). See draft-klass.txt of the design docs
|
|
for more details and common types. E.g: "Sink/File"</doc>
|
|
<source-position filename="gst/gstelementmetadata.h" line="43"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="ELEMENT_METADATA_LONGNAME"
|
|
value="long-name"
|
|
c:type="GST_ELEMENT_METADATA_LONGNAME">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementmetadata.h"
|
|
line="30">The long English name of the element. E.g. "File Sink"</doc>
|
|
<source-position filename="gst/gstelementmetadata.h" line="35"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<function-macro name="ELEMENT_NAME"
|
|
c:identifier="GST_ELEMENT_NAME"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="293">Gets the name of this element. This is not thread-safe by default
|
|
(i.e. you will have to make sure the object lock is taken yourself).
|
|
If in doubt use gst_element_get_name() instead.</doc>
|
|
<source-position filename="gst/gstelement.h" line="301"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="295">A #GstElement to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ELEMENT_PADS"
|
|
c:identifier="GST_ELEMENT_PADS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="333">Get the pads of this elements.</doc>
|
|
<source-position filename="gst/gstelement.h" line="339"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="335">A #GstElement to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ELEMENT_PARENT"
|
|
c:identifier="GST_ELEMENT_PARENT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="303">Get the parent object of this element. This is not thread-safe by default
|
|
(i.e. you will have to make sure the object lock is taken yourself).
|
|
If in doubt use gst_object_get_parent() instead.</doc>
|
|
<source-position filename="gst/gstelement.h" line="311"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="305">A #GstElement to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ELEMENT_START_TIME"
|
|
c:identifier="GST_ELEMENT_START_TIME"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="341">This macro returns the start_time of the @elem. The start_time is the
|
|
running_time of the pipeline when the element went to PAUSED.</doc>
|
|
<source-position filename="gst/gstelement.h" line="348"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="343">a #GstElement to return the start time for.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ELEMENT_WARNING"
|
|
c:identifier="GST_ELEMENT_WARNING"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="467">Utility function that elements can use in case they encountered a non-fatal
|
|
data processing problem. The pipeline will post a warning message and the
|
|
application will be informed.</doc>
|
|
<source-position filename="gst/gstelement.h" line="481"/>
|
|
<parameters>
|
|
<parameter name="el">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="469">the element that generates the warning</doc>
|
|
</parameter>
|
|
<parameter name="domain">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="470">like CORE, LIBRARY, RESOURCE or STREAM (see [GstGError](gsterror))</doc>
|
|
</parameter>
|
|
<parameter name="code">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="471">error code defined for that domain (see [GstGError](gsterror))</doc>
|
|
</parameter>
|
|
<parameter name="text">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="472">the message to display (format string and args enclosed in
|
|
parentheses)</doc>
|
|
</parameter>
|
|
<parameter name="debug">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="474">debugging information for the message (format string and args
|
|
enclosed in parentheses)</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ELEMENT_WARNING_WITH_DETAILS"
|
|
c:identifier="GST_ELEMENT_WARNING_WITH_DETAILS"
|
|
version="1.10"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="434">Utility function that elements can use in case they encountered a non-fatal
|
|
data processing problem. The pipeline will post a warning message and the
|
|
application will be informed.</doc>
|
|
<source-position filename="gst/gstelement.h" line="453"/>
|
|
<parameters>
|
|
<parameter name="el">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="436">the element that generates the warning</doc>
|
|
</parameter>
|
|
<parameter name="domain">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="437">like CORE, LIBRARY, RESOURCE or STREAM (see [GstGError](gsterror))</doc>
|
|
</parameter>
|
|
<parameter name="code">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="438">error code defined for that domain (see [GstGError](gsterror))</doc>
|
|
</parameter>
|
|
<parameter name="text">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="439">the message to display (format string and args enclosed in
|
|
parentheses)</doc>
|
|
</parameter>
|
|
<parameter name="debug">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="441">debugging information for the message (format string and args
|
|
enclosed in parentheses)</doc>
|
|
</parameter>
|
|
<parameter name="args">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="443">optional name, type, value triplets, which will be stored
|
|
in the associated GstStructure. NULL terminator required.
|
|
Must be enclosed within parentheses.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="ERROR_SYSTEM"
|
|
value="system error: %s"
|
|
c:type="GST_ERROR_SYSTEM"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="237">Builds a string using errno describing the previously failed system
|
|
call. To be used as the debug argument in #GST_ELEMENT_ERROR.</doc>
|
|
<source-position filename="gst/gsterror.h" line="243"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<function-macro name="EVENT" c:identifier="GST_EVENT" introspectable="0">
|
|
<source-position filename="gst/gstevent.h" line="238"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="EVENT_CAST"
|
|
c:identifier="GST_EVENT_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstevent.h" line="237"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="EVENT_IS_DOWNSTREAM"
|
|
c:identifier="GST_EVENT_IS_DOWNSTREAM"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="282">Check if an event can travel downstream.</doc>
|
|
<source-position filename="gst/gstevent.h" line="287"/>
|
|
<parameters>
|
|
<parameter name="ev">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="284">the event to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="EVENT_IS_SERIALIZED"
|
|
c:identifier="GST_EVENT_IS_SERIALIZED"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="289">Check if an event is serialized with the data stream.</doc>
|
|
<source-position filename="gst/gstevent.h" line="294"/>
|
|
<parameters>
|
|
<parameter name="ev">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="291">the event to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="EVENT_IS_STICKY"
|
|
c:identifier="GST_EVENT_IS_STICKY"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="296">Check if an event is sticky on the pads.</doc>
|
|
<source-position filename="gst/gstevent.h" line="301"/>
|
|
<parameters>
|
|
<parameter name="ev">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="298">the event to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="EVENT_IS_UPSTREAM"
|
|
c:identifier="GST_EVENT_IS_UPSTREAM"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="275">Check if an event can travel upstream.</doc>
|
|
<source-position filename="gst/gstevent.h" line="280"/>
|
|
<parameters>
|
|
<parameter name="ev">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="277">the event to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="EVENT_MAKE_TYPE"
|
|
c:identifier="GST_EVENT_MAKE_TYPE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="62">when making custom event types, use this macro with the num and
|
|
the given flags</doc>
|
|
<source-position filename="gst/gstevent.h" line="69"/>
|
|
<parameters>
|
|
<parameter name="num">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="64">the event number to create</doc>
|
|
</parameter>
|
|
<parameter name="flags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="65">the event flags</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="EVENT_NUM_SHIFT" value="8" c:type="GST_EVENT_NUM_SHIFT">
|
|
<source-position filename="gst/gstevent.h" line="59"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<function-macro name="EVENT_SEQNUM"
|
|
c:identifier="GST_EVENT_SEQNUM"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="267">The sequence number of @event.</doc>
|
|
<source-position filename="gst/gstevent.h" line="272"/>
|
|
<parameters>
|
|
<parameter name="event">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="269">the event to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="EVENT_TIMESTAMP"
|
|
c:identifier="GST_EVENT_TIMESTAMP"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="257">Get the #GstClockTime timestamp of the event. This is the time when the event
|
|
was created.</doc>
|
|
<source-position filename="gst/gstevent.h" line="264"/>
|
|
<parameters>
|
|
<parameter name="event">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="259">the event to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="EVENT_TYPE"
|
|
c:identifier="GST_EVENT_TYPE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="241">Get the #GstEventType of the event.</doc>
|
|
<source-position filename="gst/gstevent.h" line="246"/>
|
|
<parameters>
|
|
<parameter name="event">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="243">the event to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="EVENT_TYPE_BOTH" value="3" c:type="GST_EVENT_TYPE_BOTH">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="52">The same thing as #GST_EVENT_TYPE_UPSTREAM | #GST_EVENT_TYPE_DOWNSTREAM.</doc>
|
|
<source-position filename="gst/gstevent.h" line="57"/>
|
|
<type name="EventTypeFlags" c:type="GstEventTypeFlags"/>
|
|
</constant>
|
|
<function-macro name="EVENT_TYPE_NAME"
|
|
c:identifier="GST_EVENT_TYPE_NAME"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="249">Get a constant string representation of the #GstEventType of the event.</doc>
|
|
<source-position filename="gst/gstevent.h" line="254"/>
|
|
<parameters>
|
|
<parameter name="event">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="251">the event to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<class name="Element"
|
|
c:symbol-prefix="element"
|
|
c:type="GstElement"
|
|
parent="Object"
|
|
abstract="1"
|
|
glib:type-name="GstElement"
|
|
glib:get-type="gst_element_get_type"
|
|
glib:type-struct="ElementClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="23">GstElement is the abstract base class needed to construct an element that
|
|
can be used in a GStreamer pipeline. Please refer to the plugin writers
|
|
guide for more information on creating #GstElement subclasses.
|
|
|
|
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 when using the appropriate locking. Do not use this in plug-ins or
|
|
applications in order to retain ABI compatibility.
|
|
|
|
Elements can have pads (of the type #GstPad). These pads link to pads on
|
|
other elements. #GstBuffer 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().
|
|
|
|
An existing pad of an element can be retrieved by name with
|
|
gst_element_get_static_pad(). A new dynamic pad can be created using
|
|
gst_element_request_pad() with a #GstPadTemplate.
|
|
An iterator of all pads can be retrieved with gst_element_iterate_pads().
|
|
|
|
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.
|
|
|
|
Each element has a state (see #GstState). You can get and set the state
|
|
of an element with gst_element_get_state() and gst_element_set_state().
|
|
Setting a state triggers a #GstStateChange. To get a string representation
|
|
of a #GstState, use gst_element_state_get_name().
|
|
|
|
You can get and set a #GstClock on an element using gst_element_get_clock()
|
|
and gst_element_set_clock().
|
|
Some elements can provide a clock for the pipeline if
|
|
the #GST_ELEMENT_FLAG_PROVIDE_CLOCK flag is set. With the
|
|
gst_element_provide_clock() method one can retrieve the clock provided by
|
|
such an element.
|
|
Not all elements require a clock to operate correctly. If the
|
|
#GST_ELEMENT_FLAG_REQUIRE_CLOCK() flag is set, a clock should be set on the
|
|
element with gst_element_set_clock().
|
|
|
|
Note that clock selection and distribution is normally handled by the
|
|
toplevel #GstPipeline so the clock functions are only to be used in very
|
|
specific situations.</doc>
|
|
<source-position filename="gst/gstelement.h" line="744"/>
|
|
<function name="make_from_uri"
|
|
c:identifier="gst_element_make_from_uri"
|
|
throws="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="612">Creates an element for handling the given URI.</doc>
|
|
<source-position filename="gst/gsturi.h" line="161"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="621">a new element or %NULL if none
|
|
could be created</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="614">Whether to create a source or a sink</doc>
|
|
<type name="URIType" c:type="const GstURIType"/>
|
|
</parameter>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="615">URI to create an element for</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="elementname"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="616">Name of created element, can be %NULL.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="register" c:identifier="gst_element_register">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="187">Create a new elementfactory capable of instantiating objects of the
|
|
@type and add the factory to @plugin.</doc>
|
|
<source-position filename="gst/gstelementfactory.h" line="90"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="198">%TRUE, if the registering succeeded, %FALSE on error</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="plugin"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="189">#GstPlugin to register the element with, or %NULL for
|
|
a static element.</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="191">name of elements of this type</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="rank" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="192">rank of element (higher rank means more importance when autoplugging)</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="193">GType of element to register</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="state_change_return_get_name"
|
|
c:identifier="gst_element_state_change_return_get_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1304">Gets a string representing the given state change result.</doc>
|
|
<source-position filename="gst/gstutils.h" line="996"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1310">a string with the name of the state
|
|
result.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="state_ret" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1306">a #GstStateChangeReturn to get the name of.</doc>
|
|
<type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="state_get_name"
|
|
c:identifier="gst_element_state_get_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1276">Gets a string representing the given state.</doc>
|
|
<source-position filename="gst/gstutils.h" line="993"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1282">a string with the name of the state.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="state" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1278">a #GstState to get the name of.</doc>
|
|
<type name="State" c:type="GstState"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<virtual-method name="change_state" invoker="change_state">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3022">Perform @transition on @element.
|
|
|
|
This function must be called with STATE_LOCK held and is mainly used
|
|
internally.</doc>
|
|
<source-position filename="gst/gstelement.h" line="722"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3032">the #GstStateChangeReturn of the state transition.</doc>
|
|
<type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3024">a #GstElement</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="transition" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3025">the requested transition</doc>
|
|
<type name="StateChange" c:type="GstStateChange"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="get_state" invoker="get_state">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2553">Gets the state of the element.
|
|
|
|
For elements that performed an ASYNC state change, as reported by
|
|
gst_element_set_state(), this function will block up to the
|
|
specified timeout value for the state change to complete.
|
|
If the element completes the state change or goes into
|
|
an error, this function returns immediately with a return value of
|
|
%GST_STATE_CHANGE_SUCCESS or %GST_STATE_CHANGE_FAILURE respectively.
|
|
|
|
For elements that did not return %GST_STATE_CHANGE_ASYNC, this function
|
|
returns the current and pending state immediately.
|
|
|
|
This function returns %GST_STATE_CHANGE_NO_PREROLL if the element
|
|
successfully changed its state but is not able to provide data yet.
|
|
This mostly happens for live sources that only produce data in
|
|
%GST_STATE_PLAYING. While the state change return is equivalent to
|
|
%GST_STATE_CHANGE_SUCCESS, it is returned to the application to signal that
|
|
some sink elements might not be able to complete their state change because
|
|
an element is not producing data to complete the preroll. When setting the
|
|
element to playing, the preroll will complete and playback will start.</doc>
|
|
<source-position filename="gst/gstelement.h" line="719"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2584">%GST_STATE_CHANGE_SUCCESS if the element has no more pending state
|
|
and the last state change succeeded, %GST_STATE_CHANGE_ASYNC if the
|
|
element is still performing a state change or
|
|
%GST_STATE_CHANGE_FAILURE if the last state change failed.
|
|
|
|
MT safe.</doc>
|
|
<type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2555">a #GstElement to get the state of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="state"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2556">a pointer to #GstState to hold the state.
|
|
Can be %NULL.</doc>
|
|
<type name="State" c:type="GstState*"/>
|
|
</parameter>
|
|
<parameter name="pending"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2558">a pointer to #GstState to hold the pending
|
|
state. Can be %NULL.</doc>
|
|
<type name="State" c:type="GstState*"/>
|
|
</parameter>
|
|
<parameter name="timeout" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2560">a #GstClockTime to specify the timeout for an async
|
|
state change or %GST_CLOCK_TIME_NONE for infinite timeout.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="no_more_pads" invoker="no_more_pads">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="941">Use this function to signal that the element does not expect any more pads
|
|
to show up in the current pipeline. This function should be called whenever
|
|
pads have been added by the element itself. Elements with #GST_PAD_SOMETIMES
|
|
pad templates use this in combination with autopluggers to figure out that
|
|
the element is done initializing its pads.
|
|
|
|
This function emits the #GstElement::no-more-pads signal.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstelement.h" line="706"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="943">a #GstElement</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="pad_added">
|
|
<source-position filename="gst/gstelement.h" line="704"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="pad_removed">
|
|
<source-position filename="gst/gstelement.h" line="705"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="post_message" invoker="post_message">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2096">Post a message on the element's #GstBus. This function takes ownership of the
|
|
message; if you want to access the message after this call, you should add an
|
|
additional reference before calling.</doc>
|
|
<source-position filename="gst/gstelement.h" line="738"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2105">%TRUE if the message was successfully posted. The function returns
|
|
%FALSE if the element did not have a bus.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2098">a #GstElement posting the message</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="message" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2099">a #GstMessage to post</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="provide_clock" invoker="provide_clock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="371">Get the clock provided by the given element.
|
|
> An element is only required to provide a clock in the PAUSED
|
|
> state. Some elements can provide a clock in other states.</doc>
|
|
<source-position filename="gst/gstelement.h" line="730"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="379">the GstClock provided by the
|
|
element or %NULL if no clock could be provided. Unref after usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="373">a #GstElement to query</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="query" invoker="query">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2021">Performs a query on the given element.
|
|
|
|
For elements that don't implement a query handler, this function
|
|
forwards the query to a random srcpad or to the peer of a
|
|
random linked sinkpad of this element.
|
|
|
|
Please note that some queries might need a running pipeline to work.</doc>
|
|
<source-position filename="gst/gstelement.h" line="736"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2034">%TRUE if the query could be performed.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2023">a #GstElement to perform the query on.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2024">the #GstQuery.</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="release_pad">
|
|
<source-position filename="gst/gstelement.h" line="716"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="request_new_pad" invoker="request_pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1232">Retrieves a request pad from the element according to the provided template.
|
|
Pad templates can be looked up using
|
|
gst_element_factory_get_static_pad_templates().
|
|
|
|
The pad should be released with gst_element_release_request_pad().</doc>
|
|
<source-position filename="gst/gstelement.h" line="713"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1247">requested #GstPad if found,
|
|
otherwise %NULL. Release after usage.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1234">a #GstElement to find a request pad of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="templ" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1235">a #GstPadTemplate of which we want a pad of.</doc>
|
|
<type name="PadTemplate" c:type="GstPadTemplate*"/>
|
|
</parameter>
|
|
<parameter name="name"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1236">the name of the request #GstPad
|
|
to retrieve. Can be %NULL.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="caps"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1238">the caps of the pad we want to
|
|
request. Can be %NULL.</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="send_event" invoker="send_event">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1915">Sends an event to an element. If the element doesn't implement an
|
|
event handler, the event will be pushed on a random linked sink pad for
|
|
downstream events or a random linked source pad for upstream events.
|
|
|
|
This function takes ownership of the provided event so you should
|
|
gst_event_ref() it if you want to reuse the event after this call.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstelement.h" line="734"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1929">%TRUE if the event was handled. Events that trigger a preroll (such
|
|
as flushing seeks and steps) will emit %GST_MESSAGE_ASYNC_DONE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1917">a #GstElement to send the event to.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="event" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1918">the #GstEvent to send to the element.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="set_bus" invoker="set_bus">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3448">Sets the bus of the element. Increases the refcount on the bus.
|
|
For internal use only, unless you're testing elements.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstelement.h" line="727"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3450">a #GstElement to set the bus of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="bus"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3451">the #GstBus to set.</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="set_clock" invoker="set_clock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="413">Sets the clock for the element. This function increases the
|
|
refcount on the clock. Any previously set clock on the object
|
|
is unreffed.</doc>
|
|
<source-position filename="gst/gstelement.h" line="731"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="422">%TRUE if the element accepted the clock. An element can refuse a
|
|
clock when it, for example, is not able to slave its internal clock to the
|
|
@clock or when it requires a specific clock to operate.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="415">a #GstElement to set the clock for.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="clock"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="416">the #GstClock to set for the element.</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="set_context" invoker="set_context">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3533">Sets the context of the element. Increases the refcount of the context.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstelement.h" line="740"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3535">a #GstElement to set the context of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="context" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3536">the #GstContext to set.</doc>
|
|
<type name="Context" c:type="GstContext*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="set_state" invoker="set_state">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2867">Sets the state of the element. This function will try to set the
|
|
requested state by going through all the intermediary states and calling
|
|
the class's state change function for each.
|
|
|
|
This function can return #GST_STATE_CHANGE_ASYNC, in which case the
|
|
element will perform the remainder of the state change asynchronously in
|
|
another thread.
|
|
An application can use gst_element_get_state() to wait for the completion
|
|
of the state change or it can wait for a %GST_MESSAGE_ASYNC_DONE or
|
|
%GST_MESSAGE_STATE_CHANGED on the bus.
|
|
|
|
State changes to %GST_STATE_READY or %GST_STATE_NULL never return
|
|
#GST_STATE_CHANGE_ASYNC.</doc>
|
|
<source-position filename="gst/gstelement.h" line="721"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2886">Result of the state change using #GstStateChangeReturn.
|
|
|
|
MT safe.</doc>
|
|
<type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2869">a #GstElement to change state of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="state" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2870">the element's new #GstState.</doc>
|
|
<type name="State" c:type="GstState"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="state_changed">
|
|
<source-position filename="gst/gstelement.h" line="723"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="oldstate" transfer-ownership="none">
|
|
<type name="State" c:type="GstState"/>
|
|
</parameter>
|
|
<parameter name="newstate" transfer-ownership="none">
|
|
<type name="State" c:type="GstState"/>
|
|
</parameter>
|
|
<parameter name="pending" transfer-ownership="none">
|
|
<type name="State" c:type="GstState"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="abort_state" c:identifier="gst_element_abort_state">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2608">Abort the state change of the element. This function is used
|
|
by elements that do asynchronous state changes and find out
|
|
something is wrong.
|
|
|
|
This function should be called with the STATE_LOCK held.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstelement.h" line="1012"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2610">a #GstElement to abort the state of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_pad" c:identifier="gst_element_add_pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="719">Adds a pad (link point) to @element. @pad's parent will be set to @element;
|
|
see gst_object_set_parent() for refcounting information.
|
|
|
|
Pads are automatically activated when added in the PAUSED or PLAYING
|
|
state.
|
|
|
|
The pad and the element should be unlocked when calling this function.
|
|
|
|
This function will emit the #GstElement::pad-added signal on the element.</doc>
|
|
<source-position filename="gst/gstelement.h" line="894"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="734">%TRUE if the pad could be added. This function can fail when
|
|
a pad with the same name already existed or the pad already had another
|
|
parent.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="721">a #GstElement to add the pad to.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="722">the #GstPad to add to the element.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_property_deep_notify_watch"
|
|
c:identifier="gst_element_add_property_deep_notify_watch"
|
|
version="1.10">
|
|
<source-position filename="gst/gstelement.h" line="1051"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3733">a watch id, which can be used in connection with
|
|
gst_element_remove_property_notify_watch() to remove the watch again.</doc>
|
|
<type name="gulong" c:type="gulong"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3728">a #GstElement to watch (recursively) for property changes</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="property_name"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3729">name of property to watch for changes, or
|
|
NULL to watch all properties</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="include_value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3731">whether to include the new property value in the message</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_property_notify_watch"
|
|
c:identifier="gst_element_add_property_notify_watch"
|
|
version="1.10">
|
|
<source-position filename="gst/gstelement.h" line="1047"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3701">a watch id, which can be used in connection with
|
|
gst_element_remove_property_notify_watch() to remove the watch again.</doc>
|
|
<type name="gulong" c:type="gulong"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3696">a #GstElement to watch for property changes</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="property_name"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3697">name of property to watch for changes, or
|
|
NULL to watch all properties</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="include_value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3699">whether to include the new property value in the message</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="call_async"
|
|
c:identifier="gst_element_call_async"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3791">Calls @func from another thread and passes @user_data to it. This is to be
|
|
used for cases when a state change has to be performed from a streaming
|
|
thread, directly via gst_element_set_state() or indirectly e.g. via SEEK
|
|
events.
|
|
|
|
Calling those functions directly from the streaming thread will cause
|
|
deadlocks in many situations, as they might involve waiting for the
|
|
streaming thread to shut down from this very streaming thread.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstelement.h" line="1035"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3793">a #GstElement</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="notified"
|
|
closure="1"
|
|
destroy="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3794">Function to call asynchronously from another thread</doc>
|
|
<type name="ElementCallAsyncFunc"
|
|
c:type="GstElementCallAsyncFunc"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3795">Data to pass to @func</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="destroy_notify"
|
|
transfer-ownership="none"
|
|
scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3796">GDestroyNotify for @user_data</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="change_state" c:identifier="gst_element_change_state">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3022">Perform @transition on @element.
|
|
|
|
This function must be called with STATE_LOCK held and is mainly used
|
|
internally.</doc>
|
|
<source-position filename="gst/gstelement.h" line="1015"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3032">the #GstStateChangeReturn of the state transition.</doc>
|
|
<type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3024">a #GstElement</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="transition" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3025">the requested transition</doc>
|
|
<type name="StateChange" c:type="GstStateChange"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="continue_state" c:identifier="gst_element_continue_state">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2683">Commit the state change of the element and proceed to the next
|
|
pending state if any. This function is used
|
|
by elements that do asynchronous state changes.
|
|
The core will normally call this method automatically when an
|
|
element returned %GST_STATE_CHANGE_SUCCESS from the state change function.
|
|
|
|
If after calling this method the element still has not reached
|
|
the pending state, the next state change is performed.
|
|
|
|
This method is used internally and should normally not be called by plugins
|
|
or applications.
|
|
|
|
This function must be called with STATE_LOCK held.</doc>
|
|
<source-position filename="gst/gstelement.h" line="1019"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2702">The result of the commit state change.
|
|
|
|
MT safe.</doc>
|
|
<type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2685">a #GstElement to continue the state change of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="ret" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2686">The previous state return value</doc>
|
|
<type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="create_all_pads"
|
|
c:identifier="gst_element_create_all_pads">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="881">Creates a pad for each pad template that is always available.
|
|
This function is only useful during object initialization of
|
|
subclasses of #GstElement.</doc>
|
|
<source-position filename="gst/gstutils.h" line="984"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="883">a #GstElement to create pads for</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="foreach_pad"
|
|
c:identifier="gst_element_foreach_pad"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1429">Call @func with @user_data for each of @element's pads. @func will be called
|
|
exactly once for each pad that exists at the time of this call, unless
|
|
one of the calls to @func returns %FALSE in which case we will stop
|
|
iterating pads and return early. If new pads are added or pads are removed
|
|
while pads are being iterated, this will not be taken into account until
|
|
next time this function is used.</doc>
|
|
<source-position filename="gst/gstelement.h" line="949"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1442">%FALSE if @element had no pads or if one of the calls to @func
|
|
returned %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1431">a #GstElement to iterate pads of</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="call"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1432">function to call for each pad</doc>
|
|
<type name="ElementForeachPadFunc"
|
|
c:type="GstElementForeachPadFunc"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1433">user data passed to @func</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="foreach_sink_pad"
|
|
c:identifier="gst_element_foreach_sink_pad"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1377">Call @func with @user_data for each of @element's sink pads. @func will be
|
|
called exactly once for each sink pad that exists at the time of this call,
|
|
unless one of the calls to @func returns %FALSE in which case we will stop
|
|
iterating pads and return early. If new sink pads are added or sink pads
|
|
are removed while the sink pads are being iterated, this will not be taken
|
|
into account until next time this function is used.</doc>
|
|
<source-position filename="gst/gstelement.h" line="941"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1390">%FALSE if @element had no sink pads or if one of the calls to @func
|
|
returned %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1379">a #GstElement to iterate sink pads of</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="call"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1380">function to call for each sink pad</doc>
|
|
<type name="ElementForeachPadFunc"
|
|
c:type="GstElementForeachPadFunc"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1381">user data passed to @func</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="foreach_src_pad"
|
|
c:identifier="gst_element_foreach_src_pad"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1403">Call @func with @user_data for each of @element's source pads. @func will be
|
|
called exactly once for each source pad that exists at the time of this call,
|
|
unless one of the calls to @func returns %FALSE in which case we will stop
|
|
iterating pads and return early. If new source pads are added or source pads
|
|
are removed while the source pads are being iterated, this will not be taken
|
|
into account until next time this function is used.</doc>
|
|
<source-position filename="gst/gstelement.h" line="945"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1416">%FALSE if @element had no source pads or if one of the calls
|
|
to @func returned %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1405">a #GstElement to iterate source pads of</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="call"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1406">function to call for each source pad</doc>
|
|
<type name="ElementForeachPadFunc"
|
|
c:type="GstElementForeachPadFunc"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1407">user data passed to @func</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_base_time" c:identifier="gst_element_get_base_time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="502">Returns the base time of the element. The base time is the
|
|
absolute time of the clock when this element was last put to
|
|
PLAYING. Subtracting the base time from the clock time gives
|
|
the running time of the element.</doc>
|
|
<source-position filename="gst/gstelement.h" line="855"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="511">the base time of the element.
|
|
|
|
MT safe.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="504">a #GstElement.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_bus" c:identifier="gst_element_get_bus">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3471">Returns the bus of the element. Note that only a #GstPipeline will provide a
|
|
bus for the application.</doc>
|
|
<source-position filename="gst/gstelement.h" line="875"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3478">the element's #GstBus. unref after
|
|
usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3473">a #GstElement to get the bus of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_clock" c:identifier="gst_element_get_clock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="447">Gets the currently configured clock of the element. This is the clock as was
|
|
last set with gst_element_set_clock().
|
|
|
|
Elements in a pipeline will only have their clock set when the
|
|
pipeline is in the PLAYING state.</doc>
|
|
<source-position filename="gst/gstelement.h" line="846"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="457">the #GstClock of the element. unref after usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="449">a #GstElement to get the clock of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_compatible_pad"
|
|
c:identifier="gst_element_get_compatible_pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1116">Looks for an unlinked pad to which the given pad can link. It is not
|
|
guaranteed that linking the pads will work, though it should work in most
|
|
cases.
|
|
|
|
This function will first attempt to find a compatible unlinked ALWAYS pad,
|
|
and if none can be found, it will request a compatible REQUEST pad by looking
|
|
at the templates of @element.</doc>
|
|
<source-position filename="gst/gstutils.h" line="987"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1130">the #GstPad to which a link
|
|
can be made, or %NULL if one cannot be found. gst_object_unref()
|
|
after usage.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1118">a #GstElement in which the pad should be found.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1119">the #GstPad to find a compatible one for.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="caps"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1120">the #GstCaps to use as a filter.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_compatible_pad_template"
|
|
c:identifier="gst_element_get_compatible_pad_template">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="914">Retrieves a pad template from @element that is compatible with @compattempl.
|
|
Pads from compatible templates can be linked together.</doc>
|
|
<source-position filename="gst/gstutils.h" line="990"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="923">a compatible #GstPadTemplate,
|
|
or %NULL if none was found. No unreferencing is necessary.</doc>
|
|
<type name="PadTemplate" c:type="GstPadTemplate*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="916">a #GstElement to get a compatible pad template for</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="compattempl" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="917">the #GstPadTemplate to find a compatible
|
|
template for</doc>
|
|
<type name="PadTemplate" c:type="GstPadTemplate*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_context"
|
|
c:identifier="gst_element_get_context"
|
|
version="1.8">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3625">Gets the context with @context_type set on the element or NULL.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstelement.h" line="886"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3634">A #GstContext or NULL</doc>
|
|
<type name="Context" c:type="GstContext*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3627">a #GstElement to get the context of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="context_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3628">a name of a context to retrieve</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_context_unlocked"
|
|
c:identifier="gst_element_get_context_unlocked"
|
|
version="1.8">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3596">Gets the context with @context_type set on the element or NULL.</doc>
|
|
<source-position filename="gst/gstelement.h" line="889"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3603">A #GstContext or NULL</doc>
|
|
<type name="Context" c:type="GstContext*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3598">a #GstElement to get the context of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="context_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3599">a name of a context to retrieve</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_contexts"
|
|
c:identifier="gst_element_get_contexts"
|
|
version="1.8">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3560">Gets the contexts set on the element.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstelement.h" line="883"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3568">List of #GstContext</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Context"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3562">a #GstElement to set the context of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_current_clock_time"
|
|
c:identifier="gst_element_get_current_clock_time"
|
|
version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="633">Returns the current clock time of the element, as in, the time of the
|
|
element's clock, or GST_CLOCK_TIME_NONE if there is no clock.</doc>
|
|
<source-position filename="gst/gstelement.h" line="867"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="640">the clock time of the element, or GST_CLOCK_TIME_NONE if there is
|
|
no clock.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="635">a #GstElement.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_current_running_time"
|
|
c:identifier="gst_element_get_current_running_time"
|
|
version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="592">Returns the running time of the element. The running time is the
|
|
element's clock time minus its base time. Will return GST_CLOCK_TIME_NONE
|
|
if the element has no clock, or if its base time has not been set.</doc>
|
|
<source-position filename="gst/gstelement.h" line="864"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="600">the running time of the element, or GST_CLOCK_TIME_NONE if the
|
|
element has no clock or its base time has not been set.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="594">a #GstElement.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_factory" c:identifier="gst_element_get_factory">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3317">Retrieves the factory that was used to create this element.</doc>
|
|
<source-position filename="gst/gstelement.h" line="1042"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3323">the #GstElementFactory used for creating this
|
|
element or %NULL if element has not been registered (static element). no refcounting is needed.</doc>
|
|
<type name="ElementFactory" c:type="GstElementFactory*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3319">a #GstElement to request the element factory of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_metadata"
|
|
c:identifier="gst_element_get_metadata"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1691">Get metadata with @key in @klass.</doc>
|
|
<source-position filename="gst/gstelement.h" line="1064"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1698">the metadata for @key.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1693">class to get metadata for</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="key" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1694">the key to get</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_pad_template"
|
|
c:identifier="gst_element_get_pad_template"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1790">Retrieves a padtemplate from @element with the given name.</doc>
|
|
<source-position filename="gst/gstelement.h" line="1059"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1797">the #GstPadTemplate with the
|
|
given name, or %NULL if none was found. No unreferencing is
|
|
necessary.</doc>
|
|
<type name="PadTemplate" c:type="GstPadTemplate*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1792">a #GstElement to get the pad template of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1793">the name of the #GstPadTemplate to get.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_pad_template_list"
|
|
c:identifier="gst_element_get_pad_template_list"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1732">Retrieves a list of the pad templates associated with @element. The
|
|
list must not be modified by the calling code.</doc>
|
|
<source-position filename="gst/gstelement.h" line="1062"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1739">the #GList of
|
|
pad templates.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="PadTemplate"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1734">a #GstElement to get pad templates of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_request_pad"
|
|
c:identifier="gst_element_get_request_pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1170">Retrieves a pad from the element by name (e.g. "src_\%d"). This version only
|
|
retrieves request pads. The pad should be released with
|
|
gst_element_release_request_pad().
|
|
|
|
This method is slower than manually getting the pad template and calling
|
|
gst_element_request_pad() if the pads should have a specific name (e.g.
|
|
@name is "src_1" instead of "src_\%u").</doc>
|
|
<source-position filename="gst/gstelement.h" line="906"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1183">requested #GstPad if found,
|
|
otherwise %NULL. Release after usage.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1172">a #GstElement to find a request pad of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1173">the name of the request #GstPad to retrieve.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_start_time" c:identifier="gst_element_get_start_time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="564">Returns the start time of the element. The start time is the
|
|
running time of the clock when this element was last put to PAUSED.
|
|
|
|
Usually the start_time is managed by a toplevel element such as
|
|
#GstPipeline.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstelement.h" line="861"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="576">the start time of the element.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="566">a #GstElement.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_state" c:identifier="gst_element_get_state">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2553">Gets the state of the element.
|
|
|
|
For elements that performed an ASYNC state change, as reported by
|
|
gst_element_set_state(), this function will block up to the
|
|
specified timeout value for the state change to complete.
|
|
If the element completes the state change or goes into
|
|
an error, this function returns immediately with a return value of
|
|
%GST_STATE_CHANGE_SUCCESS or %GST_STATE_CHANGE_FAILURE respectively.
|
|
|
|
For elements that did not return %GST_STATE_CHANGE_ASYNC, this function
|
|
returns the current and pending state immediately.
|
|
|
|
This function returns %GST_STATE_CHANGE_NO_PREROLL if the element
|
|
successfully changed its state but is not able to provide data yet.
|
|
This mostly happens for live sources that only produce data in
|
|
%GST_STATE_PLAYING. While the state change return is equivalent to
|
|
%GST_STATE_CHANGE_SUCCESS, it is returned to the application to signal that
|
|
some sink elements might not be able to complete their state change because
|
|
an element is not producing data to complete the preroll. When setting the
|
|
element to playing, the preroll will complete and playback will start.</doc>
|
|
<source-position filename="gst/gstelement.h" line="1004"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2584">%GST_STATE_CHANGE_SUCCESS if the element has no more pending state
|
|
and the last state change succeeded, %GST_STATE_CHANGE_ASYNC if the
|
|
element is still performing a state change or
|
|
%GST_STATE_CHANGE_FAILURE if the last state change failed.
|
|
|
|
MT safe.</doc>
|
|
<type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2555">a #GstElement to get the state of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="state"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2556">a pointer to #GstState to hold the state.
|
|
Can be %NULL.</doc>
|
|
<type name="State" c:type="GstState*"/>
|
|
</parameter>
|
|
<parameter name="pending"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2558">a pointer to #GstState to hold the pending
|
|
state. Can be %NULL.</doc>
|
|
<type name="State" c:type="GstState*"/>
|
|
</parameter>
|
|
<parameter name="timeout" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2560">a #GstClockTime to specify the timeout for an async
|
|
state change or %GST_CLOCK_TIME_NONE for infinite timeout.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_static_pad" c:identifier="gst_element_get_static_pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="975">Retrieves a pad from @element by name. This version only retrieves
|
|
already-existing (i.e. 'static') pads.</doc>
|
|
<source-position filename="gst/gstelement.h" line="903"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="983">the requested #GstPad if
|
|
found, otherwise %NULL. unref after usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="977">a #GstElement to find a static pad of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="978">the name of the static #GstPad to retrieve.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_locked_state"
|
|
c:identifier="gst_element_is_locked_state">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2302">Checks if the state of an element is locked.
|
|
If the state of an element is locked, state changes of the parent don't
|
|
affect the element.
|
|
This way you can leave currently unused elements inside bins. Just lock their
|
|
state before changing the state from #GST_STATE_NULL.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstelement.h" line="995"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2314">%TRUE, if the element's state is locked.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2304">a #GstElement.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="iterate_pads" c:identifier="gst_element_iterate_pads">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1275">Retrieves an iterator of @element's pads. The iterator should
|
|
be freed after usage. Also more specialized iterators exists such as
|
|
gst_element_iterate_src_pads() or gst_element_iterate_sink_pads().
|
|
|
|
The order of pads returned by the iterator will be the order in which
|
|
the pads were added to the element.</doc>
|
|
<source-position filename="gst/gstelement.h" line="915"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1286">the #GstIterator of #GstPad.
|
|
|
|
MT safe.</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1277">a #GstElement to iterate pads of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="iterate_sink_pads"
|
|
c:identifier="gst_element_iterate_sink_pads">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1319">Retrieves an iterator of @element's sink pads.
|
|
|
|
The order of pads returned by the iterator will be the order in which
|
|
the pads were added to the element.</doc>
|
|
<source-position filename="gst/gstelement.h" line="921"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1328">the #GstIterator of #GstPad.
|
|
|
|
MT safe.</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1321">a #GstElement.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="iterate_src_pads"
|
|
c:identifier="gst_element_iterate_src_pads">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1298">Retrieves an iterator of @element's source pads.
|
|
|
|
The order of pads returned by the iterator will be the order in which
|
|
the pads were added to the element.</doc>
|
|
<source-position filename="gst/gstelement.h" line="918"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1307">the #GstIterator of #GstPad.
|
|
|
|
MT safe.</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1300">a #GstElement.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="link" c:identifier="gst_element_link">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2213">Links @src to @dest. The link must be from source to
|
|
destination; the other direction will not be tried. The function looks for
|
|
existing pads that aren't linked yet. It will request new pads if necessary.
|
|
Such pads need to be released manually when unlinking.
|
|
If multiple links are possible, only one is established.
|
|
|
|
Make sure you have added your elements to a bin or pipeline with
|
|
gst_bin_add() before trying to link them.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1002"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2227">%TRUE if the elements could be linked, %FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2215">a #GstElement containing the source pad.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="dest" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2216">the #GstElement containing the destination pad.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="link_filtered" c:identifier="gst_element_link_filtered">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2273">Links @src to @dest using the given caps as filtercaps.
|
|
The link must be from source to
|
|
destination; the other direction will not be tried. The function looks for
|
|
existing pads that aren't linked yet. It will request new pads if necessary.
|
|
If multiple links are possible, only one is established.
|
|
|
|
Make sure you have added your elements to a bin or pipeline with
|
|
gst_bin_add() before trying to link them.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1008"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2289">%TRUE if the pads could be linked, %FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2275">a #GstElement containing the source pad.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="dest" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2276">the #GstElement containing the destination pad.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="filter"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2277">the #GstCaps to filter the link,
|
|
or %NULL for no filter.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="link_many"
|
|
c:identifier="gst_element_link_many"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2235">Chain together a series of elements. Uses gst_element_link().
|
|
Make sure you have added your elements to a bin or pipeline with
|
|
gst_bin_add() before trying to link them.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1005"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2245">%TRUE on success, %FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element_1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2237">the first #GstElement in the link chain.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="element_2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2238">the second #GstElement in the link chain.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2239">the %NULL-terminated list of elements to link in order.</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="link_pads" c:identifier="gst_element_link_pads">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2102">Links the two named pads of the source and destination elements.
|
|
Side effect is that if one of the pads has no parent, it becomes a
|
|
child of the parent of the other element. If they have different
|
|
parents, the link fails.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1018"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2116">%TRUE if the pads could be linked, %FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2104">a #GstElement containing the source pad.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="srcpadname"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2105">the name of the #GstPad in source element
|
|
or %NULL for any pad.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="dest" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2107">the #GstElement containing the destination pad.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="destpadname"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2108">the name of the #GstPad in destination element,
|
|
or %NULL for any pad.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="link_pads_filtered"
|
|
c:identifier="gst_element_link_pads_filtered">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2126">Links the two named pads of the source and destination elements. Side effect
|
|
is that if one of the pads has no parent, it becomes a child of the parent of
|
|
the other element. If they have different parents, the link fails. If @caps
|
|
is not %NULL, makes sure that the caps of the link is a subset of @caps.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1028"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2142">%TRUE if the pads could be linked, %FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2128">a #GstElement containing the source pad.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="srcpadname"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2129">the name of the #GstPad in source element
|
|
or %NULL for any pad.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="dest" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2131">the #GstElement containing the destination pad.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="destpadname"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2132">the name of the #GstPad in destination element
|
|
or %NULL for any pad.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="filter"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2134">the #GstCaps to filter the link,
|
|
or %NULL for no filter.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="link_pads_full" c:identifier="gst_element_link_pads_full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1779">Links the two named pads of the source and destination elements.
|
|
Side effect is that if one of the pads has no parent, it becomes a
|
|
child of the parent of the other element. If they have different
|
|
parents, the link fails.
|
|
|
|
Calling gst_element_link_pads_full() with @flags == %GST_PAD_LINK_CHECK_DEFAULT
|
|
is the same as calling gst_element_link_pads() and the recommended way of
|
|
linking pads with safety checks applied.
|
|
|
|
This is a convenience function for gst_pad_link_full().</doc>
|
|
<source-position filename="gst/gstutils.h" line="1021"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1800">%TRUE if the pads could be linked, %FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1781">a #GstElement containing the source pad.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="srcpadname"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1782">the name of the #GstPad in source element
|
|
or %NULL for any pad.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="dest" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1784">the #GstElement containing the destination pad.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="destpadname"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1785">the name of the #GstPad in destination element,
|
|
or %NULL for any pad.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1787">the #GstPadLinkCheck to be performed when linking pads.</doc>
|
|
<type name="PadLinkCheck" c:type="GstPadLinkCheck"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="lost_state" c:identifier="gst_element_lost_state">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2789">Brings the element to the lost state. The current state of the
|
|
element is copied to the pending state so that any call to
|
|
gst_element_get_state() will return %GST_STATE_CHANGE_ASYNC.
|
|
|
|
An ASYNC_START message is posted. If the element was PLAYING, it will
|
|
go to PAUSED. The element will be restored to its PLAYING state by
|
|
the parent pipeline when it prerolls again.
|
|
|
|
This is mostly used for elements that lost their preroll buffer
|
|
in the %GST_STATE_PAUSED or %GST_STATE_PLAYING state after a flush,
|
|
they will go to their pending state again when a new preroll buffer is
|
|
queued. This function can only be called when the element is currently
|
|
not in error or an async state change.
|
|
|
|
This function is used internally and should normally not be called from
|
|
plugins or applications.</doc>
|
|
<source-position filename="gst/gstelement.h" line="1022"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2791">a #GstElement the state is lost of</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="message_full" c:identifier="gst_element_message_full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2270">Post an error, warning or info message on the bus from inside an element.
|
|
|
|
@type must be of #GST_MESSAGE_ERROR, #GST_MESSAGE_WARNING or
|
|
#GST_MESSAGE_INFO.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstelement.h" line="981"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2272">a #GstElement to send message from</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2273">the #GstMessageType</doc>
|
|
<type name="MessageType" c:type="GstMessageType"/>
|
|
</parameter>
|
|
<parameter name="domain" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2274">the GStreamer GError domain this message belongs to</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
<parameter name="code" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2275">the GError code belonging to the domain</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="text"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2276">an allocated text string to be used
|
|
as a replacement for the default message connected to code,
|
|
or %NULL</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</parameter>
|
|
<parameter name="debug"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2279">an allocated debug message to be
|
|
used as a replacement for the default debugging information,
|
|
or %NULL</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</parameter>
|
|
<parameter name="file" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2282">the source code file where the error was generated</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="function" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2283">the source code function where the error was generated</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="line" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2284">the source code line where the error was generated</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="message_full_with_details"
|
|
c:identifier="gst_element_message_full_with_details"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2166">Post an error, warning or info message on the bus from inside an element.
|
|
|
|
@type must be of #GST_MESSAGE_ERROR, #GST_MESSAGE_WARNING or
|
|
#GST_MESSAGE_INFO.</doc>
|
|
<source-position filename="gst/gstelement.h" line="986"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2168">a #GstElement to send message from</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2169">the #GstMessageType</doc>
|
|
<type name="MessageType" c:type="GstMessageType"/>
|
|
</parameter>
|
|
<parameter name="domain" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2170">the GStreamer GError domain this message belongs to</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
<parameter name="code" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2171">the GError code belonging to the domain</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="text"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2172">an allocated text string to be used
|
|
as a replacement for the default message connected to code,
|
|
or %NULL</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</parameter>
|
|
<parameter name="debug"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2175">an allocated debug message to be
|
|
used as a replacement for the default debugging information,
|
|
or %NULL</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</parameter>
|
|
<parameter name="file" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2178">the source code file where the error was generated</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="function" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2179">the source code function where the error was generated</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="line" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2180">the source code line where the error was generated</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="structure" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2181">optional details structure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="no_more_pads" c:identifier="gst_element_no_more_pads">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="941">Use this function to signal that the element does not expect any more pads
|
|
to show up in the current pipeline. This function should be called whenever
|
|
pads have been added by the element itself. Elements with #GST_PAD_SOMETIMES
|
|
pad templates use this in combination with autopluggers to figure out that
|
|
the element is done initializing its pads.
|
|
|
|
This function emits the #GstElement::no-more-pads signal.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstelement.h" line="900"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="943">a #GstElement</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="post_message" c:identifier="gst_element_post_message">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2096">Post a message on the element's #GstBus. This function takes ownership of the
|
|
message; if you want to access the message after this call, you should add an
|
|
additional reference before calling.</doc>
|
|
<source-position filename="gst/gstelement.h" line="968"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2105">%TRUE if the message was successfully posted. The function returns
|
|
%FALSE if the element did not have a bus.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2098">a #GstElement posting the message</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="message" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2099">a #GstMessage to post</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="provide_clock" c:identifier="gst_element_provide_clock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="371">Get the clock provided by the given element.
|
|
> An element is only required to provide a clock in the PAUSED
|
|
> state. Some elements can provide a clock in other states.</doc>
|
|
<source-position filename="gst/gstelement.h" line="843"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="379">the GstClock provided by the
|
|
element or %NULL if no clock could be provided. Unref after usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="373">a #GstElement to query</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="query" c:identifier="gst_element_query">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2021">Performs a query on the given element.
|
|
|
|
For elements that don't implement a query handler, this function
|
|
forwards the query to a random srcpad or to the peer of a
|
|
random linked sinkpad of this element.
|
|
|
|
Please note that some queries might need a running pipeline to work.</doc>
|
|
<source-position filename="gst/gstelement.h" line="963"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2034">%TRUE if the query could be performed.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2023">a #GstElement to perform the query on.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2024">the #GstQuery.</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="query_convert" c:identifier="gst_element_query_convert">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2534">Queries an element to convert @src_val in @src_format to @dest_format.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1060"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2544">%TRUE if the query could be performed.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2536">a #GstElement to invoke the convert query on.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="src_format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2537">a #GstFormat to convert from.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="src_val" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2538">a value to convert.</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
<parameter name="dest_format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2539">the #GstFormat to convert to.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="dest_val"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2540">a pointer to the result.</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="query_duration" c:identifier="gst_element_query_duration">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2493">Queries an element (usually top-level pipeline or playbin element) for the
|
|
total stream duration in nanoseconds. This query will only work once the
|
|
pipeline is prerolled (i.e. reached PAUSED or PLAYING state). The application
|
|
will receive an ASYNC_DONE message on the pipeline bus when that is the case.
|
|
|
|
If the duration changes for some reason, you will get a DURATION_CHANGED
|
|
message on the pipeline bus, in which case you should re-query the duration
|
|
using this function.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1057"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2508">%TRUE if the query could be performed.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2495">a #GstElement to invoke the duration query on.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2496">the #GstFormat requested</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="duration"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2497">A location in which to store the total duration, or %NULL.</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="query_position" c:identifier="gst_element_query_position">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2450">Queries an element (usually top-level pipeline or playbin element) for the
|
|
stream position in nanoseconds. This will be a value between 0 and the
|
|
stream duration (if the stream duration is known). This query will usually
|
|
only work once the pipeline is prerolled (i.e. reached PAUSED or PLAYING
|
|
state). The application will receive an ASYNC_DONE message on the pipeline
|
|
bus when that is the case.
|
|
|
|
If one repeatedly calls this function one can also create a query and reuse
|
|
it in gst_element_query().</doc>
|
|
<source-position filename="gst/gstutils.h" line="1054"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2467">%TRUE if the query could be performed.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2452">a #GstElement to invoke the position query on.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2453">the #GstFormat requested</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="cur"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2454">a location in which to store the current
|
|
position, or %NULL.</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="release_request_pad"
|
|
c:identifier="gst_element_release_request_pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="335">Makes the element free the previously requested pad as obtained
|
|
with gst_element_request_pad().
|
|
|
|
This does not unref the pad. If the pad was created by using
|
|
gst_element_request_pad(), gst_element_release_request_pad() needs to be
|
|
followed by gst_object_unref() to free the @pad.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstelement.h" line="912"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="337">a #GstElement to release the request pad of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="338">the #GstPad to release.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_pad" c:identifier="gst_element_remove_pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="831">Removes @pad from @element. @pad will be destroyed if it has not been
|
|
referenced elsewhere using gst_object_unparent().
|
|
|
|
This function is used by plugin developers and should not be used
|
|
by applications. Pads that were dynamically requested from elements
|
|
with gst_element_request_pad() should be released with the
|
|
gst_element_release_request_pad() function instead.
|
|
|
|
Pads are not automatically deactivated so elements should perform the needed
|
|
steps to deactivate the pad in case this pad is removed in the PAUSED or
|
|
PLAYING state. See gst_pad_set_active() for more information about
|
|
deactivating pads.
|
|
|
|
The pad and the element should be unlocked when calling this function.
|
|
|
|
This function will emit the #GstElement::pad-removed signal on the element.</doc>
|
|
<source-position filename="gst/gstelement.h" line="897"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="853">%TRUE if the pad could be removed. Can return %FALSE if the
|
|
pad does not belong to the provided element.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="833">a #GstElement to remove pad from.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="834">the #GstPad to remove from the element.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_property_notify_watch"
|
|
c:identifier="gst_element_remove_property_notify_watch"
|
|
version="1.10">
|
|
<source-position filename="gst/gstelement.h" line="1055"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3760">a #GstElement being watched for property changes</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="watch_id" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3761">watch id to remove</doc>
|
|
<type name="gulong" c:type="gulong"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="request_pad" c:identifier="gst_element_request_pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1232">Retrieves a request pad from the element according to the provided template.
|
|
Pad templates can be looked up using
|
|
gst_element_factory_get_static_pad_templates().
|
|
|
|
The pad should be released with gst_element_release_request_pad().</doc>
|
|
<source-position filename="gst/gstelement.h" line="909"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1247">requested #GstPad if found,
|
|
otherwise %NULL. Release after usage.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1234">a #GstElement to find a request pad of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="templ" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1235">a #GstPadTemplate of which we want a pad of.</doc>
|
|
<type name="PadTemplate" c:type="GstPadTemplate*"/>
|
|
</parameter>
|
|
<parameter name="name"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1236">the name of the request #GstPad
|
|
to retrieve. Can be %NULL.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="caps"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1238">the caps of the pad we want to
|
|
request. Can be %NULL.</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="seek" c:identifier="gst_element_seek">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1956">Sends a seek event to an element. See gst_event_new_seek() for the details of
|
|
the parameters. The seek event is sent to the element using
|
|
gst_element_send_event().
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstelement.h" line="958"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1973">%TRUE if the event was handled. Flushing seeks will trigger a
|
|
preroll, which will emit %GST_MESSAGE_ASYNC_DONE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1958">a #GstElement to send the event to.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="rate" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1959">The new playback rate</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1960">The format of the seek values</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1961">The optional seek flags.</doc>
|
|
<type name="SeekFlags" c:type="GstSeekFlags"/>
|
|
</parameter>
|
|
<parameter name="start_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1962">The type and flags for the new start position</doc>
|
|
<type name="SeekType" c:type="GstSeekType"/>
|
|
</parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1963">The value of the new start position</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
<parameter name="stop_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1964">The type and flags for the new stop position</doc>
|
|
<type name="SeekType" c:type="GstSeekType"/>
|
|
</parameter>
|
|
<parameter name="stop" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1965">The value of the new stop position</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="seek_simple" c:identifier="gst_element_seek_simple">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2573">Simple API to perform a seek on the given element, meaning it just seeks
|
|
to the given position relative to the start of the stream. For more complex
|
|
operations like segment seeks (e.g. for looping) or changing the playback
|
|
rate or seeking relative to the last configured playback segment you should
|
|
use gst_element_seek().
|
|
|
|
In a completely prerolled PAUSED or PLAYING pipeline, seeking is always
|
|
guaranteed to return %TRUE on a seekable media type or %FALSE when the media
|
|
type is certainly not seekable (such as a live stream).
|
|
|
|
Some elements allow for seeking in the READY state, in this
|
|
case they will store the seek event and execute it when they are put to
|
|
PAUSED. If the element supports seek in READY, it will always return %TRUE when
|
|
it receives the event in the READY state.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1032"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2599">%TRUE if the seek operation succeeded. Flushing seeks will trigger a
|
|
preroll, which will emit %GST_MESSAGE_ASYNC_DONE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2575">a #GstElement to seek on</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2576">a #GstFormat to execute the seek in, such as #GST_FORMAT_TIME</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="seek_flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2577">seek options; playback applications will usually want to use
|
|
GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_KEY_UNIT here</doc>
|
|
<type name="SeekFlags" c:type="GstSeekFlags"/>
|
|
</parameter>
|
|
<parameter name="seek_pos" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2579">position to seek to (relative to the start); if you are doing
|
|
a seek in #GST_FORMAT_TIME this value is in nanoseconds -
|
|
multiply with #GST_SECOND to convert seconds to nanoseconds or
|
|
with #GST_MSECOND to convert milliseconds to nanoseconds.</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="send_event" c:identifier="gst_element_send_event">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1915">Sends an event to an element. If the element doesn't implement an
|
|
event handler, the event will be pushed on a random linked sink pad for
|
|
downstream events or a random linked source pad for upstream events.
|
|
|
|
This function takes ownership of the provided event so you should
|
|
gst_event_ref() it if you want to reuse the event after this call.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstelement.h" line="955"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1929">%TRUE if the event was handled. Events that trigger a preroll (such
|
|
as flushing seeks and steps) will emit %GST_MESSAGE_ASYNC_DONE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1917">a #GstElement to send the event to.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="event" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1918">the #GstEvent to send to the element.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_base_time" c:identifier="gst_element_set_base_time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="476">Set the base time of an element. See gst_element_get_base_time().
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstelement.h" line="852"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="478">a #GstElement.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="time" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="479">the base time to set.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_bus" c:identifier="gst_element_set_bus">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3448">Sets the bus of the element. Increases the refcount on the bus.
|
|
For internal use only, unless you're testing elements.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstelement.h" line="872"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3450">a #GstElement to set the bus of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="bus"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3451">the #GstBus to set.</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_clock" c:identifier="gst_element_set_clock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="413">Sets the clock for the element. This function increases the
|
|
refcount on the clock. Any previously set clock on the object
|
|
is unreffed.</doc>
|
|
<source-position filename="gst/gstelement.h" line="849"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="422">%TRUE if the element accepted the clock. An element can refuse a
|
|
clock when it, for example, is not able to slave its internal clock to the
|
|
@clock or when it requires a specific clock to operate.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="415">a #GstElement to set the clock for.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="clock"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="416">the #GstClock to set for the element.</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_context" c:identifier="gst_element_set_context">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3533">Sets the context of the element. Increases the refcount of the context.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstelement.h" line="880"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3535">a #GstElement to set the context of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="context" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3536">the #GstContext to set.</doc>
|
|
<type name="Context" c:type="GstContext*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_locked_state"
|
|
c:identifier="gst_element_set_locked_state">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2330">Locks the state of an element, so state changes of the parent don't affect
|
|
this element anymore.
|
|
|
|
Note that this is racy if the state lock of the parent bin is not taken.
|
|
The parent bin might've just checked the flag in another thread and as the
|
|
next step proceed to change the child element's state.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstelement.h" line="998"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2344">%TRUE if the state was changed, %FALSE if bad parameters were given
|
|
or the elements state-locking needed no change.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2332">a #GstElement</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="locked_state" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2333">%TRUE to lock the element's state</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_start_time" c:identifier="gst_element_set_start_time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="529">Set the start time of an element. The start time of the element is the
|
|
running time of the element when it last went to the PAUSED state. In READY
|
|
or after a flushing seek, it is set to 0.
|
|
|
|
Toplevel elements like #GstPipeline will manage the start_time and
|
|
base_time on its children. Setting the start_time to #GST_CLOCK_TIME_NONE
|
|
on such a toplevel element will disable the distribution of the base_time to
|
|
the children and can be useful if the application manages the base_time
|
|
itself, for example if you want to synchronize capture from multiple
|
|
pipelines, and you can also ensure that the pipelines have the same clock.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstelement.h" line="858"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="531">a #GstElement.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="time" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="532">the base time to set.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_state" c:identifier="gst_element_set_state">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2867">Sets the state of the element. This function will try to set the
|
|
requested state by going through all the intermediary states and calling
|
|
the class's state change function for each.
|
|
|
|
This function can return #GST_STATE_CHANGE_ASYNC, in which case the
|
|
element will perform the remainder of the state change asynchronously in
|
|
another thread.
|
|
An application can use gst_element_get_state() to wait for the completion
|
|
of the state change or it can wait for a %GST_MESSAGE_ASYNC_DONE or
|
|
%GST_MESSAGE_STATE_CHANGED on the bus.
|
|
|
|
State changes to %GST_STATE_READY or %GST_STATE_NULL never return
|
|
#GST_STATE_CHANGE_ASYNC.</doc>
|
|
<source-position filename="gst/gstelement.h" line="1009"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2886">Result of the state change using #GstStateChangeReturn.
|
|
|
|
MT safe.</doc>
|
|
<type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2869">a #GstElement to change state of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="state" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2870">the element's new #GstState.</doc>
|
|
<type name="State" c:type="GstState"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="sync_state_with_parent"
|
|
c:identifier="gst_element_sync_state_with_parent">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2384">Tries to change the state of the element to the same as its parent.
|
|
If this function returns %FALSE, the state of element is undefined.</doc>
|
|
<source-position filename="gst/gstelement.h" line="1001"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2391">%TRUE, if the element's state could be synced to the parent's state.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2386">a #GstElement.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unlink" c:identifier="gst_element_unlink">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2383">Unlinks all source pads of the source element with all sink pads
|
|
of the sink element to which they are linked.
|
|
|
|
If the link has been made using gst_element_link(), it could have created an
|
|
requestpad, which has to be released using gst_element_release_request_pad().</doc>
|
|
<source-position filename="gst/gstutils.h" line="1012"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2385">the source #GstElement to unlink.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="dest" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2386">the sink #GstElement to unlink.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unlink_many"
|
|
c:identifier="gst_element_unlink_many"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2355">Unlinks a series of elements. Uses gst_element_unlink().</doc>
|
|
<source-position filename="gst/gstutils.h" line="1015"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element_1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2357">the first #GstElement in the link chain.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="element_2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2358">the second #GstElement in the link chain.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2359">the %NULL-terminated list of elements to unlink in order.</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unlink_pads" c:identifier="gst_element_unlink_pads">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2298">Unlinks the two named pads of the source and destination elements.
|
|
|
|
This is a convenience function for gst_pad_unlink().</doc>
|
|
<source-position filename="gst/gstutils.h" line="1025"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2300">a (transfer none): #GstElement containing the source pad.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="srcpadname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2301">the name of the #GstPad in source element.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="dest" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2302">a #GstElement containing the destination pad.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="destpadname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2303">the name of the #GstPad in destination element.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<field name="object">
|
|
<type name="Object" c:type="GstObject"/>
|
|
</field>
|
|
<field name="state_lock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="590">Used to serialize execution of gst_element_set_state()</doc>
|
|
<type name="GLib.RecMutex" c:type="GRecMutex"/>
|
|
</field>
|
|
<field name="state_cond">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="591">Used to signal completion of a state change</doc>
|
|
<type name="GLib.Cond" c:type="GCond"/>
|
|
</field>
|
|
<field name="state_cookie">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="592">Used to detect concurrent execution of
|
|
gst_element_set_state() and gst_element_get_state()</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</field>
|
|
<field name="target_state">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="594">the target state of an element as set by the application</doc>
|
|
<type name="State" c:type="GstState"/>
|
|
</field>
|
|
<field name="current_state">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="595">the current state of an element</doc>
|
|
<type name="State" c:type="GstState"/>
|
|
</field>
|
|
<field name="next_state">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="596">the next state of an element, can be #GST_STATE_VOID_PENDING if
|
|
the element is in the correct state.</doc>
|
|
<type name="State" c:type="GstState"/>
|
|
</field>
|
|
<field name="pending_state">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="598">the final state the element should go to, can be
|
|
#GST_STATE_VOID_PENDING if the element is in the correct state</doc>
|
|
<type name="State" c:type="GstState"/>
|
|
</field>
|
|
<field name="last_return">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="600">the last return value of an element state change</doc>
|
|
<type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
|
|
</field>
|
|
<field name="bus">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="601">the bus of the element. This bus is provided to the element by the
|
|
parent element or the application. A #GstPipeline has a bus of its own.</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</field>
|
|
<field name="clock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="603">the clock of the element. This clock is usually provided to the
|
|
element by the toplevel #GstPipeline.</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</field>
|
|
<field name="base_time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="605">the time of the clock right before the element is set to
|
|
PLAYING. Subtracting @base_time from the current clock time in the PLAYING
|
|
state will yield the running_time against the clock.</doc>
|
|
<type name="ClockTimeDiff" c:type="GstClockTimeDiff"/>
|
|
</field>
|
|
<field name="start_time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="608">the running_time of the last PAUSED state</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</field>
|
|
<field name="numpads">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="609">number of pads of the element, includes both source and sink pads.</doc>
|
|
<type name="guint16" c:type="guint16"/>
|
|
</field>
|
|
<field name="pads">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="610">list of pads</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Pad"/>
|
|
</type>
|
|
</field>
|
|
<field name="numsrcpads">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="611">number of source pads of the element.</doc>
|
|
<type name="guint16" c:type="guint16"/>
|
|
</field>
|
|
<field name="srcpads">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="612">list of source pads</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Pad"/>
|
|
</type>
|
|
</field>
|
|
<field name="numsinkpads">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="613">number of sink pads of the element.</doc>
|
|
<type name="guint16" c:type="guint16"/>
|
|
</field>
|
|
<field name="sinkpads">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="614">list of sink pads</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Pad"/>
|
|
</type>
|
|
</field>
|
|
<field name="pads_cookie">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="615">updated whenever the a pad is added or removed</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</field>
|
|
<field name="contexts">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="616">list of contexts</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Context"/>
|
|
</type>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="3">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<glib:signal name="no-more-pads" when="last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="252">This signals that the element will not generate more dynamic pads.
|
|
Note that this signal will usually be emitted from the context of
|
|
the streaming thread.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
</glib:signal>
|
|
<glib:signal name="pad-added" when="last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="226">a new #GstPad has been added to the element. Note that this signal will
|
|
usually be emitted from the context of the streaming thread. Also keep in
|
|
mind that if you add new elements to the pipeline in the signal handler
|
|
you will need to set them to the desired target state with
|
|
gst_element_set_state() or gst_element_sync_state_with_parent().</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="new_pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="229">the pad that has been added</doc>
|
|
<type name="Pad"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="pad-removed" when="last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="241">a #GstPad has been removed from the element</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="old_pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="244">the pad that has been removed</doc>
|
|
<type name="Pad"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
</class>
|
|
<callback name="ElementCallAsyncFunc" c:type="GstElementCallAsyncFunc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="1025">Callback prototype used in #gst_element_call_async</doc>
|
|
<source-position filename="gst/gstelement.h" line="1032"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="1027">The #GstElement this function has been called against</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="1028">Data passed in the function where that callback has been passed</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<record name="ElementClass"
|
|
c:type="GstElementClass"
|
|
glib:is-gtype-struct-for="Element">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="660">GStreamer element class. Override the vmethods to implement the element
|
|
functionality.</doc>
|
|
<source-position filename="gst/gstelement.h" line="744"/>
|
|
<field name="parent_class">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="662">the parent class structure</doc>
|
|
<type name="ObjectClass" c:type="GstObjectClass"/>
|
|
</field>
|
|
<field name="metadata">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="663">metadata for elements of this class</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</field>
|
|
<field name="elementfactory">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="664">the #GstElementFactory that creates these elements</doc>
|
|
<type name="ElementFactory" c:type="GstElementFactory*"/>
|
|
</field>
|
|
<field name="padtemplates">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="665">a #GList of #GstPadTemplate</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</type>
|
|
</field>
|
|
<field name="numpadtemplates">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="666">the number of padtemplates</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</field>
|
|
<field name="pad_templ_cookie">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="667">changed whenever the padtemplates change</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</field>
|
|
<field name="pad_added">
|
|
<callback name="pad_added">
|
|
<source-position filename="gst/gstelement.h" line="704"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="pad_removed">
|
|
<callback name="pad_removed">
|
|
<source-position filename="gst/gstelement.h" line="705"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="no_more_pads">
|
|
<callback name="no_more_pads">
|
|
<source-position filename="gst/gstelement.h" line="706"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="943">a #GstElement</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="request_new_pad">
|
|
<callback name="request_new_pad">
|
|
<source-position filename="gst/gstelement.h" line="713"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1247">requested #GstPad if found,
|
|
otherwise %NULL. Release after usage.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1234">a #GstElement to find a request pad of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="templ" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1235">a #GstPadTemplate of which we want a pad of.</doc>
|
|
<type name="PadTemplate" c:type="GstPadTemplate*"/>
|
|
</parameter>
|
|
<parameter name="name"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1236">the name of the request #GstPad
|
|
to retrieve. Can be %NULL.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="caps"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1238">the caps of the pad we want to
|
|
request. Can be %NULL.</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="release_pad">
|
|
<callback name="release_pad">
|
|
<source-position filename="gst/gstelement.h" line="716"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="get_state">
|
|
<callback name="get_state">
|
|
<source-position filename="gst/gstelement.h" line="719"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2584">%GST_STATE_CHANGE_SUCCESS if the element has no more pending state
|
|
and the last state change succeeded, %GST_STATE_CHANGE_ASYNC if the
|
|
element is still performing a state change or
|
|
%GST_STATE_CHANGE_FAILURE if the last state change failed.
|
|
|
|
MT safe.</doc>
|
|
<type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2555">a #GstElement to get the state of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="state"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2556">a pointer to #GstState to hold the state.
|
|
Can be %NULL.</doc>
|
|
<type name="State" c:type="GstState*"/>
|
|
</parameter>
|
|
<parameter name="pending"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2558">a pointer to #GstState to hold the pending
|
|
state. Can be %NULL.</doc>
|
|
<type name="State" c:type="GstState*"/>
|
|
</parameter>
|
|
<parameter name="timeout" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2560">a #GstClockTime to specify the timeout for an async
|
|
state change or %GST_CLOCK_TIME_NONE for infinite timeout.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="set_state">
|
|
<callback name="set_state">
|
|
<source-position filename="gst/gstelement.h" line="721"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2886">Result of the state change using #GstStateChangeReturn.
|
|
|
|
MT safe.</doc>
|
|
<type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2869">a #GstElement to change state of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="state" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2870">the element's new #GstState.</doc>
|
|
<type name="State" c:type="GstState"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="change_state">
|
|
<callback name="change_state">
|
|
<source-position filename="gst/gstelement.h" line="722"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3032">the #GstStateChangeReturn of the state transition.</doc>
|
|
<type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3024">a #GstElement</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="transition" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3025">the requested transition</doc>
|
|
<type name="StateChange" c:type="GstStateChange"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="state_changed">
|
|
<callback name="state_changed">
|
|
<source-position filename="gst/gstelement.h" line="723"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="oldstate" transfer-ownership="none">
|
|
<type name="State" c:type="GstState"/>
|
|
</parameter>
|
|
<parameter name="newstate" transfer-ownership="none">
|
|
<type name="State" c:type="GstState"/>
|
|
</parameter>
|
|
<parameter name="pending" transfer-ownership="none">
|
|
<type name="State" c:type="GstState"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="set_bus">
|
|
<callback name="set_bus">
|
|
<source-position filename="gst/gstelement.h" line="727"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3450">a #GstElement to set the bus of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="bus"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3451">the #GstBus to set.</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="provide_clock">
|
|
<callback name="provide_clock">
|
|
<source-position filename="gst/gstelement.h" line="730"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="379">the GstClock provided by the
|
|
element or %NULL if no clock could be provided. Unref after usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="373">a #GstElement to query</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="set_clock">
|
|
<callback name="set_clock">
|
|
<source-position filename="gst/gstelement.h" line="731"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="422">%TRUE if the element accepted the clock. An element can refuse a
|
|
clock when it, for example, is not able to slave its internal clock to the
|
|
@clock or when it requires a specific clock to operate.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="415">a #GstElement to set the clock for.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="clock"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="416">the #GstClock to set for the element.</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="send_event">
|
|
<callback name="send_event">
|
|
<source-position filename="gst/gstelement.h" line="734"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1929">%TRUE if the event was handled. Events that trigger a preroll (such
|
|
as flushing seeks and steps) will emit %GST_MESSAGE_ASYNC_DONE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1917">a #GstElement to send the event to.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="event" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1918">the #GstEvent to send to the element.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="query">
|
|
<callback name="query">
|
|
<source-position filename="gst/gstelement.h" line="736"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2034">%TRUE if the query could be performed.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2023">a #GstElement to perform the query on.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2024">the #GstQuery.</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="post_message">
|
|
<callback name="post_message">
|
|
<source-position filename="gst/gstelement.h" line="738"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2105">%TRUE if the message was successfully posted. The function returns
|
|
%FALSE if the element did not have a bus.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2098">a #GstElement posting the message</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="message" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="2099">a #GstMessage to post</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="set_context">
|
|
<callback name="set_context">
|
|
<source-position filename="gst/gstelement.h" line="740"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3535">a #GstElement to set the context of.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="context" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3536">the #GstContext to set.</doc>
|
|
<type name="Context" c:type="GstContext*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="18">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<method name="add_metadata"
|
|
c:identifier="gst_element_class_add_metadata">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1541">Set @key with @value as metadata in @klass.</doc>
|
|
<source-position filename="gst/gstelement.h" line="780"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="klass" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1543">class to set metadata for</doc>
|
|
<type name="ElementClass" c:type="GstElementClass*"/>
|
|
</instance-parameter>
|
|
<parameter name="key" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1544">the key to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1545">the value to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_pad_template"
|
|
c:identifier="gst_element_class_add_pad_template">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1455">Adds a padtemplate to an element class. This is mainly used in the _class_init
|
|
functions of classes. If a pad template with the same name as an already
|
|
existing one is added the old one is replaced by the new one.
|
|
|
|
@templ's reference count will be incremented, and any floating
|
|
reference will be removed (see gst_object_ref_sink())</doc>
|
|
<source-position filename="gst/gstelement.h" line="749"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="klass" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1457">the #GstElementClass to add the pad template to.</doc>
|
|
<type name="ElementClass" c:type="GstElementClass*"/>
|
|
</instance-parameter>
|
|
<parameter name="templ" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1458">a #GstPadTemplate to add to the element class.</doc>
|
|
<type name="PadTemplate" c:type="GstPadTemplate*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_static_metadata"
|
|
c:identifier="gst_element_class_add_static_metadata">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1561">Set @key with @value as metadata in @klass.
|
|
|
|
Same as gst_element_class_add_metadata(), but @value must be a static string
|
|
or an inlined string, as it will not be copied. (GStreamer plugins will
|
|
be made resident once loaded, so this function can be used even from
|
|
dynamically loaded plugins.)</doc>
|
|
<source-position filename="gst/gstelement.h" line="783"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="klass" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1563">class to set metadata for</doc>
|
|
<type name="ElementClass" c:type="GstElementClass*"/>
|
|
</instance-parameter>
|
|
<parameter name="key" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1564">the key to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1565">the value to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_static_pad_template"
|
|
c:identifier="gst_element_class_add_static_pad_template"
|
|
version="1.8">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1499">Adds a pad template to an element class based on the static pad template
|
|
@templ. This is mainly used in the _class_init functions of element
|
|
implementations. If a pad template with the same name already exists,
|
|
the old one is replaced by the new one.</doc>
|
|
<source-position filename="gst/gstelement.h" line="752"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="klass" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1501">the #GstElementClass to add the pad template to.</doc>
|
|
<type name="ElementClass" c:type="GstElementClass*"/>
|
|
</instance-parameter>
|
|
<parameter name="static_templ" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1502">#GstStaticPadTemplate to add as pad template to the element class.</doc>
|
|
<type name="StaticPadTemplate" c:type="GstStaticPadTemplate*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_static_pad_template_with_gtype"
|
|
c:identifier="gst_element_class_add_static_pad_template_with_gtype"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1519">Adds a pad template to an element class based on the static pad template
|
|
@templ. This is mainly used in the _class_init functions of element
|
|
implementations. If a pad template with the same name already exists,
|
|
the old one is replaced by the new one.</doc>
|
|
<source-position filename="gst/gstelement.h" line="755"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="klass" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1521">the #GstElementClass to add the pad template to.</doc>
|
|
<type name="ElementClass" c:type="GstElementClass*"/>
|
|
</instance-parameter>
|
|
<parameter name="static_templ" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1522">#GstStaticPadTemplate to add as pad template to the element class.</doc>
|
|
<type name="StaticPadTemplate" c:type="GstStaticPadTemplate*"/>
|
|
</parameter>
|
|
<parameter name="pad_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1523">The #GType of the pad to create</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_metadata"
|
|
c:identifier="gst_element_class_get_metadata">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1673">Get metadata with @key in @klass.</doc>
|
|
<source-position filename="gst/gstelement.h" line="786"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1680">the metadata for @key.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="klass" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1675">class to get metadata for</doc>
|
|
<type name="ElementClass" c:type="GstElementClass*"/>
|
|
</instance-parameter>
|
|
<parameter name="key" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1676">the key to get</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_pad_template"
|
|
c:identifier="gst_element_class_get_pad_template">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1753">Retrieves a padtemplate from @element_class with the given name.
|
|
> If you use this function in the #GInstanceInitFunc of an object class
|
|
> that has subclasses, make sure to pass the g_class parameter of the
|
|
> #GInstanceInitFunc here.</doc>
|
|
<source-position filename="gst/gstelement.h" line="760"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1763">the #GstPadTemplate with the
|
|
given name, or %NULL if none was found. No unreferencing is
|
|
necessary.</doc>
|
|
<type name="PadTemplate" c:type="GstPadTemplate*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element_class" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1755">a #GstElementClass to get the pad template of.</doc>
|
|
<type name="ElementClass" c:type="GstElementClass*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1756">the name of the #GstPadTemplate to get.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_pad_template_list"
|
|
c:identifier="gst_element_class_get_pad_template_list">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1711">Retrieves a list of the pad templates associated with @element_class. The
|
|
list must not be modified by the calling code.
|
|
> If you use this function in the #GInstanceInitFunc of an object class
|
|
> that has subclasses, make sure to pass the g_class parameter of the
|
|
> #GInstanceInitFunc here.</doc>
|
|
<source-position filename="gst/gstelement.h" line="763"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1721">the #GList of
|
|
pad templates.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="PadTemplate"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="element_class" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1713">a #GstElementClass to get pad templates of.</doc>
|
|
<type name="ElementClass" c:type="GstElementClass*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_metadata"
|
|
c:identifier="gst_element_class_set_metadata">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1589">Sets the detailed information for a #GstElementClass.
|
|
> This function is for use in _class_init functions only.</doc>
|
|
<source-position filename="gst/gstelement.h" line="768"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="klass" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1591">class to set metadata for</doc>
|
|
<type name="ElementClass" c:type="GstElementClass*"/>
|
|
</instance-parameter>
|
|
<parameter name="longname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1592">The long English name of the element. E.g. "File Sink"</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="classification" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1593">String describing the type of element, as an unordered list
|
|
separated with slashes ('/'). See draft-klass.txt of the design docs
|
|
for more details and common types. E.g: "Sink/File"</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="description" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1596">Sentence describing the purpose of the element.
|
|
E.g: "Write stream to a file"</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="author" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1598">Name and contact details of the author(s). Use \n to separate
|
|
multiple author metadata. E.g: "Joe Bloggs &lt;joe.blogs at foo.com&gt;"</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_static_metadata"
|
|
c:identifier="gst_element_class_set_static_metadata">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1622">Sets the detailed information for a #GstElementClass.
|
|
|
|
> This function is for use in _class_init functions only.
|
|
|
|
Same as gst_element_class_set_metadata(), but @longname, @classification,
|
|
@description, and @author must be static strings or inlined strings, as
|
|
they will not be copied. (GStreamer plugins will be made resident once
|
|
loaded, so this function can be used even from dynamically loaded plugins.)</doc>
|
|
<source-position filename="gst/gstelement.h" line="774"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="klass" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1624">class to set metadata for</doc>
|
|
<type name="ElementClass" c:type="GstElementClass*"/>
|
|
</instance-parameter>
|
|
<parameter name="longname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1625">The long English name of the element. E.g. "File Sink"</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="classification" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1626">String describing the type of element, as an unordered list
|
|
separated with slashes ('/'). See draft-klass.txt of the design docs
|
|
for more details and common types. E.g: "Sink/File"</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="description" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1629">Sentence describing the purpose of the element.
|
|
E.g: "Write stream to a file"</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="author" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="1631">Name and contact details of the author(s). Use \n to separate
|
|
multiple author metadata. E.g: "Joe Bloggs &lt;joe.blogs at foo.com&gt;"</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<class name="ElementFactory"
|
|
c:symbol-prefix="element_factory"
|
|
c:type="GstElementFactory"
|
|
parent="PluginFeature"
|
|
glib:type-name="GstElementFactory"
|
|
glib:get-type="gst_element_factory_get_type"
|
|
glib:type-struct="ElementFactoryClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="24">#GstElementFactory is used to create instances of elements. A
|
|
GstElementFactory can be added to a #GstPlugin as it is also a
|
|
#GstPluginFeature.
|
|
|
|
Use the gst_element_factory_find() and gst_element_factory_create()
|
|
functions to create element instances or use gst_element_factory_make() as a
|
|
convenient shortcut.
|
|
|
|
The following code example shows you how to create a GstFileSrc element.
|
|
|
|
## Using an element factory
|
|
|[<!-- language="C" -->
|
|
#include &lt;gst/gst.h&gt;
|
|
|
|
GstElement *src;
|
|
GstElementFactory *srcfactory;
|
|
|
|
gst_init (&amp;argc, &amp;argv);
|
|
|
|
srcfactory = gst_element_factory_find ("filesrc");
|
|
g_return_if_fail (srcfactory != NULL);
|
|
src = gst_element_factory_create (srcfactory, "src");
|
|
g_return_if_fail (src != NULL);
|
|
...
|
|
]|</doc>
|
|
<source-position filename="gst/gstelementfactory.h" line="33"/>
|
|
<function name="find" c:identifier="gst_element_factory_find">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="118">Search for an element factory of the given name. Refs the returned
|
|
element factory; caller is responsible for unreffing.</doc>
|
|
<source-position filename="gst/gstelementfactory.h" line="57"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="125">#GstElementFactory if found,
|
|
%NULL otherwise</doc>
|
|
<type name="ElementFactory" c:type="GstElementFactory*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="120">name of factory to find</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="list_filter"
|
|
c:identifier="gst_element_factory_list_filter">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="827">Filter out all the elementfactories in @list that can handle @caps in
|
|
the given direction.
|
|
|
|
If @subsetonly is %TRUE, then only the elements whose pads templates
|
|
are a complete superset of @caps will be returned. Else any element
|
|
whose pad templates caps can intersect with @caps will be returned.</doc>
|
|
<source-position filename="gst/gstelementfactory.h" line="241"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="842">a #GList of
|
|
#GstElementFactory elements that match the given requisites.
|
|
Use #gst_plugin_feature_list_free after usage.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="ElementFactory"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="829">a #GList of
|
|
#GstElementFactory to filter</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="ElementFactory"/>
|
|
</type>
|
|
</parameter>
|
|
<parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="831">a #GstCaps</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</parameter>
|
|
<parameter name="direction" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="832">a #GstPadDirection to filter on</doc>
|
|
<type name="PadDirection" c:type="GstPadDirection"/>
|
|
</parameter>
|
|
<parameter name="subsetonly" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="833">whether to filter on caps subsets or not.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="list_get_elements"
|
|
c:identifier="gst_element_factory_list_get_elements">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="793">Get a list of factories that match the given @type. Only elements
|
|
with a rank greater or equal to @minrank will be returned.
|
|
The list of factories is returned by decreasing rank.</doc>
|
|
<source-position filename="gst/gstelementfactory.h" line="236"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="802">a #GList of
|
|
#GstElementFactory elements. Use gst_plugin_feature_list_free() after
|
|
usage.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="ElementFactory"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="795">a #GstElementFactoryListType</doc>
|
|
<type name="ElementFactoryListType"
|
|
c:type="GstElementFactoryListType"/>
|
|
</parameter>
|
|
<parameter name="minrank" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="796">Minimum rank</doc>
|
|
<type name="Rank" c:type="GstRank"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="make" c:identifier="gst_element_factory_make">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="425">Create a new element of the type defined by the given element factory.
|
|
If name is %NULL, then the element will receive a guaranteed unique name,
|
|
consisting of the element factory name and a number.
|
|
If name is given, it will be given the name supplied.</doc>
|
|
<source-position filename="gst/gstelementfactory.h" line="87"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="436">new #GstElement or %NULL
|
|
if unable to create element</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="factoryname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="427">a named factory to instantiate</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="name"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="428">name of new element, or %NULL to automatically create
|
|
a unique name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<method name="can_sink_all_caps"
|
|
c:identifier="gst_element_factory_can_sink_all_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1430">Checks if the factory can sink all possible capabilities.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1040"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1437">%TRUE if the caps are fully compatible.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1432">factory to query</doc>
|
|
<type name="ElementFactory" c:type="GstElementFactory*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1433">the caps to check</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="can_sink_any_caps"
|
|
c:identifier="gst_element_factory_can_sink_any_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1464">Checks if the factory can sink any possible capability.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1046"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1471">%TRUE if the caps have a common subset.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1466">factory to query</doc>
|
|
<type name="ElementFactory" c:type="GstElementFactory*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1467">the caps to check</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="can_src_all_caps"
|
|
c:identifier="gst_element_factory_can_src_all_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1447">Checks if the factory can src all possible capabilities.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1043"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1454">%TRUE if the caps are fully compatible.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1449">factory to query</doc>
|
|
<type name="ElementFactory" c:type="GstElementFactory*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1450">the caps to check</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="can_src_any_caps"
|
|
c:identifier="gst_element_factory_can_src_any_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1481">Checks if the factory can src any possible capability.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1049"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1488">%TRUE if the caps have a common subset.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1483">factory to query</doc>
|
|
<type name="ElementFactory" c:type="GstElementFactory*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1484">the caps to check</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="create" c:identifier="gst_element_factory_create">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="328">Create a new element of the type defined by the given elementfactory.
|
|
It will be given the name supplied, since all elements require a name as
|
|
their first argument.</doc>
|
|
<source-position filename="gst/gstelementfactory.h" line="84"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="338">new #GstElement or %NULL
|
|
if the element couldn't be created</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="330">factory to instantiate</doc>
|
|
<type name="ElementFactory" c:type="GstElementFactory*"/>
|
|
</instance-parameter>
|
|
<parameter name="name"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="331">name of new element, or %NULL to automatically create
|
|
a unique name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_element_type"
|
|
c:identifier="gst_element_factory_get_element_type">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="490">Get the #GType for elements managed by this factory. The type can
|
|
only be retrieved if the element factory is loaded, which can be
|
|
assured with gst_plugin_feature_load().</doc>
|
|
<source-position filename="gst/gstelementfactory.h" line="60"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="498">the #GType for elements managed by this factory or 0 if
|
|
the factory is not loaded.</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="492">factory to get managed #GType from</doc>
|
|
<type name="ElementFactory" c:type="GstElementFactory*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_metadata"
|
|
c:identifier="gst_element_factory_get_metadata">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="509">Get the metadata on @factory with @key.</doc>
|
|
<source-position filename="gst/gstelementfactory.h" line="63"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="516">the metadata with @key on @factory or %NULL
|
|
when there was no metadata with the given @key.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="511">a #GstElementFactory</doc>
|
|
<type name="ElementFactory" c:type="GstElementFactory*"/>
|
|
</instance-parameter>
|
|
<parameter name="key" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="512">a key</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_metadata_keys"
|
|
c:identifier="gst_element_factory_get_metadata_keys">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="528">Get the available keys for the metadata on @factory.</doc>
|
|
<source-position filename="gst/gstelementfactory.h" line="66"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="534">
|
|
a %NULL-terminated array of key strings, or %NULL when there is no
|
|
metadata. Free with g_strfreev() when no longer needed.</doc>
|
|
<array c:type="gchar**">
|
|
<type name="utf8"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="530">a #GstElementFactory</doc>
|
|
<type name="ElementFactory" c:type="GstElementFactory*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_num_pad_templates"
|
|
c:identifier="gst_element_factory_get_num_pad_templates">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="563">Gets the number of pad_templates in this factory.</doc>
|
|
<source-position filename="gst/gstelementfactory.h" line="69"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="569">the number of pad_templates</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="565">a #GstElementFactory</doc>
|
|
<type name="ElementFactory" c:type="GstElementFactory*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_static_pad_templates"
|
|
c:identifier="gst_element_factory_get_static_pad_templates">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="600">Gets the #GList of #GstStaticPadTemplate for this factory.</doc>
|
|
<source-position filename="gst/gstelementfactory.h" line="72"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="606">the
|
|
static pad templates</doc>
|
|
<type name="GLib.List" c:type="const GList*">
|
|
<type name="StaticPadTemplate"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="602">a #GstElementFactory</doc>
|
|
<type name="ElementFactory" c:type="GstElementFactory*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_uri_protocols"
|
|
c:identifier="gst_element_factory_get_uri_protocols">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="633">Gets a %NULL-terminated array of protocols this element supports or %NULL if
|
|
no protocols are supported. You may not change the contents of the returned
|
|
array, as it is still owned by the element factory. Use g_strdupv() to
|
|
make a copy of the protocol string array if you need to.</doc>
|
|
<source-position filename="gst/gstelementfactory.h" line="78"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="642">the supported protocols
|
|
or %NULL</doc>
|
|
<array c:type="const gchar* const*">
|
|
<type name="utf8"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="635">a #GstElementFactory</doc>
|
|
<type name="ElementFactory" c:type="GstElementFactory*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_uri_type"
|
|
c:identifier="gst_element_factory_get_uri_type">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="617">Gets the type of URIs the element supports or #GST_URI_UNKNOWN if none.</doc>
|
|
<source-position filename="gst/gstelementfactory.h" line="75"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="623">type of URIs this element supports</doc>
|
|
<type name="URIType" c:type="GstURIType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="619">a #GstElementFactory</doc>
|
|
<type name="ElementFactory" c:type="GstElementFactory*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_interface"
|
|
c:identifier="gst_element_factory_has_interface">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="653">Check if @factory implements the interface with name @interfacename.</doc>
|
|
<source-position filename="gst/gstelementfactory.h" line="81"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="660">%TRUE when @factory implement the interface.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="655">a #GstElementFactory</doc>
|
|
<type name="ElementFactory" c:type="GstElementFactory*"/>
|
|
</instance-parameter>
|
|
<parameter name="interfacename" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="656">an interface name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="list_is_type"
|
|
c:identifier="gst_element_factory_list_is_type">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="687">Check if @factory is of the given types.</doc>
|
|
<source-position filename="gst/gstelementfactory.h" line="232"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="694">%TRUE if @factory is of @type.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="689">a #GstElementFactory</doc>
|
|
<type name="ElementFactory" c:type="GstElementFactory*"/>
|
|
</instance-parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelementfactory.c"
|
|
line="690">a #GstElementFactoryListType</doc>
|
|
<type name="ElementFactoryListType"
|
|
c:type="GstElementFactoryListType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
</class>
|
|
<record name="ElementFactoryClass"
|
|
c:type="GstElementFactoryClass"
|
|
disguised="1"
|
|
glib:is-gtype-struct-for="ElementFactory">
|
|
<source-position filename="gst/gstelementfactory.h" line="33"/>
|
|
</record>
|
|
<bitfield name="ElementFlags"
|
|
glib:type-name="GstElementFlags"
|
|
glib:get-type="gst_element_flags_get_type"
|
|
c:type="GstElementFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="260">The standard flags that an element may have.</doc>
|
|
<member name="locked_state"
|
|
value="16"
|
|
c:identifier="GST_ELEMENT_FLAG_LOCKED_STATE"
|
|
glib:nick="locked-state">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="262">ignore state changes from parent</doc>
|
|
</member>
|
|
<member name="sink"
|
|
value="32"
|
|
c:identifier="GST_ELEMENT_FLAG_SINK"
|
|
glib:nick="sink">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="263">the element is a sink</doc>
|
|
</member>
|
|
<member name="source"
|
|
value="64"
|
|
c:identifier="GST_ELEMENT_FLAG_SOURCE"
|
|
glib:nick="source">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="264">the element is a source.</doc>
|
|
</member>
|
|
<member name="provide_clock"
|
|
value="128"
|
|
c:identifier="GST_ELEMENT_FLAG_PROVIDE_CLOCK"
|
|
glib:nick="provide-clock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="265">the element can provide a clock</doc>
|
|
</member>
|
|
<member name="require_clock"
|
|
value="256"
|
|
c:identifier="GST_ELEMENT_FLAG_REQUIRE_CLOCK"
|
|
glib:nick="require-clock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="266">the element requires a clock</doc>
|
|
</member>
|
|
<member name="indexable"
|
|
value="512"
|
|
c:identifier="GST_ELEMENT_FLAG_INDEXABLE"
|
|
glib:nick="indexable">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="267">the element can use an index</doc>
|
|
</member>
|
|
<member name="last"
|
|
value="16384"
|
|
c:identifier="GST_ELEMENT_FLAG_LAST"
|
|
glib:nick="last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="268">offset to define more flags</doc>
|
|
</member>
|
|
</bitfield>
|
|
<callback name="ElementForeachPadFunc"
|
|
c:type="GstElementForeachPadFunc"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="923">Function called for each pad when using gst_element_foreach_sink_pad(),
|
|
gst_element_foreach_src_pad(), or gst_element_foreach_pad().</doc>
|
|
<source-position filename="gst/gstelement.h" line="936"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="932">%FALSE to stop iterating pads, %TRUE to continue</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="925">the #GstElement</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="926">a #GstPad</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="927">user data passed to the foreach function</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<record name="Event"
|
|
c:type="GstEvent"
|
|
glib:type-name="GstEvent"
|
|
glib:get-type="gst_event_get_type"
|
|
c:symbol-prefix="event">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="24">The event class provides factory methods to construct events for sending
|
|
and functions to query (parse) received events.
|
|
|
|
Events are usually created with gst_event_new_*() which takes event-type
|
|
specific parameters as arguments.
|
|
To send an event application will usually use gst_element_send_event() and
|
|
elements will use gst_pad_send_event() or gst_pad_push_event().
|
|
The event should be unreffed with gst_event_unref() if it has not been sent.
|
|
|
|
Events that have been received can be parsed with their respective
|
|
gst_event_parse_*() functions. It is valid to pass %NULL for unwanted details.
|
|
|
|
Events are passed between elements in parallel to the data stream. Some events
|
|
are serialized with buffers, others are not. Some events only travel downstream,
|
|
others only upstream. Some events can travel both upstream and downstream.
|
|
|
|
The events are used to signal special conditions in the datastream such as
|
|
EOS (end of stream) or the start of a new stream-segment.
|
|
Events are also used to flush the pipeline of any pending data.
|
|
|
|
Most of the event API is used inside plugins. Applications usually only
|
|
construct and use seek events.
|
|
To do that gst_event_new_seek() is used to create a seek event. It takes
|
|
the needed parameters to specify seeking time and mode.
|
|
|[<!-- language="C" -->
|
|
GstEvent *event;
|
|
gboolean result;
|
|
...
|
|
// construct a seek event to play the media from second 2 to 5, flush
|
|
// the pipeline to decrease latency.
|
|
event = gst_event_new_seek (1.0,
|
|
GST_FORMAT_TIME,
|
|
GST_SEEK_FLAG_FLUSH,
|
|
GST_SEEK_TYPE_SET, 2 * GST_SECOND,
|
|
GST_SEEK_TYPE_SET, 5 * GST_SECOND);
|
|
...
|
|
result = gst_element_send_event (pipeline, event);
|
|
if (!result)
|
|
g_warning ("seek failed");
|
|
...
|
|
]|</doc>
|
|
<source-position filename="gst/gstevent.h" line="438"/>
|
|
<field name="mini_object" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="423">the parent structure</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject"/>
|
|
</field>
|
|
<field name="type" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="424">the #GstEventType of the event</doc>
|
|
<type name="EventType" c:type="GstEventType"/>
|
|
</field>
|
|
<field name="timestamp" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="425">the timestamp of the event</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</field>
|
|
<field name="seqnum" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="426">the sequence number of the event</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</field>
|
|
<constructor name="new_buffer_size"
|
|
c:identifier="gst_event_new_buffer_size">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1081">Create a new buffersize event. The event is sent downstream and notifies
|
|
elements that they should provide a buffer of the specified dimensions.
|
|
|
|
When the @async flag is set, a thread boundary is preferred.</doc>
|
|
<source-position filename="gst/gstevent.h" line="683"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1093">a new #GstEvent</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1083">buffer format</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="minsize" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1084">minimum buffer size</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
<parameter name="maxsize" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1085">maximum buffer size</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
<parameter name="async" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1086">thread behavior</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_caps" c:identifier="gst_event_new_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="870">Create a new CAPS event for @caps. The caps event can only travel downstream
|
|
synchronized with the buffer flow and contains the format of the buffers
|
|
that will follow after the event.</doc>
|
|
<source-position filename="gst/gstevent.h" line="639"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="878">the new CAPS event.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="872">a #GstCaps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_custom" c:identifier="gst_event_new_custom">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="284">Create a new custom-typed event. This can be used for anything not
|
|
handled by other event-specific functions to pass an event to another
|
|
element.
|
|
|
|
Make sure to allocate an event type with the #GST_EVENT_MAKE_TYPE macro,
|
|
assigning a free number and filling in the correct direction and
|
|
serialization flags.
|
|
|
|
New custom events can also be created by subclassing the event type if
|
|
needed.</doc>
|
|
<source-position filename="gst/gstevent.h" line="521"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="301">the new custom event.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="286">The type of the new event</doc>
|
|
<type name="EventType" c:type="GstEventType"/>
|
|
</parameter>
|
|
<parameter name="structure" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="287">the structure for the event. The event will
|
|
take ownership of the structure.</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_eos" c:identifier="gst_event_new_eos">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="746">Create a new EOS event. The eos event can only travel downstream
|
|
synchronized with the buffer flow. Elements that receive the EOS
|
|
event on a pad can return #GST_FLOW_EOS as a #GstFlowReturn
|
|
when data after the EOS event arrives.
|
|
|
|
The EOS event will travel down to the sink elements in the pipeline
|
|
which will then post the #GST_MESSAGE_EOS on the bus after they have
|
|
finished playing any buffered data.
|
|
|
|
When all sinks have posted an EOS message, an EOS message is
|
|
forwarded to the application.
|
|
|
|
The EOS event itself will not cause any state transitions of the pipeline.</doc>
|
|
<source-position filename="gst/gstevent.h" line="616"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="763">the new EOS event.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<constructor name="new_flush_start"
|
|
c:identifier="gst_event_new_flush_start">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="534">Allocate a new flush start event. The flush start event can be sent
|
|
upstream and downstream and travels out-of-bounds with the dataflow.
|
|
|
|
It marks pads as being flushing and will make them return
|
|
#GST_FLOW_FLUSHING when used for data flow with gst_pad_push(),
|
|
gst_pad_chain(), gst_pad_get_range() and gst_pad_pull_range().
|
|
Any event (except a #GST_EVENT_FLUSH_STOP) received
|
|
on a flushing pad will return %FALSE immediately.
|
|
|
|
Elements should unlock any blocking functions and exit their streaming
|
|
functions as fast as possible when this event is received.
|
|
|
|
This event is typically generated after a seek to flush out all queued data
|
|
in the pipeline so that the new media is played as soon as possible.</doc>
|
|
<source-position filename="gst/gstevent.h" line="581"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="552">a new flush start event.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<constructor name="new_flush_stop"
|
|
c:identifier="gst_event_new_flush_stop">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="560">Allocate a new flush stop event. The flush stop event can be sent
|
|
upstream and downstream and travels serialized with the dataflow.
|
|
It is typically sent after sending a FLUSH_START event to make the
|
|
pads accept data again.
|
|
|
|
Elements can process this event synchronized with the dataflow since
|
|
the preceding FLUSH_START event stopped the dataflow.
|
|
|
|
This event is typically generated to complete a seek and to resume
|
|
dataflow.</doc>
|
|
<source-position filename="gst/gstevent.h" line="584"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="575">a new flush stop event.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="reset_time" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="562">if time should be reset</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_gap" c:identifier="gst_event_new_gap">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="771">Create a new GAP event. A gap event can be thought of as conceptually
|
|
equivalent to a buffer to signal that there is no data for a certain
|
|
amount of time. This is useful to signal a gap to downstream elements
|
|
which may wait for data, such as muxers or mixers or overlays, especially
|
|
for sparse streams such as subtitle streams.</doc>
|
|
<source-position filename="gst/gstevent.h" line="621"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="782">the new GAP event.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="timestamp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="773">the start time (pts) of the gap</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="duration" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="774">the duration of the gap</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_instant_rate_change"
|
|
c:identifier="gst_event_new_instant_rate_change"
|
|
version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2244">Create a new instant-rate-change event. This event is sent by seek
|
|
handlers (e.g. demuxers) when receiving a seek with the
|
|
%GST_SEEK_FLAG_INSTANT_RATE_CHANGE and signals to downstream elements that
|
|
the playback rate in the existing segment should be immediately multiplied
|
|
by the @rate_multiplier factor.
|
|
|
|
The flags provided replace any flags in the existing segment, for the
|
|
flags within the %GST_SEGMENT_INSTANT_FLAGS set. Other GstSegmentFlags
|
|
are ignored and not transferred in the event.</doc>
|
|
<source-position filename="gst/gstevent.h" line="770"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2259">the new instant-rate-change event.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="rate_multiplier" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2246">the multiplier to be applied to the playback rate</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
<parameter name="new_flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2247">A new subset of segment flags to replace in segments</doc>
|
|
<type name="SegmentFlags" c:type="GstSegmentFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_instant_rate_sync_time"
|
|
c:identifier="gst_event_new_instant_rate_sync_time"
|
|
version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2311">Create a new instant-rate-sync-time event. This event is sent by the
|
|
pipeline to notify elements handling the instant-rate-change event about
|
|
the running-time when the new rate should be applied. The running time
|
|
may be in the past when elements handle this event, which can lead to
|
|
switching artifacts. The magnitude of those depends on the exact timing
|
|
of event delivery to each element and the magnitude of the change in
|
|
playback rate being applied.
|
|
|
|
The @running_time and @upstream_running_time are the same if this
|
|
is the first instant-rate adjustment, but will differ for later ones
|
|
to compensate for the accumulated offset due to playing at a rate
|
|
different to the one indicated in the playback segments.</doc>
|
|
<source-position filename="gst/gstevent.h" line="779"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2331">the new instant-rate-sync-time event.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="rate_multiplier" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2313">the new playback rate multiplier to be applied</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
<parameter name="running_time" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2314">Running time when the rate change should be applied</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="upstream_running_time" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2315">The upstream-centric running-time when the
|
|
rate change should be applied.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_latency" c:identifier="gst_event_new_latency">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1502">Create a new latency event. The event is sent upstream from the sinks and
|
|
notifies elements that they should add an additional @latency to the
|
|
running time before synchronising against the clock.
|
|
|
|
The latency is mostly used in live sinks and is always expressed in
|
|
the time format.</doc>
|
|
<source-position filename="gst/gstevent.h" line="732"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1513">a new #GstEvent</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="latency" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1504">the new latency value</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_navigation"
|
|
c:identifier="gst_event_new_navigation">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1485">Create a new navigation event from the given description.</doc>
|
|
<source-position filename="gst/gstevent.h" line="727"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1492">a new #GstEvent</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="structure" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1487">description of the event. The event will take
|
|
ownership of the structure.</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_protection"
|
|
c:identifier="gst_event_new_protection"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2074">Creates a new event containing information specific to a particular
|
|
protection system (uniquely identified by @system_id), by which that
|
|
protection system can acquire key(s) to decrypt a protected stream.
|
|
|
|
In order for a decryption element to decrypt media
|
|
protected using a specific system, it first needs all the
|
|
protection system specific information necessary to acquire the decryption
|
|
key(s) for that stream. The functions defined here enable this information
|
|
to be passed in events from elements that extract it
|
|
(e.g., ISOBMFF demuxers, MPEG DASH demuxers) to protection decrypter
|
|
elements that use it.
|
|
|
|
Events containing protection system specific information are created using
|
|
#gst_event_new_protection, and they can be parsed by downstream elements
|
|
using #gst_event_parse_protection.
|
|
|
|
In Common Encryption, protection system specific information may be located
|
|
within ISOBMFF files, both in movie (moov) boxes and movie fragment (moof)
|
|
boxes; it may also be contained in ContentProtection elements within MPEG
|
|
DASH MPDs. The events created by #gst_event_new_protection contain data
|
|
identifying from which of these locations the encapsulated protection system
|
|
specific information originated. This origin information is required as
|
|
some protection systems use different encodings depending upon where the
|
|
information originates.
|
|
|
|
The events returned by gst_event_new_protection() are implemented
|
|
in such a way as to ensure that the most recently-pushed protection info
|
|
event of a particular @origin and @system_id will
|
|
be stuck to the output pad of the sending element.</doc>
|
|
<source-position filename="gst/gstevent.h" line="674"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2114">a #GST_EVENT_PROTECTION event, if successful; %NULL
|
|
if unsuccessful.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="system_id" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2076">a string holding a UUID that uniquely
|
|
identifies a protection system.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="data" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2078">a #GstBuffer holding protection system specific
|
|
information. The reference count of the buffer will be incremented by one.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
<parameter name="origin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2080">a string indicating where the protection
|
|
information carried in the event was extracted from. The allowed values
|
|
of this string will depend upon the protection scheme.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_qos" c:identifier="gst_event_new_qos">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1155">Allocate a new qos event with the given values.
|
|
The QOS event is generated in an element that wants an upstream
|
|
element to either reduce or increase its rate because of
|
|
high/low CPU load or other resource usage such as network performance or
|
|
throttling. Typically sinks generate these events for each buffer
|
|
they receive.
|
|
|
|
@type indicates the reason for the QoS event. #GST_QOS_TYPE_OVERFLOW is
|
|
used when a buffer arrived in time or when the sink cannot keep up with
|
|
the upstream datarate. #GST_QOS_TYPE_UNDERFLOW is when the sink is not
|
|
receiving buffers fast enough and thus has to drop late buffers.
|
|
#GST_QOS_TYPE_THROTTLE is used when the datarate is artificially limited
|
|
by the application, for example to reduce power consumption.
|
|
|
|
@proportion indicates the real-time performance of the streaming in the
|
|
element that generated the QoS event (usually the sink). The value is
|
|
generally computed based on more long term statistics about the streams
|
|
timestamps compared to the clock.
|
|
A value < 1.0 indicates that the upstream element is producing data faster
|
|
than real-time. A value > 1.0 indicates that the upstream element is not
|
|
producing data fast enough. 1.0 is the ideal @proportion value. The
|
|
proportion value can safely be used to lower or increase the quality of
|
|
the element.
|
|
|
|
@diff is the difference against the clock in running time of the last
|
|
buffer that caused the element to generate the QOS event. A negative value
|
|
means that the buffer with @timestamp arrived in time. A positive value
|
|
indicates how late the buffer with @timestamp was. When throttling is
|
|
enabled, @diff will be set to the requested throttling interval.
|
|
|
|
@timestamp is the timestamp of the last buffer that cause the element
|
|
to generate the QOS event. It is expressed in running time and thus an ever
|
|
increasing value.
|
|
|
|
The upstream element can use the @diff and @timestamp values to decide
|
|
whether to process more buffers. For positive @diff, all buffers with
|
|
timestamp <= @timestamp + @diff will certainly arrive late in the sink
|
|
as well. A (negative) @diff value so that @timestamp + @diff would yield a
|
|
result smaller than 0 is not allowed.
|
|
|
|
The application can use general event probes to intercept the QoS
|
|
event and implement custom application specific QoS handling.</doc>
|
|
<source-position filename="gst/gstevent.h" line="700"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1205">a new QOS event.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1157">the QoS type</doc>
|
|
<type name="QOSType" c:type="GstQOSType"/>
|
|
</parameter>
|
|
<parameter name="proportion" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1158">the proportion of the qos message</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
<parameter name="diff" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1159">The time difference of the last Clock sync</doc>
|
|
<type name="ClockTimeDiff" c:type="GstClockTimeDiff"/>
|
|
</parameter>
|
|
<parameter name="timestamp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1160">The timestamp of the buffer</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_reconfigure"
|
|
c:identifier="gst_event_new_reconfigure">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1636">Create a new reconfigure event. The purpose of the reconfigure event is
|
|
to travel upstream and make elements renegotiate their caps or reconfigure
|
|
their buffer pools. This is useful when changing properties on elements
|
|
or changing the topology of the pipeline.</doc>
|
|
<source-position filename="gst/gstevent.h" line="749"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1644">a new #GstEvent</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<constructor name="new_seek" c:identifier="gst_event_new_seek">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1289">Allocate a new seek event with the given parameters.
|
|
|
|
The seek event configures playback of the pipeline between @start to @stop
|
|
at the speed given in @rate, also called a playback segment.
|
|
The @start and @stop values are expressed in @format.
|
|
|
|
A @rate of 1.0 means normal playback rate, 2.0 means double speed.
|
|
Negatives values means backwards playback. A value of 0.0 for the
|
|
rate is not allowed and should be accomplished instead by PAUSING the
|
|
pipeline.
|
|
|
|
A pipeline has a default playback segment configured with a start
|
|
position of 0, a stop position of -1 and a rate of 1.0. The currently
|
|
configured playback segment can be queried with #GST_QUERY_SEGMENT.
|
|
|
|
@start_type and @stop_type specify how to adjust the currently configured
|
|
start and stop fields in playback segment. Adjustments can be made relative
|
|
or absolute to the last configured values. A type of #GST_SEEK_TYPE_NONE
|
|
means that the position should not be updated.
|
|
|
|
When the rate is positive and @start has been updated, playback will start
|
|
from the newly configured start position.
|
|
|
|
For negative rates, playback will start from the newly configured stop
|
|
position (if any). If the stop position is updated, it must be different from
|
|
-1 (#GST_CLOCK_TIME_NONE) for negative rates.
|
|
|
|
It is not possible to seek relative to the current playback position, to do
|
|
this, PAUSE the pipeline, query the current playback position with
|
|
#GST_QUERY_POSITION and update the playback segment current position with a
|
|
#GST_SEEK_TYPE_SET to the desired position.</doc>
|
|
<source-position filename="gst/gstevent.h" line="709"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1331">a new seek event.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="rate" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1291">The new playback rate</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1292">The format of the seek values</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1293">The optional seek flags</doc>
|
|
<type name="SeekFlags" c:type="GstSeekFlags"/>
|
|
</parameter>
|
|
<parameter name="start_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1294">The type and flags for the new start position</doc>
|
|
<type name="SeekType" c:type="GstSeekType"/>
|
|
</parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1295">The value of the new start position</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
<parameter name="stop_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1296">The type and flags for the new stop position</doc>
|
|
<type name="SeekType" c:type="GstSeekType"/>
|
|
</parameter>
|
|
<parameter name="stop" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1297">The value of the new stop position</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_segment" c:identifier="gst_event_new_segment">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="920">Create a new SEGMENT event for @segment. The segment event can only travel
|
|
downstream synchronized with the buffer flow and contains timing information
|
|
and playback properties for the buffers that will follow.
|
|
|
|
The segment event marks the range of buffers to be processed. All
|
|
data not within the segment range is not to be processed. This can be
|
|
used intelligently by plugins to apply more efficient methods of skipping
|
|
unneeded data. The valid range is expressed with the @start and @stop
|
|
values.
|
|
|
|
The time value of the segment is used in conjunction with the start
|
|
value to convert the buffer timestamps into the stream time. This is
|
|
usually done in sinks to report the current stream_time.
|
|
@time represents the stream_time of a buffer carrying a timestamp of
|
|
@start. @time cannot be -1.
|
|
|
|
@start cannot be -1, @stop can be -1. If there
|
|
is a valid @stop given, it must be greater or equal the @start, including
|
|
when the indicated playback @rate is < 0.
|
|
|
|
The @applied_rate value provides information about any rate adjustment that
|
|
has already been made to the timestamps and content on the buffers of the
|
|
stream. (@rate * @applied_rate) should always equal the rate that has been
|
|
requested for playback. For example, if an element has an input segment
|
|
with intended playback @rate of 2.0 and applied_rate of 1.0, it can adjust
|
|
incoming timestamps and buffer content by half and output a segment event
|
|
with @rate of 1.0 and @applied_rate of 2.0
|
|
|
|
After a segment event, the buffer stream time is calculated with:
|
|
|
|
time + (TIMESTAMP(buf) - start) * ABS (rate * applied_rate)</doc>
|
|
<source-position filename="gst/gstevent.h" line="647"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="956">the new SEGMENT event.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="segment" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="922">a #GstSegment</doc>
|
|
<type name="Segment" c:type="const GstSegment*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_segment_done"
|
|
c:identifier="gst_event_new_segment_done">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2187">Create a new segment-done event. This event is sent by elements that
|
|
finish playback of a segment as a result of a segment seek.</doc>
|
|
<source-position filename="gst/gstevent.h" line="762"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2195">a new #GstEvent</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2189">The format of the position being done</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="position" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2190">The position of the segment being done</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_select_streams"
|
|
c:identifier="gst_event_new_select_streams"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="613">Allocate a new select-streams event.
|
|
|
|
The select-streams event requests the specified @streams to be activated.
|
|
|
|
The list of @streams corresponds to the "Stream ID" of each stream to be
|
|
activated. Those ID can be obtained via the #GstStream objects present
|
|
in #GST_EVENT_STREAM_START, #GST_EVENT_STREAM_COLLECTION or
|
|
#GST_MESSAGE_STREAM_COLLECTION.
|
|
|
|
Note: The list of @streams can not be empty.</doc>
|
|
<source-position filename="gst/gstevent.h" line="600"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="629">a new select-streams event or %NULL in case of
|
|
an error (like an empty streams list).</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="streams" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="615">the list of streams to
|
|
activate</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="utf8"/>
|
|
</type>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_sink_message"
|
|
c:identifier="gst_event_new_sink_message">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1658">Create a new sink-message event. The purpose of the sink-message event is
|
|
to instruct a sink to post the message contained in the event synchronized
|
|
with the stream.
|
|
|
|
@name is used to store multiple sticky events on one pad.</doc>
|
|
<source-position filename="gst/gstevent.h" line="692"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1669">a new #GstEvent</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1660">a name for the event</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="msg" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1661">the #GstMessage to be posted</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_step" c:identifier="gst_event_new_step">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1550">Create a new step event. The purpose of the step event is to instruct a sink
|
|
to skip @amount (expressed in @format) of media. It can be used to implement
|
|
stepping through the video frame by frame or for doing fast trick modes.
|
|
|
|
A rate of <= 0.0 is not allowed. Pause the pipeline, for the effect of rate
|
|
= 0.0 or first reverse the direction of playback using a seek event to get
|
|
the same effect as rate < 0.0.
|
|
|
|
The @flush flag will clear any pending data in the pipeline before starting
|
|
the step operation.
|
|
|
|
The @intermediate flag instructs the pipeline that this step operation is
|
|
part of a larger step operation.</doc>
|
|
<source-position filename="gst/gstevent.h" line="740"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1572">a new #GstEvent</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1552">the format of @amount</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="amount" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1553">the amount of data to step</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="rate" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1554">the step rate</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
<parameter name="flush" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1555">flushing steps</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
<parameter name="intermediate" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1556">intermediate steps</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_stream_collection"
|
|
c:identifier="gst_event_new_stream_collection"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1910">Create a new STREAM_COLLECTION event. The stream collection event can only
|
|
travel downstream synchronized with the buffer flow.
|
|
|
|
Source elements, demuxers and other elements that manage collections
|
|
of streams and post #GstStreamCollection messages on the bus also send
|
|
this event downstream on each pad involved in the collection, so that
|
|
activation of a new collection can be tracked through the downstream
|
|
data flow.</doc>
|
|
<source-position filename="gst/gstevent.h" line="592"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1923">the new STREAM_COLLECTION event.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="collection" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1912">Active collection for this data flow</doc>
|
|
<type name="StreamCollection" c:type="GstStreamCollection*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_stream_group_done"
|
|
c:identifier="gst_event_new_stream_group_done"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="693">Create a new Stream Group Done event. The stream-group-done event can
|
|
only travel downstream synchronized with the buffer flow. Elements
|
|
that receive the event on a pad should handle it mostly like EOS,
|
|
and emit any data or pending buffers that would depend on more data
|
|
arriving and unblock, since there won't be any more data.
|
|
|
|
This event is followed by EOS at some point in the future, and is
|
|
generally used when switching pads - to unblock downstream so that
|
|
new pads can be exposed before sending EOS on the existing pads.</doc>
|
|
<source-position filename="gst/gstevent.h" line="608"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="707">the new stream-group-done event.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="group_id" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="695">the group id of the stream group which is ending</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_stream_start"
|
|
c:identifier="gst_event_new_stream_start">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1711">Create a new STREAM_START event. The stream start event can only
|
|
travel downstream synchronized with the buffer flow. It is expected
|
|
to be the first event that is sent for a new stream.
|
|
|
|
Source elements, demuxers and other elements that create new streams
|
|
are supposed to send this event as the first event of a new stream. It
|
|
should not be sent after a flushing seek or in similar situations
|
|
and is used to mark the beginning of a new logical stream. Elements
|
|
combining multiple streams must ensure that this event is only forwarded
|
|
downstream once and not for every single input stream.
|
|
|
|
The @stream_id should be a unique string that consists of the upstream
|
|
stream-id, / as separator and a unique stream-id for this specific
|
|
stream. A new stream-id should only be created for a stream if the upstream
|
|
stream is split into (potentially) multiple new streams, e.g. in a demuxer,
|
|
but not for every single element in the pipeline.
|
|
gst_pad_create_stream_id() or gst_pad_create_stream_id_printf() can be
|
|
used to create a stream-id. There are no particular semantics for the
|
|
stream-id, though it should be deterministic (to support stream matching)
|
|
and it might be used to order streams (besides any information conveyed by
|
|
stream flags).</doc>
|
|
<source-position filename="gst/gstevent.h" line="555"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1737">the new STREAM_START event.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="stream_id" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1713">Identifier for this stream</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_tag" c:identifier="gst_event_new_tag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1024">Generates a metadata tag event from the given @taglist.
|
|
|
|
The scope of the taglist specifies if the taglist applies to the
|
|
complete medium or only to this specific stream. As the tag event
|
|
is a sticky event, elements should merge tags received from
|
|
upstream with a given scope with their own tags with the same
|
|
scope and create a new tag event from it.</doc>
|
|
<source-position filename="gst/gstevent.h" line="658"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1037">a new #GstEvent</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="taglist" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1026">metadata list. The event will take ownership
|
|
of the taglist.</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_toc" c:identifier="gst_event_new_toc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1967">Generate a TOC event from the given @toc. The purpose of the TOC event is to
|
|
inform elements that some kind of the TOC was found.</doc>
|
|
<source-position filename="gst/gstevent.h" line="666"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1975">a new #GstEvent.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="toc" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1969">#GstToc structure.</doc>
|
|
<type name="Toc" c:type="GstToc*"/>
|
|
</parameter>
|
|
<parameter name="updated" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1970">whether @toc was updated or not.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_toc_select"
|
|
c:identifier="gst_event_new_toc_select">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2025">Generate a TOC select event with the given @uid. The purpose of the
|
|
TOC select event is to start playback based on the TOC's entry with the
|
|
given @uid.</doc>
|
|
<source-position filename="gst/gstevent.h" line="754"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2033">a new #GstEvent.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="uid" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2027">UID in the TOC to start playback from.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<method name="copy" c:identifier="gst_event_copy" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="500">Copy the event using the event specific copy function.</doc>
|
|
<source-position filename="gst/gstevent.h" line="508"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="506">the new event</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="502">The event to copy</doc>
|
|
<type name="Event" c:type="const GstEvent*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="copy_segment" c:identifier="gst_event_copy_segment">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1002">Parses a segment @event and copies the #GstSegment into the location
|
|
given by @segment.</doc>
|
|
<source-position filename="gst/gstevent.h" line="653"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1004">The event to parse</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="segment" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1005">a pointer to a #GstSegment</doc>
|
|
<type name="Segment" c:type="GstSegment*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_running_time_offset"
|
|
c:identifier="gst_event_get_running_time_offset"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="485">Retrieve the accumulated running time offset of the event.
|
|
|
|
Events passing through #GstPads that have a running time
|
|
offset set via gst_pad_set_offset() will get their offset
|
|
adjusted according to the pad's offset.
|
|
|
|
If the event contains any information that related to the
|
|
running time, this information will need to be updated
|
|
before usage with this offset.</doc>
|
|
<source-position filename="gst/gstevent.h" line="547"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="499">The event's running time offset
|
|
|
|
MT safe.</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="487">A #GstEvent.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_seqnum" c:identifier="gst_event_get_seqnum">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="433">Retrieve the sequence number of a event.
|
|
|
|
Events have ever-incrementing sequence numbers, which may also be set
|
|
explicitly via gst_event_set_seqnum(). Sequence numbers are typically used to
|
|
indicate that a event corresponds to some other set of events or messages,
|
|
for example an EOS event corresponding to a SEEK event. It is considered good
|
|
practice to make this correspondence when possible, though it is not
|
|
required.
|
|
|
|
Note that events and messages share the same sequence number incrementor;
|
|
two events or messages will never have the same sequence number unless
|
|
that correspondence was made explicitly.</doc>
|
|
<source-position filename="gst/gstevent.h" line="539"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="450">The event's sequence number.
|
|
|
|
MT safe.</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="435">A #GstEvent.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_structure" c:identifier="gst_event_get_structure">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="335">Access the structure of the event.</doc>
|
|
<source-position filename="gst/gstevent.h" line="525"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="341">The structure of the event. The
|
|
structure is still owned by the event, which means that you should not free
|
|
it and that the pointer becomes invalid when you free the event.
|
|
|
|
MT safe.</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="337">The #GstEvent.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_name" c:identifier="gst_event_has_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="389">Checks if @event has the given @name. This function is usually used to
|
|
check the name of a custom event.</doc>
|
|
<source-position filename="gst/gstevent.h" line="531"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="397">%TRUE if @name matches the name of the event structure.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="391">The #GstEvent.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="392">name to check</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_name_id"
|
|
c:identifier="gst_event_has_name_id"
|
|
version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="410">Checks if @event has the given @name. This function is usually used to
|
|
check the name of a custom event.</doc>
|
|
<source-position filename="gst/gstevent.h" line="534"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="418">%TRUE if @name matches the name of the event structure.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="412">The #GstEvent.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="413">name to check as a GQuark</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_buffer_size"
|
|
c:identifier="gst_event_parse_buffer_size">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1117">Get the format, minsize, maxsize and async-flag in the buffersize event.</doc>
|
|
<source-position filename="gst/gstevent.h" line="686"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1119">The event to query</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="format"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1120">A pointer to store the format in</doc>
|
|
<type name="Format" c:type="GstFormat*"/>
|
|
</parameter>
|
|
<parameter name="minsize"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1121">A pointer to store the minsize in</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
<parameter name="maxsize"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1122">A pointer to store the maxsize in</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
<parameter name="async"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1123">A pointer to store the async-flag in</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_caps" c:identifier="gst_event_parse_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="897">Get the caps from @event. The caps remains valid as long as @event remains
|
|
valid.</doc>
|
|
<source-position filename="gst/gstevent.h" line="642"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="899">The event to parse</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="900">A pointer to the caps</doc>
|
|
<type name="Caps" c:type="GstCaps**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_flush_stop"
|
|
c:identifier="gst_event_parse_flush_stop">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="591">Parse the FLUSH_STOP event and retrieve the @reset_time member.</doc>
|
|
<source-position filename="gst/gstevent.h" line="587"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="593">The event to parse</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="reset_time"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="594">if time should be reset</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_gap" c:identifier="gst_event_parse_gap">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="804">Extract timestamp and duration from a new GAP event.</doc>
|
|
<source-position filename="gst/gstevent.h" line="624"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="806">a #GstEvent of type #GST_EVENT_GAP</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="timestamp"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="807">location where to store the
|
|
start time (pts) of the gap, or %NULL</doc>
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
<parameter name="duration"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="809">location where to store the duration of
|
|
the gap, or %NULL</doc>
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_gap_flags"
|
|
c:identifier="gst_event_parse_gap_flags"
|
|
version="1.20">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="850">Retrieve the gap flags that may have been set on a gap event with
|
|
gst_event_set_gap_flags().</doc>
|
|
<source-position filename="gst/gstevent.h" line="633"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="852">a #GstEvent of type #GST_EVENT_GAP</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="853">a #GstGapFlags or %NULL</doc>
|
|
<type name="GapFlags" c:type="GstGapFlags*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_group_id"
|
|
c:identifier="gst_event_parse_group_id"
|
|
version="1.2">
|
|
<source-position filename="gst/gstevent.h" line="576"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1890">%TRUE if a group id was set on the event and could be parsed,
|
|
%FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1887">a stream-start event</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="group_id"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1888">address of variable where to store the group id</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_instant_rate_change"
|
|
c:identifier="gst_event_parse_instant_rate_change"
|
|
version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2284">Extract rate and flags from an instant-rate-change event.</doc>
|
|
<source-position filename="gst/gstevent.h" line="773"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2286">a #GstEvent of type #GST_EVENT_INSTANT_RATE_CHANGE</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="rate_multiplier"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2287">location in which to store the rate
|
|
multiplier of the instant-rate-change event, or %NULL</doc>
|
|
<type name="gdouble" c:type="gdouble*"/>
|
|
</parameter>
|
|
<parameter name="new_flags"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2289">location in which to store the new
|
|
segment flags of the instant-rate-change event, or %NULL</doc>
|
|
<type name="SegmentFlags" c:type="GstSegmentFlags*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_instant_rate_sync_time"
|
|
c:identifier="gst_event_parse_instant_rate_sync_time"
|
|
version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2360">Extract the rate multiplier and running times from an instant-rate-sync-time event.</doc>
|
|
<source-position filename="gst/gstevent.h" line="784"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2362">a #GstEvent of type #GST_EVENT_INSTANT_RATE_CHANGE</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="rate_multiplier"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2363">location where to store the rate of
|
|
the instant-rate-sync-time event, or %NULL</doc>
|
|
<type name="gdouble" c:type="gdouble*"/>
|
|
</parameter>
|
|
<parameter name="running_time"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2365">location in which to store the running time
|
|
of the instant-rate-sync-time event, or %NULL</doc>
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
<parameter name="upstream_running_time"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2367">location in which to store the
|
|
upstream running time of the instant-rate-sync-time event, or %NULL</doc>
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_latency" c:identifier="gst_event_parse_latency">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1531">Get the latency in the latency event.</doc>
|
|
<source-position filename="gst/gstevent.h" line="735"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1533">The event to query</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="latency"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1534">A pointer to store the latency in.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_protection"
|
|
c:identifier="gst_event_parse_protection"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2146">Parses an event containing protection system specific information and stores
|
|
the results in @system_id, @data and @origin. The data stored in @system_id,
|
|
@origin and @data are valid until @event is released.</doc>
|
|
<source-position filename="gst/gstevent.h" line="677"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2148">a #GST_EVENT_PROTECTION event.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="system_id"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2149">pointer to store the UUID
|
|
string uniquely identifying a content protection system.</doc>
|
|
<type name="utf8" c:type="const gchar**"/>
|
|
</parameter>
|
|
<parameter name="data"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2151">pointer to store a #GstBuffer
|
|
holding protection system specific information.</doc>
|
|
<type name="Buffer" c:type="GstBuffer**"/>
|
|
</parameter>
|
|
<parameter name="origin"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2153">pointer to store a value that
|
|
indicates where the protection information carried by @event was extracted
|
|
from.</doc>
|
|
<type name="utf8" c:type="const gchar**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_qos" c:identifier="gst_event_parse_qos">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1232">Get the type, proportion, diff and timestamp in the qos event. See
|
|
gst_event_new_qos() for more information about the different QoS values.
|
|
|
|
@timestamp will be adjusted for any pad offsets of pads it was passing through.</doc>
|
|
<source-position filename="gst/gstevent.h" line="703"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1234">The event to query</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="type"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1235">A pointer to store the QoS type in</doc>
|
|
<type name="QOSType" c:type="GstQOSType*"/>
|
|
</parameter>
|
|
<parameter name="proportion"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1236">A pointer to store the proportion in</doc>
|
|
<type name="gdouble" c:type="gdouble*"/>
|
|
</parameter>
|
|
<parameter name="diff"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1237">A pointer to store the diff in</doc>
|
|
<type name="ClockTimeDiff" c:type="GstClockTimeDiff*"/>
|
|
</parameter>
|
|
<parameter name="timestamp"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1238">A pointer to store the timestamp in</doc>
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_seek" c:identifier="gst_event_parse_seek">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1389">Parses a seek @event and stores the results in the given result locations.</doc>
|
|
<source-position filename="gst/gstevent.h" line="713"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1391">a seek event</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="rate"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1392">result location for the rate</doc>
|
|
<type name="gdouble" c:type="gdouble*"/>
|
|
</parameter>
|
|
<parameter name="format"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1393">result location for the stream format</doc>
|
|
<type name="Format" c:type="GstFormat*"/>
|
|
</parameter>
|
|
<parameter name="flags"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1394">result location for the #GstSeekFlags</doc>
|
|
<type name="SeekFlags" c:type="GstSeekFlags*"/>
|
|
</parameter>
|
|
<parameter name="start_type"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1395">result location for the #GstSeekType of the start position</doc>
|
|
<type name="SeekType" c:type="GstSeekType*"/>
|
|
</parameter>
|
|
<parameter name="start"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1396">result location for the start position expressed in @format</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
<parameter name="stop_type"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1397">result location for the #GstSeekType of the stop position</doc>
|
|
<type name="SeekType" c:type="GstSeekType*"/>
|
|
</parameter>
|
|
<parameter name="stop"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1398">result location for the stop position expressed in @format</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_seek_trickmode_interval"
|
|
c:identifier="gst_event_parse_seek_trickmode_interval"
|
|
version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1464">Retrieve the trickmode interval that may have been set on a
|
|
seek event with gst_event_set_seek_trickmode_interval().</doc>
|
|
<source-position filename="gst/gstevent.h" line="722"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="interval"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_segment" c:identifier="gst_event_parse_segment">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="978">Parses a segment @event and stores the result in the given @segment location.
|
|
@segment remains valid only until the @event is freed. Don't modify the segment
|
|
and make a copy if you want to modify it or store it for later use.</doc>
|
|
<source-position filename="gst/gstevent.h" line="650"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="980">The event to parse</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="segment"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="981">a pointer to a #GstSegment</doc>
|
|
<type name="Segment" c:type="const GstSegment**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_segment_done"
|
|
c:identifier="gst_event_parse_segment_done">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2214">Extracts the position and format from the segment done message.</doc>
|
|
<source-position filename="gst/gstevent.h" line="765"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2216">A valid #GstEvent of type GST_EVENT_SEGMENT_DONE.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="format"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2217">Result location for the format, or %NULL</doc>
|
|
<type name="Format" c:type="GstFormat*"/>
|
|
</parameter>
|
|
<parameter name="position"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2218">Result location for the position, or %NULL</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_select_streams"
|
|
c:identifier="gst_event_parse_select_streams"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="661">Parse the SELECT_STREAMS event and retrieve the contained streams.</doc>
|
|
<source-position filename="gst/gstevent.h" line="603"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="663">The event to parse</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="streams"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="664">the streams</doc>
|
|
<type name="GLib.List" c:type="GList**">
|
|
<type name="utf8"/>
|
|
</type>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_sink_message"
|
|
c:identifier="gst_event_parse_sink_message">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1689">Parse the sink-message event. Unref @msg after usage.</doc>
|
|
<source-position filename="gst/gstevent.h" line="695"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1691">The event to query</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="msg"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1692">a pointer to store the #GstMessage in.</doc>
|
|
<type name="Message" c:type="GstMessage**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_step" c:identifier="gst_event_parse_step">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1596">Parse the step event.</doc>
|
|
<source-position filename="gst/gstevent.h" line="743"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1598">The event to query</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="format"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1599">a pointer to store the format in</doc>
|
|
<type name="Format" c:type="GstFormat*"/>
|
|
</parameter>
|
|
<parameter name="amount"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1600">a pointer to store the amount in</doc>
|
|
<type name="guint64" c:type="guint64*"/>
|
|
</parameter>
|
|
<parameter name="rate"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1601">a pointer to store the rate in</doc>
|
|
<type name="gdouble" c:type="gdouble*"/>
|
|
</parameter>
|
|
<parameter name="flush"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1602">a pointer to store the flush boolean in</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
<parameter name="intermediate"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1603">a pointer to store the intermediate
|
|
boolean in</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_stream"
|
|
c:identifier="gst_event_parse_stream"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1799">Parse a stream-start @event and extract the #GstStream from it.</doc>
|
|
<source-position filename="gst/gstevent.h" line="564"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1801">a stream-start event</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="stream"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1802">address of variable to store the stream</doc>
|
|
<type name="Stream" c:type="GstStream**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_stream_collection"
|
|
c:identifier="gst_event_parse_stream_collection"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1941">Retrieve new #GstStreamCollection from STREAM_COLLECTION event @event.</doc>
|
|
<source-position filename="gst/gstevent.h" line="595"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1943">a stream-collection event</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="collection"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1944">pointer to store the collection</doc>
|
|
<type name="StreamCollection" c:type="GstStreamCollection**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_stream_flags"
|
|
c:identifier="gst_event_parse_stream_flags"
|
|
version="1.2">
|
|
<source-position filename="gst/gstevent.h" line="570"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1841">a stream-start event</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1842">address of variable where to store the stream flags</doc>
|
|
<type name="StreamFlags" c:type="GstStreamFlags*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_stream_group_done"
|
|
c:identifier="gst_event_parse_stream_group_done"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="724">Parse a stream-group-done @event and store the result in the given
|
|
@group_id location.</doc>
|
|
<source-position filename="gst/gstevent.h" line="611"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="726">a stream-group-done event.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="group_id"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="727">address of variable to store the group id into</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_stream_start"
|
|
c:identifier="gst_event_parse_stream_start">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1753">Parse a stream-id @event and store the result in the given @stream_id
|
|
location. The string stored in @stream_id must not be modified and will
|
|
remain valid only until @event gets freed. Make a copy if you want to
|
|
modify it or store it for later use.</doc>
|
|
<source-position filename="gst/gstevent.h" line="558"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1755">a stream-start event.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="stream_id"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1756">pointer to store the stream-id</doc>
|
|
<type name="utf8" c:type="const gchar**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_tag" c:identifier="gst_event_parse_tag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1055">Parses a tag @event and stores the results in the given @taglist location.
|
|
No reference to the taglist will be returned, it remains valid only until
|
|
the @event is freed. Don't modify or free the taglist, make a copy if you
|
|
want to modify it or store it for later use.</doc>
|
|
<source-position filename="gst/gstevent.h" line="661"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1057">a tag event</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="taglist"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1058">pointer to metadata list</doc>
|
|
<type name="TagList" c:type="GstTagList**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_toc" c:identifier="gst_event_parse_toc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2001">Parse a TOC @event and store the results in the given @toc and @updated locations.</doc>
|
|
<source-position filename="gst/gstevent.h" line="669"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2003">a TOC event.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="toc"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2004">pointer to #GstToc structure.</doc>
|
|
<type name="Toc" c:type="GstToc**"/>
|
|
</parameter>
|
|
<parameter name="updated"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2005">pointer to store TOC updated flag.</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_toc_select"
|
|
c:identifier="gst_event_parse_toc_select">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2050">Parse a TOC select @event and store the results in the given @uid location.</doc>
|
|
<source-position filename="gst/gstevent.h" line="757"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2052">a TOC select event.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="uid"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="2053">storage for the selection UID.</doc>
|
|
<type name="utf8" c:type="gchar**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="ref" c:identifier="gst_event_ref" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="452">Increase the refcount of this event.</doc>
|
|
<source-position filename="gst/gstevent.h" line="460"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="458">@event (for convenience when doing assignments)</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="454">The event to refcount</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_gap_flags"
|
|
c:identifier="gst_event_set_gap_flags"
|
|
version="1.20">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="829">Sets @flags on @event to give additional information about the reason for
|
|
the #GST_EVENT_GAP.</doc>
|
|
<source-position filename="gst/gstevent.h" line="629"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="831">a #GstEvent of type #GST_EVENT_GAP</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="832">a #GstGapFlags</doc>
|
|
<type name="GapFlags" c:type="GstGapFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_group_id"
|
|
c:identifier="gst_event_set_group_id"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1858">All streams that have the same group id are supposed to be played
|
|
together, i.e. all streams inside a container file should have the
|
|
same group id but different stream ids. The group id should change
|
|
each time the stream is started, resulting in different group ids
|
|
each time a file is played for example.
|
|
|
|
Use gst_util_group_id_next() to get a new group id.</doc>
|
|
<source-position filename="gst/gstevent.h" line="573"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1860">a stream-start event</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="group_id" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1861">the group id to set</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_running_time_offset"
|
|
c:identifier="gst_event_set_running_time_offset"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="513">Set the running time offset of a event. See
|
|
gst_event_get_running_time_offset() for more information.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstevent.h" line="550"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="515">A #GstEvent.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="516">A the new running time offset</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_seek_trickmode_interval"
|
|
c:identifier="gst_event_set_seek_trickmode_interval"
|
|
version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1443">Sets a trickmode interval on a (writable) seek event. Elements
|
|
that support TRICKMODE_KEY_UNITS seeks SHOULD use this as the minimal
|
|
interval between each frame they may output.</doc>
|
|
<source-position filename="gst/gstevent.h" line="719"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="interval" transfer-ownership="none">
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_seqnum" c:identifier="gst_event_set_seqnum">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="462">Set the sequence number of a event.
|
|
|
|
This function might be called by the creator of a event to indicate that the
|
|
event relates to other events or messages. See gst_event_get_seqnum() for
|
|
more information.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstevent.h" line="542"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="464">A #GstEvent.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="seqnum" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="465">A sequence number.</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_stream"
|
|
c:identifier="gst_event_set_stream"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1779">Set the @stream on the stream-start @event</doc>
|
|
<source-position filename="gst/gstevent.h" line="561"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1781">a stream-start event</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="stream" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1782">the stream object to set</doc>
|
|
<type name="Stream" c:type="GstStream*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_stream_flags"
|
|
c:identifier="gst_event_set_stream_flags"
|
|
version="1.2">
|
|
<source-position filename="gst/gstevent.h" line="567"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1823">a stream-start event</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="1824">the stream flags to set</doc>
|
|
<type name="StreamFlags" c:type="GstStreamFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unref" c:identifier="gst_event_unref" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="467">Decrease the refcount of an event, freeing it if the refcount reaches 0.</doc>
|
|
<source-position filename="gst/gstevent.h" line="473"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="469">the event to refcount</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="writable_structure"
|
|
c:identifier="gst_event_writable_structure">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="355">Get a writable version of the structure.</doc>
|
|
<source-position filename="gst/gstevent.h" line="528"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="361">The structure of the event. The structure
|
|
is still owned by the event, which means that you should not free
|
|
it and that the pointer becomes invalid when you free the event.
|
|
This function checks if @event is writable and will never return
|
|
%NULL.
|
|
|
|
MT safe.</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="357">The #GstEvent.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<function name="replace"
|
|
c:identifier="gst_event_replace"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="324">Modifies a pointer to a #GstEvent to point to a different #GstEvent. The
|
|
modification is done atomically (so this is useful for ensuring thread safety
|
|
in some cases), and the reference counts are updated appropriately (the old
|
|
event is unreffed, the new one is reffed).
|
|
|
|
Either @new_event or the #GstEvent pointed to by @old_event may be %NULL.</doc>
|
|
<source-position filename="gst/gstevent.h" line="340"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="338">%TRUE if @new_event was different from @old_event</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="old_event"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="326">pointer to a
|
|
pointer to a #GstEvent to be replaced.</doc>
|
|
<type name="Event" c:type="GstEvent**"/>
|
|
</parameter>
|
|
<parameter name="new_event"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="328">pointer to a #GstEvent that will
|
|
replace the event pointed to by @old_event.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="steal" c:identifier="gst_event_steal" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="347">Atomically replace the #GstEvent pointed to by @old_event with %NULL and
|
|
return the original event.</doc>
|
|
<source-position filename="gst/gstevent.h" line="357"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="355">the #GstEvent that was in @old_event</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="old_event"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="349">pointer to a
|
|
pointer to a #GstEvent to be stolen.</doc>
|
|
<type name="Event" c:type="GstEvent**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="take" c:identifier="gst_event_take" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="364">Modifies a pointer to a #GstEvent to point to a different #GstEvent. This
|
|
function is similar to gst_event_replace() except that it takes ownership of
|
|
@new_event.
|
|
|
|
Either @new_event or the #GstEvent pointed to by @old_event may be %NULL.</doc>
|
|
<source-position filename="gst/gstevent.h" line="379"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="377">%TRUE if @new_event was different from @old_event</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="old_event"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="366">pointer to a
|
|
pointer to a #GstEvent to be stolen.</doc>
|
|
<type name="Event" c:type="GstEvent**"/>
|
|
</parameter>
|
|
<parameter name="new_event"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="368">pointer to a #GstEvent that will
|
|
replace the event pointed to by @old_event.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</record>
|
|
<enumeration name="EventType"
|
|
glib:type-name="GstEventType"
|
|
glib:get-type="gst_event_type_get_type"
|
|
c:type="GstEventType">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="75">#GstEventType lists the standard event types that can be sent in a pipeline.
|
|
|
|
The custom event types can be used for private messages between elements
|
|
that can't be expressed using normal
|
|
GStreamer buffer passing semantics. Custom events carry an arbitrary
|
|
#GstStructure.
|
|
Specific custom events are distinguished by the name of the structure.</doc>
|
|
<member name="unknown"
|
|
value="0"
|
|
c:identifier="GST_EVENT_UNKNOWN"
|
|
glib:nick="unknown">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="77">unknown event.</doc>
|
|
</member>
|
|
<member name="flush_start"
|
|
value="2563"
|
|
c:identifier="GST_EVENT_FLUSH_START"
|
|
glib:nick="flush-start">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="78">Start a flush operation. This event clears all data
|
|
from the pipeline and unblock all streaming threads.</doc>
|
|
</member>
|
|
<member name="flush_stop"
|
|
value="5127"
|
|
c:identifier="GST_EVENT_FLUSH_STOP"
|
|
glib:nick="flush-stop">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="80">Stop a flush operation. This event resets the
|
|
running-time of the pipeline.</doc>
|
|
</member>
|
|
<member name="stream_start"
|
|
value="10254"
|
|
c:identifier="GST_EVENT_STREAM_START"
|
|
glib:nick="stream-start">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="83">Event to mark the start of a new stream. Sent before any
|
|
other serialized event and only sent at the start of a new stream,
|
|
not after flushing seeks.</doc>
|
|
</member>
|
|
<member name="caps"
|
|
value="12814"
|
|
c:identifier="GST_EVENT_CAPS"
|
|
glib:nick="caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="86">#GstCaps event. Notify the pad of a new media type.</doc>
|
|
</member>
|
|
<member name="segment"
|
|
value="17934"
|
|
c:identifier="GST_EVENT_SEGMENT"
|
|
glib:nick="segment">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="87">A new media segment follows in the dataflow. The
|
|
segment events contains information for clipping buffers and
|
|
converting buffer timestamps to running-time and
|
|
stream-time.</doc>
|
|
</member>
|
|
<member name="stream_collection"
|
|
value="19230"
|
|
c:identifier="GST_EVENT_STREAM_COLLECTION"
|
|
glib:nick="stream-collection">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="91">A new #GstStreamCollection is available (Since: 1.10)</doc>
|
|
</member>
|
|
<member name="tag"
|
|
value="20510"
|
|
c:identifier="GST_EVENT_TAG"
|
|
glib:nick="tag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="92">A new set of metadata tags has been found in the stream.</doc>
|
|
</member>
|
|
<member name="buffersize"
|
|
value="23054"
|
|
c:identifier="GST_EVENT_BUFFERSIZE"
|
|
glib:nick="buffersize">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="93">Notification of buffering requirements. Currently not
|
|
used yet.</doc>
|
|
</member>
|
|
<member name="sink_message"
|
|
value="25630"
|
|
c:identifier="GST_EVENT_SINK_MESSAGE"
|
|
glib:nick="sink-message">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="95">An event that sinks turn into a message. Used to
|
|
send messages that should be emitted in sync with
|
|
rendering.</doc>
|
|
</member>
|
|
<member name="stream_group_done"
|
|
value="26894"
|
|
c:identifier="GST_EVENT_STREAM_GROUP_DONE"
|
|
glib:nick="stream-group-done">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="98">Indicates that there is no more data for
|
|
the stream group ID in the message. Sent before EOS
|
|
in some instances and should be handled mostly the same. (Since: 1.10)</doc>
|
|
</member>
|
|
<member name="eos"
|
|
value="28174"
|
|
c:identifier="GST_EVENT_EOS"
|
|
glib:nick="eos">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="101">End-Of-Stream. No more data is to be expected to follow
|
|
without either a STREAM_START event, or a FLUSH_STOP and a SEGMENT
|
|
event.</doc>
|
|
</member>
|
|
<member name="toc"
|
|
value="30750"
|
|
c:identifier="GST_EVENT_TOC"
|
|
glib:nick="toc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="106">An event which indicates that a new table of contents (TOC)
|
|
was found or updated.</doc>
|
|
</member>
|
|
<member name="protection"
|
|
value="33310"
|
|
c:identifier="GST_EVENT_PROTECTION"
|
|
glib:nick="protection">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="108">An event which indicates that new or updated
|
|
encryption information has been found in the stream.</doc>
|
|
</member>
|
|
<member name="segment_done"
|
|
value="38406"
|
|
c:identifier="GST_EVENT_SEGMENT_DONE"
|
|
glib:nick="segment-done">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="104">Marks the end of a segment playback.</doc>
|
|
</member>
|
|
<member name="gap"
|
|
value="40966"
|
|
c:identifier="GST_EVENT_GAP"
|
|
glib:nick="gap">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="105">Marks a gap in the datastream.</doc>
|
|
</member>
|
|
<member name="instant_rate_change"
|
|
value="46090"
|
|
c:identifier="GST_EVENT_INSTANT_RATE_CHANGE"
|
|
glib:nick="instant-rate-change">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="124">Notify downstream that a playback rate override
|
|
should be applied as soon as possible. (Since: 1.18)</doc>
|
|
</member>
|
|
<member name="qos"
|
|
value="48641"
|
|
c:identifier="GST_EVENT_QOS"
|
|
glib:nick="qos">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="110">A quality message. Used to indicate to upstream elements
|
|
that the downstream elements should adjust their processing
|
|
rate.</doc>
|
|
</member>
|
|
<member name="seek"
|
|
value="51201"
|
|
c:identifier="GST_EVENT_SEEK"
|
|
glib:nick="seek">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="113">A request for a new playback position and rate.</doc>
|
|
</member>
|
|
<member name="navigation"
|
|
value="53761"
|
|
c:identifier="GST_EVENT_NAVIGATION"
|
|
glib:nick="navigation">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="114">Navigation events are usually used for communicating
|
|
user requests, such as mouse or keyboard movements,
|
|
to upstream elements.</doc>
|
|
</member>
|
|
<member name="latency"
|
|
value="56321"
|
|
c:identifier="GST_EVENT_LATENCY"
|
|
glib:nick="latency">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="117">Notification of new latency adjustment. Sinks will use
|
|
the latency information to adjust their synchronisation.</doc>
|
|
</member>
|
|
<member name="step"
|
|
value="58881"
|
|
c:identifier="GST_EVENT_STEP"
|
|
glib:nick="step">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="119">A request for stepping through the media. Sinks will usually
|
|
execute the step operation.</doc>
|
|
</member>
|
|
<member name="reconfigure"
|
|
value="61441"
|
|
c:identifier="GST_EVENT_RECONFIGURE"
|
|
glib:nick="reconfigure">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="121">A request for upstream renegotiating caps and reconfiguring.</doc>
|
|
</member>
|
|
<member name="toc_select"
|
|
value="64001"
|
|
c:identifier="GST_EVENT_TOC_SELECT"
|
|
glib:nick="toc-select">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="122">A request for a new playback position based on TOC
|
|
entry's UID.</doc>
|
|
</member>
|
|
<member name="select_streams"
|
|
value="66561"
|
|
c:identifier="GST_EVENT_SELECT_STREAMS"
|
|
glib:nick="select-streams">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="82">A request to select one or more streams (Since: 1.10)</doc>
|
|
</member>
|
|
<member name="instant_rate_sync_time"
|
|
value="66817"
|
|
c:identifier="GST_EVENT_INSTANT_RATE_SYNC_TIME"
|
|
glib:nick="instant-rate-sync-time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="126">Sent by the pipeline to notify elements that handle the
|
|
instant-rate-change event about the running-time when
|
|
the rate multiplier should be applied (or was applied). (Since: 1.18)</doc>
|
|
</member>
|
|
<member name="custom_upstream"
|
|
value="69121"
|
|
c:identifier="GST_EVENT_CUSTOM_UPSTREAM"
|
|
glib:nick="custom-upstream">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="129">Upstream custom event</doc>
|
|
</member>
|
|
<member name="custom_downstream"
|
|
value="71686"
|
|
c:identifier="GST_EVENT_CUSTOM_DOWNSTREAM"
|
|
glib:nick="custom-downstream">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="130">Downstream custom event that travels in the
|
|
data flow.</doc>
|
|
</member>
|
|
<member name="custom_downstream_oob"
|
|
value="74242"
|
|
c:identifier="GST_EVENT_CUSTOM_DOWNSTREAM_OOB"
|
|
glib:nick="custom-downstream-oob">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="132">Custom out-of-band downstream event.</doc>
|
|
</member>
|
|
<member name="custom_downstream_sticky"
|
|
value="76830"
|
|
c:identifier="GST_EVENT_CUSTOM_DOWNSTREAM_STICKY"
|
|
glib:nick="custom-downstream-sticky">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="133">Custom sticky downstream event.</doc>
|
|
</member>
|
|
<member name="custom_both"
|
|
value="79367"
|
|
c:identifier="GST_EVENT_CUSTOM_BOTH"
|
|
glib:nick="custom-both">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="134">Custom upstream or downstream event.
|
|
In-band when travelling downstream.</doc>
|
|
</member>
|
|
<member name="custom_both_oob"
|
|
value="81923"
|
|
c:identifier="GST_EVENT_CUSTOM_BOTH_OOB"
|
|
glib:nick="custom-both-oob">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="136">Custom upstream or downstream out-of-band event.</doc>
|
|
</member>
|
|
<function name="get_flags" c:identifier="gst_event_type_get_flags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="198">Gets the #GstEventTypeFlags associated with @type.</doc>
|
|
<source-position filename="gst/gstevent.h" line="448"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="204">a #GstEventTypeFlags.</doc>
|
|
<type name="EventTypeFlags" c:type="GstEventTypeFlags"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="200">a #GstEventType</doc>
|
|
<type name="EventType" c:type="GstEventType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="get_name" c:identifier="gst_event_type_get_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="158">Get a printable name for the given event type. Do not modify or free.</doc>
|
|
<source-position filename="gst/gstevent.h" line="441"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="164">a reference to the static name of the event.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="160">the event type</doc>
|
|
<type name="EventType" c:type="GstEventType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="to_quark" c:identifier="gst_event_type_to_quark">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="178">Get the unique quark for the given event type.</doc>
|
|
<source-position filename="gst/gstevent.h" line="444"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="184">the quark associated with the event type</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="180">the event type</doc>
|
|
<type name="EventType" c:type="GstEventType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</enumeration>
|
|
<bitfield name="EventTypeFlags"
|
|
glib:type-name="GstEventTypeFlags"
|
|
glib:get-type="gst_event_type_flags_get_type"
|
|
c:type="GstEventTypeFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="30">#GstEventTypeFlags indicate the aspects of the different #GstEventType
|
|
values. You can get the type flags of a #GstEventType with the
|
|
gst_event_type_get_flags() function.</doc>
|
|
<member name="upstream"
|
|
value="1"
|
|
c:identifier="GST_EVENT_TYPE_UPSTREAM"
|
|
glib:nick="upstream">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="32">Set if the event can travel upstream.</doc>
|
|
</member>
|
|
<member name="downstream"
|
|
value="2"
|
|
c:identifier="GST_EVENT_TYPE_DOWNSTREAM"
|
|
glib:nick="downstream">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="33">Set if the event can travel downstream.</doc>
|
|
</member>
|
|
<member name="serialized"
|
|
value="4"
|
|
c:identifier="GST_EVENT_TYPE_SERIALIZED"
|
|
glib:nick="serialized">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="34">Set if the event should be serialized with data
|
|
flow.</doc>
|
|
</member>
|
|
<member name="sticky"
|
|
value="8"
|
|
c:identifier="GST_EVENT_TYPE_STICKY"
|
|
glib:nick="sticky">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="36">Set if the event is sticky on the pads.</doc>
|
|
</member>
|
|
<member name="sticky_multi"
|
|
value="16"
|
|
c:identifier="GST_EVENT_TYPE_STICKY_MULTI"
|
|
glib:nick="sticky-multi">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="37">Multiple sticky events can be on a pad, each
|
|
identified by the event name.</doc>
|
|
</member>
|
|
</bitfield>
|
|
<constant name="FLAG_SET_MASK_EXACT"
|
|
value="4294967295"
|
|
c:type="GST_FLAG_SET_MASK_EXACT"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="214">A mask value with all bits set, for use as a
|
|
GstFlagSet mask where all flag bits must match
|
|
exactly</doc>
|
|
<source-position filename="gst/gstvalue.h" line="223"/>
|
|
<type name="guint" c:type="guint"/>
|
|
</constant>
|
|
<constant name="FORMAT_PERCENT_MAX"
|
|
value="1000000"
|
|
c:type="GST_FORMAT_PERCENT_MAX">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.h"
|
|
line="62">The PERCENT format is between 0 and this value</doc>
|
|
<source-position filename="gst/gstformat.h" line="67"/>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</constant>
|
|
<constant name="FORMAT_PERCENT_SCALE"
|
|
value="10000"
|
|
c:type="GST_FORMAT_PERCENT_SCALE">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.h"
|
|
line="68">The value used to scale down the reported PERCENT format value to
|
|
its real value.</doc>
|
|
<source-position filename="gst/gstformat.h" line="74"/>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</constant>
|
|
<function-macro name="FOURCC_ARGS"
|
|
c:identifier="GST_FOURCC_ARGS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="77">Can be used together with #GST_FOURCC_FORMAT to properly output a
|
|
#guint32 fourcc value in a printf\()-style text message.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="87"/>
|
|
<parameters>
|
|
<parameter name="fourcc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="79">a #guint32 fourcc value to output</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="FOURCC_FORMAT"
|
|
value="c%c%c%c"
|
|
c:type="GST_FOURCC_FORMAT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="64">Can be used together with #GST_FOURCC_ARGS to properly output a
|
|
#guint32 fourcc value in a printf\()-style text message.
|
|
|
|
|[
|
|
printf ("fourcc: %" GST_FOURCC_FORMAT "\n", GST_FOURCC_ARGS (fcc));
|
|
]|</doc>
|
|
<source-position filename="gst/gstvalue.h" line="75"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<class name="FlagSet"
|
|
c:symbol-prefix="flagset"
|
|
glib:type-name="GstFlagSet"
|
|
glib:get-type="gst_flagset_get_type"
|
|
glib:fundamental="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="376">A fundamental type that describes a 32-bit flag bitfield, with 32-bit
|
|
mask indicating which of the bits in the field are explicitly set.</doc>
|
|
<function name="register"
|
|
c:identifier="gst_flagset_register"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="8091">Create a new sub-class of #GST_TYPE_FLAG_SET
|
|
which will pretty-print the human-readable flags
|
|
when serializing, for easier debugging.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="815"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="GType" c:type="GType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="flags_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="8093">a #GType of a #G_TYPE_FLAGS type.</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</class>
|
|
<enumeration name="FlowReturn"
|
|
glib:type-name="GstFlowReturn"
|
|
glib:get-type="gst_flow_return_get_type"
|
|
c:type="GstFlowReturn">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="132">The result of passing data to a pad.
|
|
|
|
Note that the custom return values should not be exposed outside of the
|
|
element scope.</doc>
|
|
<member name="custom_success_2"
|
|
value="102"
|
|
c:identifier="GST_FLOW_CUSTOM_SUCCESS_2"
|
|
glib:nick="custom-success-2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="149">Pre-defined custom success code.</doc>
|
|
</member>
|
|
<member name="custom_success_1"
|
|
value="101"
|
|
c:identifier="GST_FLOW_CUSTOM_SUCCESS_1"
|
|
glib:nick="custom-success-1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="146">Pre-defined custom success code (define your
|
|
custom success code to this to avoid compiler
|
|
warnings).</doc>
|
|
</member>
|
|
<member name="custom_success"
|
|
value="100"
|
|
c:identifier="GST_FLOW_CUSTOM_SUCCESS"
|
|
glib:nick="custom-success">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="143">Elements can use values starting from
|
|
this (and higher) to define custom success
|
|
codes.</doc>
|
|
</member>
|
|
<member name="ok" value="0" c:identifier="GST_FLOW_OK" glib:nick="ok">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="134">Data passing was ok.</doc>
|
|
</member>
|
|
<member name="not_linked"
|
|
value="-1"
|
|
c:identifier="GST_FLOW_NOT_LINKED"
|
|
glib:nick="not-linked">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="135">Pad is not linked.</doc>
|
|
</member>
|
|
<member name="flushing"
|
|
value="-2"
|
|
c:identifier="GST_FLOW_FLUSHING"
|
|
glib:nick="flushing">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="136">Pad is flushing.</doc>
|
|
</member>
|
|
<member name="eos"
|
|
value="-3"
|
|
c:identifier="GST_FLOW_EOS"
|
|
glib:nick="eos">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="137">Pad is EOS.</doc>
|
|
</member>
|
|
<member name="not_negotiated"
|
|
value="-4"
|
|
c:identifier="GST_FLOW_NOT_NEGOTIATED"
|
|
glib:nick="not-negotiated">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="138">Pad is not negotiated.</doc>
|
|
</member>
|
|
<member name="error"
|
|
value="-5"
|
|
c:identifier="GST_FLOW_ERROR"
|
|
glib:nick="error">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="139">Some (fatal) error occurred. Element generating
|
|
this error should post an error message using
|
|
GST_ELEMENT_ERROR() with more details.</doc>
|
|
</member>
|
|
<member name="not_supported"
|
|
value="-6"
|
|
c:identifier="GST_FLOW_NOT_SUPPORTED"
|
|
glib:nick="not-supported">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="142">This operation is not supported.</doc>
|
|
</member>
|
|
<member name="custom_error"
|
|
value="-100"
|
|
c:identifier="GST_FLOW_CUSTOM_ERROR"
|
|
glib:nick="custom-error">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="150">Elements can use values starting from
|
|
this (and lower) to define custom error codes.</doc>
|
|
</member>
|
|
<member name="custom_error_1"
|
|
value="-101"
|
|
c:identifier="GST_FLOW_CUSTOM_ERROR_1"
|
|
glib:nick="custom-error-1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="152">Pre-defined custom error code (define your
|
|
custom error code to this to avoid compiler
|
|
warnings).</doc>
|
|
</member>
|
|
<member name="custom_error_2"
|
|
value="-102"
|
|
c:identifier="GST_FLOW_CUSTOM_ERROR_2"
|
|
glib:nick="custom-error-2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="155">Pre-defined custom error code.</doc>
|
|
</member>
|
|
</enumeration>
|
|
<enumeration name="Format"
|
|
glib:type-name="GstFormat"
|
|
glib:get-type="gst_format_get_type"
|
|
c:type="GstFormat">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.h"
|
|
line="34">Standard predefined formats</doc>
|
|
<member name="undefined"
|
|
value="0"
|
|
c:identifier="GST_FORMAT_UNDEFINED"
|
|
glib:nick="undefined">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.h"
|
|
line="36">undefined format</doc>
|
|
</member>
|
|
<member name="default"
|
|
value="1"
|
|
c:identifier="GST_FORMAT_DEFAULT"
|
|
glib:nick="default">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.h"
|
|
line="37">the default format of the pad/element. This can be
|
|
samples for raw audio, frames/fields for raw video (some, but not all,
|
|
elements support this; use @GST_FORMAT_TIME if you don't have a good
|
|
reason to query for samples/frames)</doc>
|
|
</member>
|
|
<member name="bytes"
|
|
value="2"
|
|
c:identifier="GST_FORMAT_BYTES"
|
|
glib:nick="bytes">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.h"
|
|
line="41">bytes</doc>
|
|
</member>
|
|
<member name="time"
|
|
value="3"
|
|
c:identifier="GST_FORMAT_TIME"
|
|
glib:nick="time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.h"
|
|
line="42">time in nanoseconds</doc>
|
|
</member>
|
|
<member name="buffers"
|
|
value="4"
|
|
c:identifier="GST_FORMAT_BUFFERS"
|
|
glib:nick="buffers">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.h"
|
|
line="43">buffers (few, if any, elements implement this as of
|
|
May 2009)</doc>
|
|
</member>
|
|
<member name="percent"
|
|
value="5"
|
|
c:identifier="GST_FORMAT_PERCENT"
|
|
glib:nick="percent">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.h"
|
|
line="45">percentage of stream (few, if any, elements implement
|
|
this as of May 2009)</doc>
|
|
</member>
|
|
<function name="get_by_nick" c:identifier="gst_format_get_by_nick">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="172">Return the format registered with the given nick.</doc>
|
|
<source-position filename="gst/gstformat.h" line="108"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="178">The format with @nick or GST_FORMAT_UNDEFINED
|
|
if the format was not registered.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="nick" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="174">The nick of the format</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="get_details" c:identifier="gst_format_get_details">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="223">Get details about the given format.</doc>
|
|
<source-position filename="gst/gstformat.h" line="119"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="229">The #GstFormatDefinition for @format or %NULL
|
|
on failure.
|
|
|
|
MT safe.</doc>
|
|
<type name="FormatDefinition" c:type="const GstFormatDefinition*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="225">The format to get details of</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="get_name" c:identifier="gst_format_get_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="83">Get a printable name for the given format. Do not modify or free.</doc>
|
|
<source-position filename="gst/gstformat.h" line="96"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="89">a reference to the static name of the format
|
|
or %NULL if the format is unknown.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="85">a #GstFormat</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="iterate_definitions"
|
|
c:identifier="gst_format_iterate_definitions">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="246">Iterate all the registered formats. The format definition is read
|
|
only.</doc>
|
|
<source-position filename="gst/gstformat.h" line="122"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="252">a GstIterator of #GstFormatDefinition.</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="register" c:identifier="gst_format_register">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="129">Create a new GstFormat based on the nick or return an
|
|
already registered format with that nick.</doc>
|
|
<source-position filename="gst/gstformat.h" line="104"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="137">A new GstFormat or an already registered format
|
|
with the same nick.
|
|
|
|
MT safe.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="nick" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="131">The nick of the new format</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="description" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="132">The description of the new format</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="to_quark" c:identifier="gst_format_to_quark">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="106">Get the unique quark for the given format.</doc>
|
|
<source-position filename="gst/gstformat.h" line="99"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="112">the quark associated with the format or 0 if the format
|
|
is unknown.</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="108">a #GstFormat</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</enumeration>
|
|
<record name="FormatDefinition" c:type="GstFormatDefinition">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.h"
|
|
line="78">A format definition</doc>
|
|
<source-position filename="gst/gstformat.h" line="93"/>
|
|
<field name="value" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.h"
|
|
line="80">The unique id of this format</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</field>
|
|
<field name="nick" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.h"
|
|
line="81">A short nick of the format</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</field>
|
|
<field name="description" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.h"
|
|
line="82">A longer description of the format</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</field>
|
|
<field name="quark" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.h"
|
|
line="83">A quark for the nick</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</field>
|
|
</record>
|
|
<class name="Fraction"
|
|
c:symbol-prefix="fraction"
|
|
glib:type-name="GstFraction"
|
|
glib:get-type="gst_fraction_get_type"
|
|
glib:fundamental="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="338">A fundamental type that describes a fraction of an integer numerator
|
|
over an integer denominator</doc>
|
|
</class>
|
|
<class name="FractionRange"
|
|
c:symbol-prefix="fraction_range"
|
|
glib:type-name="GstFractionRange"
|
|
glib:get-type="gst_fraction_range_get_type"
|
|
glib:fundamental="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="278">A fundamental type that describes a #GstFractionRange range</doc>
|
|
</class>
|
|
<function-macro name="GHOST_PAD"
|
|
c:identifier="GST_GHOST_PAD"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstghostpad.h" line="84"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="GHOST_PAD_CAST"
|
|
c:identifier="GST_GHOST_PAD_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstghostpad.h" line="86"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="GHOST_PAD_CLASS"
|
|
c:identifier="GST_GHOST_PAD_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstghostpad.h" line="85"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="GROUP_ID_INVALID"
|
|
value="0"
|
|
c:type="GST_GROUP_ID_INVALID"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="120">A value which is guaranteed to never be returned by
|
|
gst_util_group_id_next().
|
|
|
|
Can be used as a default value in variables used to store group_id.</doc>
|
|
<source-position filename="gst/gstutils.h" line="130"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<bitfield name="GapFlags"
|
|
version="1.20"
|
|
glib:type-name="GstGapFlags"
|
|
glib:get-type="gst_gap_flags_get_type"
|
|
c:type="GstGapFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="407">The different flags that can be set on #GST_EVENT_GAP events. See
|
|
gst_event_set_gap_flags() for details.</doc>
|
|
<member name="data"
|
|
value="1"
|
|
c:identifier="GST_GAP_FLAG_MISSING_DATA"
|
|
glib:nick="data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="409">The #GST_EVENT_GAP signals missing data,
|
|
for example because of packet loss.</doc>
|
|
</member>
|
|
</bitfield>
|
|
<class name="GhostPad"
|
|
c:symbol-prefix="ghost_pad"
|
|
c:type="GstGhostPad"
|
|
parent="ProxyPad"
|
|
glib:type-name="GstGhostPad"
|
|
glib:get-type="gst_ghost_pad_get_type"
|
|
glib:type-struct="GhostPadClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="25">GhostPads are useful when organizing pipelines with #GstBin like elements.
|
|
The idea here is to create hierarchical element graphs. The bin element
|
|
contains a sub-graph. Now one would like to treat the bin-element like any
|
|
other #GstElement. This is where GhostPads come into play. A GhostPad acts as
|
|
a proxy for another pad. Thus the bin can have sink and source ghost-pads
|
|
that are associated with sink and source pads of the child elements.
|
|
|
|
If the target pad is known at creation time, gst_ghost_pad_new() is the
|
|
function to use to get a ghost-pad. Otherwise one can use gst_ghost_pad_new_no_target()
|
|
to create the ghost-pad and use gst_ghost_pad_set_target() to establish the
|
|
association later on.
|
|
|
|
Note that GhostPads add overhead to the data processing of a pipeline.</doc>
|
|
<source-position filename="gst/gstghostpad.h" line="111"/>
|
|
<constructor name="new" c:identifier="gst_ghost_pad_new">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="653">Create a new ghostpad with @target as the target. The direction will be taken
|
|
from the target pad. @target must be unlinked.
|
|
|
|
Will ref the target.</doc>
|
|
<source-position filename="gst/gstghostpad.h" line="118"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="663">a new #GstPad, or %NULL in
|
|
case of an error.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="655">the name of the new pad, or %NULL to assign a default name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="target" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="656">the pad to ghost.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_from_template"
|
|
c:identifier="gst_ghost_pad_new_from_template">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="693">Create a new ghostpad with @target as the target. The direction will be taken
|
|
from the target pad. The template used on the ghostpad will be @template.
|
|
|
|
Will ref the target.</doc>
|
|
<source-position filename="gst/gstghostpad.h" line="124"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="704">a new #GstPad, or %NULL in
|
|
case of an error.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="695">the name of the new pad, or %NULL to assign a default name.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="target" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="696">the pad to ghost.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="templ" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="697">the #GstPadTemplate to use on the ghostpad.</doc>
|
|
<type name="PadTemplate" c:type="GstPadTemplate*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_no_target"
|
|
c:identifier="gst_ghost_pad_new_no_target">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="625">Create a new ghostpad without a target with the given direction.
|
|
A target can be set on the ghostpad later with the
|
|
gst_ghost_pad_set_target() function.
|
|
|
|
The created ghostpad will not have a padtemplate.</doc>
|
|
<source-position filename="gst/gstghostpad.h" line="121"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="636">a new #GstPad, or %NULL in
|
|
case of an error.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="627">the name of the new pad, or %NULL to assign a default name.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="dir" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="628">the direction of the ghostpad</doc>
|
|
<type name="PadDirection" c:type="GstPadDirection"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_no_target_from_template"
|
|
c:identifier="gst_ghost_pad_new_no_target_from_template">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="739">Create a new ghostpad based on @templ, without setting a target. The
|
|
direction will be taken from the @templ.</doc>
|
|
<source-position filename="gst/gstghostpad.h" line="127"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="747">a new #GstPad, or %NULL in
|
|
case of an error.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="741">the name of the new pad, or %NULL to assign a default name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="templ" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="742">the #GstPadTemplate to create the ghostpad from.</doc>
|
|
<type name="PadTemplate" c:type="GstPadTemplate*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<function name="activate_mode_default"
|
|
c:identifier="gst_ghost_pad_activate_mode_default">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="413">Invoke the default activate mode function of a ghost pad.</doc>
|
|
<source-position filename="gst/gstghostpad.h" line="139"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="422">%TRUE if the operation was successful.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="415">the #GstPad to activate or deactivate.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="parent"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="416">the parent of @pad or %NULL</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="417">the requested activation mode</doc>
|
|
<type name="PadMode" c:type="GstPadMode"/>
|
|
</parameter>
|
|
<parameter name="active" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="418">whether the pad should be active or not.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="internal_activate_mode_default"
|
|
c:identifier="gst_ghost_pad_internal_activate_mode_default">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="322">Invoke the default activate mode function of a proxy pad that is
|
|
owned by a ghost pad.</doc>
|
|
<source-position filename="gst/gstghostpad.h" line="142"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="332">%TRUE if the operation was successful.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="324">the #GstPad to activate or deactivate.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="parent"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="325">the parent of @pad or %NULL</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="326">the requested activation mode</doc>
|
|
<type name="PadMode" c:type="GstPadMode"/>
|
|
</parameter>
|
|
<parameter name="active" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="327">whether the pad should be active or not.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<method name="construct"
|
|
c:identifier="gst_ghost_pad_construct"
|
|
deprecated="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="577">Finish initialization of a newly allocated ghost pad.
|
|
|
|
This function is most useful in language bindings and when subclassing
|
|
#GstGhostPad; plugin and application developers normally will not call this
|
|
function. Call this function directly after a call to g_object_new
|
|
(GST_TYPE_GHOST_PAD, "direction", @dir, ..., NULL).</doc>
|
|
<doc-deprecated xml:space="preserve">This function is deprecated since 1.18 and does nothing
|
|
anymore.</doc-deprecated>
|
|
<source-position filename="gst/gstghostpad.h" line="136"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="591">%TRUE if the construction succeeds, %FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="gpad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="579">the newly allocated ghost pad</doc>
|
|
<type name="GhostPad" c:type="GstGhostPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_target" c:identifier="gst_ghost_pad_get_target">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="764">Get the target pad of @gpad. Unref target pad after usage.</doc>
|
|
<source-position filename="gst/gstghostpad.h" line="130"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="770">the target #GstPad, can be
|
|
%NULL if the ghostpad has no target set. Unref target pad after
|
|
usage.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="gpad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="766">the #GstGhostPad</doc>
|
|
<type name="GhostPad" c:type="GstGhostPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_target" c:identifier="gst_ghost_pad_set_target">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="788">Set the new target of the ghostpad @gpad. Any existing target
|
|
is unlinked and links to the new target are established. if @newtarget is
|
|
%NULL the target will be cleared.</doc>
|
|
<source-position filename="gst/gstghostpad.h" line="133"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="797">%TRUE if the new target could be set. This function
|
|
can return %FALSE when the internal pads could not be linked.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="gpad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="790">the #GstGhostPad</doc>
|
|
<type name="GhostPad" c:type="GstGhostPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="newtarget"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="791">the new pad target</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<field name="pad">
|
|
<type name="ProxyPad" c:type="GstProxyPad"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="GhostPadPrivate" c:type="GstGhostPadPrivate*"/>
|
|
</field>
|
|
</class>
|
|
<record name="GhostPadClass"
|
|
c:type="GstGhostPadClass"
|
|
glib:is-gtype-struct-for="GhostPad">
|
|
<source-position filename="gst/gstghostpad.h" line="111"/>
|
|
<field name="parent_class">
|
|
<type name="ProxyPadClass" c:type="GstProxyPadClass"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="GhostPadPrivate" c:type="GstGhostPadPrivate" disguised="1">
|
|
<source-position filename="gst/gstghostpad.h" line="94"/>
|
|
</record>
|
|
<function-macro name="IS_ALLOCATOR"
|
|
c:identifier="GST_IS_ALLOCATOR"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstallocator.h" line="35"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_ALLOCATOR_CLASS"
|
|
c:identifier="GST_IS_ALLOCATOR_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstallocator.h" line="36"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_BIN" c:identifier="GST_IS_BIN" introspectable="0">
|
|
<source-position filename="gst/gstbin.h" line="34"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_BIN_CLASS"
|
|
c:identifier="GST_IS_BIN_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstbin.h" line="35"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_BUFFER"
|
|
c:identifier="GST_IS_BUFFER"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstbuffer.h" line="42"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_BUFFER_LIST"
|
|
c:identifier="GST_IS_BUFFER_LIST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstbufferlist.h" line="33"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_BUFFER_POOL"
|
|
c:identifier="GST_IS_BUFFER_POOL"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstbufferpool.h" line="36"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_BUFFER_POOL_CLASS"
|
|
c:identifier="GST_IS_BUFFER_POOL_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstbufferpool.h" line="37"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_BUS" c:identifier="GST_IS_BUS" introspectable="0">
|
|
<source-position filename="gst/gstbus.h" line="37"/>
|
|
<parameters>
|
|
<parameter name="bus">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_BUS_CLASS"
|
|
c:identifier="GST_IS_BUS_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstbus.h" line="39"/>
|
|
<parameters>
|
|
<parameter name="bclass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_CAPS"
|
|
c:identifier="GST_IS_CAPS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcaps.h" line="34"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_CAPS_FEATURES"
|
|
c:identifier="GST_IS_CAPS_FEATURES"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcapsfeatures.h" line="36"/>
|
|
<parameters>
|
|
<parameter name="object">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_CHILD_PROXY"
|
|
c:identifier="GST_IS_CHILD_PROXY"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstchildproxy.h" line="33"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_CLOCK"
|
|
c:identifier="GST_IS_CLOCK"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstclock.h" line="35"/>
|
|
<parameters>
|
|
<parameter name="clock">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_CLOCK_CLASS"
|
|
c:identifier="GST_IS_CLOCK_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstclock.h" line="37"/>
|
|
<parameters>
|
|
<parameter name="cclass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_CONTEXT"
|
|
c:identifier="GST_IS_CONTEXT"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcontext.h" line="39"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_CONTROL_BINDING"
|
|
c:identifier="GST_IS_CONTROL_BINDING"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcontrolbinding.h" line="37"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_CONTROL_BINDING_CLASS"
|
|
c:identifier="GST_IS_CONTROL_BINDING_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcontrolbinding.h" line="39"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_CONTROL_SOURCE"
|
|
c:identifier="GST_IS_CONTROL_SOURCE"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcontrolsource.h" line="39"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_CONTROL_SOURCE_CLASS"
|
|
c:identifier="GST_IS_CONTROL_SOURCE_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcontrolsource.h" line="41"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_DEVICE"
|
|
c:identifier="GST_IS_DEVICE"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdevice.h" line="38"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_DEVICE_CLASS"
|
|
c:identifier="GST_IS_DEVICE_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdevice.h" line="39"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_DEVICE_MONITOR"
|
|
c:identifier="GST_IS_DEVICE_MONITOR"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdevicemonitor.h" line="38"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_DEVICE_MONITOR_CLASS"
|
|
c:identifier="GST_IS_DEVICE_MONITOR_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdevicemonitor.h" line="39"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_DEVICE_PROVIDER"
|
|
c:identifier="GST_IS_DEVICE_PROVIDER"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdeviceprovider.h" line="38"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_DEVICE_PROVIDER_CLASS"
|
|
c:identifier="GST_IS_DEVICE_PROVIDER_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdeviceprovider.h" line="39"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_DEVICE_PROVIDER_FACTORY"
|
|
c:identifier="GST_IS_DEVICE_PROVIDER_FACTORY"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdeviceproviderfactory.h" line="59"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_DEVICE_PROVIDER_FACTORY_CLASS"
|
|
c:identifier="GST_IS_DEVICE_PROVIDER_FACTORY_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdeviceproviderfactory.h" line="60"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_DYNAMIC_TYPE_FACTORY"
|
|
c:identifier="GST_IS_DYNAMIC_TYPE_FACTORY"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdynamictypefactory.h" line="46"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_DYNAMIC_TYPE_FACTORY_CLASS"
|
|
c:identifier="GST_IS_DYNAMIC_TYPE_FACTORY_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstdynamictypefactory.h" line="47"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_ELEMENT"
|
|
c:identifier="GST_IS_ELEMENT"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstelement.h" line="59"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_ELEMENT_CLASS"
|
|
c:identifier="GST_IS_ELEMENT_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstelement.h" line="60"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_ELEMENT_FACTORY"
|
|
c:identifier="GST_IS_ELEMENT_FACTORY"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstelementfactory.h" line="49"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_ELEMENT_FACTORY_CLASS"
|
|
c:identifier="GST_IS_ELEMENT_FACTORY_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstelementfactory.h" line="50"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_EVENT"
|
|
c:identifier="GST_IS_EVENT"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstevent.h" line="236"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_GHOST_PAD"
|
|
c:identifier="GST_IS_GHOST_PAD"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstghostpad.h" line="82"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_GHOST_PAD_CLASS"
|
|
c:identifier="GST_IS_GHOST_PAD_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstghostpad.h" line="83"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_MESSAGE"
|
|
c:identifier="GST_IS_MESSAGE"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstmessage.h" line="200"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_MINI_OBJECT_TYPE"
|
|
c:identifier="GST_IS_MINI_OBJECT_TYPE"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstminiobject.h" line="32"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
<parameter name="type">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_OBJECT"
|
|
c:identifier="GST_IS_OBJECT"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstobject.h" line="34"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_OBJECT_CLASS"
|
|
c:identifier="GST_IS_OBJECT_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstobject.h" line="35"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_PAD" c:identifier="GST_IS_PAD" introspectable="0">
|
|
<source-position filename="gst/gstpad.h" line="84"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_PAD_CLASS"
|
|
c:identifier="GST_IS_PAD_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpad.h" line="85"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_PAD_TEMPLATE"
|
|
c:identifier="GST_IS_PAD_TEMPLATE"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpadtemplate.h" line="47"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_PAD_TEMPLATE_CLASS"
|
|
c:identifier="GST_IS_PAD_TEMPLATE_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpadtemplate.h" line="48"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_PARAM_SPEC_ARRAY_LIST"
|
|
c:identifier="GST_IS_PARAM_SPEC_ARRAY_LIST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstparamspecs.h" line="117"/>
|
|
<parameters>
|
|
<parameter name="pspec">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_PARAM_SPEC_FRACTION"
|
|
c:identifier="GST_IS_PARAM_SPEC_FRACTION"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstparamspecs.h" line="104"/>
|
|
<parameters>
|
|
<parameter name="pspec">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_PIPELINE"
|
|
c:identifier="GST_IS_PIPELINE"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpipeline.h" line="33"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_PIPELINE_CLASS"
|
|
c:identifier="GST_IS_PIPELINE_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpipeline.h" line="35"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_PLUGIN"
|
|
c:identifier="GST_IS_PLUGIN"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstplugin.h" line="189"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_PLUGIN_CLASS"
|
|
c:identifier="GST_IS_PLUGIN_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstplugin.h" line="190"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_PLUGIN_FEATURE"
|
|
c:identifier="GST_IS_PLUGIN_FEATURE"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpluginfeature.h" line="35"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_PLUGIN_FEATURE_CLASS"
|
|
c:identifier="GST_IS_PLUGIN_FEATURE_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpluginfeature.h" line="37"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_PRESET"
|
|
c:identifier="GST_IS_PRESET"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpreset.h" line="32"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_PROXY_PAD"
|
|
c:identifier="GST_IS_PROXY_PAD"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstghostpad.h" line="35"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_PROXY_PAD_CLASS"
|
|
c:identifier="GST_IS_PROXY_PAD_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstghostpad.h" line="36"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_QUERY"
|
|
c:identifier="GST_IS_QUERY"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstquery.h" line="134"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_REGISTRY"
|
|
c:identifier="GST_IS_REGISTRY"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstregistry.h" line="35"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_REGISTRY_CLASS"
|
|
c:identifier="GST_IS_REGISTRY_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstregistry.h" line="37"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_SAMPLE"
|
|
c:identifier="GST_IS_SAMPLE"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstsample.h" line="37"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_SHARED_TASK_POOL"
|
|
c:identifier="GST_IS_SHARED_TASK_POOL"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttaskpool.h" line="128"/>
|
|
<parameters>
|
|
<parameter name="pool">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_SHARED_TASK_POOL_CLASS"
|
|
c:identifier="GST_IS_SHARED_TASK_POOL_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttaskpool.h" line="130"/>
|
|
<parameters>
|
|
<parameter name="pclass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_STREAM"
|
|
c:identifier="GST_IS_STREAM"
|
|
introspectable="0">
|
|
<source-position filename="gst/gststreams.h" line="33"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_STREAM_CLASS"
|
|
c:identifier="GST_IS_STREAM_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gststreams.h" line="34"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_STREAM_COLLECTION"
|
|
c:identifier="GST_IS_STREAM_COLLECTION"
|
|
introspectable="0">
|
|
<source-position filename="gst/gststreamcollection.h" line="33"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_STREAM_COLLECTION_CLASS"
|
|
c:identifier="GST_IS_STREAM_COLLECTION_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gststreamcollection.h" line="34"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_STRUCTURE"
|
|
c:identifier="GST_IS_STRUCTURE"
|
|
introspectable="0">
|
|
<source-position filename="gst/gststructure.h" line="36"/>
|
|
<parameters>
|
|
<parameter name="object">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_SYSTEM_CLOCK"
|
|
c:identifier="GST_IS_SYSTEM_CLOCK"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstsystemclock.h" line="35"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_SYSTEM_CLOCK_CLASS"
|
|
c:identifier="GST_IS_SYSTEM_CLOCK_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstsystemclock.h" line="37"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_TAG_LIST"
|
|
c:identifier="GST_IS_TAG_LIST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttaglist.h" line="112"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_TAG_SETTER"
|
|
c:identifier="GST_IS_TAG_SETTER"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttagsetter.h" line="31"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_TASK"
|
|
c:identifier="GST_IS_TASK"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttask.h" line="43"/>
|
|
<parameters>
|
|
<parameter name="task">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_TASK_CLASS"
|
|
c:identifier="GST_IS_TASK_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttask.h" line="45"/>
|
|
<parameters>
|
|
<parameter name="tclass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_TASK_POOL"
|
|
c:identifier="GST_IS_TASK_POOL"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttaskpool.h" line="32"/>
|
|
<parameters>
|
|
<parameter name="pool">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_TASK_POOL_CLASS"
|
|
c:identifier="GST_IS_TASK_POOL_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttaskpool.h" line="34"/>
|
|
<parameters>
|
|
<parameter name="pclass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_TOC_SETTER"
|
|
c:identifier="GST_IS_TOC_SETTER"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttocsetter.h" line="31"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_TRACER"
|
|
c:identifier="GST_IS_TRACER"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttracer.h" line="39"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_TRACER_CLASS"
|
|
c:identifier="GST_IS_TRACER_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttracer.h" line="40"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_TRACER_FACTORY"
|
|
c:identifier="GST_IS_TRACER_FACTORY"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttracerfactory.h" line="33"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_TRACER_FACTORY_CLASS"
|
|
c:identifier="GST_IS_TRACER_FACTORY_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttracerfactory.h" line="35"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_TRACER_RECORD"
|
|
c:identifier="GST_IS_TRACER_RECORD"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttracerrecord.h" line="42"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_TRACER_RECORD_CLASS"
|
|
c:identifier="GST_IS_TRACER_RECORD_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttracerrecord.h" line="43"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_TYPE_FIND_FACTORY"
|
|
c:identifier="GST_IS_TYPE_FIND_FACTORY"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttypefindfactory.h" line="34"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_TYPE_FIND_FACTORY_CLASS"
|
|
c:identifier="GST_IS_TYPE_FIND_FACTORY_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttypefindfactory.h" line="36"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_URI" c:identifier="GST_IS_URI" introspectable="0">
|
|
<source-position filename="gst/gsturi.h" line="189"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_URI_HANDLER"
|
|
c:identifier="GST_IS_URI_HANDLER"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsturi.h" line="94"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ITERATOR"
|
|
c:identifier="GST_ITERATOR"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="153">Macro to cast to a #GstIterator</doc>
|
|
<source-position filename="gst/gstiterator.h" line="159"/>
|
|
<parameters>
|
|
<parameter name="it">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="155">the #GstIterator value</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ITERATOR_COOKIE"
|
|
c:identifier="GST_ITERATOR_COOKIE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="167">Macro to get the cookie of a #GstIterator. The cookie of the
|
|
iterator is the value of the master cookie when the iterator
|
|
was created.
|
|
Whenever the iterator is iterated, the value is compared to the
|
|
value of the master cookie. If they are different, a concurrent
|
|
modification happened to the iterator and a resync is needed.</doc>
|
|
<source-position filename="gst/gstiterator.h" line="178"/>
|
|
<parameters>
|
|
<parameter name="it">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="169">the #GstIterator to get the cookie of</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ITERATOR_LOCK"
|
|
c:identifier="GST_ITERATOR_LOCK"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="160">Macro to get the lock protecting the datastructure being iterated.</doc>
|
|
<source-position filename="gst/gstiterator.h" line="166"/>
|
|
<parameters>
|
|
<parameter name="it">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="162">the #GstIterator to get the lock of</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ITERATOR_ORIG_COOKIE"
|
|
c:identifier="GST_ITERATOR_ORIG_COOKIE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="179">Macro to get a pointer to where the master cookie is stored. The
|
|
master cookie protects the structure being iterated and gets updated
|
|
whenever the datastructure changes.</doc>
|
|
<source-position filename="gst/gstiterator.h" line="187"/>
|
|
<parameters>
|
|
<parameter name="it">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="181">the #GstIterator to get the master cookie of</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<class name="Int64Range"
|
|
c:symbol-prefix="int64_range"
|
|
glib:type-name="GstInt64Range"
|
|
glib:get-type="gst_int64_range_get_type"
|
|
glib:fundamental="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="244">A fundamental type that describes a #gint64 range</doc>
|
|
</class>
|
|
<class name="IntRange"
|
|
c:symbol-prefix="int_range"
|
|
glib:type-name="GstIntRange"
|
|
glib:get-type="gst_int_range_get_type"
|
|
glib:fundamental="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="227">A fundamental type that describes a #gint range</doc>
|
|
</class>
|
|
<record name="Iterator"
|
|
c:type="GstIterator"
|
|
glib:type-name="GstIterator"
|
|
glib:get-type="gst_iterator_get_type"
|
|
c:symbol-prefix="iterator">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="23">A GstIterator is used to retrieve multiple objects from another object in
|
|
a threadsafe way.
|
|
|
|
Various GStreamer objects provide access to their internal structures using
|
|
an iterator.
|
|
|
|
Note that if calling a GstIterator function results in your code receiving
|
|
a refcounted object (with, say, g_value_get_object()), the refcount for that
|
|
object will not be increased. Your code is responsible for taking a reference
|
|
if it wants to continue using it later.
|
|
|
|
The basic use pattern of an iterator is as follows:
|
|
|[<!-- language="C" -->
|
|
GstIterator *it = _get_iterator(object);
|
|
GValue item = G_VALUE_INIT;
|
|
done = FALSE;
|
|
while (!done) {
|
|
switch (gst_iterator_next (it, &amp;item)) {
|
|
case GST_ITERATOR_OK:
|
|
...get/use/change item here...
|
|
g_value_reset (&amp;item);
|
|
break;
|
|
case GST_ITERATOR_RESYNC:
|
|
...rollback changes to items...
|
|
gst_iterator_resync (it);
|
|
break;
|
|
case GST_ITERATOR_ERROR:
|
|
...wrong parameters were given...
|
|
done = TRUE;
|
|
break;
|
|
case GST_ITERATOR_DONE:
|
|
done = TRUE;
|
|
break;
|
|
}
|
|
}
|
|
g_value_unset (&amp;item);
|
|
gst_iterator_free (it);
|
|
]|</doc>
|
|
<source-position filename="gst/gstiterator.h" line="226"/>
|
|
<field name="copy" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="191">The function to copy the iterator</doc>
|
|
<type name="IteratorCopyFunction" c:type="GstIteratorCopyFunction"/>
|
|
</field>
|
|
<field name="next" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="192">The function to get the next item in the iterator</doc>
|
|
<type name="IteratorNextFunction" c:type="GstIteratorNextFunction"/>
|
|
</field>
|
|
<field name="item" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="193">The function to be called for each item retrieved</doc>
|
|
<type name="IteratorItemFunction" c:type="GstIteratorItemFunction"/>
|
|
</field>
|
|
<field name="resync" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="194">The function to call when a resync is needed.</doc>
|
|
<type name="IteratorResyncFunction"
|
|
c:type="GstIteratorResyncFunction"/>
|
|
</field>
|
|
<field name="free" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="195">The function to call when the iterator is freed</doc>
|
|
<type name="IteratorFreeFunction" c:type="GstIteratorFreeFunction"/>
|
|
</field>
|
|
<field name="pushed" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="196">The iterator that is currently pushed with gst_iterator_push()</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</field>
|
|
<field name="type" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="197">The type of the object that this iterator will return</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</field>
|
|
<field name="lock" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="198">The lock protecting the data structure and the cookie.</doc>
|
|
<type name="GLib.Mutex" c:type="GMutex*"/>
|
|
</field>
|
|
<field name="cookie" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="199">The cookie; the value of the master_cookie when this iterator was
|
|
created.</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</field>
|
|
<field name="master_cookie" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="201">A pointer to the master cookie.</doc>
|
|
<type name="guint32" c:type="guint32*"/>
|
|
</field>
|
|
<field name="size" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="202">the size of the iterator</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<constructor name="new"
|
|
c:identifier="gst_iterator_new"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="120">Create a new iterator. This function is mainly used for objects
|
|
implementing the next/resync/free function to iterate a data structure.
|
|
|
|
For each item retrieved, the @item function is called with the lock
|
|
held. The @free function is called when the iterator is freed.</doc>
|
|
<source-position filename="gst/gstiterator.h" line="234"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="139">the new #GstIterator.
|
|
|
|
MT safe.</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="122">the size of the iterator structure</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="123">#GType of children</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
<parameter name="lock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="124">pointer to a #GMutex.</doc>
|
|
<type name="GLib.Mutex" c:type="GMutex*"/>
|
|
</parameter>
|
|
<parameter name="master_cookie" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="125">pointer to a guint32 that is changed when the items in the
|
|
iterator changed.</doc>
|
|
<type name="guint32" c:type="guint32*"/>
|
|
</parameter>
|
|
<parameter name="copy" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="127">copy function</doc>
|
|
<type name="IteratorCopyFunction"
|
|
c:type="GstIteratorCopyFunction"/>
|
|
</parameter>
|
|
<parameter name="next" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="128">function to get next item</doc>
|
|
<type name="IteratorNextFunction"
|
|
c:type="GstIteratorNextFunction"/>
|
|
</parameter>
|
|
<parameter name="item" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="129">function to call on each item retrieved</doc>
|
|
<type name="IteratorItemFunction"
|
|
c:type="GstIteratorItemFunction"/>
|
|
</parameter>
|
|
<parameter name="resync" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="130">function to resync the iterator</doc>
|
|
<type name="IteratorResyncFunction"
|
|
c:type="GstIteratorResyncFunction"/>
|
|
</parameter>
|
|
<parameter name="free" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="131">function to free the iterator</doc>
|
|
<type name="IteratorFreeFunction"
|
|
c:type="GstIteratorFreeFunction"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_list"
|
|
c:identifier="gst_iterator_new_list"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="218">Create a new iterator designed for iterating @list.
|
|
|
|
The list you iterate is usually part of a data structure @owner and is
|
|
protected with @lock.
|
|
|
|
The iterator will use @lock to retrieve the next item of the list and it
|
|
will then call the @item function before releasing @lock again.
|
|
|
|
When a concurrent update to the list is performed, usually by @owner while
|
|
holding @lock, @master_cookie will be updated. The iterator implementation
|
|
will notice the update of the cookie and will return %GST_ITERATOR_RESYNC to
|
|
the user of the iterator in the next call to gst_iterator_next().</doc>
|
|
<source-position filename="gst/gstiterator.h" line="244"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="241">the new #GstIterator for @list.
|
|
|
|
MT safe.</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="220">#GType of elements</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
<parameter name="lock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="221">pointer to a #GMutex protecting the list.</doc>
|
|
<type name="GLib.Mutex" c:type="GMutex*"/>
|
|
</parameter>
|
|
<parameter name="master_cookie" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="222">pointer to a guint32 that is incremented when the list
|
|
is changed.</doc>
|
|
<type name="guint32" c:type="guint32*"/>
|
|
</parameter>
|
|
<parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="224">pointer to the list</doc>
|
|
<type name="GLib.List" c:type="GList**">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</type>
|
|
</parameter>
|
|
<parameter name="owner" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="225">object owning the list</doc>
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</parameter>
|
|
<parameter name="item" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="226">function to call on each item retrieved</doc>
|
|
<type name="IteratorItemFunction"
|
|
c:type="GstIteratorItemFunction"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_single" c:identifier="gst_iterator_new_single">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="796">This #GstIterator is a convenient iterator for the common
|
|
case where a #GstIterator needs to be returned but only
|
|
a single object has to be considered. This happens often
|
|
for the #GstPadIterIntLinkFunction.</doc>
|
|
<source-position filename="gst/gstiterator.h" line="251"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="806">the new #GstIterator for @object.</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="798">#GType of the passed object</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="799">object that this iterator should return</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<method name="copy" c:identifier="gst_iterator_copy">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="73">Copy the iterator and its state.</doc>
|
|
<source-position filename="gst/gstiterator.h" line="254"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="79">a new copy of @it.</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="it" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="75">a #GstIterator</doc>
|
|
<type name="Iterator" c:type="const GstIterator*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="filter" c:identifier="gst_iterator_filter">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="527">Create a new iterator from an existing iterator. The new iterator
|
|
will only return those elements that match the given compare function @func.
|
|
The first parameter that is passed to @func is the #GValue of the current
|
|
iterator element and the second parameter is @user_data. @func should
|
|
return 0 for elements that should be included in the filtered iterator.
|
|
|
|
When this iterator is freed, @it will also be freed.</doc>
|
|
<source-position filename="gst/gstiterator.h" line="273"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="541">a new #GstIterator.
|
|
|
|
MT safe.</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="it" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="529">The #GstIterator to filter</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</instance-parameter>
|
|
<parameter name="func" transfer-ownership="none" scope="call">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="530">the compare function to select elements</doc>
|
|
<type name="GLib.CompareFunc" c:type="GCompareFunc"/>
|
|
</parameter>
|
|
<parameter name="user_data" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="531">user data passed to the compare function</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="find_custom" c:identifier="gst_iterator_find_custom">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="697">Find the first element in @it that matches the compare function @func.
|
|
@func should return 0 when the element is found. The first parameter
|
|
to @func will be the current element of the iterator and the
|
|
second parameter will be @user_data.
|
|
The result will be stored in @elem if a result is found.
|
|
|
|
The iterator will not be freed.
|
|
|
|
This function will return %FALSE if an error happened to the iterator
|
|
or if the element wasn't found.</doc>
|
|
<source-position filename="gst/gstiterator.h" line="283"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="715">Returns %TRUE if the element was found, else %FALSE.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="it" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="699">The #GstIterator to iterate</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</instance-parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="call"
|
|
closure="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="700">the compare function to use</doc>
|
|
<type name="GLib.CompareFunc" c:type="GCompareFunc"/>
|
|
</parameter>
|
|
<parameter name="elem"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="701">pointer to a #GValue where to store the result</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="702">user data passed to the compare function</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="fold" c:identifier="gst_iterator_fold">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="577">Folds @func over the elements of @iter. That is to say, @func will be called
|
|
as @func (object, @ret, @user_data) for each object in @it. The normal use
|
|
of this procedure is to accumulate the results of operating on the objects in
|
|
@ret.
|
|
|
|
This procedure can be used (and is used internally) to implement the
|
|
gst_iterator_foreach() and gst_iterator_find_custom() operations.
|
|
|
|
The fold will proceed as long as @func returns %TRUE. When the iterator has no
|
|
more arguments, %GST_ITERATOR_DONE will be returned. If @func returns %FALSE,
|
|
the fold will stop, and %GST_ITERATOR_OK will be returned. Errors or resyncs
|
|
will cause fold to return %GST_ITERATOR_ERROR or %GST_ITERATOR_RESYNC as
|
|
appropriate.
|
|
|
|
The iterator will not be freed.</doc>
|
|
<source-position filename="gst/gstiterator.h" line="276"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="600">A #GstIteratorResult, as described above.
|
|
|
|
MT safe.</doc>
|
|
<type name="IteratorResult" c:type="GstIteratorResult"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="it" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="579">The #GstIterator to fold over</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</instance-parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="call"
|
|
closure="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="580">the fold function</doc>
|
|
<type name="IteratorFoldFunction"
|
|
c:type="GstIteratorFoldFunction"/>
|
|
</parameter>
|
|
<parameter name="ret" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="581">the seed value passed to the fold function</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="582">user data passed to the fold function</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="foreach" c:identifier="gst_iterator_foreach">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="650">Iterate over all element of @it and call the given function @func for
|
|
each element.</doc>
|
|
<source-position filename="gst/gstiterator.h" line="280"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="659">the result call to gst_iterator_fold(). The iterator will not be
|
|
freed.
|
|
|
|
MT safe.</doc>
|
|
<type name="IteratorResult" c:type="GstIteratorResult"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="it" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="652">The #GstIterator to iterate</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</instance-parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="call"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="653">the function to call for each element.</doc>
|
|
<type name="IteratorForeachFunction"
|
|
c:type="GstIteratorForeachFunction"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="654">user data passed to the function</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="free" c:identifier="gst_iterator_free">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="408">Free the iterator.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstiterator.h" line="265"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="it" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="410">The #GstIterator to free</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="next" c:identifier="gst_iterator_next">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="295">Get the next item from the iterator in @elem.
|
|
|
|
Only when this function returns %GST_ITERATOR_OK, @elem will contain a valid
|
|
value. @elem must have been initialized to the type of the iterator or
|
|
initialized to zeroes with g_value_unset(). The caller is responsible for
|
|
unsetting or resetting @elem with g_value_unset() or g_value_reset()
|
|
after usage.
|
|
|
|
When this function returns %GST_ITERATOR_DONE, no more elements can be
|
|
retrieved from @it.
|
|
|
|
A return value of %GST_ITERATOR_RESYNC indicates that the element list was
|
|
concurrently updated. The user of @it should call gst_iterator_resync() to
|
|
get the newly updated list.
|
|
|
|
A return value of %GST_ITERATOR_ERROR indicates an unrecoverable fatal error.</doc>
|
|
<source-position filename="gst/gstiterator.h" line="259"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="317">The result of the iteration. Unset @elem after usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="IteratorResult" c:type="GstIteratorResult"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="it" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="297">The #GstIterator to iterate</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</instance-parameter>
|
|
<parameter name="elem"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="298">pointer to hold next element</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="push" c:identifier="gst_iterator_push">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="428">Pushes @other iterator onto @it. All calls performed on @it are
|
|
forwarded to @other. If @other returns %GST_ITERATOR_DONE, it is
|
|
popped again and calls are handled by @it again.
|
|
|
|
This function is mainly used by objects implementing the iterator
|
|
next function to recurse into substructures.
|
|
|
|
When gst_iterator_resync() is called on @it, @other will automatically be
|
|
popped.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstiterator.h" line="268"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="it" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="430">The #GstIterator to use</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</instance-parameter>
|
|
<parameter name="other" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="431">The #GstIterator to push</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="resync" c:identifier="gst_iterator_resync">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="381">Resync the iterator. this function is mostly called
|
|
after gst_iterator_next() returned %GST_ITERATOR_RESYNC.
|
|
|
|
When an iterator was pushed on @it, it will automatically be popped again
|
|
with this function.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstiterator.h" line="262"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="it" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.c"
|
|
line="383">The #GstIterator to resync</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<callback name="IteratorCopyFunction" c:type="GstIteratorCopyFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="65">This function will be called when creating a copy of @it and should
|
|
create a copy of all custom iterator fields or increase their
|
|
reference counts.</doc>
|
|
<source-position filename="gst/gstiterator.h" line="74"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="it" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="67">The original iterator</doc>
|
|
<type name="Iterator" c:type="const GstIterator*"/>
|
|
</parameter>
|
|
<parameter name="copy" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="68">The copied iterator</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="IteratorFoldFunction" c:type="GstIteratorFoldFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="141">A function to be passed to gst_iterator_fold().</doc>
|
|
<source-position filename="gst/gstiterator.h" line="151"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="149">%TRUE if the fold should continue, %FALSE if it should stop.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="item" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="143">the item to fold</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
<parameter name="ret" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="144">a #GValue collecting the result</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="145">data passed to gst_iterator_fold()</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="IteratorForeachFunction"
|
|
c:type="GstIteratorForeachFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="132">A function that is called by gst_iterator_foreach() for every element.</doc>
|
|
<source-position filename="gst/gstiterator.h" line="139"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="item" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="134">The item</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="135">User data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="IteratorFreeFunction" c:type="GstIteratorFreeFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="120">This function will be called when the iterator is freed.
|
|
|
|
Implementors of a #GstIterator should implement this
|
|
function and pass it to the constructor of the custom iterator.
|
|
The function will be called with the iterator lock held.</doc>
|
|
<source-position filename="gst/gstiterator.h" line="130"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="it" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="122">the iterator</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<enumeration name="IteratorItem"
|
|
glib:type-name="GstIteratorItem"
|
|
glib:get-type="gst_iterator_item_get_type"
|
|
c:type="GstIteratorItem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="51">The result of a #GstIteratorItemFunction.</doc>
|
|
<member name="skip"
|
|
value="0"
|
|
c:identifier="GST_ITERATOR_ITEM_SKIP"
|
|
glib:nick="skip">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="53">Skip this item</doc>
|
|
</member>
|
|
<member name="pass"
|
|
value="1"
|
|
c:identifier="GST_ITERATOR_ITEM_PASS"
|
|
glib:nick="pass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="54">Return item</doc>
|
|
</member>
|
|
<member name="end"
|
|
value="2"
|
|
c:identifier="GST_ITERATOR_ITEM_END"
|
|
glib:nick="end">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="55">Stop after this item.</doc>
|
|
</member>
|
|
</enumeration>
|
|
<callback name="IteratorItemFunction" c:type="GstIteratorItemFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="76">The function that will be called after the next item of the iterator
|
|
has been retrieved. This function can be used to skip items or stop
|
|
the iterator.
|
|
|
|
The function will be called with the iterator lock held.</doc>
|
|
<source-position filename="gst/gstiterator.h" line="89"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="87">the result of the operation.</doc>
|
|
<type name="IteratorItem" c:type="GstIteratorItem"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="it" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="78">the iterator</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</parameter>
|
|
<parameter name="item" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="79">the item being retrieved.</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="IteratorNextFunction" c:type="GstIteratorNextFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="91">The function that will be called when the next element of the iterator
|
|
should be retrieved.
|
|
|
|
Implementors of a #GstIterator should implement this
|
|
function and pass it to the constructor of the custom iterator.
|
|
The function will be called with the iterator lock held.</doc>
|
|
<source-position filename="gst/gstiterator.h" line="105"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="103">the result of the operation.</doc>
|
|
<type name="IteratorResult" c:type="GstIteratorResult"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="it" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="93">the iterator</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</parameter>
|
|
<parameter name="result" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="94">a pointer to hold the next item</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<enumeration name="IteratorResult"
|
|
glib:type-name="GstIteratorResult"
|
|
glib:get-type="gst_iterator_result_get_type"
|
|
c:type="GstIteratorResult">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="33">The result of gst_iterator_next().</doc>
|
|
<member name="done"
|
|
value="0"
|
|
c:identifier="GST_ITERATOR_DONE"
|
|
glib:nick="done">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="35">No more items in the iterator</doc>
|
|
</member>
|
|
<member name="ok"
|
|
value="1"
|
|
c:identifier="GST_ITERATOR_OK"
|
|
glib:nick="ok">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="36">An item was retrieved</doc>
|
|
</member>
|
|
<member name="resync"
|
|
value="2"
|
|
c:identifier="GST_ITERATOR_RESYNC"
|
|
glib:nick="resync">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="37">Datastructure changed while iterating</doc>
|
|
</member>
|
|
<member name="error"
|
|
value="3"
|
|
c:identifier="GST_ITERATOR_ERROR"
|
|
glib:nick="error">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="38">An error happened</doc>
|
|
</member>
|
|
</enumeration>
|
|
<callback name="IteratorResyncFunction" c:type="GstIteratorResyncFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="106">This function will be called whenever a concurrent update happened
|
|
to the iterated datastructure. The implementor of the iterator should
|
|
restart the iterator from the beginning and clean up any state it might
|
|
have.
|
|
|
|
Implementors of a #GstIterator should implement this
|
|
function and pass it to the constructor of the custom iterator.
|
|
The function will be called with the iterator lock held.</doc>
|
|
<source-position filename="gst/gstiterator.h" line="119"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="it" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstiterator.h"
|
|
line="108">the iterator</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<constant name="LICENSE_UNKNOWN"
|
|
value="unknown"
|
|
c:type="GST_LICENSE_UNKNOWN">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="290">To be used in GST_PLUGIN_DEFINE if unsure about the licence.</doc>
|
|
<source-position filename="gst/gstplugin.h" line="295"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="LOCK_FLAG_READWRITE"
|
|
value="3"
|
|
c:type="GST_LOCK_FLAG_READWRITE">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="169">GstLockFlags value alias for GST_LOCK_FLAG_READ | GST_LOCK_FLAG_WRITE</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="174"/>
|
|
<type name="LockFlags" c:type="GstLockFlags"/>
|
|
</constant>
|
|
<enumeration name="LibraryError"
|
|
glib:type-name="GstLibraryError"
|
|
glib:get-type="gst_library_error_get_type"
|
|
c:type="GstLibraryError"
|
|
glib:error-domain="gst-library-error-quark">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="82">Library errors are for errors from the library being used by elements
|
|
(initializing, finalizing, settings, ...)</doc>
|
|
<member name="failed"
|
|
value="1"
|
|
c:identifier="GST_LIBRARY_ERROR_FAILED"
|
|
glib:nick="failed">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="84">a general error which doesn't fit in any other
|
|
category. Make sure you add a custom message to the error call.</doc>
|
|
</member>
|
|
<member name="too_lazy"
|
|
value="2"
|
|
c:identifier="GST_LIBRARY_ERROR_TOO_LAZY"
|
|
glib:nick="too-lazy">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="86">do not use this except as a placeholder for
|
|
deciding where to go while developing code.</doc>
|
|
</member>
|
|
<member name="init"
|
|
value="3"
|
|
c:identifier="GST_LIBRARY_ERROR_INIT"
|
|
glib:nick="init">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="88">used when the library could not be opened.</doc>
|
|
</member>
|
|
<member name="shutdown"
|
|
value="4"
|
|
c:identifier="GST_LIBRARY_ERROR_SHUTDOWN"
|
|
glib:nick="shutdown">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="89">used when the library could not be closed.</doc>
|
|
</member>
|
|
<member name="settings"
|
|
value="5"
|
|
c:identifier="GST_LIBRARY_ERROR_SETTINGS"
|
|
glib:nick="settings">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="90">used when the library doesn't accept settings.</doc>
|
|
</member>
|
|
<member name="encode"
|
|
value="6"
|
|
c:identifier="GST_LIBRARY_ERROR_ENCODE"
|
|
glib:nick="encode">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="91">used when the library generated an encoding error.</doc>
|
|
</member>
|
|
<member name="num_errors"
|
|
value="7"
|
|
c:identifier="GST_LIBRARY_ERROR_NUM_ERRORS"
|
|
glib:nick="num-errors">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="92">the number of library error types.</doc>
|
|
</member>
|
|
<function name="quark" c:identifier="gst_library_error_quark">
|
|
<attribute name="doc.skip" value="true"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
</function>
|
|
</enumeration>
|
|
<bitfield name="LockFlags"
|
|
glib:type-name="GstLockFlags"
|
|
glib:get-type="gst_lock_flags_get_type"
|
|
c:type="GstLockFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="152">Flags used when locking miniobjects</doc>
|
|
<member name="read"
|
|
value="1"
|
|
c:identifier="GST_LOCK_FLAG_READ"
|
|
glib:nick="read">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="154">lock for read access</doc>
|
|
</member>
|
|
<member name="write"
|
|
value="2"
|
|
c:identifier="GST_LOCK_FLAG_WRITE"
|
|
glib:nick="write">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="155">lock for write access</doc>
|
|
</member>
|
|
<member name="exclusive"
|
|
value="4"
|
|
c:identifier="GST_LOCK_FLAG_EXCLUSIVE"
|
|
glib:nick="exclusive">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="156">lock for exclusive access</doc>
|
|
</member>
|
|
<member name="last"
|
|
value="256"
|
|
c:identifier="GST_LOCK_FLAG_LAST"
|
|
glib:nick="last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="157">first flag that can be used for custom purposes</doc>
|
|
</member>
|
|
</bitfield>
|
|
<callback name="LogFunction" c:type="GstLogFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="333">Function prototype for a logging function that can be registered with
|
|
gst_debug_add_log_function().
|
|
Use G_GNUC_NO_INSTRUMENT on that function.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="348"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="category" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="335">a #GstDebugCategory</doc>
|
|
<type name="DebugCategory" c:type="GstDebugCategory*"/>
|
|
</parameter>
|
|
<parameter name="level" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="336">a #GstDebugLevel</doc>
|
|
<type name="DebugLevel" c:type="GstDebugLevel"/>
|
|
</parameter>
|
|
<parameter name="file" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="337">file name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="function" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="338">function name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="line" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="339">line number</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="340">a #GObject</doc>
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</parameter>
|
|
<parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="341">the message</doc>
|
|
<type name="DebugMessage" c:type="GstDebugMessage*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="7">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="342">user data for the log function</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<function-macro name="MAKE_FOURCC"
|
|
c:identifier="GST_MAKE_FOURCC"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="30">Transform four characters into a #guint32 fourcc value with host
|
|
endianness.
|
|
|
|
|[
|
|
guint32 fourcc = GST_MAKE_FOURCC ('M', 'J', 'P', 'G');
|
|
]|</doc>
|
|
<source-position filename="gst/gstvalue.h" line="45"/>
|
|
<parameters>
|
|
<parameter name="a">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="32">the first character</doc>
|
|
</parameter>
|
|
<parameter name="b">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="33">the second character</doc>
|
|
</parameter>
|
|
<parameter name="c">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="34">the third character</doc>
|
|
</parameter>
|
|
<parameter name="d">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="35">the fourth character</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="MAP_READWRITE" value="3" c:type="GST_MAP_READWRITE">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="188">GstMapFlags value alias for GST_MAP_READ | GST_MAP_WRITE</doc>
|
|
<source-position filename="gst/gstmemory.h" line="193"/>
|
|
<type name="MapFlags" c:type="GstMapFlags"/>
|
|
</constant>
|
|
<function-macro name="MEMDUMP"
|
|
c:identifier="GST_MEMDUMP"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="1065">Output a hexdump of @data.
|
|
|
|
There is no need to finish the end of the message string with a newline
|
|
character, a newline character will be added automatically.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="734"/>
|
|
<parameters>
|
|
<parameter name="msg">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="1067">message string to log with the data</doc>
|
|
</parameter>
|
|
<parameter name="data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="1068">pointer to the data to output</doc>
|
|
</parameter>
|
|
<parameter name="length">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="1069">length of the data to output</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MEMDUMP_OBJECT"
|
|
c:identifier="GST_MEMDUMP_OBJECT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="988">Output a logging message belonging to the given object in the default category.
|
|
|
|
There is no need to finish the end of the message string with a newline
|
|
character, a newline character will be added automatically.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="732"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="990">the #GObject the message belongs to</doc>
|
|
</parameter>
|
|
<parameter name="msg">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="991">message string to log with the data</doc>
|
|
</parameter>
|
|
<parameter name="data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="992">pointer to the data to output</doc>
|
|
</parameter>
|
|
<parameter name="length">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="993">length of the data to output</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MEMORY_CAST"
|
|
c:identifier="GST_MEMORY_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstmemory.h" line="43"/>
|
|
<parameters>
|
|
<parameter name="mem">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MEMORY_FLAGS"
|
|
c:identifier="GST_MEMORY_FLAGS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="75">A flags word containing #GstMemoryFlags flags set on @mem</doc>
|
|
<source-position filename="gst/gstmemory.h" line="81"/>
|
|
<parameters>
|
|
<parameter name="mem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="77">a #GstMemory.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MEMORY_FLAG_IS_SET"
|
|
c:identifier="GST_MEMORY_FLAG_IS_SET"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="82">Gives the status of a specific flag on a @mem.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="89"/>
|
|
<parameters>
|
|
<parameter name="mem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="84">a #GstMemory.</doc>
|
|
</parameter>
|
|
<parameter name="flag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="85">the #GstMemoryFlags to check.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MEMORY_FLAG_UNSET"
|
|
c:identifier="GST_MEMORY_FLAG_UNSET"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="90">Clear a specific flag on a @mem.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="97"/>
|
|
<parameters>
|
|
<parameter name="mem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="92">a #GstMemory.</doc>
|
|
</parameter>
|
|
<parameter name="flag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="93">the #GstMemoryFlags to clear.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MEMORY_IS_NOT_MAPPABLE"
|
|
c:identifier="GST_MEMORY_IS_NOT_MAPPABLE"
|
|
version="1.2"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="138">Check if @mem can't be mapped via gst_memory_map() without any preconditions</doc>
|
|
<source-position filename="gst/gstmemory.h" line="146"/>
|
|
<parameters>
|
|
<parameter name="mem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="140">a #GstMemory.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MEMORY_IS_NO_SHARE"
|
|
c:identifier="GST_MEMORY_IS_NO_SHARE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="106">Check if @mem cannot be shared between buffers</doc>
|
|
<source-position filename="gst/gstmemory.h" line="112"/>
|
|
<parameters>
|
|
<parameter name="mem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="108">a #GstMemory.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MEMORY_IS_PHYSICALLY_CONTIGUOUS"
|
|
c:identifier="GST_MEMORY_IS_PHYSICALLY_CONTIGUOUS"
|
|
version="1.2"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="128">Check if @mem is physically contiguous.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="136"/>
|
|
<parameters>
|
|
<parameter name="mem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="130">a #GstMemory.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MEMORY_IS_READONLY"
|
|
c:identifier="GST_MEMORY_IS_READONLY"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="99">Check if @mem is readonly.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="105"/>
|
|
<parameters>
|
|
<parameter name="mem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="101">a #GstMemory.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MEMORY_IS_ZERO_PADDED"
|
|
c:identifier="GST_MEMORY_IS_ZERO_PADDED"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="120">Check if the padding in @mem is 0 filled.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="126"/>
|
|
<parameters>
|
|
<parameter name="mem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="122">a #GstMemory.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MEMORY_IS_ZERO_PREFIXED"
|
|
c:identifier="GST_MEMORY_IS_ZERO_PREFIXED"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="113">Check if the prefix in @mem is 0 filled.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="119"/>
|
|
<parameters>
|
|
<parameter name="mem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="115">a #GstMemory.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MESSAGE"
|
|
c:identifier="GST_MESSAGE"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstmessage.h" line="202"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MESSAGE_CAST"
|
|
c:identifier="GST_MESSAGE_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstmessage.h" line="201"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MESSAGE_GET_COND"
|
|
c:identifier="GST_MESSAGE_GET_COND"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstmessage.h" line="210"/>
|
|
<parameters>
|
|
<parameter name="message">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MESSAGE_GET_LOCK"
|
|
c:identifier="GST_MESSAGE_GET_LOCK"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstmessage.h" line="207"/>
|
|
<parameters>
|
|
<parameter name="message">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MESSAGE_LOCK"
|
|
c:identifier="GST_MESSAGE_LOCK"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstmessage.h" line="208"/>
|
|
<parameters>
|
|
<parameter name="message">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MESSAGE_SEQNUM"
|
|
c:identifier="GST_MESSAGE_SEQNUM"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="253">Get the sequence number of @message.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="259"/>
|
|
<parameters>
|
|
<parameter name="message">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="255">a #GstMessage</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MESSAGE_SIGNAL"
|
|
c:identifier="GST_MESSAGE_SIGNAL"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstmessage.h" line="212"/>
|
|
<parameters>
|
|
<parameter name="message">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MESSAGE_SRC"
|
|
c:identifier="GST_MESSAGE_SRC"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="245">Get the object that posted @message.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="251"/>
|
|
<parameters>
|
|
<parameter name="message">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="247">a #GstMessage</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MESSAGE_SRC_NAME"
|
|
c:identifier="GST_MESSAGE_SRC_NAME"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="261">Get the name of the object that posted @message. Returns "(NULL)" if
|
|
the message has no source object set.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="268"/>
|
|
<parameters>
|
|
<parameter name="message">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="263">a #GstMessage</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MESSAGE_TIMESTAMP"
|
|
c:identifier="GST_MESSAGE_TIMESTAMP"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="237">Get the timestamp of @message. This is the timestamp when the message
|
|
was created.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="244"/>
|
|
<parameters>
|
|
<parameter name="message">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="239">a #GstMessage</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MESSAGE_TYPE"
|
|
c:identifier="GST_MESSAGE_TYPE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="214">Get the #GstMessageType of @message.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="220"/>
|
|
<parameters>
|
|
<parameter name="message">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="216">a #GstMessage</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MESSAGE_TYPE_IS_EXTENDED"
|
|
c:identifier="GST_MESSAGE_TYPE_IS_EXTENDED"
|
|
version="1.4"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="221">Check if the message is in the extended message group</doc>
|
|
<source-position filename="gst/gstmessage.h" line="228"/>
|
|
<parameters>
|
|
<parameter name="message">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="223">a #GstMessage</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MESSAGE_TYPE_NAME"
|
|
c:identifier="GST_MESSAGE_TYPE_NAME"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="230">Get a constant string representation of the #GstMessageType of @message.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="236"/>
|
|
<parameters>
|
|
<parameter name="message">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="232">a #GstMessage</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MESSAGE_UNLOCK"
|
|
c:identifier="GST_MESSAGE_UNLOCK"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstmessage.h" line="209"/>
|
|
<parameters>
|
|
<parameter name="message">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MESSAGE_WAIT"
|
|
c:identifier="GST_MESSAGE_WAIT"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstmessage.h" line="211"/>
|
|
<parameters>
|
|
<parameter name="message">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="META_CAST"
|
|
c:identifier="GST_META_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstmeta.h" line="33"/>
|
|
<parameters>
|
|
<parameter name="meta">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="META_FLAGS"
|
|
c:identifier="GST_META_FLAGS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="54">A flags word containing #GstMetaFlags flags set on @meta</doc>
|
|
<source-position filename="gst/gstmeta.h" line="60"/>
|
|
<parameters>
|
|
<parameter name="meta">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="56">a #GstMeta.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="META_FLAG_IS_SET"
|
|
c:identifier="GST_META_FLAG_IS_SET"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="61">Gives the status of a specific flag on a metadata.</doc>
|
|
<source-position filename="gst/gstmeta.h" line="68"/>
|
|
<parameters>
|
|
<parameter name="meta">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="63">a #GstMeta.</doc>
|
|
</parameter>
|
|
<parameter name="flag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="64">the #GstMetaFlags to check.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="META_FLAG_SET"
|
|
c:identifier="GST_META_FLAG_SET"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="69">Sets a metadata flag on a metadata.</doc>
|
|
<source-position filename="gst/gstmeta.h" line="76"/>
|
|
<parameters>
|
|
<parameter name="meta">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="71">a #GstMeta.</doc>
|
|
</parameter>
|
|
<parameter name="flag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="72">the #GstMetaFlags to set.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="META_FLAG_UNSET"
|
|
c:identifier="GST_META_FLAG_UNSET"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="77">Clears a metadata flag.</doc>
|
|
<source-position filename="gst/gstmeta.h" line="84"/>
|
|
<parameters>
|
|
<parameter name="meta">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="79">a #GstMeta.</doc>
|
|
</parameter>
|
|
<parameter name="flag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="80">the #GstMetaFlags to clear.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="META_TAG_MEMORY_STR"
|
|
value="memory"
|
|
c:type="GST_META_TAG_MEMORY_STR"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="86">This metadata stays relevant as long as memory layout is unchanged.</doc>
|
|
<source-position filename="gst/gstmeta.h" line="93"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<function-macro name="META_TRANSFORM_IS_COPY"
|
|
c:identifier="GST_META_TRANSFORM_IS_COPY"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="148">Check if the transform type is a copy transform</doc>
|
|
<source-position filename="gst/gstmeta.h" line="154"/>
|
|
<parameters>
|
|
<parameter name="type">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="150">a transform type</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MINI_OBJECT"
|
|
c:identifier="GST_MINI_OBJECT"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstminiobject.h" line="35"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MINI_OBJECT_CAST"
|
|
c:identifier="GST_MINI_OBJECT_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstminiobject.h" line="33"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MINI_OBJECT_CONST_CAST"
|
|
c:identifier="GST_MINI_OBJECT_CONST_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstminiobject.h" line="34"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MINI_OBJECT_FLAGS"
|
|
c:identifier="GST_MINI_OBJECT_FLAGS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="89">This macro returns the entire set of flags for the mini-object.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="95"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="91">MiniObject to return flags for.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MINI_OBJECT_FLAG_IS_SET"
|
|
c:identifier="GST_MINI_OBJECT_FLAG_IS_SET"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="96">This macro checks to see if the given flag is set.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="103"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="98">MiniObject to check for flags.</doc>
|
|
</parameter>
|
|
<parameter name="flag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="99">Flag to check for</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MINI_OBJECT_FLAG_SET"
|
|
c:identifier="GST_MINI_OBJECT_FLAG_SET"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="104">This macro sets the given bits.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="111"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="106">MiniObject to set flag in.</doc>
|
|
</parameter>
|
|
<parameter name="flag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="107">Flag to set, can by any number of bits in guint32.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MINI_OBJECT_FLAG_UNSET"
|
|
c:identifier="GST_MINI_OBJECT_FLAG_UNSET"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="112">This macro unsets the given bits.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="119"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="114">MiniObject to unset flag in.</doc>
|
|
</parameter>
|
|
<parameter name="flag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="115">Flag to set, must be a single bit in guint32.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MINI_OBJECT_IS_LOCKABLE"
|
|
c:identifier="GST_MINI_OBJECT_IS_LOCKABLE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="143">Check if @obj is lockable. A lockable object can be locked and unlocked with
|
|
gst_mini_object_lock() and gst_mini_object_unlock().</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="150"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="145">a #GstMiniObject</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MINI_OBJECT_REFCOUNT"
|
|
c:identifier="GST_MINI_OBJECT_REFCOUNT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="176">Get access to the reference count field of the mini-object.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="182"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="178">a #GstMiniObject</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MINI_OBJECT_REFCOUNT_VALUE"
|
|
c:identifier="GST_MINI_OBJECT_REFCOUNT_VALUE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="183">Get the reference count value of the mini-object.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="189"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="185">a #GstMiniObject</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="MINI_OBJECT_TYPE"
|
|
c:identifier="GST_MINI_OBJECT_TYPE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="81">This macro returns the type of the mini-object.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="87"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="83">MiniObject to return type for.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="MSECOND" value="1000000" c:type="GST_MSECOND">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="104">Constant that defines one GStreamer millisecond.</doc>
|
|
<source-position filename="gst/gstclock.h" line="109"/>
|
|
<type name="ClockTimeDiff" c:type="GstClockTimeDiff"/>
|
|
</constant>
|
|
<bitfield name="MapFlags"
|
|
glib:type-name="GstMapFlags"
|
|
glib:get-type="gst_map_flags_get_type"
|
|
c:type="GstMapFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="173">Flags used when mapping memory</doc>
|
|
<member name="read"
|
|
value="1"
|
|
c:identifier="GST_MAP_READ"
|
|
glib:nick="read">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="175">map for read access</doc>
|
|
</member>
|
|
<member name="write"
|
|
value="2"
|
|
c:identifier="GST_MAP_WRITE"
|
|
glib:nick="write">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="176">map for write access</doc>
|
|
</member>
|
|
<member name="flag_last"
|
|
value="65536"
|
|
c:identifier="GST_MAP_FLAG_LAST"
|
|
glib:nick="flag-last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="177">first flag that can be used for custom purposes</doc>
|
|
</member>
|
|
</bitfield>
|
|
<record name="MapInfo" c:type="GstMapInfo">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="196">A structure containing the result of a map operation such as
|
|
gst_memory_map(). It contains the data and size.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="220"/>
|
|
<field name="memory" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="198">a pointer to the mapped memory</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</field>
|
|
<field name="flags" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="199">flags used when mapping the memory</doc>
|
|
<type name="MapFlags" c:type="GstMapFlags"/>
|
|
</field>
|
|
<field name="data" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="200">a pointer to the mapped data</doc>
|
|
<array length="3" zero-terminated="0" c:type="guint8*">
|
|
<type name="guint8" c:type="guint8"/>
|
|
</array>
|
|
</field>
|
|
<field name="size" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="201">the valid size in @data</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</field>
|
|
<field name="maxsize" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="202">the maximum bytes in @data</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</field>
|
|
<field name="user_data" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="203">extra private user_data that the implementation of the memory
|
|
can use to store extra info.</doc>
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="Memory"
|
|
c:type="GstMemory"
|
|
glib:type-name="GstMemory"
|
|
glib:get-type="gst_memory_get_type"
|
|
c:symbol-prefix="memory">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="22">GstMemory is a lightweight refcounted object that wraps a region of memory.
|
|
They are typically used to manage the data of a #GstBuffer.
|
|
|
|
A GstMemory object has an allocated region of memory of maxsize. The maximum
|
|
size does not change during the lifetime of the memory object. The memory
|
|
also has an offset and size property that specifies the valid range of memory
|
|
in the allocated region.
|
|
|
|
Memory is usually created by allocators with a gst_allocator_alloc()
|
|
method call. When %NULL is used as the allocator, the default allocator will
|
|
be used.
|
|
|
|
New allocators can be registered with gst_allocator_register().
|
|
Allocators are identified by name and can be retrieved with
|
|
gst_allocator_find(). gst_allocator_set_default() can be used to change the
|
|
default allocator.
|
|
|
|
New memory can be created with gst_memory_new_wrapped() that wraps the memory
|
|
allocated elsewhere.
|
|
|
|
Refcounting of the memory block is performed with gst_memory_ref() and
|
|
gst_memory_unref().
|
|
|
|
The size of the memory can be retrieved and changed with
|
|
gst_memory_get_sizes() and gst_memory_resize() respectively.
|
|
|
|
Getting access to the data of the memory is performed with gst_memory_map().
|
|
The call will return a pointer to offset bytes into the region of memory.
|
|
After the memory access is completed, gst_memory_unmap() should be called.
|
|
|
|
Memory can be copied with gst_memory_copy(), which will return a writable
|
|
copy. gst_memory_share() will create a new memory block that shares the
|
|
memory with an existing memory block at a custom offset and with a custom
|
|
size.
|
|
|
|
Memory can be efficiently merged when gst_memory_is_span() returns %TRUE.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="171"/>
|
|
<field name="mini_object" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="150">parent structure</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject"/>
|
|
</field>
|
|
<field name="allocator" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="151">pointer to the #GstAllocator</doc>
|
|
<type name="Allocator" c:type="GstAllocator*"/>
|
|
</field>
|
|
<field name="parent" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="152">parent memory block</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</field>
|
|
<field name="maxsize" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="153">the maximum size allocated</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</field>
|
|
<field name="align" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="154">the alignment of the memory</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</field>
|
|
<field name="offset" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="155">the offset where valid data starts</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</field>
|
|
<field name="size" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="156">the size of valid data</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</field>
|
|
<constructor name="new_wrapped" c:identifier="gst_memory_new_wrapped">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="614">Allocate a new memory block that wraps the given @data.
|
|
|
|
The prefix/padding must be filled with 0 if @flags contains
|
|
#GST_MEMORY_FLAG_ZERO_PREFIXED and #GST_MEMORY_FLAG_ZERO_PADDED respectively.</doc>
|
|
<source-position filename="gst/gstallocator.h" line="190"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="630">a new #GstMemory.</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="616">#GstMemoryFlags</doc>
|
|
<type name="MemoryFlags" c:type="GstMemoryFlags"/>
|
|
</parameter>
|
|
<parameter name="data" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="617">data to
|
|
wrap</doc>
|
|
<array length="4" zero-terminated="0" c:type="gpointer">
|
|
<type name="guint8"/>
|
|
</array>
|
|
</parameter>
|
|
<parameter name="maxsize" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="619">allocated size of @data</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="620">offset in @data</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="621">size of valid data</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="622">user_data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="notify"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
scope="async"
|
|
closure="5">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstallocator.c"
|
|
line="623">called with @user_data when the memory is freed</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<method name="copy" c:identifier="gst_memory_copy">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="355">Return a copy of @size bytes from @mem starting from @offset. This copy is
|
|
guaranteed to be writable. @size can be set to -1 to return a copy
|
|
from @offset to the end of the memory region.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="382"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="365">a new #GstMemory.</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="mem" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="357">a #GstMemory</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</instance-parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="358">offset to copy from</doc>
|
|
<type name="gssize" c:type="gssize"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="359">size to copy, or -1 to copy to the end of the memory region</doc>
|
|
<type name="gssize" c:type="gssize"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_sizes" c:identifier="gst_memory_get_sizes">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="164">Get the current @size, @offset and @maxsize of @mem.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="358"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="172">the current size of @mem</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="mem" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="166">a #GstMemory</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</instance-parameter>
|
|
<parameter name="offset"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="167">pointer to offset</doc>
|
|
<type name="gsize" c:type="gsize*"/>
|
|
</parameter>
|
|
<parameter name="maxsize"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="168">pointer to maxsize</doc>
|
|
<type name="gsize" c:type="gsize*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="init" c:identifier="gst_memory_init" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="102">Initializes a newly allocated @mem with the given parameters. This function
|
|
will call gst_mini_object_init() with the default memory parameters.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="319"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="mem" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="104">a #GstMemory</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="105">#GstMemoryFlags</doc>
|
|
<type name="MemoryFlags" c:type="GstMemoryFlags"/>
|
|
</parameter>
|
|
<parameter name="allocator" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="106">the #GstAllocator</doc>
|
|
<type name="Allocator" c:type="GstAllocator*"/>
|
|
</parameter>
|
|
<parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="107">the parent of @mem</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</parameter>
|
|
<parameter name="maxsize" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="108">the total size of the memory</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="align" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="109">the alignment of the memory</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="110">The offset in the memory</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="111">the size of valid data in the memory</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_span" c:identifier="gst_memory_is_span">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="426">Check if @mem1 and mem2 share the memory with a common parent memory object
|
|
and that the memory is contiguous.
|
|
|
|
If this is the case, the memory of @mem1 and @mem2 can be merged
|
|
efficiently by performing gst_memory_share() on the parent object from
|
|
the returned @offset.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="390"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="439">%TRUE if the memory is contiguous and of a common parent.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="mem1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="428">a #GstMemory</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</instance-parameter>
|
|
<parameter name="mem2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="429">a #GstMemory</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</parameter>
|
|
<parameter name="offset"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="430">a pointer to a result offset</doc>
|
|
<type name="gsize" c:type="gsize*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_type" c:identifier="gst_memory_is_type" version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="143">Check if @mem if allocated with an allocator for @mem_type.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="324"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="150">%TRUE if @mem was allocated from an allocator for @mem_type.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="mem" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="145">a #GstMemory</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</instance-parameter>
|
|
<parameter name="mem_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="146">a memory type</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="make_mapped" c:identifier="gst_memory_make_mapped">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="219">Create a #GstMemory object that is mapped with @flags. If @mem is mappable
|
|
with @flags, this function returns the mapped @mem directly. Otherwise a
|
|
mapped copy of @mem is returned.
|
|
|
|
This function takes ownership of old @mem and returns a reference to a new
|
|
#GstMemory.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="371"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="232">a #GstMemory object mapped
|
|
with @flags or %NULL when a mapping is not possible.</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="mem" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="221">a #GstMemory</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</instance-parameter>
|
|
<parameter name="info"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="222">pointer for info</doc>
|
|
<type name="MapInfo" c:type="GstMapInfo*"/>
|
|
</parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="223">mapping flags</doc>
|
|
<type name="MapFlags" c:type="GstMapFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="map" c:identifier="gst_memory_map">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="269">Fill @info with the pointer and sizes of the memory in @mem that can be
|
|
accessed according to @flags.
|
|
|
|
This function can return %FALSE for various reasons:
|
|
- the memory backed by @mem is not accessible with the given @flags.
|
|
- the memory was already mapped with a different mapping.
|
|
|
|
@info and its contents remain valid for as long as @mem is valid and
|
|
until gst_memory_unmap() is called.
|
|
|
|
For each gst_memory_map() call, a corresponding gst_memory_unmap() call
|
|
should be done.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="374"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="288">%TRUE if the map operation was successful.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="mem" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="271">a #GstMemory</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</instance-parameter>
|
|
<parameter name="info"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="272">pointer for info</doc>
|
|
<type name="MapInfo" c:type="GstMapInfo*"/>
|
|
</parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="273">mapping flags</doc>
|
|
<type name="MapFlags" c:type="GstMapFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="ref" c:identifier="gst_memory_ref" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="327">Increase the refcount of this memory.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="335"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="333">@memory (for convenience when doing assignments)</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="memory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="329">The memory to refcount</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="resize" c:identifier="gst_memory_resize">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="187">Resize the memory region. @mem should be writable and offset + size should be
|
|
less than the maxsize of @mem.
|
|
|
|
#GST_MEMORY_FLAG_ZERO_PREFIXED and #GST_MEMORY_FLAG_ZERO_PADDED will be
|
|
cleared when offset or padding is increased respectively.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="361"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="mem" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="189">a #GstMemory</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</instance-parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="190">a new offset</doc>
|
|
<type name="gssize" c:type="gssize"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="191">a new size</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="share" c:identifier="gst_memory_share">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="379">Return a shared copy of @size bytes from @mem starting from @offset. No
|
|
memory copy is performed and the memory region is simply shared. The result
|
|
is guaranteed to be non-writable. @size can be set to -1 to return a shared
|
|
copy from @offset to the end of the memory region.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="385"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="390">a new #GstMemory.</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="mem" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="381">a #GstMemory</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</instance-parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="382">offset to share from</doc>
|
|
<type name="gssize" c:type="gssize"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="383">size to share, or -1 to share to the end of the memory region</doc>
|
|
<type name="gssize" c:type="gssize"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unmap" c:identifier="gst_memory_unmap">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="334">Release the memory obtained with gst_memory_map()</doc>
|
|
<source-position filename="gst/gstmemory.h" line="377"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="mem" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="336">a #GstMemory</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</instance-parameter>
|
|
<parameter name="info" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.c"
|
|
line="337">a #GstMapInfo</doc>
|
|
<type name="MapInfo" c:type="GstMapInfo*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unref" c:identifier="gst_memory_unref" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="342">Decrease the refcount of a memory, freeing it if the refcount reaches 0.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="348"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="memory" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="344">the memory to refcount</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<callback name="MemoryCopyFunction" c:type="GstMemoryCopyFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="276">Copy @size bytes from @mem starting at @offset and return them wrapped in a
|
|
new GstMemory object.
|
|
If @size is set to -1, all bytes starting at @offset are copied.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="289"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="286">a new #GstMemory object wrapping a copy of the requested region in
|
|
@mem.</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="mem" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="278">a #GstMemory</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="279">an offset</doc>
|
|
<type name="gssize" c:type="gssize"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="280">a size or -1</doc>
|
|
<type name="gssize" c:type="gssize"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<bitfield name="MemoryFlags"
|
|
glib:type-name="GstMemoryFlags"
|
|
glib:get-type="gst_memory_flags_get_type"
|
|
c:type="GstMemoryFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="45">Flags for wrapped memory.</doc>
|
|
<member name="readonly"
|
|
value="2"
|
|
c:identifier="GST_MEMORY_FLAG_READONLY"
|
|
glib:nick="readonly">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="47">memory is readonly. It is not allowed to map the
|
|
memory with #GST_MAP_WRITE.</doc>
|
|
</member>
|
|
<member name="no_share"
|
|
value="16"
|
|
c:identifier="GST_MEMORY_FLAG_NO_SHARE"
|
|
glib:nick="no-share">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="49">memory must not be shared. Copies will have to be
|
|
made when this memory needs to be shared between buffers. (DEPRECATED:
|
|
do not use in new code, instead you should create a custom GstAllocator for
|
|
memory pooling instead of relying on the GstBuffer they were originally
|
|
attached to.)</doc>
|
|
</member>
|
|
<member name="zero_prefixed"
|
|
value="32"
|
|
c:identifier="GST_MEMORY_FLAG_ZERO_PREFIXED"
|
|
glib:nick="zero-prefixed">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="54">the memory prefix is filled with 0 bytes</doc>
|
|
</member>
|
|
<member name="zero_padded"
|
|
value="64"
|
|
c:identifier="GST_MEMORY_FLAG_ZERO_PADDED"
|
|
glib:nick="zero-padded">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="55">the memory padding is filled with 0 bytes</doc>
|
|
</member>
|
|
<member name="physically_contiguous"
|
|
value="128"
|
|
c:identifier="GST_MEMORY_FLAG_PHYSICALLY_CONTIGUOUS"
|
|
glib:nick="physically-contiguous">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="56">the memory is physically
|
|
contiguous. (Since: 1.2)</doc>
|
|
</member>
|
|
<member name="not_mappable"
|
|
value="256"
|
|
c:identifier="GST_MEMORY_FLAG_NOT_MAPPABLE"
|
|
glib:nick="not-mappable">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="58">the memory can't be mapped via
|
|
gst_memory_map() without any preconditions. (Since: 1.2)</doc>
|
|
</member>
|
|
<member name="last"
|
|
value="1048576"
|
|
c:identifier="GST_MEMORY_FLAG_LAST"
|
|
glib:nick="last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="60">first flag that can be used for custom purposes</doc>
|
|
</member>
|
|
</bitfield>
|
|
<callback name="MemoryIsSpanFunction" c:type="GstMemoryIsSpanFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="305">Check if @mem1 and @mem2 occupy contiguous memory and return the offset of
|
|
@mem1 in the parent buffer in @offset.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="316"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="314">%TRUE if @mem1 and @mem2 are in contiguous memory.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="mem1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="307">a #GstMemory</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</parameter>
|
|
<parameter name="mem2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="308">a #GstMemory</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="309">a result offset</doc>
|
|
<type name="gsize" c:type="gsize*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="MemoryMapFullFunction" c:type="GstMemoryMapFullFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="244">Get the memory of @mem that can be accessed according to the mode specified
|
|
in @info's flags. The function should return a pointer that contains at least
|
|
@maxsize bytes.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="257"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="254">a pointer to memory of which at least @maxsize bytes can be
|
|
accessed according to the access pattern in @info's flags.</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="mem" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="246">a #GstMemory</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</parameter>
|
|
<parameter name="info" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="247">the #GstMapInfo to map with</doc>
|
|
<type name="MapInfo" c:type="GstMapInfo*"/>
|
|
</parameter>
|
|
<parameter name="maxsize" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="248">size to map</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="MemoryMapFunction" c:type="GstMemoryMapFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="229">Get the memory of @mem that can be accessed according to the mode specified
|
|
in @flags. The function should return a pointer that contains at least
|
|
@maxsize bytes.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="242"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="239">a pointer to memory of which at least @maxsize bytes can be
|
|
accessed according to the access pattern in @flags.</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="mem" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="231">a #GstMemory</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</parameter>
|
|
<parameter name="maxsize" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="232">size to map</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="233">access mode for the memory</doc>
|
|
<type name="MapFlags" c:type="GstMapFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="MemoryShareFunction" c:type="GstMemoryShareFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="291">Share @size bytes from @mem starting at @offset and return them wrapped in a
|
|
new GstMemory object. If @size is set to -1, all bytes starting at @offset are
|
|
shared. This function does not make a copy of the bytes in @mem.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="303"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="301">a new #GstMemory object sharing the requested region in @mem.</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="mem" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="293">a #GstMemory</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="294">an offset</doc>
|
|
<type name="gssize" c:type="gssize"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="295">a size or -1</doc>
|
|
<type name="gssize" c:type="gssize"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="MemoryUnmapFullFunction"
|
|
c:type="GstMemoryUnmapFullFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="267">Release the pointer previously retrieved with gst_memory_map() with @info.</doc>
|
|
<source-position filename="gst/gstmemory.h" line="274"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="mem" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="269">a #GstMemory</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</parameter>
|
|
<parameter name="info" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="270">a #GstMapInfo</doc>
|
|
<type name="MapInfo" c:type="GstMapInfo*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="MemoryUnmapFunction" c:type="GstMemoryUnmapFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="259">Release the pointer previously retrieved with gst_memory_map().</doc>
|
|
<source-position filename="gst/gstmemory.h" line="265"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="mem" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmemory.h"
|
|
line="261">a #GstMemory</doc>
|
|
<type name="Memory" c:type="GstMemory*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<record name="Message"
|
|
c:type="GstMessage"
|
|
glib:type-name="GstMessage"
|
|
glib:get-type="gst_message_get_type"
|
|
c:symbol-prefix="message">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="22">Messages are implemented as a subclass of #GstMiniObject with a generic
|
|
#GstStructure as the content. This allows for writing custom messages without
|
|
requiring an API change while allowing a wide range of different types
|
|
of messages.
|
|
|
|
Messages are posted by objects in the pipeline and are passed to the
|
|
application using the #GstBus.
|
|
|
|
The basic use pattern of posting a message on a #GstBus is as follows:
|
|
|[<!-- language="C" -->
|
|
gst_bus_post (bus, gst_message_new_eos());
|
|
]|
|
|
|
|
A #GstElement usually posts messages on the bus provided by the parent
|
|
container using gst_element_post_message().</doc>
|
|
<source-position filename="gst/gstmessage.h" line="350"/>
|
|
<field name="mini_object" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="329">the parent structure</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject"/>
|
|
</field>
|
|
<field name="type" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="330">the #GstMessageType of the message</doc>
|
|
<type name="MessageType" c:type="GstMessageType"/>
|
|
</field>
|
|
<field name="timestamp" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="331">the timestamp of the message</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</field>
|
|
<field name="src" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="332">the src of the message</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</field>
|
|
<field name="seqnum" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="333">the sequence number of the message</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</field>
|
|
<field name="lock" readable="0" private="1">
|
|
<type name="GLib.Mutex" c:type="GMutex"/>
|
|
</field>
|
|
<field name="cond" readable="0" private="1">
|
|
<type name="GLib.Cond" c:type="GCond"/>
|
|
</field>
|
|
<constructor name="new_application"
|
|
c:identifier="gst_message_new_application">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="984">Create a new application-typed message. GStreamer will never create these
|
|
messages; they are a gift from us to you. Enjoy.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="644"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="993">The new application message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="986">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="structure" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="987">the structure for the message. The message
|
|
will take ownership of the structure.</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_async_done"
|
|
c:identifier="gst_message_new_async_done">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1072">The message is posted when elements completed an ASYNC state change.
|
|
@running_time contains the time of the desired running_time when this
|
|
elements goes to PLAYING. A value of #GST_CLOCK_TIME_NONE for @running_time
|
|
means that the element has no clock interaction and thus doesn't care about
|
|
the running_time of the pipeline.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="687"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1083">The new async_done message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1074">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="running_time" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1075">the desired running_time</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_async_start"
|
|
c:identifier="gst_message_new_async_start">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1052">This message is posted by elements when they start an ASYNC state change.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="682"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1058">The new async_start message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1054">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_buffering"
|
|
c:identifier="gst_message_new_buffering">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="705">Create a new buffering message. This message can be posted by an element that
|
|
needs to buffer data before it can continue processing. @percent should be a
|
|
value between 0 and 100. A value of 100 means that the buffering completed.
|
|
|
|
When @percent is < 100 the application should PAUSE a PLAYING pipeline. When
|
|
@percent is 100, the application can set the pipeline (back) to PLAYING.
|
|
The application must be prepared to receive BUFFERING messages in the
|
|
PREROLLING state and may only set the pipeline to PLAYING after receiving a
|
|
message with @percent set to 100, which can happen after the pipeline
|
|
completed prerolling.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="578"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="723">The new buffering message.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="707">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="percent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="708">The buffering percent</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_clock_lost"
|
|
c:identifier="gst_message_new_clock_lost">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="831">Create a clock lost message. This message is posted whenever the
|
|
clock is not valid anymore.
|
|
|
|
If this message is posted by the pipeline, the pipeline will
|
|
select a new clock again when it goes to PLAYING. It might therefore
|
|
be needed to set the pipeline to PAUSED and PLAYING again.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="628"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="843">The new clock lost message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="833">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="834">the clock that was lost</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_clock_provide"
|
|
c:identifier="gst_message_new_clock_provide">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="799">Create a clock provide message. This message is posted whenever an
|
|
element is ready to provide a clock or lost its ability to provide
|
|
a clock (maybe because it paused or became EOS).
|
|
|
|
This message is mainly used internally to manage the clock
|
|
selection.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="619"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="812">the new provide clock message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="801">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="802">the clock it provides</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</parameter>
|
|
<parameter name="ready" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="803">%TRUE if the sender can provide a clock</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_custom" c:identifier="gst_message_new_custom">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="281">Create a new custom-typed message. This can be used for anything not
|
|
handled by other message-specific functions to pass a message to the
|
|
app. The structure field can be %NULL.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="499"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="292">The new message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="283">The #GstMessageType to distinguish messages</doc>
|
|
<type name="MessageType" c:type="GstMessageType"/>
|
|
</parameter>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="284">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="structure"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="285">the structure for the
|
|
message. The message will take ownership of the structure.</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_device_added"
|
|
c:identifier="gst_message_new_device_added"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2592">Creates a new device-added message. The device-added message is produced by
|
|
#GstDeviceProvider or a #GstDeviceMonitor. They announce the appearance
|
|
of monitored devices.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="809"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2601">a newly allocated #GstMessage</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2594">The #GstObject that created the message</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="device" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2595">The new #GstDevice</doc>
|
|
<type name="Device" c:type="GstDevice*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_device_changed"
|
|
c:identifier="gst_message_new_device_changed"
|
|
version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2696">Creates a new device-changed message. The device-changed message is produced
|
|
by #GstDeviceProvider or a #GstDeviceMonitor. They announce that a device
|
|
properties has changed and @device represent the new modified version of @changed_device.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="825"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2706">a newly allocated #GstMessage</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2698">The #GstObject that created the message</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="device" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2699">The newly created device representing @replaced_device
|
|
with its new configuration.</doc>
|
|
<type name="Device" c:type="GstDevice*"/>
|
|
</parameter>
|
|
<parameter name="changed_device" transfer-ownership="none">
|
|
<type name="Device" c:type="GstDevice*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_device_removed"
|
|
c:identifier="gst_message_new_device_removed"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2644">Creates a new device-removed message. The device-removed message is produced
|
|
by #GstDeviceProvider or a #GstDeviceMonitor. They announce the
|
|
disappearance of monitored devices.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="817"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2653">a newly allocated #GstMessage</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2646">The #GstObject that created the message</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="device" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2647">The removed #GstDevice</doc>
|
|
<type name="Device" c:type="GstDevice*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_duration_changed"
|
|
c:identifier="gst_message_new_duration_changed">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1028">Create a new duration changed message. This message is posted by elements
|
|
that know the duration of a stream when the duration changes. This message
|
|
is received by bins and is used to calculate the total duration of a
|
|
pipeline.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="672"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1037">The new duration-changed message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1030">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_element" c:identifier="gst_message_new_element">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1005">Create a new element-specific message. This is meant as a generic way of
|
|
allowing one-way communication from an element to an application, for example
|
|
"the firewire cable was unplugged". The format of the message should be
|
|
documented in the element's documentation. The structure field can be %NULL.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="649"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1016">The new element message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1007">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="structure" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1008">The structure for the
|
|
message. The message will take ownership of the structure.</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_eos" c:identifier="gst_message_new_eos">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="380">Create a new eos message. This message is generated and posted in
|
|
the sink elements of a GstBin. The bin will only forward the EOS
|
|
message to the application if all sinks have posted an EOS message.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="523"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="388">The new eos message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="382">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_error" c:identifier="gst_message_new_error">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="447">Create a new error message. The message will copy @error and
|
|
@debug. This message is posted by element when a fatal event
|
|
occurred. The pipeline will probably (partially) stop. The application
|
|
receiving this message should stop the pipeline.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="528"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="458">the new error message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="449">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="error" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="450">The GError for this message.</doc>
|
|
<type name="GLib.Error" c:type="GError*"/>
|
|
</parameter>
|
|
<parameter name="debug" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="451">A debugging string.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_error_with_details"
|
|
c:identifier="gst_message_new_error_with_details"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="402">Create a new error message. The message will copy @error and
|
|
@debug. This message is posted by element when a fatal event
|
|
occurred. The pipeline will probably (partially) stop. The application
|
|
receiving this message should stop the pipeline.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="531"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="414">the new error message.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="404">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="error" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="405">The GError for this message.</doc>
|
|
<type name="GLib.Error" c:type="GError*"/>
|
|
</parameter>
|
|
<parameter name="debug" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="406">A debugging string.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="details"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="407">A GstStructure with details</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_have_context"
|
|
c:identifier="gst_message_new_have_context"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2542">This message is posted when an element has a new local #GstContext.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="801"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2549">The new have-context message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2544">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="context" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2545">the context</doc>
|
|
<type name="Context" c:type="GstContext*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_info" c:identifier="gst_message_new_info">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="629">Create a new info message. The message will make copies of @error and
|
|
@debug.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="556"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="638">the new info message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="631">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="error" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="632">The GError for this message.</doc>
|
|
<type name="GLib.Error" c:type="GError*"/>
|
|
</parameter>
|
|
<parameter name="debug" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="633">A debugging string.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_info_with_details"
|
|
c:identifier="gst_message_new_info_with_details"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="586">Create a new info message. The message will make copies of @error and
|
|
@debug.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="559"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="596">the new warning message.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="588">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="error" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="589">The GError for this message.</doc>
|
|
<type name="GLib.Error" c:type="GError*"/>
|
|
</parameter>
|
|
<parameter name="debug" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="590">A debugging string.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="details"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="591">A GstStructure with details</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_instant_rate_request"
|
|
c:identifier="gst_message_new_instant_rate_request"
|
|
version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3272">Creates a new instant-rate-request message. Elements handling the
|
|
instant-rate-change event must post this message. The message is
|
|
handled at the pipeline, and allows the pipeline to select the
|
|
running time when the rate change should happen and to send an
|
|
@GST_EVENT_INSTANT_RATE_SYNC_TIME event to notify the elements
|
|
in the pipeline.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="881"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3284">a newly allocated #GstMessage</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3274">The #GstObject that posted the message</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="rate_multiplier" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3275">the rate multiplier factor that should be applied</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_latency" c:identifier="gst_message_new_latency">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1100">This message can be posted by elements when their latency requirements have
|
|
changed.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="677"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1107">The new latency message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1102">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_need_context"
|
|
c:identifier="gst_message_new_need_context"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2483">This message is posted when an element needs a specific #GstContext.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="793"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2490">The new need-context message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2485">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="context_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2486">The context type that is needed</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_new_clock"
|
|
c:identifier="gst_message_new_new_clock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="860">Create a new clock message. This message is posted whenever the
|
|
pipeline selects a new clock for the pipeline.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="636"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="868">The new new clock message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="862">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="863">the new selected clock</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_progress" c:identifier="gst_message_new_progress">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2223">Progress messages are posted by elements when they use an asynchronous task
|
|
to perform actions triggered by a state change.
|
|
|
|
@code contains a well defined string describing the action.
|
|
@text should contain a user visible string detailing the current action.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="757"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2236">The new qos message.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2225">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2226">a #GstProgressType</doc>
|
|
<type name="ProgressType" c:type="GstProgressType"/>
|
|
</parameter>
|
|
<parameter name="code" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2227">a progress code</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="text" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2228">free, user visible text describing the progress</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_property_notify"
|
|
c:identifier="gst_message_new_property_notify"
|
|
version="1.10">
|
|
<source-position filename="gst/gstmessage.h" line="834"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2765">a newly allocated #GstMessage</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2761">The #GstObject whose property changed (may or may not be a #GstElement)</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2762">name of the property that changed</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="val"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2763">new property value, or %NULL</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_qos" c:identifier="gst_message_new_qos">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2001">A QOS message is posted on the bus whenever an element decides to drop a
|
|
buffer because of QoS reasons or whenever it changes its processing strategy
|
|
because of QoS reasons (quality adjustments such as processing at lower
|
|
accuracy).
|
|
|
|
This message can be posted by an element that performs synchronisation against the
|
|
clock (live) or it could be dropped by an element that performs QoS because of QOS
|
|
events received from a downstream element (!live).
|
|
|
|
@running_time, @stream_time, @timestamp, @duration should be set to the
|
|
respective running-time, stream-time, timestamp and duration of the (dropped)
|
|
buffer that generated the QoS event. Values can be left to
|
|
GST_CLOCK_TIME_NONE when unknown.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="737"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2024">The new qos message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2003">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="live" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2004">if the message was generated by a live element</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
<parameter name="running_time" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2005">the running time of the buffer that generated the message</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="stream_time" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2006">the stream time of the buffer that generated the message</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="timestamp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2007">the timestamps of the buffer that generated the message</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="duration" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2008">the duration of the buffer that generated the message</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_redirect"
|
|
c:identifier="gst_message_new_redirect"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3032">Creates a new redirect message and adds a new entry to it. Redirect messages
|
|
are posted when an element detects that the actual data has to be retrieved
|
|
from a different location. This is useful if such a redirection cannot be
|
|
handled inside a source element, for example when HTTP 302/303 redirects
|
|
return a non-HTTP URL.
|
|
|
|
The redirect message can hold multiple entries. The first one is added
|
|
when the redirect message is created, with the given location, tag_list,
|
|
entry_struct arguments. Use gst_message_add_redirect_entry() to add more
|
|
entries.
|
|
|
|
Each entry has a location, a tag list, and a structure. All of these are
|
|
optional. The tag list and structure are useful for additional metadata,
|
|
such as bitrate statistics for the given location.
|
|
|
|
By default, message recipients should treat entries in the order they are
|
|
stored. The recipient should therefore try entry \#0 first, and if this
|
|
entry is not acceptable or working, try entry \#1 etc. Senders must make
|
|
sure that they add entries in this order. However, recipients are free to
|
|
ignore the order and pick an entry that is "best" for them. One example
|
|
would be a recipient that scans the entries for the one with the highest
|
|
bitrate tag.
|
|
|
|
The specified location string is copied. However, ownership over the tag
|
|
list and structure are transferred to the message.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="867"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3065">a newly allocated #GstMessage</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3034">The #GstObject whose property changed (may or may not be a #GstElement)</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="location" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3035">location string for the new entry</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="tag_list"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3036">tag list for the new entry</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</parameter>
|
|
<parameter name="entry_struct"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3037">structure for the new entry</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_request_state"
|
|
c:identifier="gst_message_new_request_state">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1121">This message can be posted by elements when they want to have their state
|
|
changed. A typical use case would be an audio server that wants to pause the
|
|
pipeline because a higher priority stream is being played.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="718"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1130">the new request state message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1123">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="state" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1124">The new requested state</doc>
|
|
<type name="State" c:type="GstState"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_reset_time"
|
|
c:identifier="gst_message_new_reset_time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2339">This message is posted when the pipeline running-time should be reset to
|
|
@running_time, like after a flushing seek.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="774"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2347">The new reset_time message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2341">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="running_time" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2342">the requested running-time</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_segment_done"
|
|
c:identifier="gst_message_new_segment_done">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="954">Create a new segment done message. This message is posted by elements that
|
|
finish playback of a segment as a result of a segment seek. This message
|
|
is received by the application after all elements that posted a segment_start
|
|
have posted the segment_done.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="663"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="965">the new segment done message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="956">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="957">The format of the position being done</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="position" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="958">The position of the segment being done</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_segment_start"
|
|
c:identifier="gst_message_new_segment_start">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="924">Create a new segment message. This message is posted by elements that
|
|
start playback of a segment as a result of a segment seek. This message
|
|
is not received by the application but is used for maintenance reasons in
|
|
container elements.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="654"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="935">the new segment start message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="926">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="927">The format of the position being played</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="position" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="928">The position of the segment being played</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_state_changed"
|
|
c:identifier="gst_message_new_state_changed">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="747">Create a state change message. This message is posted whenever an element
|
|
changed its state.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="595"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="757">the new state change message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="749">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="oldstate" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="750">the previous state</doc>
|
|
<type name="State" c:type="GstState"/>
|
|
</parameter>
|
|
<parameter name="newstate" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="751">the new (current) state</doc>
|
|
<type name="State" c:type="GstState"/>
|
|
</parameter>
|
|
<parameter name="pending" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="752">the pending (target) state</doc>
|
|
<type name="State" c:type="GstState"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_state_dirty"
|
|
c:identifier="gst_message_new_state_dirty">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="777">Create a state dirty message. This message is posted whenever an element
|
|
changed its state asynchronously and is used internally to update the
|
|
states of container objects.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="604"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="785">the new state dirty message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="779">The object originating the message</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_step_done"
|
|
c:identifier="gst_message_new_step_done">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1845">This message is posted by elements when they complete a part, when @intermediate set
|
|
to %TRUE, or a complete step operation.
|
|
|
|
@duration will contain the amount of time (in GST_FORMAT_TIME) of the stepped
|
|
@amount of media in format @format.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="609"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1862">the new step_done message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1847">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1848">the format of @amount</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="amount" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1849">the amount of stepped data</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="rate" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1850">the rate of the stepped amount</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
<parameter name="flush" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1851">is this an flushing step</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
<parameter name="intermediate" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1852">is this an intermediate step</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
<parameter name="duration" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1853">the duration of the data</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="eos" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1854">the step caused EOS</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_step_start"
|
|
c:identifier="gst_message_new_step_start">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1923">This message is posted by elements when they accept or activate a new step
|
|
event for @amount in @format.
|
|
|
|
@active is set to %FALSE when the element accepted the new step event and has
|
|
queued it for execution in the streaming threads.
|
|
|
|
@active is set to %TRUE when the element has activated the step operation and
|
|
is now ready to start executing the step in the streaming thread. After this
|
|
message is emitted, the application can queue a new step operation in the
|
|
element.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="726"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1944">The new step_start message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1925">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="active" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1926">if the step is active or queued</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1927">the format of @amount</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="amount" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1928">the amount of stepped data</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="rate" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1929">the rate of the stepped amount</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
<parameter name="flush" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1930">is this an flushing step</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
<parameter name="intermediate" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1931">is this an intermediate step</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_stream_collection"
|
|
c:identifier="gst_message_new_stream_collection"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2831">Creates a new stream-collection message. The message is used to announce new
|
|
#GstStreamCollection</doc>
|
|
<source-position filename="gst/gstmessage.h" line="842"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2839">a newly allocated #GstMessage</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2833">The #GstObject that created the message</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="collection" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2834">The #GstStreamCollection</doc>
|
|
<type name="StreamCollection" c:type="GstStreamCollection*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_stream_start"
|
|
c:identifier="gst_message_new_stream_start">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2389">Create a new stream_start message. This message is generated and posted in
|
|
the sink elements of a GstBin. The bin will only forward the STREAM_START
|
|
message to the application if all sinks have posted an STREAM_START message.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="782"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2397">The new stream_start message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2391">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_stream_status"
|
|
c:identifier="gst_message_new_stream_status">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1735">Create a new stream status message. This message is posted when a streaming
|
|
thread is created/destroyed or when the state changed.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="704"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1744">the new stream status message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1737">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1738">The stream status type.</doc>
|
|
<type name="StreamStatusType" c:type="GstStreamStatusType"/>
|
|
</parameter>
|
|
<parameter name="owner" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1739">the owner element of @src.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_streams_selected"
|
|
c:identifier="gst_message_new_streams_selected"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2885">Creates a new steams-selected message. The message is used to announce
|
|
that an array of streams has been selected. This is generally in response
|
|
to a #GST_EVENT_SELECT_STREAMS event, or when an element (such as decodebin3)
|
|
makes an initial selection of streams.
|
|
|
|
The message also contains the #GstStreamCollection to which the various streams
|
|
belong to.
|
|
|
|
Users of gst_message_new_streams_selected() can add the selected streams with
|
|
gst_message_streams_selected_add().</doc>
|
|
<source-position filename="gst/gstmessage.h" line="850"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2901">a newly allocated #GstMessage</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2887">The #GstObject that created the message</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="collection" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2888">The #GstStreamCollection</doc>
|
|
<type name="StreamCollection" c:type="GstStreamCollection*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_structure_change"
|
|
c:identifier="gst_message_new_structure_change">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="885">Create a new structure change message. This message is posted when the
|
|
structure of a pipeline is in the process of being changed, for example
|
|
when pads are linked or unlinked.
|
|
|
|
@src should be the sinkpad that unlinked or linked.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="695"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="898">the new structure change message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="887">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="888">The change type.</doc>
|
|
<type name="StructureChangeType" c:type="GstStructureChangeType"/>
|
|
</parameter>
|
|
<parameter name="owner" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="889">The owner element of @src.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="busy" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="890">Whether the structure change is busy.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_tag" c:identifier="gst_message_new_tag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="676">Create a new tag message. The message will take ownership of the tag list.
|
|
The message is posted by elements that discovered a new taglist.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="570"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="684">the new tag message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="678">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="tag_list" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="679">the tag list for the message.</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_toc" c:identifier="gst_message_new_toc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2288">Create a new TOC message. The message is posted by elements
|
|
that discovered or updated a TOC.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="766"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2297">a new TOC message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2290">the object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="toc" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2291">#GstToc structure for the message.</doc>
|
|
<type name="Toc" c:type="GstToc*"/>
|
|
</parameter>
|
|
<parameter name="updated" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2292">whether TOC was updated or not.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_warning" c:identifier="gst_message_new_warning">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="539">Create a new warning message. The message will make copies of @error and
|
|
@debug.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="542"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="548">the new warning message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="541">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="error" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="542">The GError for this message.</doc>
|
|
<type name="GLib.Error" c:type="GError*"/>
|
|
</parameter>
|
|
<parameter name="debug" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="543">A debugging string.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_warning_with_details"
|
|
c:identifier="gst_message_new_warning_with_details"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="496">Create a new warning message. The message will make copies of @error and
|
|
@debug.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="545"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="506">the new warning message.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="498">The object originating the message.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="error" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="499">The GError for this message.</doc>
|
|
<type name="GLib.Error" c:type="GError*"/>
|
|
</parameter>
|
|
<parameter name="debug" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="500">A debugging string.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="details"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="501">A GstStructure with details</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<method name="add_redirect_entry"
|
|
c:identifier="gst_message_add_redirect_entry"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3101">Creates and appends a new entry.
|
|
|
|
The specified location string is copied. However, ownership over the tag
|
|
list and structure are transferred to the message.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="870"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3103">a #GstMessage of type %GST_MESSAGE_REDIRECT</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="location" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3104">location string for the new entry</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="tag_list"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3105">tag list for the new entry</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</parameter>
|
|
<parameter name="entry_struct"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3106">structure for the new entry</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="copy" c:identifier="gst_message_copy" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="413">Creates a copy of the message. Returns a copy of the message.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="423"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="419">a new copy of @msg.
|
|
|
|
MT safe</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="msg" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="415">the message to copy</doc>
|
|
<type name="Message" c:type="const GstMessage*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_num_redirect_entries"
|
|
c:identifier="gst_message_get_num_redirect_entries"
|
|
version="1.10">
|
|
<source-position filename="gst/gstmessage.h" line="876"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3232">the number of entries stored in the message</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3230">a #GstMessage of type %GST_MESSAGE_REDIRECT</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_seqnum" c:identifier="gst_message_get_seqnum">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="329">Retrieve the sequence number of a message.
|
|
|
|
Messages have ever-incrementing sequence numbers, which may also be set
|
|
explicitly via gst_message_set_seqnum(). Sequence numbers are typically used
|
|
to indicate that a message corresponds to some other set of messages or
|
|
events, for example a SEGMENT_DONE message corresponding to a SEEK event. It
|
|
is considered good practice to make this correspondence when possible, though
|
|
it is not required.
|
|
|
|
Note that events and messages share the same sequence number incrementor;
|
|
two events or messages will never have the same sequence number unless
|
|
that correspondence was made explicitly.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="515"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="346">The message's sequence number.
|
|
|
|
MT safe.</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="331">A #GstMessage.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_stream_status_object"
|
|
c:identifier="gst_message_get_stream_status_object">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1818">Extracts the object managing the streaming thread from @message.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="713"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1824">a GValue containing the object that manages the
|
|
streaming thread. This object is usually of type GstTask but other types can
|
|
be added in the future. The object remains valid as long as @message is
|
|
valid.</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1820">A valid #GstMessage of type GST_MESSAGE_STREAM_STATUS.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_structure" c:identifier="gst_message_get_structure">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1147">Access the structure of the message.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="504"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1153">The structure of the message. The
|
|
structure is still owned by the message, which means that you should not
|
|
free it and that the pointer becomes invalid when you free the message.
|
|
|
|
MT safe.</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1149">The #GstMessage.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_name" c:identifier="gst_message_has_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1204">Checks if @message has the given @name. This function is usually used to
|
|
check the name of a custom message.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="510"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1212">%TRUE if @name matches the name of the message structure.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1206">The #GstMessage.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1207">name to check</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_async_done"
|
|
c:identifier="gst_message_parse_async_done">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1687">Extract the running_time from the async_done message.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="690"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1689">A valid #GstMessage of type GST_MESSAGE_ASYNC_DONE.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="running_time"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1690">Result location for the running_time or %NULL</doc>
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_buffering"
|
|
c:identifier="gst_message_parse_buffering">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1267">Extracts the buffering percent from the GstMessage. see also
|
|
gst_message_new_buffering().
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="581"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1269">A valid #GstMessage of type GST_MESSAGE_BUFFERING.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="percent"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1270">Return location for the percent.</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_buffering_stats"
|
|
c:identifier="gst_message_parse_buffering_stats">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1313">Extracts the buffering stats values from @message.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="588"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1315">A valid #GstMessage of type GST_MESSAGE_BUFFERING.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="mode"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1316">a buffering mode, or %NULL</doc>
|
|
<type name="BufferingMode" c:type="GstBufferingMode*"/>
|
|
</parameter>
|
|
<parameter name="avg_in"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1317">the average input rate, or %NULL</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
<parameter name="avg_out"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1318">the average output rate, or %NULL</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
<parameter name="buffering_left"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1319">amount of buffering time left in
|
|
milliseconds, or %NULL</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_clock_lost"
|
|
c:identifier="gst_message_parse_clock_lost">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1439">Extracts the lost clock from the GstMessage.
|
|
The clock object returned remains valid until the message is freed.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="631"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1441">A valid #GstMessage of type GST_MESSAGE_CLOCK_LOST.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="clock"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1442">a pointer to hold the lost clock</doc>
|
|
<type name="Clock" c:type="GstClock**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_clock_provide"
|
|
c:identifier="gst_message_parse_clock_provide">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1404">Extracts the clock and ready flag from the GstMessage.
|
|
The clock object returned remains valid until the message is freed.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="622"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1406">A valid #GstMessage of type GST_MESSAGE_CLOCK_PROVIDE.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="clock"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1407">a pointer to hold a clock
|
|
object, or %NULL</doc>
|
|
<type name="Clock" c:type="GstClock**"/>
|
|
</parameter>
|
|
<parameter name="ready"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1409">a pointer to hold the ready flag, or %NULL</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_context_type"
|
|
c:identifier="gst_message_parse_context_type"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2511">Parse a context type from an existing GST_MESSAGE_NEED_CONTEXT message.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="796"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2518">a #gboolean indicating if the parsing succeeded.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2513">a GST_MESSAGE_NEED_CONTEXT type message</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="context_type"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2514">the context type, or %NULL</doc>
|
|
<type name="utf8" c:type="const gchar**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_device_added"
|
|
c:identifier="gst_message_parse_device_added"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2621">Parses a device-added message. The device-added message is produced by
|
|
#GstDeviceProvider or a #GstDeviceMonitor. It announces the appearance
|
|
of monitored devices.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="812"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2623">a #GstMessage of type %GST_MESSAGE_DEVICE_ADDED</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="device"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2624">A location where to store a
|
|
pointer to the new #GstDevice, or %NULL</doc>
|
|
<type name="Device" c:type="GstDevice**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_device_changed"
|
|
c:identifier="gst_message_parse_device_changed"
|
|
version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2728">Parses a device-changed message. The device-changed message is produced by
|
|
#GstDeviceProvider or a #GstDeviceMonitor. It announces the
|
|
disappearance of monitored devices. * It announce that a device properties has
|
|
changed and @device represents the new modified version of @changed_device.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="828"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2730">a #GstMessage of type %GST_MESSAGE_DEVICE_CHANGED</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="device"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2731">A location where to store a
|
|
pointer to the updated version of the #GstDevice, or %NULL</doc>
|
|
<type name="Device" c:type="GstDevice**"/>
|
|
</parameter>
|
|
<parameter name="changed_device"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2733">A location where to store a
|
|
pointer to the old version of the #GstDevice, or %NULL</doc>
|
|
<type name="Device" c:type="GstDevice**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_device_removed"
|
|
c:identifier="gst_message_parse_device_removed"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2673">Parses a device-removed message. The device-removed message is produced by
|
|
#GstDeviceProvider or a #GstDeviceMonitor. It announces the
|
|
disappearance of monitored devices.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="820"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2675">a #GstMessage of type %GST_MESSAGE_DEVICE_REMOVED</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="device"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2676">A location where to store a
|
|
pointer to the removed #GstDevice, or %NULL</doc>
|
|
<type name="Device" c:type="GstDevice**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_error" c:identifier="gst_message_parse_error">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1536">Extracts the GError and debug string from the GstMessage. The values returned
|
|
in the output arguments are copies; the caller must free them when done.
|
|
|
|
Typical usage of this function might be:
|
|
|[<!-- language="C" -->
|
|
...
|
|
switch (GST_MESSAGE_TYPE (msg)) {
|
|
case GST_MESSAGE_ERROR: {
|
|
GError *err = NULL;
|
|
gchar *dbg_info = NULL;
|
|
|
|
gst_message_parse_error (msg, &amp;err, &amp;dbg_info);
|
|
g_printerr ("ERROR from element %s: %s\n",
|
|
GST_OBJECT_NAME (msg->src), err->message);
|
|
g_printerr ("Debugging info: %s\n", (dbg_info) ? dbg_info : "none");
|
|
g_error_free (err);
|
|
g_free (dbg_info);
|
|
break;
|
|
}
|
|
...
|
|
}
|
|
...
|
|
]|
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="534"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1538">A valid #GstMessage of type GST_MESSAGE_ERROR.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="gerror"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1539">location for the GError</doc>
|
|
<type name="GLib.Error" c:type="GError**"/>
|
|
</parameter>
|
|
<parameter name="debug"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1540">location for the debug message,
|
|
or %NULL</doc>
|
|
<type name="utf8" c:type="gchar**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_error_details"
|
|
c:identifier="gst_message_parse_error_details"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="468">Returns the optional details structure, may be NULL if none.
|
|
The returned structure must not be freed.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="537"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="470">The message object</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="structure"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="471">A pointer to the returned details</doc>
|
|
<type name="Structure" c:type="const GstStructure**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_group_id"
|
|
c:identifier="gst_message_parse_group_id"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2446">Extract the group from the STREAM_START message.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="788"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2454">%TRUE if the message had a group id set, %FALSE otherwise
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2448">A valid #GstMessage of type GST_MESSAGE_STREAM_START.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="group_id"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2449">Result location for the group id or
|
|
%NULL</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_have_context"
|
|
c:identifier="gst_message_parse_have_context"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2569">Extract the context from the HAVE_CONTEXT message.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="804"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2571">A valid #GstMessage of type GST_MESSAGE_HAVE_CONTEXT.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="context"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2572">Result location for the
|
|
context or %NULL</doc>
|
|
<type name="Context" c:type="GstContext**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_info" c:identifier="gst_message_parse_info">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1604">Extracts the GError and debug string from the GstMessage. The values returned
|
|
in the output arguments are copies; the caller must free them when done.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="562"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1606">A valid #GstMessage of type GST_MESSAGE_INFO.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="gerror"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1607">location for the GError</doc>
|
|
<type name="GLib.Error" c:type="GError**"/>
|
|
</parameter>
|
|
<parameter name="debug"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1608">location for the debug message,
|
|
or %NULL</doc>
|
|
<type name="utf8" c:type="gchar**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_info_details"
|
|
c:identifier="gst_message_parse_info_details"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="648">Returns the optional details structure, may be NULL if none
|
|
The returned structure must not be freed.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="565"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="650">The message object</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="structure"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="651">A pointer to the returned details structure</doc>
|
|
<type name="Structure" c:type="const GstStructure**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_instant_rate_request"
|
|
c:identifier="gst_message_parse_instant_rate_request"
|
|
version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3304">Parses the rate_multiplier from the instant-rate-request message.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="883"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3306">a #GstMessage of type %GST_MESSAGE_INSTANT_RATE_REQUEST</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="rate_multiplier"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3307">return location for the rate, or %NULL</doc>
|
|
<type name="gdouble" c:type="gdouble*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_new_clock"
|
|
c:identifier="gst_message_parse_new_clock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1467">Extracts the new clock from the GstMessage.
|
|
The clock object returned remains valid until the message is freed.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="639"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1469">A valid #GstMessage of type GST_MESSAGE_NEW_CLOCK.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="clock"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1470">a pointer to hold the selected
|
|
new clock</doc>
|
|
<type name="Clock" c:type="GstClock**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_progress" c:identifier="gst_message_parse_progress">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2263">Parses the progress @type, @code and @text.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="760"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2265">A valid #GstMessage of type GST_MESSAGE_PROGRESS.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="type"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2266">location for the type</doc>
|
|
<type name="ProgressType" c:type="GstProgressType*"/>
|
|
</parameter>
|
|
<parameter name="code"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2267">location for the code</doc>
|
|
<type name="utf8" c:type="gchar**"/>
|
|
</parameter>
|
|
<parameter name="text"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2268">location for the text</doc>
|
|
<type name="utf8" c:type="gchar**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_property_notify"
|
|
c:identifier="gst_message_parse_property_notify"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2789">Parses a property-notify message. These will be posted on the bus only
|
|
when set up with gst_element_add_property_notify_watch() or
|
|
gst_element_add_property_deep_notify_watch().</doc>
|
|
<source-position filename="gst/gstmessage.h" line="837"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2791">a #GstMessage of type %GST_MESSAGE_PROPERTY_NOTIFY</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="object"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2792">location where to store a
|
|
pointer to the object whose property got changed, or %NULL</doc>
|
|
<type name="Object" c:type="GstObject**"/>
|
|
</parameter>
|
|
<parameter name="property_name"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2794">return location for
|
|
the name of the property that got changed, or %NULL</doc>
|
|
<type name="utf8" c:type="const gchar**"/>
|
|
</parameter>
|
|
<parameter name="property_value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2796">return location for
|
|
the new value of the property that got changed, or %NULL. This will
|
|
only be set if the property notify watch was told to include the value
|
|
when it was set up</doc>
|
|
<type name="GObject.Value" c:type="const GValue**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_qos" c:identifier="gst_message_parse_qos">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2116">Extract the timestamps and live status from the QoS message.
|
|
|
|
The returned values give the running_time, stream_time, timestamp and
|
|
duration of the dropped buffer. Values of GST_CLOCK_TIME_NONE mean unknown
|
|
values.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="746"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2118">A valid #GstMessage of type GST_MESSAGE_QOS.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="live"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2119">if the message was generated by a live element</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
<parameter name="running_time"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2120">the running time of the buffer that
|
|
generated the message</doc>
|
|
<type name="guint64" c:type="guint64*"/>
|
|
</parameter>
|
|
<parameter name="stream_time"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2122">the stream time of the buffer that
|
|
generated the message</doc>
|
|
<type name="guint64" c:type="guint64*"/>
|
|
</parameter>
|
|
<parameter name="timestamp"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2124">the timestamps of the buffer that
|
|
generated the message</doc>
|
|
<type name="guint64" c:type="guint64*"/>
|
|
</parameter>
|
|
<parameter name="duration"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2126">the duration of the buffer that
|
|
generated the message</doc>
|
|
<type name="guint64" c:type="guint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_qos_stats"
|
|
c:identifier="gst_message_parse_qos_stats">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2187">Extract the QoS stats representing the history of the current continuous
|
|
pipeline playback period.
|
|
|
|
When @format is @GST_FORMAT_UNDEFINED both @dropped and @processed are
|
|
invalid. Values of -1 for either @processed or @dropped mean unknown values.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="752"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2189">A valid #GstMessage of type GST_MESSAGE_QOS.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="format"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2190">Units of the 'processed' and 'dropped' fields.
|
|
Video sinks and video filters will use GST_FORMAT_BUFFERS (frames).
|
|
Audio sinks and audio filters will likely use GST_FORMAT_DEFAULT
|
|
(samples).</doc>
|
|
<type name="Format" c:type="GstFormat*"/>
|
|
</parameter>
|
|
<parameter name="processed"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2194">Total number of units correctly processed
|
|
since the last state change to READY or a flushing operation.</doc>
|
|
<type name="guint64" c:type="guint64*"/>
|
|
</parameter>
|
|
<parameter name="dropped"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2196">Total number of units dropped since the last
|
|
state change to READY or a flushing operation.</doc>
|
|
<type name="guint64" c:type="guint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_qos_values"
|
|
c:identifier="gst_message_parse_qos_values">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2156">Extract the QoS values that have been calculated/analysed from the QoS data
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="749"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2158">A valid #GstMessage of type GST_MESSAGE_QOS.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="jitter"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2159">The difference of the running-time against
|
|
the deadline.</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
<parameter name="proportion"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2161">Long term prediction of the ideal rate
|
|
relative to normal rate to get optimal quality.</doc>
|
|
<type name="gdouble" c:type="gdouble*"/>
|
|
</parameter>
|
|
<parameter name="quality"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2163">An element dependent integer value that
|
|
specifies the current quality level of the element. The default
|
|
maximum quality is 1000000.</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_redirect_entry"
|
|
c:identifier="gst_message_parse_redirect_entry"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3160">Parses the location and/or structure from the entry with the given index.
|
|
The index must be between 0 and gst_message_get_num_redirect_entries() - 1.
|
|
Returned pointers are valid for as long as this message exists.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="873"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3162">a #GstMessage of type %GST_MESSAGE_REDIRECT</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="entry_index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3163">index of the entry to parse</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="location"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3164">return location for
|
|
the pointer to the entry's location string, or %NULL</doc>
|
|
<type name="utf8" c:type="const gchar**"/>
|
|
</parameter>
|
|
<parameter name="tag_list"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3166">return location for
|
|
the pointer to the entry's tag list, or %NULL</doc>
|
|
<type name="TagList" c:type="GstTagList**"/>
|
|
</parameter>
|
|
<parameter name="entry_struct"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3168">return location
|
|
for the pointer to the entry's structure, or %NULL</doc>
|
|
<type name="Structure" c:type="const GstStructure**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_request_state"
|
|
c:identifier="gst_message_parse_request_state">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1711">Extract the requested state from the request_state message.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="721"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1713">A valid #GstMessage of type GST_MESSAGE_REQUEST_STATE.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="state"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1714">Result location for the requested state or %NULL</doc>
|
|
<type name="State" c:type="GstState*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_reset_time"
|
|
c:identifier="gst_message_parse_reset_time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2364">Extract the running-time from the RESET_TIME message.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="777"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2366">A valid #GstMessage of type GST_MESSAGE_RESET_TIME.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="running_time"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2367">Result location for the running_time or
|
|
%NULL</doc>
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_segment_done"
|
|
c:identifier="gst_message_parse_segment_done">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1657">Extracts the position and format from the segment done message.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="666"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1659">A valid #GstMessage of type GST_MESSAGE_SEGMENT_DONE.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="format"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1660">Result location for the format, or %NULL</doc>
|
|
<type name="Format" c:type="GstFormat*"/>
|
|
</parameter>
|
|
<parameter name="position"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1661">Result location for the position, or %NULL</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_segment_start"
|
|
c:identifier="gst_message_parse_segment_start">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1627">Extracts the position and format from the segment start message.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="657"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1629">A valid #GstMessage of type GST_MESSAGE_SEGMENT_START.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="format"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1630">Result location for the format, or %NULL</doc>
|
|
<type name="Format" c:type="GstFormat*"/>
|
|
</parameter>
|
|
<parameter name="position"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1631">Result location for the position, or %NULL</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_state_changed"
|
|
c:identifier="gst_message_parse_state_changed">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1350">Extracts the old and new states from the GstMessage.
|
|
|
|
Typical usage of this function might be:
|
|
|[<!-- language="C" -->
|
|
...
|
|
switch (GST_MESSAGE_TYPE (msg)) {
|
|
case GST_MESSAGE_STATE_CHANGED: {
|
|
GstState old_state, new_state;
|
|
|
|
gst_message_parse_state_changed (msg, &amp;old_state, &amp;new_state, NULL);
|
|
g_print ("Element %s changed state from %s to %s.\n",
|
|
GST_OBJECT_NAME (msg->src),
|
|
gst_element_state_get_name (old_state),
|
|
gst_element_state_get_name (new_state));
|
|
break;
|
|
}
|
|
...
|
|
}
|
|
...
|
|
]|
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="598"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1352">a valid #GstMessage of type GST_MESSAGE_STATE_CHANGED</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="oldstate"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1353">the previous state, or %NULL</doc>
|
|
<type name="State" c:type="GstState*"/>
|
|
</parameter>
|
|
<parameter name="newstate"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1354">the new (current) state, or %NULL</doc>
|
|
<type name="State" c:type="GstState*"/>
|
|
</parameter>
|
|
<parameter name="pending"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1355">the pending (target) state, or %NULL</doc>
|
|
<type name="State" c:type="GstState*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_step_done"
|
|
c:identifier="gst_message_parse_step_done">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1887">Extract the values the step_done message.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="613"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1889">A valid #GstMessage of type GST_MESSAGE_STEP_DONE.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="format"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1890">result location for the format</doc>
|
|
<type name="Format" c:type="GstFormat*"/>
|
|
</parameter>
|
|
<parameter name="amount"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1891">result location for the amount</doc>
|
|
<type name="guint64" c:type="guint64*"/>
|
|
</parameter>
|
|
<parameter name="rate"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1892">result location for the rate</doc>
|
|
<type name="gdouble" c:type="gdouble*"/>
|
|
</parameter>
|
|
<parameter name="flush"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1893">result location for the flush flag</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
<parameter name="intermediate"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1894">result location for the intermediate flag</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
<parameter name="duration"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1895">result location for the duration</doc>
|
|
<type name="guint64" c:type="guint64*"/>
|
|
</parameter>
|
|
<parameter name="eos"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1896">result location for the EOS flag</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_step_start"
|
|
c:identifier="gst_message_parse_step_start">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1967">Extract the values from step_start message.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="730"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1969">A valid #GstMessage of type GST_MESSAGE_STEP_DONE.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="active"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1970">result location for the active flag</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
<parameter name="format"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1971">result location for the format</doc>
|
|
<type name="Format" c:type="GstFormat*"/>
|
|
</parameter>
|
|
<parameter name="amount"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1972">result location for the amount</doc>
|
|
<type name="guint64" c:type="guint64*"/>
|
|
</parameter>
|
|
<parameter name="rate"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1973">result location for the rate</doc>
|
|
<type name="gdouble" c:type="gdouble*"/>
|
|
</parameter>
|
|
<parameter name="flush"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1974">result location for the flush flag</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
<parameter name="intermediate"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1975">result location for the intermediate flag</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_stream_collection"
|
|
c:identifier="gst_message_parse_stream_collection"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2862">Parses a stream-collection message.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="845"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2864">a #GstMessage of type %GST_MESSAGE_STREAM_COLLECTION</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="collection"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2865">A location where to store a
|
|
pointer to the #GstStreamCollection, or %NULL</doc>
|
|
<type name="StreamCollection" c:type="GstStreamCollection**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_stream_status"
|
|
c:identifier="gst_message_parse_stream_status">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1763">Extracts the stream status type and owner the GstMessage. The returned
|
|
owner remains valid for as long as the reference to @message is valid and
|
|
should thus not be unreffed.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="707"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1765">A valid #GstMessage of type GST_MESSAGE_STREAM_STATUS.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="type"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1766">A pointer to hold the status type</doc>
|
|
<type name="StreamStatusType" c:type="GstStreamStatusType*"/>
|
|
</parameter>
|
|
<parameter name="owner"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1767">The owner element of the message source</doc>
|
|
<type name="Element" c:type="GstElement**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_streams_selected"
|
|
c:identifier="gst_message_parse_streams_selected"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3010">Parses a streams-selected message.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="856"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3012">a #GstMessage of type %GST_MESSAGE_STREAMS_SELECTED</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="collection"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="3013">A location where to store a
|
|
pointer to the #GstStreamCollection, or %NULL</doc>
|
|
<type name="StreamCollection" c:type="GstStreamCollection**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_structure_change"
|
|
c:identifier="gst_message_parse_structure_change">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1496">Extracts the change type and completion status from the GstMessage.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="698"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1498">A valid #GstMessage of type GST_MESSAGE_STRUCTURE_CHANGE.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="type"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1499">A pointer to hold the change type</doc>
|
|
<type name="StructureChangeType" c:type="GstStructureChangeType*"/>
|
|
</parameter>
|
|
<parameter name="owner"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1500">The owner element of the
|
|
message source</doc>
|
|
<type name="Element" c:type="GstElement**"/>
|
|
</parameter>
|
|
<parameter name="busy"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1502">a pointer to hold whether the change is in
|
|
progress or has been completed</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_tag" c:identifier="gst_message_parse_tag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1228">Extracts the tag list from the GstMessage. The tag list returned in the
|
|
output argument is a copy; the caller must free it when done.
|
|
|
|
Typical usage of this function might be:
|
|
|[<!-- language="C" -->
|
|
...
|
|
switch (GST_MESSAGE_TYPE (msg)) {
|
|
case GST_MESSAGE_TAG: {
|
|
GstTagList *tags = NULL;
|
|
|
|
gst_message_parse_tag (msg, &amp;tags);
|
|
g_print ("Got tags from element %s\n", GST_OBJECT_NAME (msg->src));
|
|
handle_tags (tags);
|
|
gst_tag_list_unref (tags);
|
|
break;
|
|
}
|
|
...
|
|
}
|
|
...
|
|
]|
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="573"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1230">A valid #GstMessage of type GST_MESSAGE_TAG.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag_list"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1231">return location for the tag-list.</doc>
|
|
<type name="TagList" c:type="GstTagList**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_toc" c:identifier="gst_message_parse_toc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2315">Extract the TOC from the #GstMessage. The TOC returned in the
|
|
output argument is a copy; the caller must free it with
|
|
gst_toc_unref() when done.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="769"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2317">a valid #GstMessage of type GST_MESSAGE_TOC.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="toc"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2318">return location for the TOC.</doc>
|
|
<type name="Toc" c:type="GstToc**"/>
|
|
</parameter>
|
|
<parameter name="updated"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2319">return location for the updated flag.</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_warning" c:identifier="gst_message_parse_warning">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1580">Extracts the GError and debug string from the GstMessage. The values returned
|
|
in the output arguments are copies; the caller must free them when done.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="548"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1582">A valid #GstMessage of type GST_MESSAGE_WARNING.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="gerror"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1583">location for the GError</doc>
|
|
<type name="GLib.Error" c:type="GError**"/>
|
|
</parameter>
|
|
<parameter name="debug"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1584">location for the debug message,
|
|
or %NULL</doc>
|
|
<type name="utf8" c:type="gchar**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_warning_details"
|
|
c:identifier="gst_message_parse_warning_details"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="558">Returns the optional details structure, may be NULL if none
|
|
The returned structure must not be freed.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="551"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="560">The message object</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="structure"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="561">A pointer to the returned details structure</doc>
|
|
<type name="Structure" c:type="const GstStructure**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="ref" c:identifier="gst_message_ref" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="364">Convenience macro to increase the reference count of the message.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="372"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="370">@msg (for convenience when doing assignments)</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="msg" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="366">the message to ref</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_buffering_stats"
|
|
c:identifier="gst_message_set_buffering_stats">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1289">Configures the buffering stats values in @message.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="584"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1291">A valid #GstMessage of type GST_MESSAGE_BUFFERING.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1292">a buffering mode</doc>
|
|
<type name="BufferingMode" c:type="GstBufferingMode"/>
|
|
</parameter>
|
|
<parameter name="avg_in" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1293">the average input rate</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="avg_out" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1294">the average output rate</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="buffering_left" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1295">amount of buffering time left in milliseconds</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_group_id"
|
|
c:identifier="gst_message_set_group_id"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2414">Sets the group id on the stream-start message.
|
|
|
|
All streams that have the same group id are supposed to be played
|
|
together, i.e. all streams inside a container file should have the
|
|
same group id but different stream ids. The group id should change
|
|
each time the stream is started, resulting in different group ids
|
|
each time a file is played for example.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="785"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2416">the message</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="group_id" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2417">the group id</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_qos_stats" c:identifier="gst_message_set_qos_stats">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2081">Set the QoS stats representing the history of the current continuous pipeline
|
|
playback period.
|
|
|
|
When @format is @GST_FORMAT_UNDEFINED both @dropped and @processed are
|
|
invalid. Values of -1 for either @processed or @dropped mean unknown values.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="743"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2083">A valid #GstMessage of type GST_MESSAGE_QOS.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2084">Units of the 'processed' and 'dropped' fields. Video sinks and video
|
|
filters will use GST_FORMAT_BUFFERS (frames). Audio sinks and audio filters
|
|
will likely use GST_FORMAT_DEFAULT (samples).</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="processed" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2087">Total number of units correctly processed since the last state
|
|
change to READY or a flushing operation.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="dropped" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2089">Total number of units dropped since the last state change to READY
|
|
or a flushing operation.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_qos_values" c:identifier="gst_message_set_qos_values">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2052">Set the QoS values that have been calculated/analysed from the QoS data
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="740"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2054">A valid #GstMessage of type GST_MESSAGE_QOS.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="jitter" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2055">The difference of the running-time against the deadline.</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
<parameter name="proportion" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2056">Long term prediction of the ideal rate relative to normal rate
|
|
to get optimal quality.</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
<parameter name="quality" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2058">An element dependent integer value that specifies the current
|
|
quality level of the element. The default maximum quality is 1000000.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_seqnum" c:identifier="gst_message_set_seqnum">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="358">Set the sequence number of a message.
|
|
|
|
This function might be called by the creator of a message to indicate that
|
|
the message relates to other messages or events. See gst_message_get_seqnum()
|
|
for more information.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="518"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="360">A #GstMessage.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="seqnum" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="361">A sequence number.</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_stream_status_object"
|
|
c:identifier="gst_message_set_stream_status_object">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1797">Configures the object handling the streaming thread. This is usually a
|
|
GstTask object but other objects might be added in the future.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="710"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1799">A valid #GstMessage of type GST_MESSAGE_STREAM_STATUS.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1800">the object controlling the streaming</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="streams_selected_add"
|
|
c:identifier="gst_message_streams_selected_add"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2952">Adds the @stream to the @message.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="853"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2954">a #GstMessage of type %GST_MESSAGE_STREAMS_SELECTED</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="stream" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2955">a #GstStream to add to @message</doc>
|
|
<type name="Stream" c:type="GstStream*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="streams_selected_get_size"
|
|
c:identifier="gst_message_streams_selected_get_size"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2927">Returns the number of streams contained in the @message.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="859"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2933">The number of streams contained within.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2929">a #GstMessage of type %GST_MESSAGE_STREAMS_SELECTED</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="streams_selected_get_stream"
|
|
c:identifier="gst_message_streams_selected_get_stream"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2979">Retrieves the #GstStream with index @index from the @message.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="862"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2986">A #GstStream</doc>
|
|
<type name="Stream" c:type="GstStream*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2981">a #GstMessage of type %GST_MESSAGE_STREAMS_SELECTED</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
<parameter name="idx" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="2982">Index of the stream to retrieve</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unref" c:identifier="gst_message_unref" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="379">Convenience macro to decrease the reference count of the message, possibly
|
|
freeing it.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="386"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="msg" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="381">the message to unref</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="writable_structure"
|
|
c:identifier="gst_message_writable_structure"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1167">Get a writable version of the structure.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="507"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1173">The structure of the message. The structure
|
|
is still owned by the message, which means that you should not free
|
|
it and that the pointer becomes invalid when you free the message.
|
|
This function checks if @message is writable and will never return
|
|
%NULL.
|
|
|
|
MT safe.</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="1169">The #GstMessage.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<function name="replace"
|
|
c:identifier="gst_message_replace"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="450">Modifies a pointer to a #GstMessage to point to a different #GstMessage. The
|
|
modification is done atomically (so this is useful for ensuring thread safety
|
|
in some cases), and the reference counts are updated appropriately (the old
|
|
message is unreffed, the new one is reffed).
|
|
|
|
Either @new_message or the #GstMessage pointed to by @old_message may be %NULL.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="466"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="464">%TRUE if @new_message was different from @old_message</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="old_message"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="452">pointer to a
|
|
pointer to a #GstMessage to be replaced.</doc>
|
|
<type name="Message" c:type="GstMessage**"/>
|
|
</parameter>
|
|
<parameter name="new_message"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="454">pointer to a #GstMessage that will
|
|
replace the message pointed to by @old_message.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</record>
|
|
<bitfield name="MessageType"
|
|
glib:type-name="GstMessageType"
|
|
glib:get-type="gst_message_type_get_type"
|
|
c:type="GstMessageType">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="31">The different message types that are available.</doc>
|
|
<member name="unknown"
|
|
value="0"
|
|
c:identifier="GST_MESSAGE_UNKNOWN"
|
|
glib:nick="unknown">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="33">an undefined message</doc>
|
|
</member>
|
|
<member name="eos"
|
|
value="1"
|
|
c:identifier="GST_MESSAGE_EOS"
|
|
glib:nick="eos">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="34">end-of-stream reached in a pipeline. The application will
|
|
only receive this message in the PLAYING state and every time it sets a
|
|
pipeline to PLAYING that is in the EOS state. The application can perform a
|
|
flushing seek in the pipeline, which will undo the EOS state again.</doc>
|
|
</member>
|
|
<member name="error"
|
|
value="2"
|
|
c:identifier="GST_MESSAGE_ERROR"
|
|
glib:nick="error">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="38">an error occurred. When the application receives an error
|
|
message it should stop playback of the pipeline and not assume that more
|
|
data will be played. It is possible to specify a redirection url to the error
|
|
messages by setting a `redirect-location` field into the error message, application
|
|
or high level bins might use the information as required.</doc>
|
|
</member>
|
|
<member name="warning"
|
|
value="4"
|
|
c:identifier="GST_MESSAGE_WARNING"
|
|
glib:nick="warning">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="43">a warning occurred.</doc>
|
|
</member>
|
|
<member name="info"
|
|
value="8"
|
|
c:identifier="GST_MESSAGE_INFO"
|
|
glib:nick="info">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="44">an info message occurred</doc>
|
|
</member>
|
|
<member name="tag"
|
|
value="16"
|
|
c:identifier="GST_MESSAGE_TAG"
|
|
glib:nick="tag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="45">a tag was found.</doc>
|
|
</member>
|
|
<member name="buffering"
|
|
value="32"
|
|
c:identifier="GST_MESSAGE_BUFFERING"
|
|
glib:nick="buffering">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="46">the pipeline is buffering. When the application
|
|
receives a buffering message in the PLAYING state for a non-live pipeline it
|
|
must PAUSE the pipeline until the buffering completes, when the percentage
|
|
field in the message is 100%. For live pipelines, no action must be
|
|
performed and the buffering percentage can be used to inform the user about
|
|
the progress.</doc>
|
|
</member>
|
|
<member name="state_changed"
|
|
value="64"
|
|
c:identifier="GST_MESSAGE_STATE_CHANGED"
|
|
glib:nick="state-changed">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="52">a state change happened</doc>
|
|
</member>
|
|
<member name="state_dirty"
|
|
value="128"
|
|
c:identifier="GST_MESSAGE_STATE_DIRTY"
|
|
glib:nick="state-dirty">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="53">an element changed state in a streaming thread.
|
|
This message is deprecated.</doc>
|
|
</member>
|
|
<member name="step_done"
|
|
value="256"
|
|
c:identifier="GST_MESSAGE_STEP_DONE"
|
|
glib:nick="step-done">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="55">a stepping operation finished.</doc>
|
|
</member>
|
|
<member name="clock_provide"
|
|
value="512"
|
|
c:identifier="GST_MESSAGE_CLOCK_PROVIDE"
|
|
glib:nick="clock-provide">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="56">an element notifies its capability of providing
|
|
a clock. This message is used internally and
|
|
never forwarded to the application.</doc>
|
|
</member>
|
|
<member name="clock_lost"
|
|
value="1024"
|
|
c:identifier="GST_MESSAGE_CLOCK_LOST"
|
|
glib:nick="clock-lost">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="59">The current clock as selected by the pipeline became
|
|
unusable. The pipeline will select a new clock on
|
|
the next PLAYING state change. The application
|
|
should set the pipeline to PAUSED and back to
|
|
PLAYING when this message is received.</doc>
|
|
</member>
|
|
<member name="new_clock"
|
|
value="2048"
|
|
c:identifier="GST_MESSAGE_NEW_CLOCK"
|
|
glib:nick="new-clock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="64">a new clock was selected in the pipeline.</doc>
|
|
</member>
|
|
<member name="structure_change"
|
|
value="4096"
|
|
c:identifier="GST_MESSAGE_STRUCTURE_CHANGE"
|
|
glib:nick="structure-change">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="65">the structure of the pipeline changed. This
|
|
message is used internally and never forwarded to the application.</doc>
|
|
</member>
|
|
<member name="stream_status"
|
|
value="8192"
|
|
c:identifier="GST_MESSAGE_STREAM_STATUS"
|
|
glib:nick="stream-status">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="67">status about a stream, emitted when it starts,
|
|
stops, errors, etc..</doc>
|
|
</member>
|
|
<member name="application"
|
|
value="16384"
|
|
c:identifier="GST_MESSAGE_APPLICATION"
|
|
glib:nick="application">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="69">message posted by the application, possibly
|
|
via an application-specific element.</doc>
|
|
</member>
|
|
<member name="element"
|
|
value="32768"
|
|
c:identifier="GST_MESSAGE_ELEMENT"
|
|
glib:nick="element">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="71">element-specific message, see the specific element's
|
|
documentation</doc>
|
|
</member>
|
|
<member name="segment_start"
|
|
value="65536"
|
|
c:identifier="GST_MESSAGE_SEGMENT_START"
|
|
glib:nick="segment-start">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="73">pipeline started playback of a segment. This
|
|
message is used internally and never forwarded to the application.</doc>
|
|
</member>
|
|
<member name="segment_done"
|
|
value="131072"
|
|
c:identifier="GST_MESSAGE_SEGMENT_DONE"
|
|
glib:nick="segment-done">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="75">pipeline completed playback of a segment. This
|
|
message is forwarded to the application after all elements that posted
|
|
@GST_MESSAGE_SEGMENT_START posted a GST_MESSAGE_SEGMENT_DONE message.</doc>
|
|
</member>
|
|
<member name="duration_changed"
|
|
value="262144"
|
|
c:identifier="GST_MESSAGE_DURATION_CHANGED"
|
|
glib:nick="duration-changed">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="78">The duration of a pipeline changed. The
|
|
application can get the new duration with a duration query.</doc>
|
|
</member>
|
|
<member name="latency"
|
|
value="524288"
|
|
c:identifier="GST_MESSAGE_LATENCY"
|
|
glib:nick="latency">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="86">Posted by elements when their latency changes. The
|
|
application should recalculate and distribute a new latency.</doc>
|
|
</member>
|
|
<member name="async_start"
|
|
value="1048576"
|
|
c:identifier="GST_MESSAGE_ASYNC_START"
|
|
glib:nick="async-start">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="80">Posted by elements when they start an ASYNC
|
|
#GstStateChange. This message is not forwarded to the application but is used
|
|
internally.</doc>
|
|
</member>
|
|
<member name="async_done"
|
|
value="2097152"
|
|
c:identifier="GST_MESSAGE_ASYNC_DONE"
|
|
glib:nick="async-done">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="83">Posted by elements when they complete an ASYNC
|
|
#GstStateChange. The application will only receive this message from the toplevel
|
|
pipeline.</doc>
|
|
</member>
|
|
<member name="request_state"
|
|
value="4194304"
|
|
c:identifier="GST_MESSAGE_REQUEST_STATE"
|
|
glib:nick="request-state">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="88">Posted by elements when they want the pipeline to
|
|
change state. This message is a suggestion to the application which can
|
|
decide to perform the state change on (part of) the pipeline.</doc>
|
|
</member>
|
|
<member name="step_start"
|
|
value="8388608"
|
|
c:identifier="GST_MESSAGE_STEP_START"
|
|
glib:nick="step-start">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="91">A stepping operation was started.</doc>
|
|
</member>
|
|
<member name="qos"
|
|
value="16777216"
|
|
c:identifier="GST_MESSAGE_QOS"
|
|
glib:nick="qos">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="92">A buffer was dropped or an element changed its processing
|
|
strategy for Quality of Service reasons.</doc>
|
|
</member>
|
|
<member name="progress"
|
|
value="33554432"
|
|
c:identifier="GST_MESSAGE_PROGRESS"
|
|
glib:nick="progress">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="94">A progress message.</doc>
|
|
</member>
|
|
<member name="toc"
|
|
value="67108864"
|
|
c:identifier="GST_MESSAGE_TOC"
|
|
glib:nick="toc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="95">A new table of contents (TOC) was found or previously found TOC
|
|
was updated.</doc>
|
|
</member>
|
|
<member name="reset_time"
|
|
value="134217728"
|
|
c:identifier="GST_MESSAGE_RESET_TIME"
|
|
glib:nick="reset-time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="97">Message to request resetting the pipeline's
|
|
running time from the pipeline. This is an internal message which
|
|
applications will likely never receive.</doc>
|
|
</member>
|
|
<member name="stream_start"
|
|
value="268435456"
|
|
c:identifier="GST_MESSAGE_STREAM_START"
|
|
glib:nick="stream-start">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="100">Message indicating start of a new stream. Useful
|
|
e.g. when using playbin in gapless playback mode, to get notified when
|
|
the next title actually starts playing (which will be some time after
|
|
the URI for the next title has been set).</doc>
|
|
</member>
|
|
<member name="need_context"
|
|
value="536870912"
|
|
c:identifier="GST_MESSAGE_NEED_CONTEXT"
|
|
glib:nick="need-context">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="104">Message indicating that an element wants a specific context (Since: 1.2)</doc>
|
|
</member>
|
|
<member name="have_context"
|
|
value="1073741824"
|
|
c:identifier="GST_MESSAGE_HAVE_CONTEXT"
|
|
glib:nick="have-context">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="105">Message indicating that an element created a context (Since: 1.2)</doc>
|
|
</member>
|
|
<member name="extended"
|
|
value="2147483648"
|
|
c:identifier="GST_MESSAGE_EXTENDED"
|
|
glib:nick="extended">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="106">Message is an extended message type (see below).
|
|
These extended message IDs can't be used directly with mask-based API
|
|
like gst_bus_poll() or gst_bus_timed_pop_filtered(), but you can still
|
|
filter for GST_MESSAGE_EXTENDED and then check the result for the
|
|
specific type. (Since: 1.4)</doc>
|
|
</member>
|
|
<member name="device_added"
|
|
value="2147483649"
|
|
c:identifier="GST_MESSAGE_DEVICE_ADDED"
|
|
glib:nick="device-added">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="111">Message indicating a #GstDevice was added to
|
|
a #GstDeviceProvider (Since: 1.4)</doc>
|
|
</member>
|
|
<member name="device_removed"
|
|
value="2147483650"
|
|
c:identifier="GST_MESSAGE_DEVICE_REMOVED"
|
|
glib:nick="device-removed">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="113">Message indicating a #GstDevice was removed
|
|
from a #GstDeviceProvider (Since: 1.4)</doc>
|
|
</member>
|
|
<member name="property_notify"
|
|
value="2147483651"
|
|
c:identifier="GST_MESSAGE_PROPERTY_NOTIFY"
|
|
glib:nick="property-notify">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="115">Message indicating a #GObject property has
|
|
changed (Since: 1.10)</doc>
|
|
</member>
|
|
<member name="stream_collection"
|
|
value="2147483652"
|
|
c:identifier="GST_MESSAGE_STREAM_COLLECTION"
|
|
glib:nick="stream-collection">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="117">Message indicating a new #GstStreamCollection
|
|
is available (Since: 1.10)</doc>
|
|
</member>
|
|
<member name="streams_selected"
|
|
value="2147483653"
|
|
c:identifier="GST_MESSAGE_STREAMS_SELECTED"
|
|
glib:nick="streams-selected">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="119">Message indicating the active selection of
|
|
#GstStreams has changed (Since: 1.10)</doc>
|
|
</member>
|
|
<member name="redirect"
|
|
value="2147483654"
|
|
c:identifier="GST_MESSAGE_REDIRECT"
|
|
glib:nick="redirect">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="121">Message indicating to request the application to
|
|
try to play the given URL(s). Useful if for example a HTTP 302/303
|
|
response is received with a non-HTTP URL inside. (Since: 1.10)</doc>
|
|
</member>
|
|
<member name="device_changed"
|
|
value="2147483655"
|
|
c:identifier="GST_MESSAGE_DEVICE_CHANGED"
|
|
glib:nick="device-changed">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="124">Message indicating a #GstDevice was changed
|
|
a #GstDeviceProvider (Since: 1.16)</doc>
|
|
</member>
|
|
<member name="instant_rate_request"
|
|
value="2147483656"
|
|
c:identifier="GST_MESSAGE_INSTANT_RATE_REQUEST"
|
|
glib:nick="instant-rate-request">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="126">Message sent by elements to request the
|
|
running time from the pipeline when an instant rate change should
|
|
be applied (which may be in the past when the answer arrives). (Since: 1.18)</doc>
|
|
</member>
|
|
<member name="any"
|
|
value="4294967295"
|
|
c:identifier="GST_MESSAGE_ANY"
|
|
glib:nick="any">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="129">mask for all of the above messages.</doc>
|
|
</member>
|
|
<function name="get_name" c:identifier="gst_message_type_get_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="140">Get a printable name for the given message type. Do not modify or free.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="358"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="146">a reference to the static name of the message.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="142">the message type</doc>
|
|
<type name="MessageType" c:type="GstMessageType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="to_quark" c:identifier="gst_message_type_to_quark">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="160">Get the unique quark for the given message type.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="361"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="166">the quark associated with the message type</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="162">the message type</doc>
|
|
<type name="MessageType" c:type="GstMessageType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</bitfield>
|
|
<record name="Meta" c:type="GstMeta">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="22">The #GstMeta structure should be included as the first member of a #GstBuffer
|
|
metadata structure. The structure defines the API of the metadata and should
|
|
be accessible to all elements using the metadata.
|
|
|
|
A metadata API is registered with gst_meta_api_type_register() which takes a
|
|
name for the metadata API and some tags associated with the metadata.
|
|
With gst_meta_api_type_has_tag() one can check if a certain metadata API
|
|
contains a given tag.
|
|
|
|
Multiple implementations of a metadata API can be registered.
|
|
To implement a metadata API, gst_meta_register() should be used. This
|
|
function takes all parameters needed to create, free and transform metadata
|
|
along with the size of the metadata. The function returns a #GstMetaInfo
|
|
structure that contains the information for the implementation of the API.
|
|
|
|
A specific implementation can be retrieved by name with gst_meta_get_info().
|
|
|
|
See #GstBuffer for how the metadata can be added, retrieved and removed from
|
|
buffers.</doc>
|
|
<source-position filename="gst/gstmeta.h" line="106"/>
|
|
<field name="flags" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="97">extra flags for the metadata</doc>
|
|
<type name="MetaFlags" c:type="GstMetaFlags"/>
|
|
</field>
|
|
<field name="info" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="98">pointer to the #GstMetaInfo</doc>
|
|
<type name="MetaInfo" c:type="const GstMetaInfo*"/>
|
|
</field>
|
|
<method name="compare_seqnum"
|
|
c:identifier="gst_meta_compare_seqnum"
|
|
version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="461">Meta sequence number compare function. Can be used as #GCompareFunc
|
|
or a #GCompareDataFunc.</doc>
|
|
<source-position filename="gst/gstmeta.h" line="279"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="469">a negative number if @meta1 comes before @meta2, 0 if both metas
|
|
have an equal sequence number, or a positive integer if @meta1 comes
|
|
after @meta2.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="meta1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="463">a #GstMeta</doc>
|
|
<type name="Meta" c:type="const GstMeta*"/>
|
|
</instance-parameter>
|
|
<parameter name="meta2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="464">a #GstMeta</doc>
|
|
<type name="Meta" c:type="const GstMeta*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_seqnum"
|
|
c:identifier="gst_meta_get_seqnum"
|
|
version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="439">Gets seqnum for this meta.</doc>
|
|
<source-position filename="gst/gstmeta.h" line="276"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="guint64" c:type="guint64"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="meta" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="441">a #GstMeta</doc>
|
|
<type name="Meta" c:type="const GstMeta*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<function name="api_type_get_tags"
|
|
c:identifier="gst_meta_api_type_get_tags"
|
|
version="1.2">
|
|
<source-position filename="gst/gstmeta.h" line="273"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="335">an array of tags as strings.</doc>
|
|
<array c:type="const gchar* const*">
|
|
<type name="utf8"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="api" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="333">an API</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="api_type_has_tag"
|
|
c:identifier="gst_meta_api_type_has_tag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="313">Check if @api was registered with @tag.</doc>
|
|
<source-position filename="gst/gstmeta.h" line="246"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="320">%TRUE if @api was registered with @tag.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="api" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="315">an API</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="316">the tag to check</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="api_type_register"
|
|
c:identifier="gst_meta_api_type_register">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="115">Register and return a GType for the @api and associate it with
|
|
@tags.</doc>
|
|
<source-position filename="gst/gstmeta.h" line="243"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="123">a unique GType for @api.</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="api" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="117">an API to register</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="tags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="118">tags for @api</doc>
|
|
<array c:type="const gchar**">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</array>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="get_info" c:identifier="gst_meta_get_info">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="415">Lookup a previously registered meta info structure by its implementation name
|
|
@impl.</doc>
|
|
<source-position filename="gst/gstmeta.h" line="270"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="422">a #GstMetaInfo with @impl, or
|
|
%NULL when no such metainfo exists.</doc>
|
|
<type name="MetaInfo" c:type="const GstMetaInfo*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="impl" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="417">the name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="register" c:identifier="gst_meta_register">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="353">Register a new #GstMeta implementation.
|
|
|
|
The same @info can be retrieved later with gst_meta_get_info() by using
|
|
@impl as the key.</doc>
|
|
<source-position filename="gst/gstmeta.h" line="249"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="367">a #GstMetaInfo that can be used to
|
|
access metadata.</doc>
|
|
<type name="MetaInfo" c:type="const GstMetaInfo*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="api" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="355">the type of the #GstMeta API</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
<parameter name="impl" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="356">the name of the #GstMeta implementation</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="357">the size of the #GstMeta structure</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="init_func" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="358">a #GstMetaInitFunction</doc>
|
|
<type name="MetaInitFunction" c:type="GstMetaInitFunction"/>
|
|
</parameter>
|
|
<parameter name="free_func" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="359">a #GstMetaFreeFunction</doc>
|
|
<type name="MetaFreeFunction" c:type="GstMetaFreeFunction"/>
|
|
</parameter>
|
|
<parameter name="transform_func"
|
|
transfer-ownership="none"
|
|
scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="360">a #GstMetaTransformFunction</doc>
|
|
<type name="MetaTransformFunction"
|
|
c:type="GstMetaTransformFunction"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="register_custom"
|
|
c:identifier="gst_meta_register_custom"
|
|
version="1.20">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="236">Register a new custom #GstMeta implementation, backed by an opaque
|
|
structure holding a #GstStructure.
|
|
|
|
The registered info can be retrieved later with gst_meta_get_info() by using
|
|
@name as the key.
|
|
|
|
The backing #GstStructure can be retrieved with
|
|
gst_custom_meta_get_structure(), its mutability is conditioned by the
|
|
writability of the buffer the meta is attached to.
|
|
|
|
When @transform_func is %NULL, the meta and its backing #GstStructure
|
|
will always be copied when the transform operation is copy, other operations
|
|
are discarded, copy regions are ignored.</doc>
|
|
<source-position filename="gst/gstmeta.h" line="256"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="258">a #GstMetaInfo that can be used to
|
|
access metadata.</doc>
|
|
<type name="MetaInfo" c:type="const GstMetaInfo*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="238">the name of the #GstMeta implementation</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="tags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="239">tags for @api</doc>
|
|
<array c:type="const gchar**">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</array>
|
|
</parameter>
|
|
<parameter name="transform_func"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
scope="notified"
|
|
closure="3"
|
|
destroy="4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="240">a #GstMetaTransformFunction</doc>
|
|
<type name="CustomMetaTransformFunction"
|
|
c:type="GstCustomMetaTransformFunction"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="241">user data passed to @transform_func</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="destroy_data"
|
|
transfer-ownership="none"
|
|
scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="242">#GDestroyNotify for user_data</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</record>
|
|
<bitfield name="MetaFlags"
|
|
glib:type-name="GstMetaFlags"
|
|
glib:get-type="gst_meta_flags_get_type"
|
|
c:type="GstMetaFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="35">Extra metadata flags.</doc>
|
|
<member name="none"
|
|
value="0"
|
|
c:identifier="GST_META_FLAG_NONE"
|
|
glib:nick="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="37">no flags</doc>
|
|
</member>
|
|
<member name="readonly"
|
|
value="1"
|
|
c:identifier="GST_META_FLAG_READONLY"
|
|
glib:nick="readonly">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="38">metadata should not be modified</doc>
|
|
</member>
|
|
<member name="pooled"
|
|
value="2"
|
|
c:identifier="GST_META_FLAG_POOLED"
|
|
glib:nick="pooled">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="39">metadata is managed by a bufferpool</doc>
|
|
</member>
|
|
<member name="locked"
|
|
value="4"
|
|
c:identifier="GST_META_FLAG_LOCKED"
|
|
glib:nick="locked">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="40">metadata should not be removed</doc>
|
|
</member>
|
|
<member name="last"
|
|
value="65536"
|
|
c:identifier="GST_META_FLAG_LAST"
|
|
glib:nick="last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="41">additional flags can be added starting from this flag.</doc>
|
|
</member>
|
|
</bitfield>
|
|
<callback name="MetaFreeFunction" c:type="GstMetaFreeFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="131">Function called when @meta is freed in @buffer.</doc>
|
|
<source-position filename="gst/gstmeta.h" line="138"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="meta" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="133">a #GstMeta</doc>
|
|
<type name="Meta" c:type="GstMeta*"/>
|
|
</parameter>
|
|
<parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="134">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<record name="MetaInfo" c:type="GstMetaInfo">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="216">The #GstMetaInfo provides information about a specific metadata
|
|
structure.</doc>
|
|
<source-position filename="gst/gstmeta.h" line="240"/>
|
|
<field name="api" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="218">tag identifying the metadata structure and api</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</field>
|
|
<field name="type" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="219">type identifying the implementor of the api</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</field>
|
|
<field name="size" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="220">size of the metadata</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</field>
|
|
<field name="init_func" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="221">function for initializing the metadata</doc>
|
|
<type name="MetaInitFunction" c:type="GstMetaInitFunction"/>
|
|
</field>
|
|
<field name="free_func" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="222">function for freeing the metadata</doc>
|
|
<type name="MetaFreeFunction" c:type="GstMetaFreeFunction"/>
|
|
</field>
|
|
<field name="transform_func" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="223">function for transforming the metadata</doc>
|
|
<type name="MetaTransformFunction" c:type="GstMetaTransformFunction"/>
|
|
</field>
|
|
<method name="is_custom"
|
|
c:identifier="gst_meta_info_is_custom"
|
|
version="1.20">
|
|
<source-position filename="gst/gstmeta.h" line="261"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="301">whether @info was registered as a #GstCustomMeta with
|
|
gst_meta_register_custom()</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="info" transfer-ownership="none">
|
|
<type name="MetaInfo" c:type="const GstMetaInfo*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<callback name="MetaInitFunction" c:type="GstMetaInitFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="121">Function called when @meta is initialized in @buffer.</doc>
|
|
<source-position filename="gst/gstmeta.h" line="129"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="meta" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="123">a #GstMeta</doc>
|
|
<type name="Meta" c:type="GstMeta*"/>
|
|
</parameter>
|
|
<parameter name="params"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="124">parameters passed to the init function</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="125">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<record name="MetaTransformCopy" c:type="GstMetaTransformCopy">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="156">Extra data passed to a "gst-copy" transform #GstMetaTransformFunction.</doc>
|
|
<source-position filename="gst/gstmeta.h" line="168"/>
|
|
<field name="region" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="158">%TRUE if only region is copied</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</field>
|
|
<field name="offset" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="159">the offset to copy, 0 if @region is %FALSE, otherwise > 0</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</field>
|
|
<field name="size" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="160">the size to copy, -1 or the buffer size when @region is %FALSE</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</field>
|
|
</record>
|
|
<callback name="MetaTransformFunction" c:type="GstMetaTransformFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="170">Function called for each @meta in @buffer as a result of performing a
|
|
transformation on @transbuf. Additional @type specific transform data
|
|
is passed to the function as @data.
|
|
|
|
Implementations should check the @type of the transform and parse
|
|
additional type specific fields in @data that should be used to update
|
|
the metadata on @transbuf.</doc>
|
|
<source-position filename="gst/gstmeta.h" line="188"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="186">%TRUE if the transform could be performed</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="transbuf" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="172">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
<parameter name="meta" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="173">a #GstMeta</doc>
|
|
<type name="Meta" c:type="GstMeta*"/>
|
|
</parameter>
|
|
<parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="174">a #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="175">the transform type</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
<parameter name="data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.h"
|
|
line="176">transform specific data.</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<record name="MiniObject" c:type="GstMiniObject">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="21">#GstMiniObject is a simple structure that can be used to implement refcounted
|
|
types.
|
|
|
|
Subclasses will include #GstMiniObject as the first member in their structure
|
|
and then call gst_mini_object_init() to initialize the #GstMiniObject fields.
|
|
|
|
gst_mini_object_ref() and gst_mini_object_unref() increment and decrement the
|
|
refcount respectively. When the refcount of a mini-object reaches 0, the
|
|
dispose function is called first and when this returns %TRUE, the free
|
|
function of the miniobject is called.
|
|
|
|
A copy can be made with gst_mini_object_copy().
|
|
|
|
gst_mini_object_is_writable() will return %TRUE when the refcount of the
|
|
object is exactly 1 and there is no parent or a single parent exists and is
|
|
writable itself, meaning the current caller has the only reference to the
|
|
object. gst_mini_object_make_writable() will return a writable version of
|
|
the object, which might be a new copy when the refcount was not 1.
|
|
|
|
Opaque data can be associated with a #GstMiniObject with
|
|
gst_mini_object_set_qdata() and gst_mini_object_get_qdata(). The data is
|
|
meant to be specific to the particular object and is not automatically copied
|
|
with gst_mini_object_copy() or similar methods.
|
|
|
|
A weak reference can be added and remove with gst_mini_object_weak_ref()
|
|
and gst_mini_object_weak_unref() respectively.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="219"/>
|
|
<field name="type" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="193">the GType of the object</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</field>
|
|
<field name="refcount" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="194">atomic refcount</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</field>
|
|
<field name="lockstate" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="195">atomic state of the locks</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</field>
|
|
<field name="flags" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="196">extra flags.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</field>
|
|
<field name="copy" introspectable="0" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="197">a copy function</doc>
|
|
<type name="MiniObjectCopyFunction"
|
|
c:type="GstMiniObjectCopyFunction"/>
|
|
</field>
|
|
<field name="dispose" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="198">a dispose function</doc>
|
|
<type name="MiniObjectDisposeFunction"
|
|
c:type="GstMiniObjectDisposeFunction"/>
|
|
</field>
|
|
<field name="free" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="199">the free function</doc>
|
|
<type name="MiniObjectFreeFunction"
|
|
c:type="GstMiniObjectFreeFunction"/>
|
|
</field>
|
|
<field name="priv_uint" readable="0" private="1">
|
|
<type name="guint" c:type="guint"/>
|
|
</field>
|
|
<field name="priv_pointer" readable="0" private="1">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</field>
|
|
<method name="add_parent"
|
|
c:identifier="gst_mini_object_add_parent"
|
|
version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="984">This adds @parent as a parent for @object. Having one ore more parents affects the
|
|
writability of @object: if a @parent is not writable, @object is also not
|
|
writable, regardless of its refcount. @object is only writable if all
|
|
the parents are writable and its own refcount is exactly 1.
|
|
|
|
Note: This function does not take ownership of @parent and also does not
|
|
take an additional reference. It is the responsibility of the caller to
|
|
remove the parent again at a later time.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="280"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="986">a #GstMiniObject</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="987">a parent #GstMiniObject</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="copy"
|
|
c:identifier="gst_mini_object_copy"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="169">Creates a copy of the mini-object.
|
|
|
|
MT safe</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="267"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="177">the new mini-object if copying is
|
|
possible, %NULL otherwise.</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="mini_object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="171">the mini-object to copy</doc>
|
|
<type name="MiniObject" c:type="const GstMiniObject*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_qdata" c:identifier="gst_mini_object_get_qdata">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="918">This function gets back user data pointers stored via
|
|
gst_mini_object_set_qdata().</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="274"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="926">The user data pointer set, or
|
|
%NULL</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="920">The GstMiniObject to get a stored user data pointer from</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="quark" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="921">A #GQuark, naming the user data pointer</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="init"
|
|
c:identifier="gst_mini_object_init"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="135">Initializes a mini-object with the desired type and copy/dispose/free
|
|
functions.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="222"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="mini_object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="137">a #GstMiniObject</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="138">initial #GstMiniObjectFlags</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="139">the #GType of the mini-object to create</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
<parameter name="copy_func"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="140">the copy function, or %NULL</doc>
|
|
<type name="MiniObjectCopyFunction"
|
|
c:type="GstMiniObjectCopyFunction"/>
|
|
</parameter>
|
|
<parameter name="dispose_func"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="141">the dispose function, or %NULL</doc>
|
|
<type name="MiniObjectDisposeFunction"
|
|
c:type="GstMiniObjectDisposeFunction"/>
|
|
</parameter>
|
|
<parameter name="free_func"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="142">the free function or %NULL</doc>
|
|
<type name="MiniObjectFreeFunction"
|
|
c:type="GstMiniObjectFreeFunction"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_writable" c:identifier="gst_mini_object_is_writable">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="328">If @mini_object has the LOCKABLE flag set, check if the current EXCLUSIVE
|
|
lock on @object is the only one, this means that changes to the object will
|
|
not be visible to any other object.
|
|
|
|
If the LOCKABLE flag is not set, check if the refcount of @mini_object is
|
|
exactly 1, meaning that no other reference exists to the object and that the
|
|
object is therefore writable.
|
|
|
|
Modification of a mini-object should only be done after verifying that it
|
|
is writable.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="259"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="343">%TRUE if the object is writable.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="mini_object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="330">the mini-object to check</doc>
|
|
<type name="MiniObject" c:type="const GstMiniObject*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="lock" c:identifier="gst_mini_object_lock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="195">Lock the mini-object with the specified access mode in @flags.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="253"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="202">%TRUE if @object could be locked.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="197">the mini-object to lock</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="198">#GstLockFlags</doc>
|
|
<type name="LockFlags" c:type="GstLockFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="make_writable"
|
|
c:identifier="gst_mini_object_make_writable"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="403">Checks if a mini-object is writable. If not, a writable copy is made and
|
|
returned. This gives away the reference to the original mini object,
|
|
and returns a reference to the new object.
|
|
|
|
MT safe</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="262"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="413">a mini-object (possibly the same pointer) that
|
|
is writable.</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="mini_object" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="405">the mini-object to make writable</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="ref" c:identifier="gst_mini_object_ref" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="435">Increase the reference count of the mini-object.
|
|
|
|
Note that the refcount affects the writability
|
|
of @mini-object, see gst_mini_object_is_writable(). It is
|
|
important to note that keeping additional references to
|
|
GstMiniObject instances can potentially increase the number
|
|
of memcpy operations in a pipeline, especially if the miniobject
|
|
is a #GstBuffer.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="232"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="448">the mini-object.</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="mini_object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="437">the mini-object</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_parent"
|
|
c:identifier="gst_mini_object_remove_parent"
|
|
version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="1052">This removes @parent as a parent for @object. See
|
|
gst_mini_object_add_parent().</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="282"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="1054">a #GstMiniObject</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="1055">a parent #GstMiniObject</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_qdata" c:identifier="gst_mini_object_set_qdata">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="868">This sets an opaque, named pointer on a miniobject.
|
|
The name is specified through a #GQuark (retrieved e.g. via
|
|
g_quark_from_static_string()), and the pointer
|
|
can be gotten back from the @object with gst_mini_object_get_qdata()
|
|
until the @object is disposed.
|
|
Setting a previously set user data pointer, overrides (frees)
|
|
the old pointer set, using %NULL as pointer essentially
|
|
removes the data stored.
|
|
|
|
@destroy may be specified which is called with @data as argument
|
|
when the @object is disposed, or the data is being overwritten by
|
|
a call to gst_mini_object_set_qdata() with the same @quark.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="271"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="870">a #GstMiniObject</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="quark" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="871">A #GQuark, naming the user data pointer</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
<parameter name="data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="872">An opaque user data pointer</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="destroy" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="873">Function to invoke with @data as argument, when @data
|
|
needs to be freed</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="steal_qdata" c:identifier="gst_mini_object_steal_qdata">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="950">This function gets back user data pointers stored via gst_mini_object_set_qdata()
|
|
and removes the data from @object without invoking its `destroy()` function (if
|
|
any was set).</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="277"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="959">The user data pointer set, or
|
|
%NULL</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="952">The GstMiniObject to get a stored user data pointer from</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="quark" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="953">A #GQuark, naming the user data pointer</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unlock" c:identifier="gst_mini_object_unlock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="261">Unlock the mini-object with the specified access mode in @flags.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="256"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="263">the mini-object to unlock</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="264">#GstLockFlags</doc>
|
|
<type name="LockFlags" c:type="GstLockFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unref"
|
|
c:identifier="gst_mini_object_unref"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="627">Decreases the reference count of the mini-object, possibly freeing
|
|
the mini-object.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="235"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="mini_object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="629">the mini-object</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="weak_ref"
|
|
c:identifier="gst_mini_object_weak_ref"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="815">Adds a weak reference callback to a mini object. Weak references are
|
|
used for notification when a mini object is finalized. They are called
|
|
"weak references" because they allow you to safely hold a pointer
|
|
to the mini object without calling gst_mini_object_ref()
|
|
(gst_mini_object_ref() adds a strong reference, that is, forces the object
|
|
to stay alive).</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="242"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="817">#GstMiniObject to reference weakly</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="notify" transfer-ownership="none" closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="818">callback to invoke before the mini object is freed</doc>
|
|
<type name="MiniObjectNotify" c:type="GstMiniObjectNotify"/>
|
|
</parameter>
|
|
<parameter name="data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="819">extra data to pass to notify</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="weak_unref"
|
|
c:identifier="gst_mini_object_weak_unref"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="841">Removes a weak reference callback from a mini object.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="246"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="843">#GstMiniObject to remove a weak reference from</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="notify" transfer-ownership="none" closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="844">callback to search for</doc>
|
|
<type name="MiniObjectNotify" c:type="GstMiniObjectNotify"/>
|
|
</parameter>
|
|
<parameter name="data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="845">data to search for</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<function name="replace" c:identifier="gst_mini_object_replace">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="700">Atomically modifies a pointer to point to a new mini-object.
|
|
The reference count of @olddata is decreased and the reference count of
|
|
@newdata is increased.
|
|
|
|
Either @newdata and the value pointed to by @olddata may be %NULL.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="285"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="712">%TRUE if @newdata was different from @olddata</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="olddata"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="702">pointer to a pointer to a
|
|
mini-object to be replaced</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject**"/>
|
|
</parameter>
|
|
<parameter name="newdata"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="704">pointer to new mini-object</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="steal"
|
|
c:identifier="gst_mini_object_steal"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="746">Replace the current #GstMiniObject pointer to by @olddata with %NULL and
|
|
return the old value.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="291"/>
|
|
<return-value nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="754">the #GstMiniObject at @oldata</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="olddata"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="748">pointer to a pointer to a mini-object to
|
|
be stolen</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="take" c:identifier="gst_mini_object_take">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="776">Modifies a pointer to point to a new mini-object. The modification
|
|
is done atomically. This version is similar to gst_mini_object_replace()
|
|
except that it does not increase the refcount of @newdata and thus
|
|
takes ownership of @newdata.
|
|
|
|
Either @newdata and the value pointed to by @olddata may be %NULL.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="288"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="789">%TRUE if @newdata was different from @olddata</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="olddata"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="778">pointer to a pointer to a mini-object to
|
|
be replaced</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject**"/>
|
|
</parameter>
|
|
<parameter name="newdata" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="780">pointer to new mini-object</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</record>
|
|
<callback name="MiniObjectCopyFunction"
|
|
c:type="GstMiniObjectCopyFunction"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="39">Function prototype for methods to create copies of instances.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="47"/>
|
|
<return-value>
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="45">reference to cloned instance.</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="obj" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="41">MiniObject to copy</doc>
|
|
<type name="MiniObject" c:type="const GstMiniObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="MiniObjectDisposeFunction"
|
|
c:type="GstMiniObjectDisposeFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="48">Function prototype for when a miniobject has lost its last refcount.
|
|
Implementation of the mini object are allowed to revive the
|
|
passed object by doing a gst_mini_object_ref(). If the object is not
|
|
revived after the dispose function, the function should return %TRUE
|
|
and the memory associated with the object is freed.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="60"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="58">%TRUE if the object should be cleaned up.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="obj" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="50">MiniObject to dispose</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<bitfield name="MiniObjectFlags"
|
|
glib:type-name="GstMiniObjectFlags"
|
|
glib:get-type="gst_mini_object_flags_get_type"
|
|
c:type="GstMiniObjectFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="121">Flags for the mini object</doc>
|
|
<member name="lockable"
|
|
value="1"
|
|
c:identifier="GST_MINI_OBJECT_FLAG_LOCKABLE"
|
|
glib:nick="lockable">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="123">the object can be locked and unlocked with
|
|
gst_mini_object_lock() and gst_mini_object_unlock().</doc>
|
|
</member>
|
|
<member name="lock_readonly"
|
|
value="2"
|
|
c:identifier="GST_MINI_OBJECT_FLAG_LOCK_READONLY"
|
|
glib:nick="lock-readonly">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="125">the object is permanently locked in
|
|
READONLY mode. Only read locks can be performed on the object.</doc>
|
|
</member>
|
|
<member name="may_be_leaked"
|
|
value="4"
|
|
c:identifier="GST_MINI_OBJECT_FLAG_MAY_BE_LEAKED"
|
|
glib:nick="may-be-leaked">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="127">the object is expected to stay alive
|
|
even after gst_deinit() has been called and so should be ignored by leak
|
|
detection tools. (Since: 1.10)</doc>
|
|
</member>
|
|
<member name="last"
|
|
value="16"
|
|
c:identifier="GST_MINI_OBJECT_FLAG_LAST"
|
|
glib:nick="last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="130">first flag that can be used by subclasses.</doc>
|
|
</member>
|
|
</bitfield>
|
|
<callback name="MiniObjectFreeFunction" c:type="GstMiniObjectFreeFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="61">Virtual function prototype for methods to free resources used by
|
|
mini-objects.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="68"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="obj" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="63">MiniObject to free</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="MiniObjectNotify" c:type="GstMiniObjectNotify">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="70">A #GstMiniObjectNotify function can be added to a mini object as a
|
|
callback that gets triggered when gst_mini_object_unref() drops the
|
|
last ref and @obj is about to be freed.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="79"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="72">data that was provided when the notify was added</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="obj" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.h"
|
|
line="73">the mini object</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<constant name="NSECOND" value="1" c:type="GST_NSECOND">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="116">Constant that defines one GStreamer nanosecond</doc>
|
|
<source-position filename="gst/gstclock.h" line="121"/>
|
|
<type name="ClockTimeDiff" c:type="GstClockTimeDiff"/>
|
|
</constant>
|
|
<function-macro name="OBJECT" c:identifier="GST_OBJECT" introspectable="0">
|
|
<source-position filename="gst/gstobject.h" line="37"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="OBJECT_CAST"
|
|
c:identifier="GST_OBJECT_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstobject.h" line="39"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="OBJECT_CLASS"
|
|
c:identifier="GST_OBJECT_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstobject.h" line="38"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="OBJECT_CLASS_CAST"
|
|
c:identifier="GST_OBJECT_CLASS_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstobject.h" line="40"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="OBJECT_FLAGS"
|
|
c:identifier="GST_OBJECT_FLAGS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="128">This macro returns the entire set of flags for the object.</doc>
|
|
<source-position filename="gst/gstobject.h" line="134"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="130">a #GstObject</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="OBJECT_FLAG_IS_SET"
|
|
c:identifier="GST_OBJECT_FLAG_IS_SET"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="135">This macro checks to see if the given flag is set.</doc>
|
|
<source-position filename="gst/gstobject.h" line="142"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="137">a #GstObject</doc>
|
|
</parameter>
|
|
<parameter name="flag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="138">Flag to check for</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="OBJECT_FLAG_SET"
|
|
c:identifier="GST_OBJECT_FLAG_SET"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="143">This macro sets the given bits.</doc>
|
|
<source-position filename="gst/gstobject.h" line="150"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="145">a #GstObject</doc>
|
|
</parameter>
|
|
<parameter name="flag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="146">Flag to set</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="OBJECT_FLAG_UNSET"
|
|
c:identifier="GST_OBJECT_FLAG_UNSET"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="151">This macro unsets the given bits.</doc>
|
|
<source-position filename="gst/gstobject.h" line="158"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="153">a #GstObject</doc>
|
|
</parameter>
|
|
<parameter name="flag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="154">Flag to set</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="OBJECT_GET_CLASS"
|
|
c:identifier="GST_OBJECT_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstobject.h" line="36"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="OBJECT_GET_LOCK"
|
|
c:identifier="GST_OBJECT_GET_LOCK"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="76">Acquire a reference to the mutex of this object.</doc>
|
|
<source-position filename="gst/gstobject.h" line="82"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="78">a #GstObject</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="OBJECT_LOCK"
|
|
c:identifier="GST_OBJECT_LOCK"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="83">This macro will obtain a lock on the object, making serialization possible.
|
|
It blocks until the lock can be obtained.</doc>
|
|
<source-position filename="gst/gstobject.h" line="90"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="85">a #GstObject to lock</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="OBJECT_NAME"
|
|
c:identifier="GST_OBJECT_NAME"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="108">Get the name of this object. This is not thread-safe by default
|
|
(i.e. you will have to make sure the object lock is taken yourself).
|
|
If in doubt use gst_object_get_name() instead.</doc>
|
|
<source-position filename="gst/gstobject.h" line="116"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="110">a #GstObject</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="OBJECT_PARENT"
|
|
c:identifier="GST_OBJECT_PARENT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="117">Get the parent of this object. This is not thread-safe by default
|
|
(i.e. you will have to make sure the object lock is taken yourself).
|
|
If in doubt use gst_object_get_parent() instead.</doc>
|
|
<source-position filename="gst/gstobject.h" line="125"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="119">a #GstObject</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="OBJECT_REFCOUNT"
|
|
c:identifier="GST_OBJECT_REFCOUNT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="58">Get access to the reference count field of the object.</doc>
|
|
<source-position filename="gst/gstobject.h" line="64"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="60">a #GstObject</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="OBJECT_REFCOUNT_VALUE"
|
|
c:identifier="GST_OBJECT_REFCOUNT_VALUE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="65">Get the reference count value of the object.</doc>
|
|
<source-position filename="gst/gstobject.h" line="71"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="67">a #GstObject</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="OBJECT_TRYLOCK"
|
|
c:identifier="GST_OBJECT_TRYLOCK"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="91">This macro will try to obtain a lock on the object, but will return with
|
|
%FALSE if it can't get it immediately.</doc>
|
|
<source-position filename="gst/gstobject.h" line="98"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="93">a #GstObject.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="OBJECT_UNLOCK"
|
|
c:identifier="GST_OBJECT_UNLOCK"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="99">This macro releases a lock on the object.</doc>
|
|
<source-position filename="gst/gstobject.h" line="105"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="101">a #GstObject to unlock.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<class name="Object"
|
|
c:symbol-prefix="object"
|
|
c:type="GstObject"
|
|
parent="GObject.InitiallyUnowned"
|
|
abstract="1"
|
|
glib:type-name="GstObject"
|
|
glib:get-type="gst_object_get_type"
|
|
glib:type-struct="ObjectClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="24">#GstObject provides a root for the object hierarchy tree filed in by the
|
|
GStreamer library. It is currently a thin wrapper on top of
|
|
#GInitiallyUnowned. It is an abstract class that is not very usable on its own.
|
|
|
|
#GstObject gives us basic refcounting, parenting functionality and locking.
|
|
Most of the functions are just extended for special GStreamer needs and can be
|
|
found under the same name in the base class of #GstObject which is #GObject
|
|
(e.g. g_object_ref() becomes gst_object_ref()).
|
|
|
|
Since #GstObject derives from #GInitiallyUnowned, it also inherits the
|
|
floating reference. Be aware that functions such as gst_bin_add() and
|
|
gst_element_add_pad() take ownership of the floating reference.
|
|
|
|
In contrast to #GObject instances, #GstObject adds a name property. The functions
|
|
gst_object_set_name() and gst_object_get_name() are used to set/get the name
|
|
of the object.
|
|
|
|
## controlled properties
|
|
|
|
Controlled properties offers a lightweight way to adjust gobject properties
|
|
over stream-time. It works by using time-stamped value pairs that are queued
|
|
for element-properties. At run-time the elements continuously pull value
|
|
changes for the current stream-time.
|
|
|
|
What needs to be changed in a #GstElement?
|
|
Very little - it is just two steps to make a plugin controllable!
|
|
|
|
* mark gobject-properties paramspecs that make sense to be controlled,
|
|
by GST_PARAM_CONTROLLABLE.
|
|
|
|
* when processing data (get, chain, loop function) at the beginning call
|
|
gst_object_sync_values(element,timestamp).
|
|
This will make the controller update all GObject properties that are
|
|
under its control with the current values based on the timestamp.
|
|
|
|
What needs to be done in applications? Again it's not a lot to change.
|
|
|
|
* create a #GstControlSource.
|
|
csource = gst_interpolation_control_source_new ();
|
|
g_object_set (csource, "mode", GST_INTERPOLATION_MODE_LINEAR, NULL);
|
|
|
|
* Attach the #GstControlSource on the controller to a property.
|
|
gst_object_add_control_binding (object, gst_direct_control_binding_new (object, "prop1", csource));
|
|
|
|
* Set the control values
|
|
gst_timed_value_control_source_set ((GstTimedValueControlSource *)csource,0 * GST_SECOND, value1);
|
|
gst_timed_value_control_source_set ((GstTimedValueControlSource *)csource,1 * GST_SECOND, value2);
|
|
|
|
* start your pipeline</doc>
|
|
<source-position filename="gst/gstobject.h" line="210"/>
|
|
<function name="check_uniqueness"
|
|
c:identifier="gst_object_check_uniqueness">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="885">Checks to see if there is any object named @name in @list. This function
|
|
does not do any locking of any kind. You might want to protect the
|
|
provided list with the lock of the owner of the list. This function
|
|
will lock each #GstObject in the list to compare the name, so be
|
|
careful when passing a list with a locked object.</doc>
|
|
<source-position filename="gst/gstobject.h" line="277"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="897">%TRUE if a #GstObject named @name does not appear in @list,
|
|
%FALSE if it does.
|
|
|
|
MT safe. Grabs and releases the LOCK of each object in the list.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="887">a list of #GstObject to
|
|
check through</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Object"/>
|
|
</type>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="889">the name to search for</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="default_deep_notify"
|
|
c:identifier="gst_object_default_deep_notify">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="488">A default deep_notify signal callback for an object. The user data
|
|
should contain a pointer to an array of strings that should be excluded
|
|
from the notify. The default handler will print the new value of the property
|
|
using g_print.
|
|
|
|
MT safe. This function grabs and releases @object's LOCK for getting its
|
|
path string.</doc>
|
|
<source-position filename="gst/gstobject.h" line="246"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="490">the #GObject that signalled the notify.</doc>
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</parameter>
|
|
<parameter name="orig" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="491">a #GstObject that initiated the notify.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="pspec" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="492">a #GParamSpec of the property.</doc>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
|
|
</parameter>
|
|
<parameter name="excluded_props"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="493">
|
|
a set of user-specified properties to exclude or %NULL to show
|
|
all changes.</doc>
|
|
<array c:type="gchar**">
|
|
<type name="utf8"/>
|
|
</array>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="ref_sink"
|
|
c:identifier="gst_object_ref_sink"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="270">Increase the reference count of @object, and possibly remove the floating
|
|
reference, if @object has a floating reference.
|
|
|
|
In other words, if the object is floating, then this call "assumes ownership"
|
|
of the floating reference, converting it to a normal reference by clearing
|
|
the floating flag while leaving the reference count unchanged. If the object
|
|
is not floating, then this call adds a new normal reference increasing the
|
|
reference count by one.
|
|
|
|
For more background on "floating references" please see the #GObject
|
|
documentation.</doc>
|
|
<source-position filename="gst/gstobject.h" line="262"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="object"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="272">a #GstObject to sink</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="replace" c:identifier="gst_object_replace">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="323">Atomically modifies a pointer to point to a new object.
|
|
The reference count of @oldobj is decreased and the reference count of
|
|
@newobj is increased.
|
|
|
|
Either @newobj and the value pointed to by @oldobj may be %NULL.</doc>
|
|
<source-position filename="gst/gstobject.h" line="267"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="335">%TRUE if @newobj was different from @oldobj</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="oldobj"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="325">pointer to a place of
|
|
a #GstObject to replace</doc>
|
|
<type name="Object" c:type="GstObject**"/>
|
|
</parameter>
|
|
<parameter name="newobj"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="327">a new #GstObject</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<virtual-method name="deep_notify">
|
|
<source-position filename="gst/gstobject.h" line="203"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="orig" transfer-ownership="none">
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="pspec" transfer-ownership="none">
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="add_control_binding"
|
|
c:identifier="gst_object_add_control_binding">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1239">Attach the #GstControlBinding to the object. If there already was a
|
|
#GstControlBinding for this property it will be replaced.
|
|
|
|
The object's reference count will be incremented, and any floating
|
|
reference will be removed (see gst_object_ref_sink())</doc>
|
|
<source-position filename="gst/gstobject.h" line="301"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1250">%FALSE if the given @binding has not been setup for this object or
|
|
has been setup for a non suitable property, %TRUE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1241">the controller object</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="binding" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1242">the #GstControlBinding that should be used</doc>
|
|
<type name="ControlBinding" c:type="GstControlBinding*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="default_error" c:identifier="gst_object_default_error">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2660">A default error function that uses g_printerr() to display the error message
|
|
and the optional debug string..
|
|
|
|
The default handler will simply print the error string using g_print.</doc>
|
|
<source-position filename="gst/gstutils.h" line="977"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="source" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2662">the #GstObject that initiated the error.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="error" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2663">the GError.</doc>
|
|
<type name="GLib.Error" c:type="const GError*"/>
|
|
</parameter>
|
|
<parameter name="debug"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2664">an additional debug information string, or %NULL</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_control_binding"
|
|
c:identifier="gst_object_get_control_binding">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1276">Gets the corresponding #GstControlBinding for the property. This should be
|
|
unreferenced again after use.</doc>
|
|
<source-position filename="gst/gstobject.h" line="305"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1284">the #GstControlBinding for
|
|
@property_name or %NULL if the property is not controlled.</doc>
|
|
<type name="ControlBinding" c:type="GstControlBinding*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1278">the object</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1279">name of the property</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_control_rate"
|
|
c:identifier="gst_object_get_control_rate">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1455">Obtain the control-rate for this @object. Audio processing #GstElement
|
|
objects will use this rate to sub-divide their processing loop and call
|
|
gst_object_sync_values() in between. The length of the processing segment
|
|
should be up to @control-rate nanoseconds.
|
|
|
|
If the @object is not under property control, this will return
|
|
%GST_CLOCK_TIME_NONE. This allows the element to avoid the sub-dividing.
|
|
|
|
The control-rate is not expected to change if the element is in
|
|
%GST_STATE_PAUSED or %GST_STATE_PLAYING.</doc>
|
|
<source-position filename="gst/gstobject.h" line="322"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1470">the control rate in nanoseconds</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1457">the object that has controlled properties</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_g_value_array"
|
|
c:identifier="gst_object_get_g_value_array">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1413">Gets a number of #GValues for the given controlled property starting at the
|
|
requested time. The array @values need to hold enough space for @n_values of
|
|
#GValue.
|
|
|
|
This function is useful if one wants to e.g. draw a graph of the control
|
|
curve or apply a control curve sample by sample.</doc>
|
|
<source-position filename="gst/gstobject.h" line="318"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1429">%TRUE if the given array could be filled, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1415">the object that has controlled properties</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1416">the name of the property to get</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="timestamp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1417">the time that should be processed</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="interval" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1418">the time spacing between subsequent values</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="n_values" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1419">the number of values</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="values" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1420">array to put control-values in</doc>
|
|
<array length="3" zero-terminated="0" c:type="GValue*">
|
|
<type name="GObject.Value" c:type="GValue"/>
|
|
</array>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_name" c:identifier="gst_object_get_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="658">Returns a copy of the name of @object.
|
|
Caller should g_free() the return value after usage.
|
|
For a nameless object, this returns %NULL, which you can safely g_free()
|
|
as well.
|
|
|
|
Free-function: g_free</doc>
|
|
<source-position filename="gst/gstobject.h" line="223"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="669">the name of @object. g_free()
|
|
after usage.
|
|
|
|
MT safe. This function grabs and releases @object's LOCK.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="660">a #GstObject</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_parent" c:identifier="gst_object_get_parent">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="740">Returns the parent of @object. This function increases the refcount
|
|
of the parent object so you should gst_object_unref() it after usage.</doc>
|
|
<source-position filename="gst/gstobject.h" line="231"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="747">parent of @object, this can be
|
|
%NULL if @object has no parent. unref after usage.
|
|
|
|
MT safe. Grabs and releases @object's LOCK.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="742">a #GstObject</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_path_string" c:identifier="gst_object_get_path_string">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="970">Generates a string describing the path of @object in
|
|
the object hierarchy. Only useful (or used) for debugging.
|
|
|
|
Free-function: g_free</doc>
|
|
<source-position filename="gst/gstobject.h" line="272"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="979">a string describing the path of @object. You must
|
|
g_free() the string after usage.
|
|
|
|
MT safe. Grabs and releases the #GstObject's LOCK for all objects
|
|
in the hierarchy.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="972">a #GstObject</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_value" c:identifier="gst_object_get_value">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1337">Gets the value for the given controlled property at the requested time.</doc>
|
|
<source-position filename="gst/gstobject.h" line="311"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1345">the GValue of the property at the given time,
|
|
or %NULL if the property isn't controlled.</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1339">the object that has controlled properties</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1340">the name of the property to get</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="timestamp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1341">the time the control-change should be read from</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_value_array"
|
|
c:identifier="gst_object_get_value_array"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1368">Gets a number of values for the given controlled property starting at the
|
|
requested time. The array @values need to hold enough space for @n_values of
|
|
the same type as the objects property's type.
|
|
|
|
This function is useful if one wants to e.g. draw a graph of the control
|
|
curve or apply a control curve sample by sample.
|
|
|
|
The values are unboxed and ready to be used. The similar function
|
|
gst_object_get_g_value_array() returns the array as #GValues and is
|
|
better suites for bindings.</doc>
|
|
<source-position filename="gst/gstobject.h" line="314"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1388">%TRUE if the given array could be filled, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1370">the object that has controlled properties</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1371">the name of the property to get</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="timestamp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1372">the time that should be processed</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="interval" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1373">the time spacing between subsequent values</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="n_values" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1374">the number of values</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="values"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1375">array to put control-values in</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_active_control_bindings"
|
|
c:identifier="gst_object_has_active_control_bindings">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1163">Check if the @object has active controlled properties.</doc>
|
|
<source-position filename="gst/gstobject.h" line="290"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1169">%TRUE if the object has active controlled properties</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1165">the object that has controlled properties</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_ancestor"
|
|
c:identifier="gst_object_has_ancestor"
|
|
deprecated="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="863">Check if @object has an ancestor @ancestor somewhere up in
|
|
the hierarchy. One can e.g. check if a #GstElement is inside a #GstPipeline.</doc>
|
|
<doc-deprecated xml:space="preserve">Use gst_object_has_as_ancestor() instead.
|
|
|
|
MT safe. Grabs and releases @object's locks.</doc-deprecated>
|
|
<source-position filename="gst/gstobject.h" line="243"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="871">%TRUE if @ancestor is an ancestor of @object.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="865">a #GstObject to check</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="ancestor" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="866">a #GstObject to check as ancestor</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_as_ancestor" c:identifier="gst_object_has_as_ancestor">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="828">Check if @object has an ancestor @ancestor somewhere up in
|
|
the hierarchy. One can e.g. check if a #GstElement is inside a #GstPipeline.</doc>
|
|
<source-position filename="gst/gstobject.h" line="240"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="836">%TRUE if @ancestor is an ancestor of @object.
|
|
|
|
MT safe. Grabs and releases @object's locks.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="830">a #GstObject to check</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="ancestor" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="831">a #GstObject to check as ancestor</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_as_parent"
|
|
c:identifier="gst_object_has_as_parent"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="800">Check if @parent is the parent of @object.
|
|
E.g. a #GstElement can check if it owns a given #GstPad.</doc>
|
|
<source-position filename="gst/gstobject.h" line="237"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="808">%FALSE if either @object or @parent is %NULL. %TRUE if @parent is
|
|
the parent of @object. Otherwise %FALSE.
|
|
|
|
MT safe. Grabs and releases @object's locks.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="802">a #GstObject to check</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="803">a #GstObject to check as parent</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="ref" c:identifier="gst_object_ref">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="216">Increments the reference count on @object. This function
|
|
does not take the lock on @object because it relies on
|
|
atomic refcounting.
|
|
|
|
This object returns the input parameter to ease writing
|
|
constructs like :
|
|
result = gst_object_ref (object->parent);</doc>
|
|
<source-position filename="gst/gstobject.h" line="252"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="228">A pointer to @object</doc>
|
|
<type name="Object" c:type="gpointer"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="218">a #GstObject to reference</doc>
|
|
<type name="Object" c:type="gpointer"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_control_binding"
|
|
c:identifier="gst_object_remove_control_binding">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1304">Removes the corresponding #GstControlBinding. If it was the
|
|
last ref of the binding, it will be disposed.</doc>
|
|
<source-position filename="gst/gstobject.h" line="308"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1312">%TRUE if the binding could be removed.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1306">the object</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="binding" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1307">the binding</doc>
|
|
<type name="ControlBinding" c:type="GstControlBinding*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_control_binding_disabled"
|
|
c:identifier="gst_object_set_control_binding_disabled">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1211">This function is used to disable the control bindings on a property for
|
|
some time, i.e. gst_object_sync_values() will do nothing for the
|
|
property.</doc>
|
|
<source-position filename="gst/gstobject.h" line="296"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1213">the object that has controlled properties</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1214">property to disable</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="disabled" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1215">boolean that specifies whether to disable the controller
|
|
or not.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_control_bindings_disabled"
|
|
c:identifier="gst_object_set_control_bindings_disabled">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1187">This function is used to disable all controlled properties of the @object for
|
|
some time, i.e. gst_object_sync_values() will do nothing.</doc>
|
|
<source-position filename="gst/gstobject.h" line="293"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1189">the object that has controlled properties</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="disabled" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1190">boolean that specifies whether to disable the controller
|
|
or not.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_control_rate"
|
|
c:identifier="gst_object_set_control_rate">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1480">Change the control-rate for this @object. Audio processing #GstElement
|
|
objects will use this rate to sub-divide their processing loop and call
|
|
gst_object_sync_values() in between. The length of the processing segment
|
|
should be up to @control-rate nanoseconds.
|
|
|
|
The control-rate should not change if the element is in %GST_STATE_PAUSED or
|
|
%GST_STATE_PLAYING.</doc>
|
|
<source-position filename="gst/gstobject.h" line="325"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1482">the object that has controlled properties</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="control_rate" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1483">the new control-rate in nanoseconds.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_name" c:identifier="gst_object_set_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="630">Sets the name of @object, or gives @object a guaranteed unique
|
|
name (if @name is %NULL).
|
|
This function makes a copy of the provided name, so the caller
|
|
retains ownership of the name it sent.</doc>
|
|
<source-position filename="gst/gstobject.h" line="220"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="640">%TRUE if the name could be set. Since Objects that have
|
|
a parent cannot be renamed, this function returns %FALSE in those
|
|
cases.
|
|
|
|
MT safe. This function grabs and releases @object's LOCK.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="632">a #GstObject</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="name"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="633">new name of object</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_parent" c:identifier="gst_object_set_parent">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="688">Sets the parent of @object to @parent. The object's reference count will
|
|
be incremented, and any floating reference will be removed (see gst_object_ref_sink()).</doc>
|
|
<source-position filename="gst/gstobject.h" line="228"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="696">%TRUE if @parent could be set or %FALSE when @object
|
|
already had a parent or @object and @parent are the same.
|
|
|
|
MT safe. Grabs and releases @object's LOCK.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="690">a #GstObject</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="691">new parent of object</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="suggest_next_sync"
|
|
c:identifier="gst_object_suggest_next_sync">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1089">Returns a suggestion for timestamps where buffers should be split
|
|
to get best controller results.</doc>
|
|
<source-position filename="gst/gstobject.h" line="284"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1096">Returns the suggested timestamp or %GST_CLOCK_TIME_NONE
|
|
if no control-rate was set.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1091">the object that has controlled properties</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="sync_values" c:identifier="gst_object_sync_values">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1121">Sets the properties of the object, according to the #GstControlSources that
|
|
(maybe) handle them and for the given timestamp.
|
|
|
|
If this function fails, it is most likely the application developers fault.
|
|
Most probably the control sources are not setup correctly.</doc>
|
|
<source-position filename="gst/gstobject.h" line="287"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1132">%TRUE if the controller values could be applied to the object
|
|
properties, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1123">the object that has controlled properties</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</instance-parameter>
|
|
<parameter name="timestamp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="1124">the time that should be processed</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unparent" c:identifier="gst_object_unparent">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="768">Clear the parent of @object, removing the associated reference.
|
|
This function decreases the refcount of @object.
|
|
|
|
MT safe. Grabs and releases @object's lock.</doc>
|
|
<source-position filename="gst/gstobject.h" line="234"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="770">a #GstObject to unparent</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unref" c:identifier="gst_object_unref">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="245">Decrements the reference count on @object. If reference count hits
|
|
zero, destroy @object. This function does not take the lock
|
|
on @object as it relies on atomic refcounting.
|
|
|
|
The unref method should never be called with the LOCK held since
|
|
this might deadlock the dispose function.</doc>
|
|
<source-position filename="gst/gstobject.h" line="255"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="247">a #GstObject to unreference</doc>
|
|
<type name="Object" c:type="gpointer"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="name"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</property>
|
|
<property name="parent" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="159">The parent of the object. Please note, that when changing the 'parent'
|
|
property, we don't emit #GObject::notify and #GstObject::deep-notify
|
|
signals due to locking issues. In some cases one can use
|
|
#GstBin::element-added or #GstBin::element-removed signals on the parent to
|
|
achieve a similar effect.</doc>
|
|
<type name="Object"/>
|
|
</property>
|
|
<field name="object">
|
|
<type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
|
|
</field>
|
|
<field name="lock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="165">object LOCK</doc>
|
|
<type name="GLib.Mutex" c:type="GMutex"/>
|
|
</field>
|
|
<field name="name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="166">The name of the object</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</field>
|
|
<field name="parent">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="167">this object's parent, weak ref</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</field>
|
|
<field name="flags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="168">flags for this object</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</field>
|
|
<field name="control_bindings" readable="0" private="1">
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</type>
|
|
</field>
|
|
<field name="control_rate" readable="0" private="1">
|
|
<type name="guint64" c:type="guint64"/>
|
|
</field>
|
|
<field name="last_sync" readable="0" private="1">
|
|
<type name="guint64" c:type="guint64"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</field>
|
|
<glib:signal name="deep-notify"
|
|
when="first"
|
|
no-recurse="1"
|
|
detailed="1"
|
|
no-hooks="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="175">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.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="prop_object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="178">the object that originated the signal</doc>
|
|
<type name="Object"/>
|
|
</parameter>
|
|
<parameter name="prop" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="179">the property that changed</doc>
|
|
<type name="GObject.ParamSpec"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
</class>
|
|
<record name="ObjectClass"
|
|
c:type="GstObjectClass"
|
|
glib:is-gtype-struct-for="Object">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="189">GStreamer base object class.</doc>
|
|
<source-position filename="gst/gstobject.h" line="210"/>
|
|
<field name="parent_class">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="191">parent</doc>
|
|
<type name="GObject.InitiallyUnownedClass"
|
|
c:type="GInitiallyUnownedClass"/>
|
|
</field>
|
|
<field name="path_string_separator">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="192">separator used by gst_object_get_path_string()</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</field>
|
|
<field name="deep_notify">
|
|
<callback name="deep_notify">
|
|
<source-position filename="gst/gstobject.h" line="203"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="orig" transfer-ownership="none">
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="pspec" transfer-ownership="none">
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<bitfield name="ObjectFlags"
|
|
glib:type-name="GstObjectFlags"
|
|
glib:get-type="gst_object_flags_get_type"
|
|
c:type="GstObjectFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="42">The standard flags that an gstobject may have.</doc>
|
|
<member name="may_be_leaked"
|
|
value="1"
|
|
c:identifier="GST_OBJECT_FLAG_MAY_BE_LEAKED"
|
|
glib:nick="may-be-leaked">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="44">the object is expected to stay alive even
|
|
after gst_deinit() has been called and so should be ignored by leak
|
|
detection tools. (Since: 1.10)</doc>
|
|
</member>
|
|
<member name="last"
|
|
value="16"
|
|
c:identifier="GST_OBJECT_FLAG_LAST"
|
|
glib:nick="last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.h"
|
|
line="47">subclasses can add additional flags starting from this flag</doc>
|
|
</member>
|
|
</bitfield>
|
|
<function-macro name="PAD" c:identifier="GST_PAD" introspectable="0">
|
|
<source-position filename="gst/gstpad.h" line="86"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_ACTIVATEFUNC"
|
|
c:identifier="GST_PAD_ACTIVATEFUNC"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="882">Get the #GstPadActivateFunction from @pad.</doc>
|
|
<source-position filename="gst/gstpad.h" line="888"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="884">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_ACTIVATEMODEFUNC"
|
|
c:identifier="GST_PAD_ACTIVATEMODEFUNC"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="889">Get the #GstPadActivateModeFunction from the given @pad.</doc>
|
|
<source-position filename="gst/gstpad.h" line="895"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="891">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_BLOCK_BROADCAST"
|
|
c:identifier="GST_PAD_BLOCK_BROADCAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpad.h" line="1277"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_BLOCK_GET_COND"
|
|
c:identifier="GST_PAD_BLOCK_GET_COND"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpad.h" line="1274"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_BLOCK_SIGNAL"
|
|
c:identifier="GST_PAD_BLOCK_SIGNAL"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpad.h" line="1276"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_BLOCK_WAIT"
|
|
c:identifier="GST_PAD_BLOCK_WAIT"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpad.h" line="1275"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_CAST"
|
|
c:identifier="GST_PAD_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpad.h" line="88"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_CHAINFUNC"
|
|
c:identifier="GST_PAD_CHAINFUNC"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="896">Get the #GstPadChainFunction from the given @pad.</doc>
|
|
<source-position filename="gst/gstpad.h" line="902"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="898">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_CHAINLISTFUNC"
|
|
c:identifier="GST_PAD_CHAINLISTFUNC"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="903">Get the #GstPadChainListFunction from the given @pad.</doc>
|
|
<source-position filename="gst/gstpad.h" line="909"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="905">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_CLASS"
|
|
c:identifier="GST_PAD_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpad.h" line="87"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_DIRECTION"
|
|
c:identifier="GST_PAD_DIRECTION"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="856">Get the #GstPadDirection of the given @pad. Accessor macro, use
|
|
gst_pad_get_direction() instead.</doc>
|
|
<source-position filename="gst/gstpad.h" line="863"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="858">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_ELEMENT_PRIVATE"
|
|
c:identifier="GST_PAD_ELEMENT_PRIVATE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="839">Get the private data of @pad, which is usually some pad- or stream-specific
|
|
structure created by the element and set on the pad when creating it.
|
|
No locking is performed in this function.</doc>
|
|
<source-position filename="gst/gstpad.h" line="847"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="841">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_EVENTFULLFUNC"
|
|
c:identifier="GST_PAD_EVENTFULLFUNC"
|
|
version="1.8"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="928">Get the #GstPadEventFullFunction from the given @pad, which
|
|
is the function that handles events on the pad. You can
|
|
use this to set your own event handling function on a pad
|
|
after you create it. If your element derives from a base
|
|
class, use the base class's virtual functions instead.</doc>
|
|
<source-position filename="gst/gstpad.h" line="940"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="930">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_EVENTFUNC"
|
|
c:identifier="GST_PAD_EVENTFUNC"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="917">Get the #GstPadEventFunction from the given @pad, which
|
|
is the function that handles events on the pad. You can
|
|
use this to set your own event handling function on a pad
|
|
after you create it. If your element derives from a base
|
|
class, use the base class's virtual functions instead.</doc>
|
|
<source-position filename="gst/gstpad.h" line="927"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="919">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_GETRANGEFUNC"
|
|
c:identifier="GST_PAD_GETRANGEFUNC"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="910">Get the #GstPadGetRangeFunction from the given @pad.</doc>
|
|
<source-position filename="gst/gstpad.h" line="916"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="912">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_GET_STREAM_LOCK"
|
|
c:identifier="GST_PAD_GET_STREAM_LOCK"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1231">Get the stream lock of @pad. The stream lock is protecting the
|
|
resources used in the data processing functions of @pad. Accessor
|
|
macro, use GST_PAD_STREAM_LOCK() and GST_PAD_STREAM_UNLOCK() instead
|
|
to take/release the pad's stream lock.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1240"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1233">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_HAS_PENDING_EVENTS"
|
|
c:identifier="GST_PAD_HAS_PENDING_EVENTS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1067">Check if the given @pad has pending events. This is used internally by
|
|
GStreamer.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1074"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1069">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_IS_ACCEPT_INTERSECT"
|
|
c:identifier="GST_PAD_IS_ACCEPT_INTERSECT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1173">Check if the pad's accept intersect flag is set. The default accept-caps
|
|
handler will check if the caps intersect the query-caps result instead of
|
|
checking for a subset. This is interesting for parser elements that can
|
|
accept incompletely specified caps.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1182"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1175">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_IS_ACCEPT_TEMPLATE"
|
|
c:identifier="GST_PAD_IS_ACCEPT_TEMPLATE"
|
|
version="1.6"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1199">Check if the pad's accept caps operation will use the pad template caps.
|
|
The default accept-caps will do a query caps to get the caps, which might
|
|
be querying downstream causing unnecessary overhead. It is recommended to
|
|
implement a proper accept-caps query handler or to use this flag to prevent
|
|
recursive accept-caps handling.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1211"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1201">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_IS_ACTIVE"
|
|
c:identifier="GST_PAD_IS_ACTIVE"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpad.h" line="1009"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1005">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_IS_BLOCKED"
|
|
c:identifier="GST_PAD_IS_BLOCKED"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1010">Check if the dataflow on a @pad is blocked. Use gst_pad_is_blocked() instead.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1016"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1012">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_IS_BLOCKING"
|
|
c:identifier="GST_PAD_IS_BLOCKING"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1017">Check if the @pad is currently blocking on a buffer or event. Use
|
|
gst_pad_is_blocking() instead.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1024"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1019">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_IS_EOS"
|
|
c:identifier="GST_PAD_IS_EOS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1051">Check if the @pad is in EOS state.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1057"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1053">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_IS_FIXED_CAPS"
|
|
c:identifier="GST_PAD_IS_FIXED_CAPS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1075">Check if the given @pad is using fixed caps, which means that
|
|
once the caps are set on the @pad, the caps query function will
|
|
only return those caps. See gst_pad_use_fixed_caps().</doc>
|
|
<source-position filename="gst/gstpad.h" line="1083"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1077">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_IS_FLUSHING"
|
|
c:identifier="GST_PAD_IS_FLUSHING"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1025">Check if the given @pad is flushing.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1031"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1027">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_IS_LINKED"
|
|
c:identifier="GST_PAD_IS_LINKED"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpad.h" line="1002"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="997">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_IS_PROXY_ALLOCATION"
|
|
c:identifier="GST_PAD_IS_PROXY_ALLOCATION"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1119">Check if the given @pad is set as proxy allocation which means
|
|
that the default query handler will forward allocation queries to the
|
|
internally linked @pads instead of discarding them.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1127"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1121">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_IS_PROXY_CAPS"
|
|
c:identifier="GST_PAD_IS_PROXY_CAPS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1092">Check if the given @pad is set to proxy caps. This means that the default
|
|
event and query handler will forward all events and queries to the
|
|
internally linked @pads instead of discarding them.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1100"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1094">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_IS_PROXY_SCHEDULING"
|
|
c:identifier="GST_PAD_IS_PROXY_SCHEDULING"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1147">Check if the given @pad is set to proxy scheduling queries, which means that
|
|
the default query handler will forward scheduling queries to the internally
|
|
linked @pads instead of discarding them.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1155"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1149">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_IS_SINK"
|
|
c:identifier="GST_PAD_IS_SINK"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpad.h" line="994"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="990">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_IS_SRC"
|
|
c:identifier="GST_PAD_IS_SRC"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpad.h" line="987"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="983">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_ITERINTLINKFUNC"
|
|
c:identifier="GST_PAD_ITERINTLINKFUNC"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="952">Get the #GstPadIterIntLinkFunction from the given @pad.</doc>
|
|
<source-position filename="gst/gstpad.h" line="958"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="954">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_LAST_FLOW_RETURN"
|
|
c:identifier="GST_PAD_LAST_FLOW_RETURN"
|
|
version="1.4"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1264">Gets the last flow return on this pad</doc>
|
|
<source-position filename="gst/gstpad.h" line="1272"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1266">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_LINKFUNC"
|
|
c:identifier="GST_PAD_LINKFUNC"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="967">Get the #GstPadLinkFunction for the given @pad.</doc>
|
|
<source-position filename="gst/gstpad.h" line="973"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="969">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_LINK_FAILED"
|
|
c:identifier="GST_PAD_LINK_FAILED"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="114">Macro to test if the given #GstPadLinkReturn value indicates a failed
|
|
link step.</doc>
|
|
<source-position filename="gst/gstpad.h" line="121"/>
|
|
<parameters>
|
|
<parameter name="ret">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="116">the #GstPadLinkReturn value</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_LINK_SUCCESSFUL"
|
|
c:identifier="GST_PAD_LINK_SUCCESSFUL"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="123">Macro to test if the given #GstPadLinkReturn value indicates a successful
|
|
link step.</doc>
|
|
<source-position filename="gst/gstpad.h" line="130"/>
|
|
<parameters>
|
|
<parameter name="ret">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="125">the #GstPadLinkReturn value</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_MODE"
|
|
c:identifier="GST_PAD_MODE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="873">Get the #GstPadMode of pad, which will be GST_PAD_MODE_NONE if the pad
|
|
has not been activated yet, and otherwise either GST_PAD_MODE_PUSH or
|
|
GST_PAD_MODE_PULL depending on which mode the pad was activated in.</doc>
|
|
<source-position filename="gst/gstpad.h" line="881"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="875">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_NAME"
|
|
c:identifier="GST_PAD_NAME"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="823">Get name of the given pad.
|
|
No locking is performed in this function, use gst_pad_get_name() instead.</doc>
|
|
<source-position filename="gst/gstpad.h" line="830"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="825">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_NEEDS_PARENT"
|
|
c:identifier="GST_PAD_NEEDS_PARENT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1084">Check if there is a parent object before calling into the @pad callbacks.
|
|
This is used internally by GStreamer.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1091"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1086">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_NEEDS_RECONFIGURE"
|
|
c:identifier="GST_PAD_NEEDS_RECONFIGURE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1058">Check if the @pad should be reconfigured/renegotiated.
|
|
The flag has to be unset manually after reconfiguration happened.
|
|
Use gst_pad_needs_reconfigure() or gst_pad_check_reconfigure() instead.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1066"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1060">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_PAD_TEMPLATE"
|
|
c:identifier="GST_PAD_PAD_TEMPLATE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="848">Get the @pad #GstPadTemplate. It describes the possible media types
|
|
a @pad or an element factory can handle.</doc>
|
|
<source-position filename="gst/gstpad.h" line="855"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="850">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_PARENT"
|
|
c:identifier="GST_PAD_PARENT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="831">Get the @pad parent.
|
|
No locking is performed in this function, use gst_pad_get_parent() instead.</doc>
|
|
<source-position filename="gst/gstpad.h" line="838"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="833">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_PEER"
|
|
c:identifier="GST_PAD_PEER"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="959">Return the pad's peer member. This member is a pointer to the linked @pad.
|
|
No locking is performed in this function, use gst_pad_get_peer() instead.</doc>
|
|
<source-position filename="gst/gstpad.h" line="966"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="961">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_PROBE_INFO_BUFFER"
|
|
c:identifier="GST_PAD_PROBE_INFO_BUFFER"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpad.h" line="610"/>
|
|
<parameters>
|
|
<parameter name="d">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_PROBE_INFO_BUFFER_LIST"
|
|
c:identifier="GST_PAD_PROBE_INFO_BUFFER_LIST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpad.h" line="611"/>
|
|
<parameters>
|
|
<parameter name="d">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_PROBE_INFO_DATA"
|
|
c:identifier="GST_PAD_PROBE_INFO_DATA"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpad.h" line="607"/>
|
|
<parameters>
|
|
<parameter name="d">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_PROBE_INFO_EVENT"
|
|
c:identifier="GST_PAD_PROBE_INFO_EVENT"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpad.h" line="612"/>
|
|
<parameters>
|
|
<parameter name="d">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_PROBE_INFO_FLOW_RETURN"
|
|
c:identifier="GST_PAD_PROBE_INFO_FLOW_RETURN"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpad.h" line="608"/>
|
|
<parameters>
|
|
<parameter name="d">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_PROBE_INFO_ID"
|
|
c:identifier="GST_PAD_PROBE_INFO_ID"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpad.h" line="606"/>
|
|
<parameters>
|
|
<parameter name="d">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_PROBE_INFO_OFFSET"
|
|
c:identifier="GST_PAD_PROBE_INFO_OFFSET"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpad.h" line="615"/>
|
|
<parameters>
|
|
<parameter name="d">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_PROBE_INFO_QUERY"
|
|
c:identifier="GST_PAD_PROBE_INFO_QUERY"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpad.h" line="613"/>
|
|
<parameters>
|
|
<parameter name="d">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_PROBE_INFO_SIZE"
|
|
c:identifier="GST_PAD_PROBE_INFO_SIZE"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpad.h" line="616"/>
|
|
<parameters>
|
|
<parameter name="d">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_PROBE_INFO_TYPE"
|
|
c:identifier="GST_PAD_PROBE_INFO_TYPE"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpad.h" line="605"/>
|
|
<parameters>
|
|
<parameter name="d">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_QUERYFUNC"
|
|
c:identifier="GST_PAD_QUERYFUNC"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="941">Get the #GstPadQueryFunction from @pad, which is the function
|
|
that handles queries on the pad. You can use this to set your
|
|
own query handling function on a pad after you create it. If your
|
|
element derives from a base class, use the base class's virtual
|
|
functions instead.</doc>
|
|
<source-position filename="gst/gstpad.h" line="951"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="943">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_SET_ACCEPT_INTERSECT"
|
|
c:identifier="GST_PAD_SET_ACCEPT_INTERSECT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1183">Set @pad to by default accept caps by intersecting the result instead of
|
|
checking for a subset. This is interesting for parser elements that can
|
|
accept incompletely specified caps.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1191"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1185">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_SET_ACCEPT_TEMPLATE"
|
|
c:identifier="GST_PAD_SET_ACCEPT_TEMPLATE"
|
|
version="1.6"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1212">Set @pad to by default use the pad template caps to compare with
|
|
the accept caps instead of using a caps query result.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1221"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1214">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_SET_FLUSHING"
|
|
c:identifier="GST_PAD_SET_FLUSHING"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1032">Set the given @pad to flushing state, which means it will not accept any
|
|
more events, queries or buffers, and return GST_FLOW_FLUSHING if any buffers
|
|
are pushed on it. This usually happens when the pad is shut down or when
|
|
a flushing seek happens. This is used inside GStreamer when flush start/stop
|
|
events pass through pads, or when an element state is changed and pads are
|
|
activated or deactivated.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1043"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1034">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_SET_PROXY_ALLOCATION"
|
|
c:identifier="GST_PAD_SET_PROXY_ALLOCATION"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1128">Set @pad to proxy allocation queries, which means that the default query
|
|
handler will forward allocation queries to the internally linked @pads
|
|
instead of discarding them.
|
|
Set this if the element always outputs data in the exact same format as it
|
|
receives as input. This is just for convenience to avoid implementing some
|
|
standard query handling code in an element.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1139"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1130">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_SET_PROXY_CAPS"
|
|
c:identifier="GST_PAD_SET_PROXY_CAPS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1101">Set @pad to proxy caps, so that all caps-related events and queries are
|
|
proxied down- or upstream to the other side of the element automatically.
|
|
Set this if the element always outputs data in the exact same format as it
|
|
receives as input. This is just for convenience to avoid implementing some
|
|
standard event and query handling code in an element.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1111"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1103">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_SET_PROXY_SCHEDULING"
|
|
c:identifier="GST_PAD_SET_PROXY_SCHEDULING"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1156">Set @pad to proxy scheduling queries, which means that the default query
|
|
handler will forward scheduling queries to the internally linked @pads
|
|
instead of discarding them. You will usually want to handle scheduling
|
|
queries explicitly if your element supports multiple scheduling modes.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1165"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1158">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_STREAM_LOCK"
|
|
c:identifier="GST_PAD_STREAM_LOCK"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1241">Take the pad's stream lock. The stream lock is recursive and will be taken
|
|
when buffers or serialized downstream events are pushed on a pad.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1248"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1243">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_STREAM_TRYLOCK"
|
|
c:identifier="GST_PAD_STREAM_TRYLOCK"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1249">Try to take the pad's stream lock, and return %TRUE if the lock could be
|
|
taken, and otherwise %FALSE.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1256"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1251">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_STREAM_UNLOCK"
|
|
c:identifier="GST_PAD_STREAM_UNLOCK"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1257">Release the pad's stream lock.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1263"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1259">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_TASK"
|
|
c:identifier="GST_PAD_TASK"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="864">Get the #GstTask of @pad. Accessor macro used by GStreamer. Use the
|
|
gst_pad_start_task(), gst_pad_stop_task() and gst_pad_pause_task()
|
|
functions instead.</doc>
|
|
<source-position filename="gst/gstpad.h" line="872"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="866">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_TEMPLATE"
|
|
c:identifier="GST_PAD_TEMPLATE"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpadtemplate.h" line="45"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_TEMPLATE_CAPS"
|
|
c:identifier="GST_PAD_TEMPLATE_CAPS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="89">Get a handle to the padtemplate #GstCaps</doc>
|
|
<source-position filename="gst/gstpadtemplate.h" line="95"/>
|
|
<parameters>
|
|
<parameter name="templ">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="91">the template to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_TEMPLATE_CLASS"
|
|
c:identifier="GST_PAD_TEMPLATE_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpadtemplate.h" line="46"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_TEMPLATE_DIRECTION"
|
|
c:identifier="GST_PAD_TEMPLATE_DIRECTION"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="73">Get the #GstPadDirection of the padtemplate.</doc>
|
|
<source-position filename="gst/gstpadtemplate.h" line="79"/>
|
|
<parameters>
|
|
<parameter name="templ">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="75">the template to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_TEMPLATE_GTYPE"
|
|
c:identifier="GST_PAD_TEMPLATE_GTYPE"
|
|
version="1.14"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="97">Get the #GType of the padtemplate</doc>
|
|
<source-position filename="gst/gstpadtemplate.h" line="105"/>
|
|
<parameters>
|
|
<parameter name="templ">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="99">the template to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_TEMPLATE_IS_FIXED"
|
|
c:identifier="GST_PAD_TEMPLATE_IS_FIXED"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="118">Check if the properties of the padtemplate are fixed</doc>
|
|
<source-position filename="gst/gstpadtemplate.h" line="124"/>
|
|
<parameters>
|
|
<parameter name="templ">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="120">the template to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_TEMPLATE_NAME_TEMPLATE"
|
|
c:identifier="GST_PAD_TEMPLATE_NAME_TEMPLATE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="65">Get the nametemplate of the padtemplate.</doc>
|
|
<source-position filename="gst/gstpadtemplate.h" line="71"/>
|
|
<parameters>
|
|
<parameter name="templ">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="67">the template to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_TEMPLATE_PRESENCE"
|
|
c:identifier="GST_PAD_TEMPLATE_PRESENCE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="81">Get the #GstPadPresence of the padtemplate.</doc>
|
|
<source-position filename="gst/gstpadtemplate.h" line="87"/>
|
|
<parameters>
|
|
<parameter name="templ">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="83">the template to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_UNLINKFUNC"
|
|
c:identifier="GST_PAD_UNLINKFUNC"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="974">Get the #GstPadUnlinkFunction from the given @pad.</doc>
|
|
<source-position filename="gst/gstpad.h" line="980"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="976">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_UNSET_ACCEPT_INTERSECT"
|
|
c:identifier="GST_PAD_UNSET_ACCEPT_INTERSECT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1192">Unset accept intersect flag.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1198"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1194">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_UNSET_ACCEPT_TEMPLATE"
|
|
c:identifier="GST_PAD_UNSET_ACCEPT_TEMPLATE"
|
|
version="1.6"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1222">Unset accept template flag.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1230"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1224">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_UNSET_FLUSHING"
|
|
c:identifier="GST_PAD_UNSET_FLUSHING"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1044">Unset the flushing flag.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1050"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1046">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_UNSET_PROXY_ALLOCATION"
|
|
c:identifier="GST_PAD_UNSET_PROXY_ALLOCATION"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1140">Unset proxy allocation flag.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1146"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1142">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_UNSET_PROXY_CAPS"
|
|
c:identifier="GST_PAD_UNSET_PROXY_CAPS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1112">Unset proxy caps flag.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1118"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1114">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PAD_UNSET_PROXY_SCHEDULING"
|
|
c:identifier="GST_PAD_UNSET_PROXY_SCHEDULING"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1166">Unset proxy scheduling flag.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1172"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1168">a #GstPad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="PARAM_CONDITIONALLY_AVAILABLE"
|
|
value="16384"
|
|
c:type="GST_PARAM_CONDITIONALLY_AVAILABLE"
|
|
version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.h"
|
|
line="74">Use this flag on GObject properties of GstObject to indicate that
|
|
they might not be available depending on environment such as OS, device, etc,
|
|
so such properties will be installed conditionally only if the GstObject is
|
|
able to support it.</doc>
|
|
<source-position filename="gst/gstparamspecs.h" line="84"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<constant name="PARAM_CONTROLLABLE"
|
|
value="512"
|
|
c:type="GST_PARAM_CONTROLLABLE">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.h"
|
|
line="29">Use this flag on GObject properties to signal they can make sense to be.
|
|
controlled over time. This hint is used by the GstController.</doc>
|
|
<source-position filename="gst/gstparamspecs.h" line="35"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<constant name="PARAM_DOC_SHOW_DEFAULT"
|
|
value="8192"
|
|
c:type="GST_PARAM_DOC_SHOW_DEFAULT"
|
|
version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.h"
|
|
line="63">Use this flag on GObject properties of GstObject to indicate that
|
|
during `gst-inspect` and friends, the default value should be used
|
|
as default instead of the current value.</doc>
|
|
<source-position filename="gst/gstparamspecs.h" line="72"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<constant name="PARAM_MUTABLE_PAUSED"
|
|
value="2048"
|
|
c:type="GST_PARAM_MUTABLE_PAUSED">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.h"
|
|
line="45">Use this flag on GObject properties of GstElements to indicate that
|
|
they can be changed when the element is in the PAUSED or lower state.
|
|
This flag implies GST_PARAM_MUTABLE_READY.</doc>
|
|
<source-position filename="gst/gstparamspecs.h" line="52"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<constant name="PARAM_MUTABLE_PLAYING"
|
|
value="4096"
|
|
c:type="GST_PARAM_MUTABLE_PLAYING">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.h"
|
|
line="54">Use this flag on GObject properties of GstElements to indicate that
|
|
they can be changed when the element is in the PLAYING or lower state.
|
|
This flag implies GST_PARAM_MUTABLE_PAUSED.</doc>
|
|
<source-position filename="gst/gstparamspecs.h" line="61"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<constant name="PARAM_MUTABLE_READY"
|
|
value="1024"
|
|
c:type="GST_PARAM_MUTABLE_READY">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.h"
|
|
line="37">Use this flag on GObject properties of GstElements to indicate that
|
|
they can be changed when the element is in the READY or lower state.</doc>
|
|
<source-position filename="gst/gstparamspecs.h" line="43"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<function-macro name="PARAM_SPEC_ARRAY_LIST"
|
|
c:identifier="GST_PARAM_SPEC_ARRAY_LIST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstparamspecs.h" line="118"/>
|
|
<parameters>
|
|
<parameter name="pspec">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PARAM_SPEC_FRACTION"
|
|
c:identifier="GST_PARAM_SPEC_FRACTION"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstparamspecs.h" line="105"/>
|
|
<parameters>
|
|
<parameter name="pspec">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="PARAM_USER_SHIFT"
|
|
value="65536"
|
|
c:type="GST_PARAM_USER_SHIFT">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.h"
|
|
line="86">Bits based on GST_PARAM_USER_SHIFT can be used by 3rd party applications.</doc>
|
|
<source-position filename="gst/gstparamspecs.h" line="91"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<function-macro name="PIPELINE"
|
|
c:identifier="GST_PIPELINE"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpipeline.h" line="32"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PIPELINE_CAST"
|
|
c:identifier="GST_PIPELINE_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpipeline.h" line="37"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PIPELINE_CLASS"
|
|
c:identifier="GST_PIPELINE_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpipeline.h" line="34"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PIPELINE_GET_CLASS"
|
|
c:identifier="GST_PIPELINE_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpipeline.h" line="36"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PLUGIN" c:identifier="GST_PLUGIN" introspectable="0">
|
|
<source-position filename="gst/gstplugin.h" line="192"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PLUGIN_CAST"
|
|
c:identifier="GST_PLUGIN_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstplugin.h" line="194"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PLUGIN_CLASS"
|
|
c:identifier="GST_PLUGIN_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstplugin.h" line="193"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PLUGIN_DEFINE"
|
|
c:identifier="GST_PLUGIN_DEFINE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="230">This macro needs to be used to define the entry point and meta data of a
|
|
plugin. One would use this macro to export a plugin, so that it can be used
|
|
by other applications.
|
|
|
|
The macro uses a define named PACKAGE for the #GstPluginDesc,source field.
|
|
When using autoconf, this is usually set automatically via the AC_INIT
|
|
macro, and set in config.h. If you are not using autoconf, you will need to
|
|
define PACKAGE yourself and set it to a short mnemonic string identifying
|
|
your application/package, e.g. 'someapp' or 'my-plugins-foo.
|
|
|
|
If defined, the GST_PACKAGE_RELEASE_DATETIME will also be used for the
|
|
#GstPluginDesc,release_datetime field.</doc>
|
|
<source-position filename="gst/gstplugin.h" line="255"/>
|
|
<parameters>
|
|
<parameter name="major">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="232">major version number of the gstreamer-core that plugin was compiled for</doc>
|
|
</parameter>
|
|
<parameter name="minor">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="233">minor version number of the gstreamer-core that plugin was compiled for</doc>
|
|
</parameter>
|
|
<parameter name="name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="234">short, but unique name of the plugin</doc>
|
|
</parameter>
|
|
<parameter name="description">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="235">information about the purpose of the plugin</doc>
|
|
</parameter>
|
|
<parameter name="init">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="236">function pointer to the plugin_init method with the signature of <code>static gboolean plugin_init (GstPlugin * plugin)</code>.</doc>
|
|
</parameter>
|
|
<parameter name="version">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="237">full version string (e.g. VERSION from config.h)</doc>
|
|
</parameter>
|
|
<parameter name="license">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="238">under which licence the package has been released, e.g. GPL, LGPL.</doc>
|
|
</parameter>
|
|
<parameter name="package">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="239">the package-name (e.g. PACKAGE_NAME from config.h)</doc>
|
|
</parameter>
|
|
<parameter name="origin">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="240">a description from where the package comes from (e.g. the homepage URL)</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PLUGIN_FEATURE"
|
|
c:identifier="GST_PLUGIN_FEATURE"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpluginfeature.h" line="34"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PLUGIN_FEATURE_CAST"
|
|
c:identifier="GST_PLUGIN_FEATURE_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpluginfeature.h" line="39"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PLUGIN_FEATURE_CLASS"
|
|
c:identifier="GST_PLUGIN_FEATURE_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpluginfeature.h" line="36"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PLUGIN_FEATURE_GET_CLASS"
|
|
c:identifier="GST_PLUGIN_FEATURE_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpluginfeature.h" line="38"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PLUGIN_FEATURE_LIST_DEBUG"
|
|
c:identifier="GST_PLUGIN_FEATURE_LIST_DEBUG"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.h"
|
|
line="136">Debug the plugin feature names in @list.</doc>
|
|
<source-position filename="gst/gstpluginfeature.h" line="144"/>
|
|
<parameters>
|
|
<parameter name="list">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.h"
|
|
line="138">a #GList of
|
|
plugin features</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PLUGIN_GET_CLASS"
|
|
c:identifier="GST_PLUGIN_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstplugin.h" line="191"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PLUGIN_STATIC_DECLARE"
|
|
c:identifier="GST_PLUGIN_STATIC_DECLARE"
|
|
version="1.2"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="202">This macro can be used to initialize statically linked plugins. It is
|
|
necessary to call this macro before the plugin can be used.
|
|
It has to be used in combination with GST_PLUGIN_STATIC_REGISTER
|
|
and must be placed outside any block to declare the plugin initialization
|
|
function.</doc>
|
|
<source-position filename="gst/gstplugin.h" line="214"/>
|
|
<parameters>
|
|
<parameter name="name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="204">short, but unique name of the plugin</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PLUGIN_STATIC_REGISTER"
|
|
c:identifier="GST_PLUGIN_STATIC_REGISTER"
|
|
version="1.2"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="217">This macro can be used to initialize statically linked plugins. It is
|
|
necessary to call this macro before the plugin can be used.
|
|
It has to be used in combination with GST_PLUGIN_STATIC_DECLARE and
|
|
calls the plugin initialization function.</doc>
|
|
<source-position filename="gst/gstplugin.h" line="228"/>
|
|
<parameters>
|
|
<parameter name="name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="219">short, but unique name of the plugin</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PRESET" c:identifier="GST_PRESET" introspectable="0">
|
|
<source-position filename="gst/gstpreset.h" line="31"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PRESET_GET_INTERFACE"
|
|
c:identifier="GST_PRESET_GET_INTERFACE"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpreset.h" line="33"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PROMISE"
|
|
c:identifier="GST_PROMISE"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstpromise.h" line="30"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="PROTECTION_SYSTEM_ID_CAPS_FIELD"
|
|
value="protection-system"
|
|
c:type="GST_PROTECTION_SYSTEM_ID_CAPS_FIELD"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstprotection.h"
|
|
line="27">The field name in a GstCaps that is used to signal the UUID of the protection
|
|
system.</doc>
|
|
<source-position filename="gst/gstprotection.h" line="35"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="PROTECTION_UNSPECIFIED_SYSTEM_ID"
|
|
value="unspecified-system-id"
|
|
c:type="GST_PROTECTION_UNSPECIFIED_SYSTEM_ID"
|
|
version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstprotection.h"
|
|
line="37">The protection system value of the unspecified UUID.
|
|
In some cases the system protection ID is not present in the contents or in their
|
|
metadata, as encrypted WebM.
|
|
This define is used to set the value of the "system_id" field in GstProtectionEvent,
|
|
with this value, the application will use an external information to choose which
|
|
protection system to use.
|
|
|
|
Example: The matroskademux uses this value in the case of encrypted WebM,
|
|
the application will choose the appropriate protection system based on the information
|
|
received through EME API.</doc>
|
|
<source-position filename="gst/gstprotection.h" line="53"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<function-macro name="PROXY_PAD"
|
|
c:identifier="GST_PROXY_PAD"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstghostpad.h" line="37"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="PROXY_PAD_CLASS"
|
|
c:identifier="GST_PROXY_PAD_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstghostpad.h" line="38"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="PTR_FORMAT"
|
|
value="paA"
|
|
c:type="GST_PTR_FORMAT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="278">printf format type used to debug GStreamer types. You can use this in
|
|
combination with GStreamer's debug logging system as well as the functions
|
|
gst_info_vasprintf(), gst_info_strdup_vprintf() and gst_info_strdup_printf()
|
|
to pretty-print the following types: #GstCaps, #GstStructure,
|
|
#GstCapsFeatures, #GstTagList, #GstDateTime, #GstBuffer, #GstBufferList,
|
|
#GstMessage, #GstEvent, #GstQuery, #GstContext, #GstPad, #GstObject. All
|
|
#GObject types will be printed as typename plus pointer, and everything
|
|
else will simply be printed as pointer address.
|
|
|
|
This can only be used on types whose size is >= sizeof(gpointer).</doc>
|
|
<source-position filename="gst/gstinfo.h" line="292"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<class name="Pad"
|
|
c:symbol-prefix="pad"
|
|
c:type="GstPad"
|
|
parent="Object"
|
|
glib:type-name="GstPad"
|
|
glib:get-type="gst_pad_get_type"
|
|
glib:type-struct="PadClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="22">A #GstElement is linked to other elements via "pads", which are extremely
|
|
light-weight generic link points.
|
|
|
|
Pads have a #GstPadDirection, source pads produce data, sink pads consume
|
|
data.
|
|
|
|
Pads are typically created from a #GstPadTemplate with
|
|
gst_pad_new_from_template() and are then added to a #GstElement. This usually
|
|
happens when the element is created but it can also happen dynamically based
|
|
on the data that the element is processing or based on the pads that the
|
|
application requests.
|
|
|
|
Pads without pad templates can be created with gst_pad_new(),
|
|
which takes a direction and a name as an argument. If the name is %NULL,
|
|
then a guaranteed unique name will be assigned to it.
|
|
|
|
A #GstElement creating a pad will typically use the various
|
|
gst_pad_set_*_function\() calls to register callbacks for events, queries or
|
|
dataflow on the pads.
|
|
|
|
gst_pad_get_parent() will retrieve the #GstElement that owns the pad.
|
|
|
|
After two pads are retrieved from an element by gst_element_get_static_pad(),
|
|
the pads can be linked with gst_pad_link(). (For quick links,
|
|
you can also use gst_element_link(), which will make the obvious
|
|
link for you if it's straightforward.). Pads can be unlinked again with
|
|
gst_pad_unlink(). gst_pad_get_peer() can be used to check what the pad is
|
|
linked to.
|
|
|
|
Before dataflow is possible on the pads, they need to be activated with
|
|
gst_pad_set_active().
|
|
|
|
gst_pad_query() and gst_pad_peer_query() can be used to query various
|
|
properties of the pad and the stream.
|
|
|
|
To send a #GstEvent on a pad, use gst_pad_send_event() and
|
|
gst_pad_push_event(). Some events will be sticky on the pad, meaning that
|
|
after they pass on the pad they can be queried later with
|
|
gst_pad_get_sticky_event() and gst_pad_sticky_events_foreach().
|
|
gst_pad_get_current_caps() and gst_pad_has_current_caps() are convenience
|
|
functions to query the current sticky CAPS event on a pad.
|
|
|
|
GstElements will use gst_pad_push() and gst_pad_pull_range() to push out
|
|
or pull in a buffer.
|
|
|
|
The dataflow, events and queries that happen on a pad can be monitored with
|
|
probes that can be installed with gst_pad_add_probe(). gst_pad_is_blocked()
|
|
can be used to check if a block probe is installed on the pad.
|
|
gst_pad_is_blocking() checks if the blocking probe is currently blocking the
|
|
pad. gst_pad_remove_probe() is used to remove a previously installed probe
|
|
and unblock blocking probes if any.
|
|
|
|
Pad have an offset that can be retrieved with gst_pad_get_offset(). This
|
|
offset will be applied to the running_time of all data passing over the pad.
|
|
gst_pad_set_offset() can be used to change the offset.
|
|
|
|
Convenience functions exist to start, pause and stop the task on a pad with
|
|
gst_pad_start_task(), gst_pad_pause_task() and gst_pad_stop_task()
|
|
respectively.</doc>
|
|
<source-position filename="gst/gstpad.h" line="817"/>
|
|
<constructor name="new" c:identifier="gst_pad_new">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="825">Creates a new pad with the given name in the given direction.
|
|
If name is %NULL, a guaranteed unique name (across all pads)
|
|
will be assigned.
|
|
This function makes a copy of the name so you can safely free the name.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1285"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="835">a new #GstPad.
|
|
|
|
MT safe.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="827">the name of the new pad.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="direction" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="828">the #GstPadDirection of the pad.</doc>
|
|
<type name="PadDirection" c:type="GstPadDirection"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_from_static_template"
|
|
c:identifier="gst_pad_new_from_static_template">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="871">Creates a new pad with the given name from the given static template.
|
|
If name is %NULL, a guaranteed unique name (across all pads)
|
|
will be assigned.
|
|
This function makes a copy of the name so you can safely free the name.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1291"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="881">a new #GstPad.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="templ" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="873">the #GstStaticPadTemplate to use</doc>
|
|
<type name="StaticPadTemplate" c:type="GstStaticPadTemplate*"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="874">the name of the pad</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_from_template"
|
|
c:identifier="gst_pad_new_from_template">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="846">Creates a new pad with the given name from the given template.
|
|
If name is %NULL, a guaranteed unique name (across all pads)
|
|
will be assigned.
|
|
This function makes a copy of the name so you can safely free the name.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1288"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="856">a new #GstPad.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="templ" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="848">the pad template to use</doc>
|
|
<type name="PadTemplate" c:type="GstPadTemplate*"/>
|
|
</parameter>
|
|
<parameter name="name"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="849">the name of the pad</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<function name="link_get_name"
|
|
c:identifier="gst_pad_link_get_name"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="271">Gets a string representing the given pad-link return.</doc>
|
|
<source-position filename="gst/gstpad.h" line="192"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="277">a static string with the name of the pad-link return.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="ret" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="273">a #GstPadLinkReturn to get the name of.</doc>
|
|
<type name="PadLinkReturn" c:type="GstPadLinkReturn"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<virtual-method name="linked">
|
|
<source-position filename="gst/gstpad.h" line="812"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="peer" transfer-ownership="none">
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="unlinked">
|
|
<source-position filename="gst/gstpad.h" line="813"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="peer" transfer-ownership="none">
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="activate_mode" c:identifier="gst_pad_activate_mode">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1287">Activates or deactivates the given pad in @mode via dispatching to the
|
|
pad's activatemodefunc. For use from within pad activation functions only.
|
|
|
|
If you don't know what this is, you probably don't want to call it.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1327"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1298">%TRUE if the operation was successful.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1289">the #GstPad to activate or deactivate.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1290">the requested activation mode</doc>
|
|
<type name="PadMode" c:type="GstPadMode"/>
|
|
</parameter>
|
|
<parameter name="active" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1291">whether or not the pad should be active.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_probe" c:identifier="gst_pad_add_probe">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1398">Be notified of different states of pads. The provided callback is called for
|
|
every state that matches @mask.
|
|
|
|
Probes are called in groups: First GST_PAD_PROBE_TYPE_BLOCK probes are
|
|
called, then others, then finally GST_PAD_PROBE_TYPE_IDLE. The only
|
|
exception here are GST_PAD_PROBE_TYPE_IDLE probes that are called
|
|
immediately if the pad is already idle while calling gst_pad_add_probe().
|
|
In each of the groups, probes are called in the order in which they were
|
|
added.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1330"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1417">an id or 0 if no probe is pending. The id can be used to remove the
|
|
probe with gst_pad_remove_probe(). When using GST_PAD_PROBE_TYPE_IDLE it can
|
|
happen that the probe can be run immediately and if the probe returns
|
|
GST_PAD_PROBE_REMOVE this functions returns 0.
|
|
|
|
MT safe.</doc>
|
|
<type name="gulong" c:type="gulong"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1400">the #GstPad to add the probe to</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="mask" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1401">the probe mask</doc>
|
|
<type name="PadProbeType" c:type="GstPadProbeType"/>
|
|
</parameter>
|
|
<parameter name="callback"
|
|
transfer-ownership="none"
|
|
scope="notified"
|
|
closure="2"
|
|
destroy="3">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1402">#GstPadProbeCallback that will be called with notifications of
|
|
the pad state</doc>
|
|
<type name="PadProbeCallback" c:type="GstPadProbeCallback"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1404">user data passed to the callback</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="destroy_data"
|
|
transfer-ownership="none"
|
|
scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1405">#GDestroyNotify for user_data</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="can_link" c:identifier="gst_pad_can_link">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2441">Checks if the source pad and the sink pad are compatible so they can be
|
|
linked.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1437"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2449">%TRUE if the pads can be linked.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="srcpad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2443">the source #GstPad.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="sinkpad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2444">the sink #GstPad.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="chain" c:identifier="gst_pad_chain">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4496">Chain a buffer to @pad.
|
|
|
|
The function returns #GST_FLOW_FLUSHING if the pad was flushing.
|
|
|
|
If the buffer type is not acceptable for @pad (as negotiated with a
|
|
preceding GST_EVENT_CAPS event), this function returns
|
|
#GST_FLOW_NOT_NEGOTIATED.
|
|
|
|
The function proceeds calling the chain function installed on @pad (see
|
|
gst_pad_set_chain_function()) and the return value of that function is
|
|
returned to the caller. #GST_FLOW_NOT_SUPPORTED is returned if @pad has no
|
|
chain function.
|
|
|
|
In all cases, success or failure, the caller loses its reference to @buffer
|
|
after calling this function.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1501"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4518">a #GstFlowReturn from the pad.
|
|
|
|
MT safe.</doc>
|
|
<type name="FlowReturn" c:type="GstFlowReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4498">a sink #GstPad, returns GST_FLOW_ERROR if not.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="buffer" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4499">the #GstBuffer to send, return GST_FLOW_ERROR
|
|
if not.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="chain_list" c:identifier="gst_pad_chain_list">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4560">Chain a bufferlist to @pad.
|
|
|
|
The function returns #GST_FLOW_FLUSHING if the pad was flushing.
|
|
|
|
If @pad was not negotiated properly with a CAPS event, this function
|
|
returns #GST_FLOW_NOT_NEGOTIATED.
|
|
|
|
The function proceeds calling the chainlist function installed on @pad (see
|
|
gst_pad_set_chain_list_function()) and the return value of that function is
|
|
returned to the caller. #GST_FLOW_NOT_SUPPORTED is returned if @pad has no
|
|
chainlist function.
|
|
|
|
In all cases, success or failure, the caller loses its reference to @list
|
|
after calling this function.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1504"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4583">a #GstFlowReturn from the pad.</doc>
|
|
<type name="FlowReturn" c:type="GstFlowReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4562">a sink #GstPad, returns GST_FLOW_ERROR if not.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="list" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4563">the #GstBufferList to send, return GST_FLOW_ERROR
|
|
if not.</doc>
|
|
<type name="BufferList" c:type="GstBufferList*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="check_reconfigure"
|
|
c:identifier="gst_pad_check_reconfigure">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1654">Check and clear the #GST_PAD_FLAG_NEED_RECONFIGURE flag on @pad and return %TRUE
|
|
if the flag was set.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1351"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1661">%TRUE is the GST_PAD_FLAG_NEED_RECONFIGURE flag was set on @pad.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1656">the #GstPad to check</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="create_stream_id" c:identifier="gst_pad_create_stream_id">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4123">Creates a stream-id for the source #GstPad @pad by combining the
|
|
upstream information with the optional @stream_id of the stream
|
|
of @pad. @pad must have a parent #GstElement and which must have zero
|
|
or one sinkpad. @stream_id can only be %NULL if the parent element
|
|
of @pad has only a single source pad.
|
|
|
|
This function generates an unique stream-id by getting the upstream
|
|
stream-start event stream ID and appending @stream_id to it. If the
|
|
element has no sinkpad it will generate an upstream stream-id by
|
|
doing an URI query on the element and in the worst case just uses
|
|
a random number. Source elements that don't implement the URI
|
|
handler interface should ideally generate a unique, deterministic
|
|
stream-id manually instead.
|
|
|
|
Since stream IDs are sorted alphabetically, any numbers in the
|
|
stream ID should be printed with a fixed number of characters,
|
|
preceded by 0's, such as by using the format \%03u instead of \%u.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1117"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4147">A stream-id for @pad. g_free() after usage.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4125">A source #GstPad</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4126">Parent #GstElement of @pad</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="stream_id"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4127">The stream-id</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="create_stream_id_printf"
|
|
c:identifier="gst_pad_create_stream_id_printf"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4085">Creates a stream-id for the source #GstPad @pad by combining the
|
|
upstream information with the optional @stream_id of the stream
|
|
of @pad. @pad must have a parent #GstElement and which must have zero
|
|
or one sinkpad. @stream_id can only be %NULL if the parent element
|
|
of @pad has only a single source pad.
|
|
|
|
This function generates an unique stream-id by getting the upstream
|
|
stream-start event stream ID and appending @stream_id to it. If the
|
|
element has no sinkpad it will generate an upstream stream-id by
|
|
doing an URI query on the element and in the worst case just uses
|
|
a random number. Source elements that don't implement the URI
|
|
handler interface should ideally generate a unique, deterministic
|
|
stream-id manually instead.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1120"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4106">A stream-id for @pad. g_free() after usage.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4087">A source #GstPad</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4088">Parent #GstElement of @pad</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="stream_id"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4089">The stream-id</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4090">parameters for the @stream_id format string</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="create_stream_id_printf_valist"
|
|
c:identifier="gst_pad_create_stream_id_printf_valist"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4046">Creates a stream-id for the source #GstPad @pad by combining the
|
|
upstream information with the optional @stream_id of the stream
|
|
of @pad. @pad must have a parent #GstElement and which must have zero
|
|
or one sinkpad. @stream_id can only be %NULL if the parent element
|
|
of @pad has only a single source pad.
|
|
|
|
This function generates an unique stream-id by getting the upstream
|
|
stream-start event stream ID and appending @stream_id to it. If the
|
|
element has no sinkpad it will generate an upstream stream-id by
|
|
doing an URI query on the element and in the worst case just uses
|
|
a random number. Source elements that don't implement the URI
|
|
handler interface should ideally generate a unique, deterministic
|
|
stream-id manually instead.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1123"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4067">A stream-id for @pad. g_free() after usage.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4048">A source #GstPad</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4049">Parent #GstElement of @pad</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="stream_id"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4050">The stream-id</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="var_args" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4051">parameters for the @stream_id format string</doc>
|
|
<type name="va_list" c:type="va_list"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="event_default" c:identifier="gst_pad_event_default">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="3128">Invokes the default event handler for the given pad.
|
|
|
|
The EOS event will pause the task associated with @pad before it is forwarded
|
|
to all internally linked pads,
|
|
|
|
The event is sent to all pads internally linked to @pad. This function
|
|
takes ownership of @event.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1493"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="3142">%TRUE if the event was sent successfully.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="3130">a #GstPad to call the default event handler on.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="parent"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="3131">the parent of @pad or %NULL</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="event" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="3132">the #GstEvent to handle.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="forward" c:identifier="gst_pad_forward">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="3029">Calls @forward for all internally linked pads of @pad. This function deals with
|
|
dynamically changing internal pads and will make sure that the @forward
|
|
function is only called once for each pad.
|
|
|
|
When @forward returns %TRUE, no further pads will be processed.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1566"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="3041">%TRUE if one of the dispatcher functions returned %TRUE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="3031">a #GstPad</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="forward"
|
|
transfer-ownership="none"
|
|
scope="call"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="3032">a #GstPadForwardFunction</doc>
|
|
<type name="PadForwardFunction" c:type="GstPadForwardFunction"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="3033">user data passed to @forward</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_allowed_caps" c:identifier="gst_pad_get_allowed_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2786">Gets the capabilities of the allowed media types that can flow through
|
|
@pad and its peer.
|
|
|
|
The allowed capabilities is calculated as the intersection of the results of
|
|
calling gst_pad_query_caps() on @pad and its peer. The caller owns a reference
|
|
on the resulting caps.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1468"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2797">the allowed #GstCaps of the
|
|
pad link. Unref the caps when you no longer need it. This
|
|
function returns %NULL when @pad has no peer.
|
|
|
|
MT safe.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2788">a #GstPad.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_current_caps" c:identifier="gst_pad_get_current_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2712">Gets the capabilities currently configured on @pad with the last
|
|
#GST_EVENT_CAPS event.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1460"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2719">the current caps of the pad with
|
|
incremented ref-count or %NULL when pad has no caps. Unref after usage.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2714">a #GstPad to get the current capabilities of.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_direction" c:identifier="gst_pad_get_direction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="910">Gets the direction of the pad. The direction of the pad is
|
|
decided at construction time so this function does not take
|
|
the LOCK.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1318"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="918">the #GstPadDirection of the pad.
|
|
|
|
MT safe.</doc>
|
|
<type name="PadDirection" c:type="GstPadDirection"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="912">a #GstPad to get the direction of.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_element_private"
|
|
c:identifier="gst_pad_get_element_private">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6052">Gets the private data of a pad.
|
|
No locking is performed in this function.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1357"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6059">a #gpointer to the private data.</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6054">the #GstPad to get the private data of.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_last_flow_return"
|
|
c:identifier="gst_pad_get_last_flow_return"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6482">Gets the #GstFlowReturn return from the last data passed by this pad.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1496"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="FlowReturn" c:type="GstFlowReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6484">the #GstPad</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_offset" c:identifier="gst_pad_get_offset">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="3903">Get the offset applied to the running time of @pad. @pad has to be a source
|
|
pad.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1473"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="3910">the offset.</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="3905">a #GstPad</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_pad_template" c:identifier="gst_pad_get_pad_template">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2664">Gets the template for @pad.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1360"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2670">the #GstPadTemplate from which
|
|
this pad was instantiated, or %NULL if this pad has no
|
|
template. Unref after usage.</doc>
|
|
<type name="PadTemplate" c:type="GstPadTemplate*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2666">a #GstPad.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_pad_template_caps"
|
|
c:identifier="gst_pad_get_pad_template_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2739">Gets the capabilities for @pad's template.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1455"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2745">the #GstCaps of this pad template.
|
|
Unref after usage.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2741">a #GstPad to get the template capabilities from.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_parent_element"
|
|
c:identifier="gst_pad_get_parent_element">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2631">Gets the parent of @pad, cast to a #GstElement. If a @pad has no parent or
|
|
its parent is not an element, return %NULL.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1069"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2638">the parent of the pad. The
|
|
caller has a reference on the parent, so unref when you're finished
|
|
with it.
|
|
|
|
MT safe.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2633">a pad</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_peer" c:identifier="gst_pad_get_peer">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2759">Gets the peer of @pad. This function refs the peer pad so
|
|
you need to unref it after use.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1452"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2766">the peer #GstPad. Unref after usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2761">a #GstPad to get the peer of.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_range" c:identifier="gst_pad_get_range">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4981">When @pad is flushing this function returns #GST_FLOW_FLUSHING
|
|
immediately and @buffer is %NULL.
|
|
|
|
Calls the getrange function of @pad, see #GstPadGetRangeFunction for a
|
|
description of a getrange function. If @pad has no getrange function
|
|
installed (see gst_pad_set_getrange_function()) this function returns
|
|
#GST_FLOW_NOT_SUPPORTED.
|
|
|
|
If @buffer points to a variable holding %NULL, a valid new #GstBuffer will be
|
|
placed in @buffer when this function returns #GST_FLOW_OK. The new buffer
|
|
must be freed with gst_buffer_unref() after usage.
|
|
|
|
When @buffer points to a variable that points to a valid #GstBuffer, the
|
|
buffer will be filled with the result data when this function returns
|
|
#GST_FLOW_OK. If the provided buffer is larger than @size, only
|
|
@size bytes will be filled in the result buffer and its size will be updated
|
|
accordingly.
|
|
|
|
Note that less than @size bytes can be returned in @buffer when, for example,
|
|
an EOS condition is near or when @buffer is not large enough to hold @size
|
|
bytes. The caller should check the result buffer size to get the result size.
|
|
|
|
When this function returns any other result value than #GST_FLOW_OK, @buffer
|
|
will be unchanged.
|
|
|
|
This is a lowlevel function. Usually gst_pad_pull_range() is used.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1507"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="5016">a #GstFlowReturn from the pad.
|
|
|
|
MT safe.</doc>
|
|
<type name="FlowReturn" c:type="GstFlowReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4983">a src #GstPad, returns #GST_FLOW_ERROR if not.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4984">The start offset of the buffer</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4985">The length of the buffer</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="buffer"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4986">a pointer to hold the #GstBuffer,
|
|
returns #GST_FLOW_ERROR if %NULL.</doc>
|
|
<type name="Buffer" c:type="GstBuffer**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_single_internal_link"
|
|
c:identifier="gst_pad_get_single_internal_link"
|
|
version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2853">If there is a single internal link of the given pad, this function will
|
|
return it. Otherwise, it will return NULL.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1543"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2860">a #GstPad, or %NULL if @pad has none
|
|
or more than one internal links. Unref returned pad with
|
|
gst_object_unref().</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2855">the #GstPad to get the internal link of.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_sticky_event" c:identifier="gst_pad_get_sticky_event">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6067">Returns a new reference of the sticky event of type @event_type
|
|
from the event.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1366"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6076">a #GstEvent of type
|
|
@event_type or %NULL when no event of @event_type was on
|
|
@pad. Unref after usage.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6069">the #GstPad to get the event from.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="event_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6070">the #GstEventType that should be retrieved.</doc>
|
|
<type name="EventType" c:type="GstEventType"/>
|
|
</parameter>
|
|
<parameter name="idx" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6071">the index of the event</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_stream"
|
|
c:identifier="gst_pad_get_stream"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4197">Returns the current #GstStream for the @pad, or %NULL if none has been
|
|
set yet, i.e. the pad has not received a stream-start event yet.
|
|
|
|
This is a convenience wrapper around gst_pad_get_sticky_event() and
|
|
gst_event_parse_stream().</doc>
|
|
<source-position filename="gst/gstutils.h" line="1129"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4207">the current #GstStream for @pad, or %NULL.
|
|
unref the returned stream when no longer needed.</doc>
|
|
<type name="Stream" c:type="GstStream*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4199">A source #GstPad</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_stream_id"
|
|
c:identifier="gst_pad_get_stream_id"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4156">Returns the current stream-id for the @pad, or %NULL if none has been
|
|
set yet, i.e. the pad has not received a stream-start event yet.
|
|
|
|
This is a convenience wrapper around gst_pad_get_sticky_event() and
|
|
gst_event_parse_stream_start().
|
|
|
|
The returned stream-id string should be treated as an opaque string, its
|
|
contents should not be interpreted.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1126"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4169">a newly-allocated copy of the stream-id for
|
|
@pad, or %NULL. g_free() the returned string when no longer
|
|
needed.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4158">A source #GstPad</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_task_state"
|
|
c:identifier="gst_pad_get_task_state"
|
|
version="1.12">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6309">Get @pad task state. If no task is currently
|
|
set, #GST_TASK_STOPPED is returned.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1524"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6316">The current state of @pad's task.</doc>
|
|
<type name="TaskState" c:type="GstTaskState"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6311">the #GstPad to get task state from</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_current_caps" c:identifier="gst_pad_has_current_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2686">Check if @pad has caps set on it with a #GST_EVENT_CAPS event.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1463"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2692">%TRUE when @pad has caps associated with it.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2688">a #GstPad to check</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_active" c:identifier="gst_pad_is_active">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1343">Query if a pad is active</doc>
|
|
<source-position filename="gst/gstpad.h" line="1324"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1349">%TRUE if the pad is active.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1345">the #GstPad to query</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_blocked" c:identifier="gst_pad_is_blocked">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1578">Checks if the pad is blocked or not. This function returns the
|
|
last requested state of the pad. It is not certain that the pad
|
|
is actually blocking at this point (see gst_pad_is_blocking()).</doc>
|
|
<source-position filename="gst/gstpad.h" line="1339"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1586">%TRUE if the pad is blocked.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1580">the #GstPad to query</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_blocking" c:identifier="gst_pad_is_blocking">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1604">Checks if the pad is blocking or not. This is a guaranteed state
|
|
of whether the pad is actually blocking on a #GstBuffer or a #GstEvent.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1342"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1611">%TRUE if the pad is blocking.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1606">the #GstPad to query</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_linked" c:identifier="gst_pad_is_linked">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2213">Checks if a @pad is linked to another pad or not.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1449"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2219">%TRUE if the pad is linked, %FALSE otherwise.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2215">pad to check</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="iterate_internal_links"
|
|
c:identifier="gst_pad_iterate_internal_links">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2985">Gets an iterator for the pads to which the given pad is linked to inside
|
|
of the parent element.
|
|
|
|
Each #GstPad element yielded by the iterator will have its refcount increased,
|
|
so unref after use.
|
|
|
|
Free-function: gst_iterator_free</doc>
|
|
<source-position filename="gst/gstpad.h" line="1535"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2997">a new #GstIterator of #GstPad
|
|
or %NULL when the pad does not have an iterator function
|
|
configured. Use gst_iterator_free() after usage.</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2987">the GstPad to get the internal links of.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="iterate_internal_links_default"
|
|
c:identifier="gst_pad_iterate_internal_links_default">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2919">Iterate the list of pads to which the given pad is linked to inside of
|
|
the parent element.
|
|
This is the default handler, and thus returns an iterator of all of the
|
|
pads inside the parent element with opposite direction.
|
|
|
|
The caller must free this iterator after use with gst_iterator_free().</doc>
|
|
<source-position filename="gst/gstpad.h" line="1538"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2931">a #GstIterator of #GstPad, or %NULL if @pad
|
|
has no parent. Unref each returned pad with gst_object_unref().</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2921">the #GstPad to get the internal links of.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="parent"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2922">the parent of @pad or %NULL</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="link" c:identifier="gst_pad_link">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2630">Links the source pad and the sink pad.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1440"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2637">A result code indicating if the connection worked or
|
|
what went wrong.
|
|
|
|
MT Safe.</doc>
|
|
<type name="PadLinkReturn" c:type="GstPadLinkReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="srcpad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2632">the source #GstPad to link.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="sinkpad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2633">the sink #GstPad to link.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="link_full" c:identifier="gst_pad_link_full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2477">Links the source pad and the sink pad.
|
|
|
|
This variant of #gst_pad_link provides a more granular control on the
|
|
checks being done when linking. While providing some considerable speedups
|
|
the caller of this method must be aware that wrong usage of those flags
|
|
can cause severe issues. Refer to the documentation of #GstPadLinkCheck
|
|
for more information.
|
|
|
|
MT Safe.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1443"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2493">A result code indicating if the connection worked or
|
|
what went wrong.</doc>
|
|
<type name="PadLinkReturn" c:type="GstPadLinkReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="srcpad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2479">the source #GstPad to link.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="sinkpad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2480">the sink #GstPad to link.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2481">the checks to validate when linking</doc>
|
|
<type name="PadLinkCheck" c:type="GstPadLinkCheck"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="link_maybe_ghosting"
|
|
c:identifier="gst_pad_link_maybe_ghosting"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1742">Links @src to @sink, creating any #GstGhostPad's in between as necessary.
|
|
|
|
This is a convenience function to save having to create and add intermediate
|
|
#GstGhostPad's as required for linking across #GstBin boundaries.
|
|
|
|
If @src or @sink pads don't have parent elements or do not share a common
|
|
ancestor, the link will fail.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1095"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1755">whether the link succeeded.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1744">a #GstPad</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="sink" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1745">a #GstPad</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="link_maybe_ghosting_full"
|
|
c:identifier="gst_pad_link_maybe_ghosting_full"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1710">Links @src to @sink, creating any #GstGhostPad's in between as necessary.
|
|
|
|
This is a convenience function to save having to create and add intermediate
|
|
#GstGhostPad's as required for linking across #GstBin boundaries.
|
|
|
|
If @src or @sink pads don't have parent elements or do not share a common
|
|
ancestor, the link will fail.
|
|
|
|
Calling gst_pad_link_maybe_ghosting_full() with
|
|
@flags == %GST_PAD_LINK_CHECK_DEFAULT is the recommended way of linking
|
|
pads with safety checks applied.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1098"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1728">whether the link succeeded.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1712">a #GstPad</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="sink" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1713">a #GstPad</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1714">some #GstPadLinkCheck flags</doc>
|
|
<type name="PadLinkCheck" c:type="GstPadLinkCheck"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="mark_reconfigure" c:identifier="gst_pad_mark_reconfigure">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1681">Mark a pad for needing reconfiguration. The next call to
|
|
gst_pad_check_reconfigure() will return %TRUE after this call.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1345"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1683">the #GstPad to mark</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="needs_reconfigure"
|
|
c:identifier="gst_pad_needs_reconfigure">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1630">Check the #GST_PAD_FLAG_NEED_RECONFIGURE flag on @pad and return %TRUE
|
|
if the flag was set.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1348"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1637">%TRUE is the GST_PAD_FLAG_NEED_RECONFIGURE flag is set on @pad.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1632">the #GstPad to check</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="pause_task" c:identifier="gst_pad_pause_task">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6263">Pause the task of @pad. This function will also wait until the
|
|
function executed by the task is finished if this function is not
|
|
called from the task function.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1518"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6271">a %TRUE if the task could be paused or %FALSE when the pad
|
|
has no task.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6265">the #GstPad to pause the task of</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="peer_query" c:identifier="gst_pad_peer_query">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4217">Performs gst_pad_query() on the peer of @pad.
|
|
|
|
The caller is responsible for both the allocation and deallocation of
|
|
the query structure.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1551"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4227">%TRUE if the query could be performed. This function returns %FALSE
|
|
if @pad has no peer.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4219">a #GstPad to invoke the peer query on.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4220">the #GstQuery to perform.</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="peer_query_accept_caps"
|
|
c:identifier="gst_pad_peer_query_accept_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3198">Check if the peer of @pad accepts @caps. If @pad has no peer, this function
|
|
returns %TRUE.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1114"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3206">%TRUE if the peer of @pad can accept the caps or @pad has no peer.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3200">a #GstPad to check the peer of</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3201">a #GstCaps to check on the pad</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="peer_query_caps" c:identifier="gst_pad_peer_query_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3121">Gets the capabilities of the peer connected to this pad. Similar to
|
|
gst_pad_query_caps().
|
|
|
|
When called on srcpads @filter contains the caps that
|
|
upstream could produce in the order preferred by upstream. When
|
|
called on sinkpads @filter contains the caps accepted by
|
|
downstream in the preferred order. @filter might be %NULL but
|
|
if it is not %NULL the returned caps will be a subset of @filter.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1111"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3135">the caps of the peer pad with incremented
|
|
ref-count. When there is no peer pad, this function returns @filter or,
|
|
when @filter is %NULL, ANY caps.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3123">a #GstPad to get the capabilities of.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="filter"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3124">a #GstCaps filter, or %NULL.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="peer_query_convert"
|
|
c:identifier="gst_pad_peer_query_convert">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3036">Queries the peer pad of a given sink pad to convert @src_val in @src_format
|
|
to @dest_format.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1108"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3048">%TRUE if the query could be performed.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3038">a #GstPad, on whose peer pad to invoke the convert query on.
|
|
Must be a sink pad.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="src_format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3040">a #GstFormat to convert from.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="src_val" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3041">a value to convert.</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
<parameter name="dest_format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3042">the #GstFormat to convert to.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="dest_val"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3043">a pointer to the result.</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="peer_query_duration"
|
|
c:identifier="gst_pad_peer_query_duration">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2967">Queries the peer pad of a given sink pad for the total stream duration.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1105"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2977">%TRUE if the query could be performed.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2969">a #GstPad on whose peer pad to invoke the duration query on.
|
|
Must be a sink pad.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2971">the #GstFormat requested</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="duration"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2972">a location in which to store the total
|
|
duration, or %NULL.</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="peer_query_position"
|
|
c:identifier="gst_pad_peer_query_position">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2904">Queries the peer of a given sink pad for the stream position.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1102"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2914">%TRUE if the query could be performed.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2906">a #GstPad on whose peer to invoke the position query on.
|
|
Must be a sink pad.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2908">the #GstFormat requested</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="cur"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2909">a location in which to store the current
|
|
position, or %NULL.</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="proxy_query_accept_caps"
|
|
c:identifier="gst_pad_proxy_query_accept_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2759">Checks if all internally linked pads of @pad accepts the caps in @query and
|
|
returns the intersection of the results.
|
|
|
|
This function is useful as a default accept caps query function for an element
|
|
that can handle any stream format, but requires caps that are acceptable for
|
|
all opposite pads.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1074"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2771">%TRUE if @query could be executed</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2761">a #GstPad to proxy.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2762">an ACCEPT_CAPS #GstQuery.</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="proxy_query_caps" c:identifier="gst_pad_proxy_query_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2827">Calls gst_pad_query_caps() for all internally linked pads of @pad and returns
|
|
the intersection of the results.
|
|
|
|
This function is useful as a default caps query function for an element
|
|
that can handle any stream format, but requires all its pads to have
|
|
the same caps. Two such elements are tee and adder.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1077"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2839">%TRUE if @query could be executed</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2829">a #GstPad to proxy.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2830">a CAPS #GstQuery.</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="pull_range" c:identifier="gst_pad_pull_range">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="5033">Pulls a @buffer from the peer pad or fills up a provided buffer.
|
|
|
|
This function will first trigger the pad block signal if it was
|
|
installed.
|
|
|
|
When @pad is not linked #GST_FLOW_NOT_LINKED is returned else this
|
|
function returns the result of gst_pad_get_range() on the peer pad.
|
|
See gst_pad_get_range() for a list of return values and for the
|
|
semantics of the arguments of this function.
|
|
|
|
If @buffer points to a variable holding %NULL, a valid new #GstBuffer will be
|
|
placed in @buffer when this function returns #GST_FLOW_OK. The new buffer
|
|
must be freed with gst_buffer_unref() after usage. When this function
|
|
returns any other result value, @buffer will still point to %NULL.
|
|
|
|
When @buffer points to a variable that points to a valid #GstBuffer, the
|
|
buffer will be filled with the result data when this function returns
|
|
#GST_FLOW_OK. When this function returns any other result value,
|
|
@buffer will be unchanged. If the provided buffer is larger than @size, only
|
|
@size bytes will be filled in the result buffer and its size will be updated
|
|
accordingly.
|
|
|
|
Note that less than @size bytes can be returned in @buffer when, for example,
|
|
an EOS condition is near or when @buffer is not large enough to hold @size
|
|
bytes. The caller should check the result buffer size to get the result size.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1487"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="5067">a #GstFlowReturn from the peer pad.
|
|
|
|
MT safe.</doc>
|
|
<type name="FlowReturn" c:type="GstFlowReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="5035">a sink #GstPad, returns GST_FLOW_ERROR if not.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="5036">The start offset of the buffer</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="5037">The length of the buffer</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="buffer"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="5038">a pointer to hold the #GstBuffer, returns
|
|
GST_FLOW_ERROR if %NULL.</doc>
|
|
<type name="Buffer" c:type="GstBuffer**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="push" c:identifier="gst_pad_push">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4742">Pushes a buffer to the peer of @pad.
|
|
|
|
This function will call installed block probes before triggering any
|
|
installed data probes.
|
|
|
|
The function proceeds calling gst_pad_chain() on the peer pad and returns
|
|
the value from that function. If @pad has no peer, #GST_FLOW_NOT_LINKED will
|
|
be returned.
|
|
|
|
In all cases, success or failure, the caller loses its reference to @buffer
|
|
after calling this function.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1481"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4760">a #GstFlowReturn from the peer pad.
|
|
|
|
MT safe.</doc>
|
|
<type name="FlowReturn" c:type="GstFlowReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4744">a source #GstPad, returns #GST_FLOW_ERROR if not.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="buffer" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4745">the #GstBuffer to push returns GST_FLOW_ERROR
|
|
if not.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="push_event" c:identifier="gst_pad_push_event">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="5559">Sends the event to the peer of the given pad. This function is
|
|
mainly used by elements to send events to their peer
|
|
elements.
|
|
|
|
This function takes ownership of the provided event so you should
|
|
gst_event_ref() it if you want to reuse the event after this call.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1490"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="5571">%TRUE if the event was handled.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="5561">a #GstPad to push the event to.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="event" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="5562">the #GstEvent to send to the pad.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="push_list" c:identifier="gst_pad_push_list">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4780">Pushes a buffer list to the peer of @pad.
|
|
|
|
This function will call installed block probes before triggering any
|
|
installed data probes.
|
|
|
|
The function proceeds calling the chain function on the peer pad and returns
|
|
the value from that function. If @pad has no peer, #GST_FLOW_NOT_LINKED will
|
|
be returned. If the peer pad does not have any installed chainlist function
|
|
every group buffer of the list will be merged into a normal #GstBuffer and
|
|
chained via gst_pad_chain().
|
|
|
|
In all cases, success or failure, the caller loses its reference to @list
|
|
after calling this function.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1484"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4800">a #GstFlowReturn from the peer pad.
|
|
|
|
MT safe.</doc>
|
|
<type name="FlowReturn" c:type="GstFlowReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4782">a source #GstPad, returns #GST_FLOW_ERROR if not.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="list" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4783">the #GstBufferList to push returns GST_FLOW_ERROR
|
|
if not.</doc>
|
|
<type name="BufferList" c:type="GstBufferList*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="query" c:identifier="gst_pad_query">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4084">Dispatches a query to a pad. The query should have been allocated by the
|
|
caller via one of the type-specific allocation functions. The element that
|
|
the pad belongs to is responsible for filling the query with an appropriate
|
|
response, which should then be parsed with a type-specific query parsing
|
|
function.
|
|
|
|
Again, the caller is responsible for both the allocation and deallocation of
|
|
the query structure.
|
|
|
|
Please also note that some queries might need a running pipeline to work.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1548"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4100">%TRUE if the query could be performed.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4086">a #GstPad to invoke the default query on.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="4087">the #GstQuery to perform.</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="query_accept_caps"
|
|
c:identifier="gst_pad_query_accept_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3167">Check if the given pad accepts the caps.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1092"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3174">%TRUE if the pad can accept the caps.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3169">a #GstPad to check</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3170">a #GstCaps to check on the pad</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="query_caps" c:identifier="gst_pad_query_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3070">Gets the capabilities this pad can produce or consume.
|
|
Note that this method doesn't necessarily return the caps set by sending a
|
|
gst_event_new_caps() - use gst_pad_get_current_caps() for that instead.
|
|
gst_pad_query_caps returns all possible caps a pad can operate with, using
|
|
the pad's CAPS query function, If the query fails, this function will return
|
|
@filter, if not %NULL, otherwise ANY.
|
|
|
|
When called on sinkpads @filter contains the caps that
|
|
upstream could produce in the order preferred by upstream. When
|
|
called on srcpads @filter contains the caps accepted by
|
|
downstream in the preferred order. @filter might be %NULL but
|
|
if it is not %NULL the returned caps will be a subset of @filter.
|
|
|
|
Note that this function does not return writable #GstCaps, use
|
|
gst_caps_make_writable() before modifying the caps.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1089"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3091">the caps of the pad with incremented ref-count.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3072">a #GstPad to get the capabilities of.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="filter"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3073">suggested #GstCaps, or %NULL</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="query_convert" c:identifier="gst_pad_query_convert">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3000">Queries a pad to convert @src_val in @src_format to @dest_format.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1086"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3010">%TRUE if the query could be performed.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3002">a #GstPad to invoke the convert query on.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="src_format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3003">a #GstFormat to convert from.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="src_val" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3004">a value to convert.</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
<parameter name="dest_format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3005">the #GstFormat to convert to.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="dest_val"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3006">a pointer to the result.</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="query_default" c:identifier="gst_pad_query_default">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="3456">Invokes the default query handler for the given pad.
|
|
The query is sent to all pads internally linked to @pad. Note that
|
|
if there are many possible sink pads that are internally linked to
|
|
@pad, only one will be sent the query.
|
|
Multi-sinkpad elements should implement custom query handlers.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1558"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="3468">%TRUE if the query was performed successfully.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="3458">a #GstPad to call the default query handler on.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="parent"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="3459">the parent of @pad or %NULL</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="3460">the #GstQuery to handle.</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="query_duration" c:identifier="gst_pad_query_duration">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2936">Queries a pad for the total stream duration.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1083"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2945">%TRUE if the query could be performed.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2938">a #GstPad to invoke the duration query on.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2939">the #GstFormat requested</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="duration"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2940">a location in which to store the total
|
|
duration, or %NULL.</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="query_position" c:identifier="gst_pad_query_position">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2874">Queries a pad for the stream position.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1080"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2882">%TRUE if the query could be performed.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2876">a #GstPad to invoke the position query on.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2877">the #GstFormat requested</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="cur"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2878">A location in which to store the current position, or %NULL.</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_probe" c:identifier="gst_pad_remove_probe">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1541">Remove the probe with @id from @pad.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1336"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1543">the #GstPad with the probe</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="id" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1544">the probe id to remove</doc>
|
|
<type name="gulong" c:type="gulong"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="send_event" c:identifier="gst_pad_send_event">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="5966">Sends the event to the pad. This function can be used
|
|
by applications to send events in the pipeline.
|
|
|
|
If @pad is a source pad, @event should be an upstream event. If @pad is a
|
|
sink pad, @event should be a downstream event. For example, you would not
|
|
send a #GST_EVENT_EOS on a src pad; EOS events only propagate downstream.
|
|
Furthermore, some downstream events have to be serialized with data flow,
|
|
like EOS, while some can travel out-of-band, like #GST_EVENT_FLUSH_START. If
|
|
the event needs to be serialized with data flow, this function will take the
|
|
pad's stream lock while calling its event function.
|
|
|
|
To find out whether an event type is upstream, downstream, or downstream and
|
|
serialized, see #GstEventTypeFlags, gst_event_type_get_flags(),
|
|
#GST_EVENT_IS_UPSTREAM, #GST_EVENT_IS_DOWNSTREAM, and
|
|
#GST_EVENT_IS_SERIALIZED. Note that in practice that an application or
|
|
plugin doesn't need to bother itself with this information; the core handles
|
|
all necessary locks and checks.
|
|
|
|
This function takes ownership of the provided event so you should
|
|
gst_event_ref() it if you want to reuse the event after this call.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1510"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="5992">%TRUE if the event was handled.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="5968">a #GstPad to send the event to.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="event" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="5969">the #GstEvent to send to the pad.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_activate_function_full"
|
|
c:identifier="gst_pad_set_activate_function_full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1706">Sets the given activate function for @pad. The activate function will
|
|
dispatch to gst_pad_activate_mode() to perform the actual activation.
|
|
Only makes sense to set on sink pads.
|
|
|
|
Call this function if your sink pad can start a pull-based task.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1375"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1708">a #GstPad.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="activate"
|
|
transfer-ownership="none"
|
|
scope="notified"
|
|
closure="1"
|
|
destroy="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1709">the #GstPadActivateFunction to set.</doc>
|
|
<type name="PadActivateFunction" c:type="GstPadActivateFunction"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1710">user_data passed to @notify</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="notify" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1711">notify called when @activate will not be used anymore.</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_activatemode_function_full"
|
|
c:identifier="gst_pad_set_activatemode_function_full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1743">Sets the given activate_mode function for the pad. An activate_mode function
|
|
prepares the element for data passing.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1380"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1745">a #GstPad.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="activatemode"
|
|
transfer-ownership="none"
|
|
scope="notified"
|
|
closure="1"
|
|
destroy="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1746">the #GstPadActivateModeFunction to set.</doc>
|
|
<type name="PadActivateModeFunction"
|
|
c:type="GstPadActivateModeFunction"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1747">user_data passed to @notify</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="notify" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1748">notify called when @activatemode will not be used anymore.</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_active" c:identifier="gst_pad_set_active">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1064">Activates or deactivates the given pad.
|
|
Normally called from within core state change functions.
|
|
|
|
If @active, makes sure the pad is active. If it is already active, either in
|
|
push or pull mode, just return. Otherwise dispatches to the pad's activate
|
|
function to perform the actual activation.
|
|
|
|
If not @active, calls gst_pad_activate_mode() with the pad's current mode
|
|
and a %FALSE argument.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1321"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1079">%TRUE if the operation was successful.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1066">the #GstPad to activate or deactivate.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="active" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1067">whether or not the pad should be active.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_chain_function_full"
|
|
c:identifier="gst_pad_set_chain_function_full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1778">Sets the given chain function for the pad. The chain function is called to
|
|
process a #GstBuffer input buffer. see #GstPadChainFunction for more details.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1387"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1780">a sink #GstPad.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="chain"
|
|
transfer-ownership="none"
|
|
scope="notified"
|
|
closure="1"
|
|
destroy="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1781">the #GstPadChainFunction to set.</doc>
|
|
<type name="PadChainFunction" c:type="GstPadChainFunction"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1782">user_data passed to @notify</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="notify" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1783">notify called when @chain will not be used anymore.</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_chain_list_function_full"
|
|
c:identifier="gst_pad_set_chain_list_function_full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1813">Sets the given chain list function for the pad. The chainlist function is
|
|
called to process a #GstBufferList input buffer list. See
|
|
#GstPadChainListFunction for more details.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1392"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1815">a sink #GstPad.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="chainlist"
|
|
transfer-ownership="none"
|
|
scope="notified"
|
|
closure="1"
|
|
destroy="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1816">the #GstPadChainListFunction to set.</doc>
|
|
<type name="PadChainListFunction"
|
|
c:type="GstPadChainListFunction"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1817">user_data passed to @notify</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="notify" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1818">notify called when @chainlist will not be used anymore.</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_element_private"
|
|
c:identifier="gst_pad_set_element_private">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6037">Set the given private data gpointer on the pad.
|
|
This function can only be used by the element that owns the pad.
|
|
No locking is performed in this function.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1354"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6039">the #GstPad to set the private data of.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="priv"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6040">The private data to attach to the pad.</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_event_full_function_full"
|
|
c:identifier="gst_pad_set_event_full_function_full"
|
|
version="1.8">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1930">Sets the given event handler for the pad.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1407"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1932">a #GstPad of either direction.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="event"
|
|
transfer-ownership="none"
|
|
scope="notified"
|
|
closure="1"
|
|
destroy="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1933">the #GstPadEventFullFunction to set.</doc>
|
|
<type name="PadEventFullFunction"
|
|
c:type="GstPadEventFullFunction"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1934">user_data passed to @notify</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="notify" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1935">notify called when @event will not be used anymore.</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_event_function_full"
|
|
c:identifier="gst_pad_set_event_function_full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1886">Sets the given event handler for the pad.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1402"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1888">a #GstPad of either direction.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="event"
|
|
transfer-ownership="none"
|
|
scope="notified"
|
|
closure="1"
|
|
destroy="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1889">the #GstPadEventFunction to set.</doc>
|
|
<type name="PadEventFunction" c:type="GstPadEventFunction"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1890">user_data passed to @notify</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="notify" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1891">notify called when @event will not be used anymore.</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_getrange_function_full"
|
|
c:identifier="gst_pad_set_getrange_function_full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1850">Sets the given getrange function for the pad. The getrange function is
|
|
called to produce a new #GstBuffer to start the processing pipeline. see
|
|
#GstPadGetRangeFunction for a description of the getrange function.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1397"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1852">a source #GstPad.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="get"
|
|
transfer-ownership="none"
|
|
scope="notified"
|
|
closure="1"
|
|
destroy="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1853">the #GstPadGetRangeFunction to set.</doc>
|
|
<type name="PadGetRangeFunction" c:type="GstPadGetRangeFunction"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1854">user_data passed to @notify</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="notify" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1855">notify called when @get will not be used anymore.</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_iterate_internal_links_function_full"
|
|
c:identifier="gst_pad_set_iterate_internal_links_function_full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1999">Sets the given internal link iterator function for the pad.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1529"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2001">a #GstPad of either direction.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="iterintlink"
|
|
transfer-ownership="none"
|
|
scope="notified"
|
|
closure="1"
|
|
destroy="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2002">the #GstPadIterIntLinkFunction to set.</doc>
|
|
<type name="PadIterIntLinkFunction"
|
|
c:type="GstPadIterIntLinkFunction"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2003">user_data passed to @notify</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="notify" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2004">notify called when @iterintlink will not be used anymore.</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_link_function_full"
|
|
c:identifier="gst_pad_set_link_function_full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2033">Sets the given link function for the pad. It will be called when
|
|
the pad is linked with another pad.
|
|
|
|
The return value #GST_PAD_LINK_OK should be used when the connection can be
|
|
made.
|
|
|
|
The return value #GST_PAD_LINK_REFUSED should be used when the connection
|
|
cannot be made for some reason.
|
|
|
|
If @link is installed on a source pad, it should call the #GstPadLinkFunction
|
|
of the peer sink pad, if present.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1423"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2035">a #GstPad.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="link"
|
|
transfer-ownership="none"
|
|
scope="notified"
|
|
closure="1"
|
|
destroy="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2036">the #GstPadLinkFunction to set.</doc>
|
|
<type name="PadLinkFunction" c:type="GstPadLinkFunction"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2037">user_data passed to @notify</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="notify" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2038">notify called when @link will not be used anymore.</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_offset" c:identifier="gst_pad_set_offset">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="3933">Set the offset that will be applied to the running time of @pad.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1476"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="3935">a #GstPad</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="3936">the offset</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_query_function_full"
|
|
c:identifier="gst_pad_set_query_function_full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1966">Set the given query function for the pad.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1554"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1968">a #GstPad of either direction.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="query"
|
|
transfer-ownership="none"
|
|
scope="notified"
|
|
closure="1"
|
|
destroy="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1969">the #GstPadQueryFunction to set.</doc>
|
|
<type name="PadQueryFunction" c:type="GstPadQueryFunction"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1970">user_data passed to @notify</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="notify" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1971">notify called when @query will not be used anymore.</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_unlink_function_full"
|
|
c:identifier="gst_pad_set_unlink_function_full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2076">Sets the given unlink function for the pad. It will be called
|
|
when the pad is unlinked.
|
|
|
|
Note that the pad's lock is already held when the unlink
|
|
function is called, so most pad functions cannot be called
|
|
from within the callback.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1428"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2078">a #GstPad.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="unlink"
|
|
transfer-ownership="none"
|
|
scope="notified"
|
|
closure="1"
|
|
destroy="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2079">the #GstPadUnlinkFunction to set.</doc>
|
|
<type name="PadUnlinkFunction" c:type="GstPadUnlinkFunction"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2080">user_data passed to @notify</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="notify" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2081">notify called when @unlink will not be used anymore.</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="start_task" c:identifier="gst_pad_start_task">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6202">Starts a task that repeatedly calls @func with @user_data. This function
|
|
is mostly used in pad activation functions to start the dataflow.
|
|
The #GST_PAD_STREAM_LOCK of @pad will automatically be acquired
|
|
before @func is called.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1515"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6214">a %TRUE if the task could be started.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6204">the #GstPad to start the task of</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="notified"
|
|
closure="1"
|
|
destroy="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6205">the task function to call</doc>
|
|
<type name="TaskFunction" c:type="GstTaskFunction"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6206">user data passed to the task function</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="notify" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6207">called when @user_data is no longer referenced</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="sticky_events_foreach"
|
|
c:identifier="gst_pad_sticky_events_foreach">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6121">Iterates all sticky events on @pad and calls @foreach_func for every
|
|
event. If @foreach_func returns %FALSE the iteration is immediately stopped.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1370"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6123">the #GstPad that should be used for iteration.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="foreach_func"
|
|
transfer-ownership="none"
|
|
scope="call"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6124">the #GstPadStickyEventsForeachFunction that
|
|
should be called for every event.</doc>
|
|
<type name="PadStickyEventsForeachFunction"
|
|
c:type="GstPadStickyEventsForeachFunction"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6126">the optional user data.</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="stop_task" c:identifier="gst_pad_stop_task">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6345">Stop the task of @pad. This function will also make sure that the
|
|
function executed by the task will effectively stop if not called
|
|
from the GstTaskFunction.
|
|
|
|
This function will deadlock if called from the GstTaskFunction of
|
|
the task. Use gst_task_pause() instead.
|
|
|
|
Regardless of whether the pad has a task, the stream lock is acquired and
|
|
released so as to ensure that streaming through this pad has finished.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1521"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6359">a %TRUE if the task could be stopped or %FALSE on error.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6347">the #GstPad to stop the task of</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="store_sticky_event"
|
|
c:identifier="gst_pad_store_sticky_event"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="5336">Store the sticky @event on @pad</doc>
|
|
<source-position filename="gst/gstpad.h" line="1363"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="5343">#GST_FLOW_OK on success, #GST_FLOW_FLUSHING when the pad
|
|
was flushing or #GST_FLOW_EOS when the pad was EOS.</doc>
|
|
<type name="FlowReturn" c:type="GstFlowReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="5338">a #GstPad</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="event" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="5339">a #GstEvent</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unlink" c:identifier="gst_pad_unlink">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2106">Unlinks the source pad from the sink pad. Will emit the #GstPad::unlinked
|
|
signal on both pads.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1446"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2114">%TRUE if the pads were unlinked. This function returns %FALSE if
|
|
the pads were not linked together.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="srcpad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2108">the source #GstPad to unlink.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
<parameter name="sinkpad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2109">the sink #GstPad to unlink.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="use_fixed_caps" c:identifier="gst_pad_use_fixed_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2613">A helper function you can use that sets the FIXED_CAPS flag
|
|
This way the default CAPS query will always return the negotiated caps
|
|
or in case the pad is not negotiated, the padtemplate caps.
|
|
|
|
The negotiated caps are the caps of the last CAPS event that passed on the
|
|
pad. Use this function on a pad that, once it negotiated to a CAPS, cannot
|
|
be renegotiated to something else.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1066"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="2615">the pad to use</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="caps" transfer-ownership="none">
|
|
<type name="Caps"/>
|
|
</property>
|
|
<property name="direction"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<type name="PadDirection"/>
|
|
</property>
|
|
<property name="offset"
|
|
version="1.6"
|
|
writable="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="376">The offset that will be applied to the running time of the pad.</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</property>
|
|
<property name="template" writable="1" transfer-ownership="none">
|
|
<type name="PadTemplate"/>
|
|
</property>
|
|
<field name="object">
|
|
<type name="Object" c:type="GstObject"/>
|
|
</field>
|
|
<field name="element_private">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="723">private data owned by the parent element</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</field>
|
|
<field name="padtemplate">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="724">padtemplate for this pad</doc>
|
|
<type name="PadTemplate" c:type="GstPadTemplate*"/>
|
|
</field>
|
|
<field name="direction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="725">the direction of the pad, cannot change after creating
|
|
the pad.</doc>
|
|
<type name="PadDirection" c:type="GstPadDirection"/>
|
|
</field>
|
|
<field name="stream_rec_lock" readable="0" private="1">
|
|
<type name="GLib.RecMutex" c:type="GRecMutex"/>
|
|
</field>
|
|
<field name="task" readable="0" private="1">
|
|
<type name="Task" c:type="GstTask*"/>
|
|
</field>
|
|
<field name="block_cond" readable="0" private="1">
|
|
<type name="GLib.Cond" c:type="GCond"/>
|
|
</field>
|
|
<field name="probes" readable="0" private="1">
|
|
<type name="GLib.HookList" c:type="GHookList"/>
|
|
</field>
|
|
<field name="mode" readable="0" private="1">
|
|
<type name="PadMode" c:type="GstPadMode"/>
|
|
</field>
|
|
<field name="activatefunc" readable="0" private="1">
|
|
<type name="PadActivateFunction" c:type="GstPadActivateFunction"/>
|
|
</field>
|
|
<field name="activatedata" readable="0" private="1">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</field>
|
|
<field name="activatenotify" readable="0" private="1">
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</field>
|
|
<field name="activatemodefunc" readable="0" private="1">
|
|
<type name="PadActivateModeFunction"
|
|
c:type="GstPadActivateModeFunction"/>
|
|
</field>
|
|
<field name="activatemodedata" readable="0" private="1">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</field>
|
|
<field name="activatemodenotify" readable="0" private="1">
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</field>
|
|
<field name="peer" readable="0" private="1">
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</field>
|
|
<field name="linkfunc" readable="0" private="1">
|
|
<type name="PadLinkFunction" c:type="GstPadLinkFunction"/>
|
|
</field>
|
|
<field name="linkdata" readable="0" private="1">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</field>
|
|
<field name="linknotify" readable="0" private="1">
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</field>
|
|
<field name="unlinkfunc" readable="0" private="1">
|
|
<type name="PadUnlinkFunction" c:type="GstPadUnlinkFunction"/>
|
|
</field>
|
|
<field name="unlinkdata" readable="0" private="1">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</field>
|
|
<field name="unlinknotify" readable="0" private="1">
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</field>
|
|
<field name="chainfunc" readable="0" private="1">
|
|
<type name="PadChainFunction" c:type="GstPadChainFunction"/>
|
|
</field>
|
|
<field name="chaindata" readable="0" private="1">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</field>
|
|
<field name="chainnotify" readable="0" private="1">
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</field>
|
|
<field name="chainlistfunc" readable="0" private="1">
|
|
<type name="PadChainListFunction" c:type="GstPadChainListFunction"/>
|
|
</field>
|
|
<field name="chainlistdata" readable="0" private="1">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</field>
|
|
<field name="chainlistnotify" readable="0" private="1">
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</field>
|
|
<field name="getrangefunc" readable="0" private="1">
|
|
<type name="PadGetRangeFunction" c:type="GstPadGetRangeFunction"/>
|
|
</field>
|
|
<field name="getrangedata" readable="0" private="1">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</field>
|
|
<field name="getrangenotify" readable="0" private="1">
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</field>
|
|
<field name="eventfunc" readable="0" private="1">
|
|
<type name="PadEventFunction" c:type="GstPadEventFunction"/>
|
|
</field>
|
|
<field name="eventdata" readable="0" private="1">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</field>
|
|
<field name="eventnotify" readable="0" private="1">
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</field>
|
|
<field name="offset" readable="0" private="1">
|
|
<type name="gint64" c:type="gint64"/>
|
|
</field>
|
|
<field name="queryfunc" readable="0" private="1">
|
|
<type name="PadQueryFunction" c:type="GstPadQueryFunction"/>
|
|
</field>
|
|
<field name="querydata" readable="0" private="1">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</field>
|
|
<field name="querynotify" readable="0" private="1">
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</field>
|
|
<field name="iterintlinkfunc" readable="0" private="1">
|
|
<type name="PadIterIntLinkFunction"
|
|
c:type="GstPadIterIntLinkFunction"/>
|
|
</field>
|
|
<field name="iterintlinkdata" readable="0" private="1">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</field>
|
|
<field name="iterintlinknotify" readable="0" private="1">
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</field>
|
|
<field name="num_probes" readable="0" private="1">
|
|
<type name="gint" c:type="gint"/>
|
|
</field>
|
|
<field name="num_blocked" readable="0" private="1">
|
|
<type name="gint" c:type="gint"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="PadPrivate" c:type="GstPadPrivate*"/>
|
|
</field>
|
|
<union name="ABI" c:type="ABI">
|
|
<source-position filename="gst/gstpad.h" line="805"/>
|
|
<field name="_gst_reserved" writable="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<record name="abi" c:type="abi">
|
|
<source-position filename="gst/gstpad.h" line="804"/>
|
|
<field name="last_flowret" writable="1">
|
|
<type name="FlowReturn" c:type="GstFlowReturn"/>
|
|
</field>
|
|
<field name="eventfullfunc" writable="1">
|
|
<type name="PadEventFullFunction"
|
|
c:type="GstPadEventFullFunction"/>
|
|
</field>
|
|
</record>
|
|
</union>
|
|
<glib:signal name="linked" when="last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="337">Signals that a pad has been linked to the peer pad.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="peer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="340">the peer pad that has been connected</doc>
|
|
<type name="Pad"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="unlinked" when="last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="348">Signals that a pad has been unlinked from the peer pad.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="peer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="351">the peer pad that has been disconnected</doc>
|
|
<type name="Pad"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
</class>
|
|
<callback name="PadActivateFunction" c:type="GstPadActivateFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="235">This function is called when the pad is activated during the element
|
|
READY to PAUSED state change. By default this function will call the
|
|
activate function that puts the pad in push mode but elements can
|
|
override this function to activate the pad in pull mode if they wish.</doc>
|
|
<source-position filename="gst/gstpad.h" line="247"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="245">%TRUE if the pad could be activated.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="237">a #GstPad</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="238">the parent of @pad</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="PadActivateModeFunction"
|
|
c:type="GstPadActivateModeFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="248">The prototype of the push and pull activate functions.</doc>
|
|
<source-position filename="gst/gstpad.h" line="259"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="257">%TRUE if the pad could be activated or deactivated.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="250">a #GstPad</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="251">the parent of @pad</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="252">the requested activation mode of @pad</doc>
|
|
<type name="PadMode" c:type="GstPadMode"/>
|
|
</parameter>
|
|
<parameter name="active" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="253">activate or deactivate the pad.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="PadChainFunction" c:type="GstPadChainFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="264">A function that will be called on sinkpads when chaining buffers.
|
|
The function typically processes the data contained in the buffer and
|
|
either consumes the data or passes it on to the internally linked pad(s).
|
|
|
|
The implementer of this function receives a refcount to @buffer and should
|
|
gst_buffer_unref() when the buffer is no longer needed.
|
|
|
|
When a chain function detects an error in the data stream, it must post an
|
|
error on the bus and return an appropriate #GstFlowReturn value.</doc>
|
|
<source-position filename="gst/gstpad.h" line="284"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="282">#GST_FLOW_OK for success</doc>
|
|
<type name="FlowReturn" c:type="GstFlowReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="266">the sink #GstPad that performed the chain.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="parent"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="267">the parent of @pad. If the #GST_PAD_FLAG_NEED_PARENT
|
|
flag is set, @parent is guaranteed to be not-%NULL and remain valid
|
|
during the execution of this function.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="buffer" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="270">the #GstBuffer that is chained, not %NULL.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="PadChainListFunction" c:type="GstPadChainListFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="287">A function that will be called on sinkpads when chaining buffer lists.
|
|
The function typically processes the data contained in the buffer list and
|
|
either consumes the data or passes it on to the internally linked pad(s).
|
|
|
|
The implementer of this function receives a refcount to @list and
|
|
should gst_buffer_list_unref() when the list is no longer needed.
|
|
|
|
When a chainlist function detects an error in the data stream, it must
|
|
post an error on the bus and return an appropriate #GstFlowReturn value.</doc>
|
|
<source-position filename="gst/gstpad.h" line="307"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="305">#GST_FLOW_OK for success</doc>
|
|
<type name="FlowReturn" c:type="GstFlowReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="289">the sink #GstPad that performed the chain.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="parent"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="290">the parent of @pad. If the #GST_PAD_FLAG_NEED_PARENT
|
|
flag is set, @parent is guaranteed to be not-%NULL and remain valid
|
|
during the execution of this function.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="list" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="293">the #GstBufferList that is chained, not %NULL.</doc>
|
|
<type name="BufferList" c:type="GstBufferList*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<record name="PadClass"
|
|
c:type="GstPadClass"
|
|
glib:is-gtype-struct-for="Pad">
|
|
<source-position filename="gst/gstpad.h" line="817"/>
|
|
<field name="parent_class">
|
|
<type name="ObjectClass" c:type="GstObjectClass"/>
|
|
</field>
|
|
<field name="linked">
|
|
<callback name="linked">
|
|
<source-position filename="gst/gstpad.h" line="812"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="peer" transfer-ownership="none">
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="unlinked">
|
|
<callback name="unlinked">
|
|
<source-position filename="gst/gstpad.h" line="813"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="peer" transfer-ownership="none">
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<enumeration name="PadDirection"
|
|
glib:type-name="GstPadDirection"
|
|
glib:get-type="gst_pad_direction_get_type"
|
|
c:type="GstPadDirection">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="34">The direction of a pad.</doc>
|
|
<member name="unknown"
|
|
value="0"
|
|
c:identifier="GST_PAD_UNKNOWN"
|
|
glib:nick="unknown">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="36">direction is unknown.</doc>
|
|
</member>
|
|
<member name="src" value="1" c:identifier="GST_PAD_SRC" glib:nick="src">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="37">the pad is a source pad.</doc>
|
|
</member>
|
|
<member name="sink"
|
|
value="2"
|
|
c:identifier="GST_PAD_SINK"
|
|
glib:nick="sink">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="38">the pad is a sink pad.</doc>
|
|
</member>
|
|
</enumeration>
|
|
<callback name="PadEventFullFunction"
|
|
c:type="GstPadEventFullFunction"
|
|
version="1.8">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="376">Function signature to handle an event for the pad.
|
|
|
|
This variant is for specific elements that will take into account the
|
|
last downstream flow return (from a pad push), in which case they can
|
|
return it.</doc>
|
|
<source-position filename="gst/gstpad.h" line="395"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="390">%GST_FLOW_OK if the event was handled properly, or any other
|
|
#GstFlowReturn dependent on downstream state.</doc>
|
|
<type name="FlowReturn" c:type="GstFlowReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="378">the #GstPad to handle the event.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="parent"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="379">the parent of @pad. If the #GST_PAD_FLAG_NEED_PARENT
|
|
flag is set, @parent is guaranteed to be not-%NULL and remain valid
|
|
during the execution of this function.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="event" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="382">the #GstEvent to handle.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="PadEventFunction" c:type="GstPadEventFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="361">Function signature to handle an event for the pad.</doc>
|
|
<source-position filename="gst/gstpad.h" line="373"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="371">%TRUE if the pad could handle the event.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="363">the #GstPad to handle the event.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="parent"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="364">the parent of @pad. If the #GST_PAD_FLAG_NEED_PARENT
|
|
flag is set, @parent is guaranteed to be not-%NULL and remain valid
|
|
during the execution of this function.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="event" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="367">the #GstEvent to handle.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<bitfield name="PadFlags"
|
|
glib:type-name="GstPadFlags"
|
|
glib:get-type="gst_pad_flags_get_type"
|
|
c:type="GstPadFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="667">Pad state flags</doc>
|
|
<member name="blocked"
|
|
value="16"
|
|
c:identifier="GST_PAD_FLAG_BLOCKED"
|
|
glib:nick="blocked">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="669">is dataflow on a pad blocked</doc>
|
|
</member>
|
|
<member name="flushing"
|
|
value="32"
|
|
c:identifier="GST_PAD_FLAG_FLUSHING"
|
|
glib:nick="flushing">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="670">is pad flushing</doc>
|
|
</member>
|
|
<member name="eos"
|
|
value="64"
|
|
c:identifier="GST_PAD_FLAG_EOS"
|
|
glib:nick="eos">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="671">is pad in EOS state</doc>
|
|
</member>
|
|
<member name="blocking"
|
|
value="128"
|
|
c:identifier="GST_PAD_FLAG_BLOCKING"
|
|
glib:nick="blocking">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="672">is pad currently blocking on a buffer or event</doc>
|
|
</member>
|
|
<member name="need_parent"
|
|
value="256"
|
|
c:identifier="GST_PAD_FLAG_NEED_PARENT"
|
|
glib:nick="need-parent">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="673">ensure that there is a parent object before calling
|
|
into the pad callbacks.</doc>
|
|
</member>
|
|
<member name="need_reconfigure"
|
|
value="512"
|
|
c:identifier="GST_PAD_FLAG_NEED_RECONFIGURE"
|
|
glib:nick="need-reconfigure">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="675">the pad should be reconfigured/renegotiated.
|
|
The flag has to be unset manually after
|
|
reconfiguration happened.</doc>
|
|
</member>
|
|
<member name="pending_events"
|
|
value="1024"
|
|
c:identifier="GST_PAD_FLAG_PENDING_EVENTS"
|
|
glib:nick="pending-events">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="678">the pad has pending events</doc>
|
|
</member>
|
|
<member name="fixed_caps"
|
|
value="2048"
|
|
c:identifier="GST_PAD_FLAG_FIXED_CAPS"
|
|
glib:nick="fixed-caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="679">the pad is using fixed caps. This means that
|
|
once the caps are set on the pad, the default caps query function
|
|
will only return those caps.</doc>
|
|
</member>
|
|
<member name="proxy_caps"
|
|
value="4096"
|
|
c:identifier="GST_PAD_FLAG_PROXY_CAPS"
|
|
glib:nick="proxy-caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="682">the default event and query handler will forward
|
|
all events and queries to the internally linked pads
|
|
instead of discarding them.</doc>
|
|
</member>
|
|
<member name="proxy_allocation"
|
|
value="8192"
|
|
c:identifier="GST_PAD_FLAG_PROXY_ALLOCATION"
|
|
glib:nick="proxy-allocation">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="685">the default query handler will forward
|
|
allocation queries to the internally linked pads
|
|
instead of discarding them.</doc>
|
|
</member>
|
|
<member name="proxy_scheduling"
|
|
value="16384"
|
|
c:identifier="GST_PAD_FLAG_PROXY_SCHEDULING"
|
|
glib:nick="proxy-scheduling">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="688">the default query handler will forward
|
|
scheduling queries to the internally linked pads
|
|
instead of discarding them.</doc>
|
|
</member>
|
|
<member name="accept_intersect"
|
|
value="32768"
|
|
c:identifier="GST_PAD_FLAG_ACCEPT_INTERSECT"
|
|
glib:nick="accept-intersect">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="691">the default accept-caps handler will check
|
|
it the caps intersect the query-caps result instead
|
|
of checking for a subset. This is interesting for
|
|
parsers that can accept incompletely specified caps.</doc>
|
|
</member>
|
|
<member name="accept_template"
|
|
value="65536"
|
|
c:identifier="GST_PAD_FLAG_ACCEPT_TEMPLATE"
|
|
glib:nick="accept-template">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="695">the default accept-caps handler will use
|
|
the template pad caps instead of query caps to
|
|
compare with the accept caps. Use this in combination
|
|
with %GST_PAD_FLAG_ACCEPT_INTERSECT. (Since: 1.6)</doc>
|
|
</member>
|
|
<member name="last"
|
|
value="1048576"
|
|
c:identifier="GST_PAD_FLAG_LAST"
|
|
glib:nick="last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="699">offset to define more flags</doc>
|
|
</member>
|
|
</bitfield>
|
|
<callback name="PadForwardFunction" c:type="GstPadForwardFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="463">A forward function is called for all internally linked pads, see
|
|
gst_pad_forward().</doc>
|
|
<source-position filename="gst/gstpad.h" line="473"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="471">%TRUE if the dispatching procedure has to be stopped.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="465">the #GstPad that is forwarded.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="466">the gpointer to optional user data.</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="PadGetRangeFunction" c:type="GstPadGetRangeFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="310">This function will be called on source pads when a peer element
|
|
request a buffer at the specified @offset and @length. If this function
|
|
returns #GST_FLOW_OK, the result buffer will be stored in @buffer. The
|
|
contents of @buffer is invalid for any other return value.
|
|
|
|
This function is installed on a source pad with
|
|
gst_pad_set_getrange_function() and can only be called on source pads after
|
|
they are successfully activated with gst_pad_activate_mode() with the
|
|
#GST_PAD_MODE_PULL.
|
|
|
|
@offset and @length are always given in byte units. @offset must normally be a value
|
|
between 0 and the length in bytes of the data available on @pad. The
|
|
length (duration in bytes) can be retrieved with a #GST_QUERY_DURATION or with a
|
|
#GST_QUERY_SEEKING.
|
|
|
|
Any @offset larger or equal than the length will make the function return
|
|
#GST_FLOW_EOS, which corresponds to EOS. In this case @buffer does not
|
|
contain a valid buffer.
|
|
|
|
The buffer size of @buffer will only be smaller than @length when @offset is
|
|
near the end of the stream. In all other cases, the size of @buffer must be
|
|
exactly the requested size.
|
|
|
|
It is allowed to call this function with a 0 @length and valid @offset, in
|
|
which case @buffer will contain a 0-sized buffer and the function returns
|
|
#GST_FLOW_OK.
|
|
|
|
When this function is called with a -1 @offset, the sequentially next buffer
|
|
of length @length in the stream is returned.
|
|
|
|
When this function is called with a -1 @length, a buffer with a default
|
|
optimal length is returned in @buffer. The length might depend on the value
|
|
of @offset.</doc>
|
|
<source-position filename="gst/gstpad.h" line="357"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="354">#GST_FLOW_OK for success and a valid buffer in @buffer. Any other
|
|
return value leaves @buffer undefined.</doc>
|
|
<type name="FlowReturn" c:type="GstFlowReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="312">the src #GstPad to perform the getrange on.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="parent"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="313">the parent of @pad. If the #GST_PAD_FLAG_NEED_PARENT
|
|
flag is set, @parent is guaranteed to be not-%NULL and remain valid
|
|
during the execution of this function.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="316">the offset of the range</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="length" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="317">the length of the range</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="318">a memory location to hold the result buffer, cannot be %NULL.</doc>
|
|
<type name="Buffer" c:type="GstBuffer**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="PadIterIntLinkFunction" c:type="GstPadIterIntLinkFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="400">The signature of the internal pad link iterator function.</doc>
|
|
<source-position filename="gst/gstpad.h" line="414"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="409">a new #GstIterator that will iterate over all pads that are
|
|
linked to the given pad on the inside of the parent element.
|
|
|
|
the caller must call gst_iterator_free() after usage.</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="402">The #GstPad to query.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="parent"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="403">the parent of @pad. If the #GST_PAD_FLAG_NEED_PARENT
|
|
flag is set, @parent is guaranteed to be not-%NULL and remain valid
|
|
during the execution of this function.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<bitfield name="PadLinkCheck"
|
|
glib:type-name="GstPadLinkCheck"
|
|
glib:get-type="gst_pad_link_check_get_type"
|
|
c:type="GstPadLinkCheck">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="194">The amount of checking to be done when linking pads. @GST_PAD_LINK_CHECK_CAPS
|
|
and @GST_PAD_LINK_CHECK_TEMPLATE_CAPS are mutually exclusive. If both are
|
|
specified, expensive but safe @GST_PAD_LINK_CHECK_CAPS are performed.
|
|
|
|
> Only disable some of the checks if you are 100% certain you know the link
|
|
> will not fail because of hierarchy/caps compatibility failures. If uncertain,
|
|
> use the default checks (%GST_PAD_LINK_CHECK_DEFAULT) or the regular methods
|
|
> for linking the pads.</doc>
|
|
<member name="nothing"
|
|
value="0"
|
|
c:identifier="GST_PAD_LINK_CHECK_NOTHING"
|
|
glib:nick="nothing">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="196">Don't check hierarchy or caps compatibility.</doc>
|
|
</member>
|
|
<member name="hierarchy"
|
|
value="1"
|
|
c:identifier="GST_PAD_LINK_CHECK_HIERARCHY"
|
|
glib:nick="hierarchy">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="197">Check the pads have same parents/grandparents.
|
|
Could be omitted if it is already known that the two elements that own the
|
|
pads are in the same bin.</doc>
|
|
</member>
|
|
<member name="template_caps"
|
|
value="2"
|
|
c:identifier="GST_PAD_LINK_CHECK_TEMPLATE_CAPS"
|
|
glib:nick="template-caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="200">Check if the pads are compatible by using
|
|
their template caps. This is much faster than @GST_PAD_LINK_CHECK_CAPS, but
|
|
would be unsafe e.g. if one pad has %GST_CAPS_ANY.</doc>
|
|
</member>
|
|
<member name="caps"
|
|
value="4"
|
|
c:identifier="GST_PAD_LINK_CHECK_CAPS"
|
|
glib:nick="caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="203">Check if the pads are compatible by comparing the
|
|
caps returned by gst_pad_query_caps().</doc>
|
|
</member>
|
|
<member name="no_reconfigure"
|
|
value="8"
|
|
c:identifier="GST_PAD_LINK_CHECK_NO_RECONFIGURE"
|
|
glib:nick="no-reconfigure">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="205">Disables pushing a reconfigure event when pads are
|
|
linked.</doc>
|
|
</member>
|
|
<member name="default"
|
|
value="5"
|
|
c:identifier="GST_PAD_LINK_CHECK_DEFAULT"
|
|
glib:nick="default">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="207">The default checks done when linking
|
|
pads (i.e. the ones used by gst_pad_link()).</doc>
|
|
</member>
|
|
</bitfield>
|
|
<callback name="PadLinkFunction" c:type="GstPadLinkFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="434">Function signature to handle a new link on the pad.</doc>
|
|
<source-position filename="gst/gstpad.h" line="446"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="444">the result of the link with the specified peer.</doc>
|
|
<type name="PadLinkReturn" c:type="GstPadLinkReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="436">the #GstPad that is linked.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="parent"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="437">the parent of @pad. If the #GST_PAD_FLAG_NEED_PARENT
|
|
flag is set, @parent is guaranteed to be not-%NULL and remain valid
|
|
during the execution of this function.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="peer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="440">the peer #GstPad of the link</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<enumeration name="PadLinkReturn"
|
|
glib:type-name="GstPadLinkReturn"
|
|
glib:get-type="gst_pad_link_return_get_type"
|
|
c:type="GstPadLinkReturn">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="92">Result values from gst_pad_link and friends.</doc>
|
|
<member name="ok"
|
|
value="0"
|
|
c:identifier="GST_PAD_LINK_OK"
|
|
glib:nick="ok">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="94">link succeeded</doc>
|
|
</member>
|
|
<member name="wrong_hierarchy"
|
|
value="-1"
|
|
c:identifier="GST_PAD_LINK_WRONG_HIERARCHY"
|
|
glib:nick="wrong-hierarchy">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="95">pads have no common grandparent</doc>
|
|
</member>
|
|
<member name="was_linked"
|
|
value="-2"
|
|
c:identifier="GST_PAD_LINK_WAS_LINKED"
|
|
glib:nick="was-linked">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="96">pad was already linked</doc>
|
|
</member>
|
|
<member name="wrong_direction"
|
|
value="-3"
|
|
c:identifier="GST_PAD_LINK_WRONG_DIRECTION"
|
|
glib:nick="wrong-direction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="97">pads have wrong direction</doc>
|
|
</member>
|
|
<member name="noformat"
|
|
value="-4"
|
|
c:identifier="GST_PAD_LINK_NOFORMAT"
|
|
glib:nick="noformat">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="98">pads do not have common format</doc>
|
|
</member>
|
|
<member name="nosched"
|
|
value="-5"
|
|
c:identifier="GST_PAD_LINK_NOSCHED"
|
|
glib:nick="nosched">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="99">pads cannot cooperate in scheduling</doc>
|
|
</member>
|
|
<member name="refused"
|
|
value="-6"
|
|
c:identifier="GST_PAD_LINK_REFUSED"
|
|
glib:nick="refused">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="100">refused for some reason</doc>
|
|
</member>
|
|
</enumeration>
|
|
<enumeration name="PadMode"
|
|
glib:type-name="GstPadMode"
|
|
glib:get-type="gst_pad_mode_get_type"
|
|
c:type="GstPadMode">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="48">The status of a GstPad. After activating a pad, which usually happens when the
|
|
parent element goes from READY to PAUSED, the GstPadMode defines if the
|
|
pad operates in push or pull mode.</doc>
|
|
<member name="none"
|
|
value="0"
|
|
c:identifier="GST_PAD_MODE_NONE"
|
|
glib:nick="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="50">Pad will not handle dataflow</doc>
|
|
</member>
|
|
<member name="push"
|
|
value="1"
|
|
c:identifier="GST_PAD_MODE_PUSH"
|
|
glib:nick="push">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="51">Pad handles dataflow in downstream push mode</doc>
|
|
</member>
|
|
<member name="pull"
|
|
value="2"
|
|
c:identifier="GST_PAD_MODE_PULL"
|
|
glib:nick="pull">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="52">Pad handles dataflow in upstream pull mode</doc>
|
|
</member>
|
|
<function name="get_name" c:identifier="gst_pad_mode_get_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="944">Return the name of a pad mode, for use in debug messages mostly.</doc>
|
|
<source-position filename="gst/gstpad.h" line="67"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="950">short mnemonic for pad mode @mode</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="946">the pad mode</doc>
|
|
<type name="PadMode" c:type="GstPadMode"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</enumeration>
|
|
<enumeration name="PadPresence"
|
|
glib:type-name="GstPadPresence"
|
|
glib:get-type="gst_pad_presence_get_type"
|
|
c:type="GstPadPresence">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="50">Indicates when this pad will become available.</doc>
|
|
<member name="always"
|
|
value="0"
|
|
c:identifier="GST_PAD_ALWAYS"
|
|
glib:nick="always">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="52">the pad is always available</doc>
|
|
</member>
|
|
<member name="sometimes"
|
|
value="1"
|
|
c:identifier="GST_PAD_SOMETIMES"
|
|
glib:nick="sometimes">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="53">the pad will become available depending on the media stream</doc>
|
|
</member>
|
|
<member name="request"
|
|
value="2"
|
|
c:identifier="GST_PAD_REQUEST"
|
|
glib:nick="request">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="54">the pad is only available on request with
|
|
gst_element_request_pad().</doc>
|
|
</member>
|
|
</enumeration>
|
|
<record name="PadPrivate" c:type="GstPadPrivate" disguised="1">
|
|
<source-position filename="gst/gstpad.h" line="30"/>
|
|
</record>
|
|
<callback name="PadProbeCallback" c:type="GstPadProbeCallback">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="630">Callback used by gst_pad_add_probe(). Gets called to notify about the current
|
|
blocking type.
|
|
|
|
The callback is allowed to modify the data pointer in @info.</doc>
|
|
<source-position filename="gst/gstpad.h" line="643"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="641">a #GstPadProbeReturn</doc>
|
|
<type name="PadProbeReturn" c:type="GstPadProbeReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="632">the #GstPad that is blocked</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="info" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="633">#GstPadProbeInfo</doc>
|
|
<type name="PadProbeInfo" c:type="GstPadProbeInfo*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="634">the gpointer to optional user data.</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<record name="PadProbeInfo" c:type="GstPadProbeInfo">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="575">Info passed in the #GstPadProbeCallback.</doc>
|
|
<source-position filename="gst/gstpad.h" line="603"/>
|
|
<field name="type" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="577">the current probe type</doc>
|
|
<type name="PadProbeType" c:type="GstPadProbeType"/>
|
|
</field>
|
|
<field name="id" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="578">the id of the probe</doc>
|
|
<type name="gulong" c:type="gulong"/>
|
|
</field>
|
|
<field name="data" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="579">type specific data, check the @type field to know the
|
|
datatype. This field can be %NULL.</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</field>
|
|
<field name="offset" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="581">offset of pull probe, this field is valid when @type contains
|
|
#GST_PAD_PROBE_TYPE_PULL</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</field>
|
|
<field name="size" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="583">size of pull probe, this field is valid when @type contains
|
|
#GST_PAD_PROBE_TYPE_PULL</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</field>
|
|
<union name="ABI" c:type="ABI">
|
|
<source-position filename="gst/gstpad.h" line="602"/>
|
|
<field name="_gst_reserved" writable="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<record name="abi" c:type="abi">
|
|
<source-position filename="gst/gstpad.h" line="601"/>
|
|
<field name="flow_ret" writable="1">
|
|
<type name="FlowReturn" c:type="GstFlowReturn"/>
|
|
</field>
|
|
</record>
|
|
</union>
|
|
<method name="get_buffer" c:identifier="gst_pad_probe_info_get_buffer">
|
|
<source-position filename="gst/gstpad.h" line="625"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6456">The #GstBuffer from the probe</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="info" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6454">a #GstPadProbeInfo</doc>
|
|
<type name="PadProbeInfo" c:type="GstPadProbeInfo*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_buffer_list"
|
|
c:identifier="gst_pad_probe_info_get_buffer_list">
|
|
<source-position filename="gst/gstpad.h" line="628"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6471">The #GstBufferList from the probe</doc>
|
|
<type name="BufferList" c:type="GstBufferList*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="info" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6469">a #GstPadProbeInfo</doc>
|
|
<type name="PadProbeInfo" c:type="GstPadProbeInfo*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_event" c:identifier="gst_pad_probe_info_get_event">
|
|
<source-position filename="gst/gstpad.h" line="619"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6423">The #GstEvent from the probe</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="info" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6421">a #GstPadProbeInfo</doc>
|
|
<type name="PadProbeInfo" c:type="GstPadProbeInfo*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_query" c:identifier="gst_pad_probe_info_get_query">
|
|
<source-position filename="gst/gstpad.h" line="622"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6440">The #GstQuery from the probe</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="info" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="6438">a #GstPadProbeInfo</doc>
|
|
<type name="PadProbeInfo" c:type="GstPadProbeInfo*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<enumeration name="PadProbeReturn"
|
|
glib:type-name="GstPadProbeReturn"
|
|
glib:get-type="gst_pad_probe_return_get_type"
|
|
c:type="GstPadProbeReturn">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="539">Different return values for the #GstPadProbeCallback.</doc>
|
|
<member name="drop"
|
|
value="0"
|
|
c:identifier="GST_PAD_PROBE_DROP"
|
|
glib:nick="drop">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="546">drop data in data probes. For push mode this means that
|
|
the data item is not sent downstream. For pull mode, it means that
|
|
the data item is not passed upstream. In both cases, no other probes
|
|
are called for this item and %GST_FLOW_OK or %TRUE is returned to the
|
|
caller.</doc>
|
|
</member>
|
|
<member name="ok"
|
|
value="1"
|
|
c:identifier="GST_PAD_PROBE_OK"
|
|
glib:nick="ok">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="541">normal probe return value. This leaves the probe in
|
|
place, and defers decisions about dropping or passing data to other
|
|
probes, if any. If there are no other probes, the default behaviour
|
|
for the probe type applies ('block' for blocking probes,
|
|
and 'pass' for non-blocking probes).</doc>
|
|
</member>
|
|
<member name="remove"
|
|
value="2"
|
|
c:identifier="GST_PAD_PROBE_REMOVE"
|
|
glib:nick="remove">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="551">remove this probe.</doc>
|
|
</member>
|
|
<member name="pass"
|
|
value="3"
|
|
c:identifier="GST_PAD_PROBE_PASS"
|
|
glib:nick="pass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="552">pass the data item in the block probe and block on the
|
|
next item.</doc>
|
|
</member>
|
|
<member name="handled"
|
|
value="4"
|
|
c:identifier="GST_PAD_PROBE_HANDLED"
|
|
glib:nick="handled">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="554">Data has been handled in the probe and will not be
|
|
forwarded further. For events and buffers this is the same behaviour as
|
|
%GST_PAD_PROBE_DROP (except that in this case you need to unref the buffer
|
|
or event yourself). For queries it will also return %TRUE to the caller.
|
|
The probe can also modify the #GstFlowReturn value by using the
|
|
#GST_PAD_PROBE_INFO_FLOW_RETURN() accessor.
|
|
Note that the resulting query must contain valid entries.
|
|
Since: 1.6</doc>
|
|
</member>
|
|
</enumeration>
|
|
<bitfield name="PadProbeType"
|
|
glib:type-name="GstPadProbeType"
|
|
glib:get-type="gst_pad_probe_type_get_type"
|
|
c:type="GstPadProbeType">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="475">The different probing types that can occur. When either one of
|
|
@GST_PAD_PROBE_TYPE_IDLE or @GST_PAD_PROBE_TYPE_BLOCK is used, the probe will be a
|
|
blocking probe.</doc>
|
|
<member name="invalid"
|
|
value="0"
|
|
c:identifier="GST_PAD_PROBE_TYPE_INVALID"
|
|
glib:nick="invalid">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="477">invalid probe type</doc>
|
|
</member>
|
|
<member name="idle"
|
|
value="1"
|
|
c:identifier="GST_PAD_PROBE_TYPE_IDLE"
|
|
glib:nick="idle">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="478">probe idle pads and block while the callback is called</doc>
|
|
</member>
|
|
<member name="block"
|
|
value="2"
|
|
c:identifier="GST_PAD_PROBE_TYPE_BLOCK"
|
|
glib:nick="block">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="479">probe and block pads</doc>
|
|
</member>
|
|
<member name="buffer"
|
|
value="16"
|
|
c:identifier="GST_PAD_PROBE_TYPE_BUFFER"
|
|
glib:nick="buffer">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="480">probe buffers</doc>
|
|
</member>
|
|
<member name="buffer_list"
|
|
value="32"
|
|
c:identifier="GST_PAD_PROBE_TYPE_BUFFER_LIST"
|
|
glib:nick="buffer-list">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="481">probe buffer lists</doc>
|
|
</member>
|
|
<member name="event_downstream"
|
|
value="64"
|
|
c:identifier="GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM"
|
|
glib:nick="event-downstream">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="482">probe downstream events</doc>
|
|
</member>
|
|
<member name="event_upstream"
|
|
value="128"
|
|
c:identifier="GST_PAD_PROBE_TYPE_EVENT_UPSTREAM"
|
|
glib:nick="event-upstream">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="483">probe upstream events</doc>
|
|
</member>
|
|
<member name="event_flush"
|
|
value="256"
|
|
c:identifier="GST_PAD_PROBE_TYPE_EVENT_FLUSH"
|
|
glib:nick="event-flush">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="484">probe flush events. This probe has to be
|
|
explicitly enabled and is not included in the
|
|
@@GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM or
|
|
@@GST_PAD_PROBE_TYPE_EVENT_UPSTREAM probe types.</doc>
|
|
</member>
|
|
<member name="query_downstream"
|
|
value="512"
|
|
c:identifier="GST_PAD_PROBE_TYPE_QUERY_DOWNSTREAM"
|
|
glib:nick="query-downstream">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="488">probe downstream queries</doc>
|
|
</member>
|
|
<member name="query_upstream"
|
|
value="1024"
|
|
c:identifier="GST_PAD_PROBE_TYPE_QUERY_UPSTREAM"
|
|
glib:nick="query-upstream">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="489">probe upstream queries</doc>
|
|
</member>
|
|
<member name="push"
|
|
value="4096"
|
|
c:identifier="GST_PAD_PROBE_TYPE_PUSH"
|
|
glib:nick="push">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="490">probe push</doc>
|
|
</member>
|
|
<member name="pull"
|
|
value="8192"
|
|
c:identifier="GST_PAD_PROBE_TYPE_PULL"
|
|
glib:nick="pull">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="491">probe pull</doc>
|
|
</member>
|
|
<member name="blocking"
|
|
value="3"
|
|
c:identifier="GST_PAD_PROBE_TYPE_BLOCKING"
|
|
glib:nick="blocking">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="492">probe and block at the next opportunity, at data flow or when idle</doc>
|
|
</member>
|
|
<member name="data_downstream"
|
|
value="112"
|
|
c:identifier="GST_PAD_PROBE_TYPE_DATA_DOWNSTREAM"
|
|
glib:nick="data-downstream">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="493">probe downstream data (buffers, buffer lists, and events)</doc>
|
|
</member>
|
|
<member name="data_upstream"
|
|
value="128"
|
|
c:identifier="GST_PAD_PROBE_TYPE_DATA_UPSTREAM"
|
|
glib:nick="data-upstream">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="494">probe upstream data (events)</doc>
|
|
</member>
|
|
<member name="data_both"
|
|
value="240"
|
|
c:identifier="GST_PAD_PROBE_TYPE_DATA_BOTH"
|
|
glib:nick="data-both">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="495">probe upstream and downstream data (buffers, buffer lists, and events)</doc>
|
|
</member>
|
|
<member name="block_downstream"
|
|
value="114"
|
|
c:identifier="GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM"
|
|
glib:nick="block-downstream">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="496">probe and block downstream data (buffers, buffer lists, and events)</doc>
|
|
</member>
|
|
<member name="block_upstream"
|
|
value="130"
|
|
c:identifier="GST_PAD_PROBE_TYPE_BLOCK_UPSTREAM"
|
|
glib:nick="block-upstream">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="497">probe and block upstream data (events)</doc>
|
|
</member>
|
|
<member name="event_both"
|
|
value="192"
|
|
c:identifier="GST_PAD_PROBE_TYPE_EVENT_BOTH"
|
|
glib:nick="event-both">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="498">probe upstream and downstream events</doc>
|
|
</member>
|
|
<member name="query_both"
|
|
value="1536"
|
|
c:identifier="GST_PAD_PROBE_TYPE_QUERY_BOTH"
|
|
glib:nick="query-both">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="499">probe upstream and downstream queries</doc>
|
|
</member>
|
|
<member name="all_both"
|
|
value="1776"
|
|
c:identifier="GST_PAD_PROBE_TYPE_ALL_BOTH"
|
|
glib:nick="all-both">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="500">probe upstream events and queries and downstream buffers, buffer lists, events and queries</doc>
|
|
</member>
|
|
<member name="scheduling"
|
|
value="12288"
|
|
c:identifier="GST_PAD_PROBE_TYPE_SCHEDULING"
|
|
glib:nick="scheduling">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="501">probe push and pull</doc>
|
|
</member>
|
|
</bitfield>
|
|
<callback name="PadQueryFunction" c:type="GstPadQueryFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="417">The signature of the query function.</doc>
|
|
<source-position filename="gst/gstpad.h" line="429"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="427">%TRUE if the query could be performed.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="419">the #GstPad to query.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="parent"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="420">the parent of @pad. If the #GST_PAD_FLAG_NEED_PARENT
|
|
flag is set, @parent is guaranteed to be not-%NULL and remain valid
|
|
during the execution of this function.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="423">the #GstQuery object to execute</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="PadStickyEventsForeachFunction"
|
|
c:type="GstPadStickyEventsForeachFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="646">Callback used by gst_pad_sticky_events_foreach().
|
|
|
|
When this function returns %TRUE, the next event will be
|
|
returned. When %FALSE is returned, gst_pad_sticky_events_foreach() will return.
|
|
|
|
When @event is set to %NULL, the item will be removed from the list of sticky events.
|
|
@event can be replaced by assigning a new reference to it.
|
|
This function is responsible for unreffing the old event when
|
|
removing or modifying.</doc>
|
|
<source-position filename="gst/gstpad.h" line="664"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="662">%TRUE if the iteration should continue</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="648">the #GstPad.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="event"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="649">a sticky #GstEvent.</doc>
|
|
<type name="Event" c:type="GstEvent**"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="650">the #gpointer to optional user data.</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<class name="PadTemplate"
|
|
c:symbol-prefix="pad_template"
|
|
c:type="GstPadTemplate"
|
|
parent="Object"
|
|
glib:type-name="GstPadTemplate"
|
|
glib:get-type="gst_pad_template_get_type"
|
|
glib:type-struct="PadTemplateClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="23">Padtemplates describe the possible media types a pad or an elementfactory can
|
|
handle. This allows for both inspection of handled types before loading the
|
|
element plugin as well as identifying pads on elements that are not yet
|
|
created (request or sometimes pads).
|
|
|
|
Pad and PadTemplates have #GstCaps attached to it to describe the media type
|
|
they are capable of dealing with. gst_pad_template_get_caps() or
|
|
GST_PAD_TEMPLATE_CAPS() are used to get the caps of a padtemplate. It's not
|
|
possible to modify the caps of a padtemplate after creation.
|
|
|
|
PadTemplates have a #GstPadPresence property which identifies the lifetime
|
|
of the pad and that can be retrieved with GST_PAD_TEMPLATE_PRESENCE(). Also
|
|
the direction of the pad can be retrieved from the #GstPadTemplate with
|
|
GST_PAD_TEMPLATE_DIRECTION().
|
|
|
|
The GST_PAD_TEMPLATE_NAME_TEMPLATE () is important for GST_PAD_REQUEST pads
|
|
because it has to be used as the name in the gst_element_get_request_pad()
|
|
call to instantiate a pad from this template.
|
|
|
|
Padtemplates can be created with gst_pad_template_new() or with
|
|
gst_static_pad_template_get (), which creates a #GstPadTemplate from a
|
|
#GstStaticPadTemplate that can be filled with the
|
|
convenient GST_STATIC_PAD_TEMPLATE() macro.
|
|
|
|
A padtemplate can be used to create a pad (see gst_pad_new_from_template()
|
|
or gst_pad_new_from_static_template ()) or to add to an element class
|
|
(see gst_element_class_add_static_pad_template ()).
|
|
|
|
The following code example shows the code to create a pad from a padtemplate.
|
|
|[<!-- language="C" -->
|
|
GstStaticPadTemplate my_template =
|
|
GST_STATIC_PAD_TEMPLATE (
|
|
"sink", // the name of the pad
|
|
GST_PAD_SINK, // the direction of the pad
|
|
GST_PAD_ALWAYS, // when this pad will be present
|
|
GST_STATIC_CAPS ( // the capabilities of the padtemplate
|
|
"audio/x-raw, "
|
|
"channels = (int) [ 1, 6 ]"
|
|
)
|
|
);
|
|
void
|
|
my_method (void)
|
|
{
|
|
GstPad *pad;
|
|
pad = gst_pad_new_from_static_template (&amp;my_template, "sink");
|
|
...
|
|
}
|
|
]|
|
|
|
|
The following example shows you how to add the padtemplate to an
|
|
element class, this is usually done in the class_init of the class:
|
|
|[<!-- language="C" -->
|
|
static void
|
|
my_element_class_init (GstMyElementClass *klass)
|
|
{
|
|
GstElementClass *gstelement_class = GST_ELEMENT_CLASS (klass);
|
|
|
|
gst_element_class_add_static_pad_template (gstelement_class, &amp;my_template);
|
|
}
|
|
]|</doc>
|
|
<source-position filename="gst/gstpadtemplate.h" line="157"/>
|
|
<constructor name="new" c:identifier="gst_pad_template_new">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="366">Creates a new pad template with a name according to the given template
|
|
and with the given arguments.</doc>
|
|
<source-position filename="gst/gstpadtemplate.h" line="211"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="376">a new #GstPadTemplate.</doc>
|
|
<type name="PadTemplate" c:type="GstPadTemplate*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name_template" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="368">the name template.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="direction" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="369">the #GstPadDirection of the template.</doc>
|
|
<type name="PadDirection" c:type="GstPadDirection"/>
|
|
</parameter>
|
|
<parameter name="presence" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="370">the #GstPadPresence of the pad.</doc>
|
|
<type name="PadPresence" c:type="GstPadPresence"/>
|
|
</parameter>
|
|
<parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="371">a #GstCaps set for the template.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_from_static_pad_template_with_gtype"
|
|
c:identifier="gst_pad_template_new_from_static_pad_template_with_gtype"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="329">Converts a #GstStaticPadTemplate into a #GstPadTemplate with a type.</doc>
|
|
<source-position filename="gst/gstpadtemplate.h" line="222"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="336">a new #GstPadTemplate.</doc>
|
|
<type name="PadTemplate" c:type="GstPadTemplate*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pad_template" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="331">the static pad template</doc>
|
|
<type name="StaticPadTemplate" c:type="GstStaticPadTemplate*"/>
|
|
</parameter>
|
|
<parameter name="pad_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="332">The #GType of the pad to create</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_with_gtype"
|
|
c:identifier="gst_pad_template_new_with_gtype"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="402">Creates a new pad template with a name according to the given template
|
|
and with the given arguments.</doc>
|
|
<source-position filename="gst/gstpadtemplate.h" line="215"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="413">a new #GstPadTemplate.</doc>
|
|
<type name="PadTemplate" c:type="GstPadTemplate*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name_template" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="404">the name template.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="direction" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="405">the #GstPadDirection of the template.</doc>
|
|
<type name="PadDirection" c:type="GstPadDirection"/>
|
|
</parameter>
|
|
<parameter name="presence" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="406">the #GstPadPresence of the pad.</doc>
|
|
<type name="PadPresence" c:type="GstPadPresence"/>
|
|
</parameter>
|
|
<parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="407">a #GstCaps set for the template.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
<parameter name="pad_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="408">The #GType of the pad to create</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<virtual-method name="pad_created" invoker="pad_created">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="529">Emit the pad-created signal for this template when created by this pad.</doc>
|
|
<source-position filename="gst/gstpadtemplate.h" line="153"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="templ" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="531">a #GstPadTemplate that has been created</doc>
|
|
<type name="PadTemplate" c:type="GstPadTemplate*"/>
|
|
</instance-parameter>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="532">the #GstPad that created it</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="get_caps" c:identifier="gst_pad_template_get_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="463">Gets the capabilities of the pad template.</doc>
|
|
<source-position filename="gst/gstpadtemplate.h" line="230"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="469">the #GstCaps of the pad template.
|
|
Unref after usage.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="templ" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="465">a #GstPadTemplate to get capabilities of.</doc>
|
|
<type name="PadTemplate" c:type="GstPadTemplate*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_documentation_caps"
|
|
c:identifier="gst_pad_template_get_documentation_caps"
|
|
version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="507">See gst_pad_template_set_documentation_caps().</doc>
|
|
<source-position filename="gst/gstpadtemplate.h" line="236"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="513">The caps to document. For convenience, this will return
|
|
gst_pad_template_get_caps() when no documentation caps were set.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="templ" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="509">the pad template to get documented capabilities on</doc>
|
|
<type name="PadTemplate" c:type="GstPadTemplate*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="pad_created" c:identifier="gst_pad_template_pad_created">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="529">Emit the pad-created signal for this template when created by this pad.</doc>
|
|
<source-position filename="gst/gstpadtemplate.h" line="239"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="templ" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="531">a #GstPadTemplate that has been created</doc>
|
|
<type name="PadTemplate" c:type="GstPadTemplate*"/>
|
|
</instance-parameter>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="532">the #GstPad that created it</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_documentation_caps"
|
|
c:identifier="gst_pad_template_set_documentation_caps"
|
|
version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="483">Certain elements will dynamically construct the caps of their
|
|
pad templates. In order not to let environment-specific information
|
|
into the documentation, element authors should use this method to
|
|
expose "stable" caps to the reader.</doc>
|
|
<source-position filename="gst/gstpadtemplate.h" line="233"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="templ" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="485">the pad template to set documented capabilities on</doc>
|
|
<type name="PadTemplate" c:type="GstPadTemplate*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="486">the documented capabilities</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="caps"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="188">The capabilities of the pad described by the pad template.</doc>
|
|
<type name="Caps"/>
|
|
</property>
|
|
<property name="direction"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="166">The direction of the pad described by the pad template.</doc>
|
|
<type name="PadDirection"/>
|
|
</property>
|
|
<property name="gtype"
|
|
version="1.14"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="199">The type of the pad described by the pad template.</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</property>
|
|
<property name="name-template"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="156">The name template of the pad template.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</property>
|
|
<property name="presence"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="177">When the pad described by the pad template will become available.</doc>
|
|
<type name="PadPresence"/>
|
|
</property>
|
|
<field name="object">
|
|
<type name="Object" c:type="GstObject"/>
|
|
</field>
|
|
<field name="name_template">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</field>
|
|
<field name="direction">
|
|
<type name="PadDirection" c:type="GstPadDirection"/>
|
|
</field>
|
|
<field name="presence">
|
|
<type name="PadPresence" c:type="GstPadPresence"/>
|
|
</field>
|
|
<field name="caps">
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</field>
|
|
<union name="ABI" c:type="ABI">
|
|
<source-position filename="gst/gstpadtemplate.h" line="146"/>
|
|
<field name="_gst_reserved" writable="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<record name="abi" c:type="abi">
|
|
<source-position filename="gst/gstpadtemplate.h" line="145"/>
|
|
<field name="gtype" writable="1">
|
|
<type name="GType" c:type="GType"/>
|
|
</field>
|
|
<field name="documentation_caps" writable="1">
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</field>
|
|
</record>
|
|
</union>
|
|
<glib:signal name="pad-created" when="last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="139">This signal is fired when an element creates a pad from this template.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="142">the pad that was created.</doc>
|
|
<type name="Pad"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
</class>
|
|
<record name="PadTemplateClass"
|
|
c:type="GstPadTemplateClass"
|
|
glib:is-gtype-struct-for="PadTemplate">
|
|
<source-position filename="gst/gstpadtemplate.h" line="157"/>
|
|
<field name="parent_class">
|
|
<type name="ObjectClass" c:type="GstObjectClass"/>
|
|
</field>
|
|
<field name="pad_created">
|
|
<callback name="pad_created">
|
|
<source-position filename="gst/gstpadtemplate.h" line="153"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="templ" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="531">a #GstPadTemplate that has been created</doc>
|
|
<type name="PadTemplate" c:type="GstPadTemplate*"/>
|
|
</parameter>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="532">the #GstPad that created it</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<bitfield name="PadTemplateFlags"
|
|
glib:type-name="GstPadTemplateFlags"
|
|
glib:get-type="gst_pad_template_flags_get_type"
|
|
c:type="GstPadTemplateFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="107">Flags for the padtemplate</doc>
|
|
<member name="last"
|
|
value="256"
|
|
c:identifier="GST_PAD_TEMPLATE_FLAG_LAST"
|
|
glib:nick="last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="109">first flag that can be used by subclasses.</doc>
|
|
</member>
|
|
</bitfield>
|
|
<callback name="PadUnlinkFunction" c:type="GstPadUnlinkFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="447">Function signature to handle a unlinking the pad prom its peer.
|
|
|
|
The pad's lock is already held when the unlink function is called, so most
|
|
pad functions cannot be called from within the callback.</doc>
|
|
<source-position filename="gst/gstpad.h" line="459"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="449">the #GstPad that is linked.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="parent"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="450">the parent of @pad. If the #GST_PAD_FLAG_NEED_PARENT
|
|
flag is set, @parent is guaranteed to be not-%NULL and remain valid
|
|
during the execution of this function.</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<class name="ParamArray"
|
|
c:symbol-prefix="param_spec_array"
|
|
version="1.12"
|
|
parent="GObject.ParamSpec"
|
|
glib:type-name="GstParamArray"
|
|
glib:get-type="gst_param_spec_array_get_type"
|
|
glib:fundamental="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.h"
|
|
line="107">A fundamental type that describes a #GParamSpec for arrays of
|
|
values</doc>
|
|
</class>
|
|
<class name="ParamFraction"
|
|
c:symbol-prefix="param_spec_fraction"
|
|
parent="GObject.ParamSpec"
|
|
glib:type-name="GstParamFraction"
|
|
glib:get-type="gst_param_spec_fraction_get_type"
|
|
glib:fundamental="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.h"
|
|
line="96">A fundamental type that describes a #GParamSpec for fractional
|
|
properties</doc>
|
|
</class>
|
|
<record name="ParamSpecArray" c:type="GstParamSpecArray">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.h"
|
|
line="156">A GParamSpec derived structure for arrays of values.</doc>
|
|
<source-position filename="gst/gstparamspecs.h" line="167"/>
|
|
<field name="parent_instance" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.h"
|
|
line="158">super class</doc>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec"/>
|
|
</field>
|
|
<field name="element_spec" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.h"
|
|
line="159">the #GParamSpec of the type of values in the array</doc>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
|
|
</field>
|
|
</record>
|
|
<record name="ParamSpecFraction" c:type="GstParamSpecFraction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.h"
|
|
line="135">A GParamSpec derived structure that contains the meta data for fractional
|
|
properties.</doc>
|
|
<source-position filename="gst/gstparamspecs.h" line="154"/>
|
|
<field name="parent_instance" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.h"
|
|
line="137">super class</doc>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec"/>
|
|
</field>
|
|
<field name="min_num" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.h"
|
|
line="138">minimal numerator</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</field>
|
|
<field name="min_den" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.h"
|
|
line="139">minimal denominator</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</field>
|
|
<field name="max_num" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.h"
|
|
line="140">maximal numerator</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</field>
|
|
<field name="max_den" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.h"
|
|
line="141">maximal denominator</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</field>
|
|
<field name="def_num" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.h"
|
|
line="142">default numerator</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</field>
|
|
<field name="def_den" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.h"
|
|
line="143">default denominator</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</field>
|
|
</record>
|
|
<record name="ParentBufferMeta" c:type="GstParentBufferMeta" version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="705">The #GstParentBufferMeta is a #GstMeta which can be attached to a #GstBuffer
|
|
to hold a reference to another buffer that is only released when the child
|
|
#GstBuffer is released.
|
|
|
|
Typically, #GstParentBufferMeta is used when the child buffer is directly
|
|
using the #GstMemory of the parent buffer, and wants to prevent the parent
|
|
buffer from being returned to a buffer pool until the #GstMemory is available
|
|
for re-use.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="727"/>
|
|
<field name="parent" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="707">the parent #GstMeta structure</doc>
|
|
<type name="Meta" c:type="GstMeta"/>
|
|
</field>
|
|
<field name="buffer" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="708">the #GstBuffer on which a reference is being held.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</field>
|
|
<function name="get_info"
|
|
c:identifier="gst_parent_buffer_meta_get_info"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2675">Get the global #GstMetaInfo describing the #GstParentBufferMeta meta.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="747"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2680">The #GstMetaInfo</doc>
|
|
<type name="MetaInfo" c:type="const GstMetaInfo*"/>
|
|
</return-value>
|
|
</function>
|
|
</record>
|
|
<record name="ParseContext"
|
|
c:type="GstParseContext"
|
|
glib:type-name="GstParseContext"
|
|
glib:get-type="gst_parse_context_get_type"
|
|
c:symbol-prefix="parse_context">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.h"
|
|
line="90">Opaque structure.</doc>
|
|
<source-position filename="gst/gstparse.h" line="95"/>
|
|
<constructor name="new" c:identifier="gst_parse_context_new">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="70">Allocates a parse context for use with gst_parse_launch_full() or
|
|
gst_parse_launchv_full().
|
|
|
|
Free-function: gst_parse_context_free</doc>
|
|
<source-position filename="gst/gstparse.h" line="103"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="78">a newly-allocated parse context. Free
|
|
with gst_parse_context_free() when no longer needed.</doc>
|
|
<type name="ParseContext" c:type="GstParseContext*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<method name="copy"
|
|
c:identifier="gst_parse_context_copy"
|
|
version="1.12.1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="96">Copies the @context.</doc>
|
|
<source-position filename="gst/gstparse.h" line="112"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="102">A copied #GstParseContext</doc>
|
|
<type name="ParseContext" c:type="GstParseContext*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="context" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="98">a #GstParseContext</doc>
|
|
<type name="ParseContext" c:type="const GstParseContext*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="free" c:identifier="gst_parse_context_free">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="126">Frees a parse context previously allocated with gst_parse_context_new().</doc>
|
|
<source-position filename="gst/gstparse.h" line="109"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="context" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="128">a #GstParseContext</doc>
|
|
<type name="ParseContext" c:type="GstParseContext*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_missing_elements"
|
|
c:identifier="gst_parse_context_get_missing_elements">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="144">Retrieve missing elements from a previous run of gst_parse_launch_full()
|
|
or gst_parse_launchv_full(). Will only return results if an error code
|
|
of %GST_PARSE_ERROR_NO_SUCH_ELEMENT was returned.</doc>
|
|
<source-position filename="gst/gstparse.h" line="106"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="152">a
|
|
%NULL-terminated array of element factory name strings of missing
|
|
elements. Free with g_strfreev() when no longer needed.</doc>
|
|
<array c:type="gchar**">
|
|
<type name="utf8"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="context" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="146">a #GstParseContext</doc>
|
|
<type name="ParseContext" c:type="GstParseContext*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<enumeration name="ParseError"
|
|
glib:type-name="GstParseError"
|
|
glib:get-type="gst_parse_error_get_type"
|
|
c:type="GstParseError"
|
|
glib:error-domain="gst_parse_error">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.h"
|
|
line="41">The different parsing errors that can occur.</doc>
|
|
<member name="syntax"
|
|
value="0"
|
|
c:identifier="GST_PARSE_ERROR_SYNTAX"
|
|
glib:nick="syntax">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.h"
|
|
line="43">A syntax error occurred.</doc>
|
|
</member>
|
|
<member name="no_such_element"
|
|
value="1"
|
|
c:identifier="GST_PARSE_ERROR_NO_SUCH_ELEMENT"
|
|
glib:nick="no-such-element">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.h"
|
|
line="44">The description contained an unknown element</doc>
|
|
</member>
|
|
<member name="no_such_property"
|
|
value="2"
|
|
c:identifier="GST_PARSE_ERROR_NO_SUCH_PROPERTY"
|
|
glib:nick="no-such-property">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.h"
|
|
line="45">An element did not have a specified property</doc>
|
|
</member>
|
|
<member name="link"
|
|
value="3"
|
|
c:identifier="GST_PARSE_ERROR_LINK"
|
|
glib:nick="link">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.h"
|
|
line="46">There was an error linking two pads.</doc>
|
|
</member>
|
|
<member name="could_not_set_property"
|
|
value="4"
|
|
c:identifier="GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY"
|
|
glib:nick="could-not-set-property">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.h"
|
|
line="47">There was an error setting a property</doc>
|
|
</member>
|
|
<member name="empty_bin"
|
|
value="5"
|
|
c:identifier="GST_PARSE_ERROR_EMPTY_BIN"
|
|
glib:nick="empty-bin">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.h"
|
|
line="48">An empty bin was specified.</doc>
|
|
</member>
|
|
<member name="empty"
|
|
value="6"
|
|
c:identifier="GST_PARSE_ERROR_EMPTY"
|
|
glib:nick="empty">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.h"
|
|
line="49">An empty description was specified</doc>
|
|
</member>
|
|
<member name="delayed_link"
|
|
value="7"
|
|
c:identifier="GST_PARSE_ERROR_DELAYED_LINK"
|
|
glib:nick="delayed-link">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.h"
|
|
line="50">A delayed link did not get resolved.</doc>
|
|
</member>
|
|
<function name="quark" c:identifier="gst_parse_error_quark">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="52">Get the error quark used by the parsing subsystem.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="57">the quark of the parse errors.</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
</function>
|
|
</enumeration>
|
|
<bitfield name="ParseFlags"
|
|
glib:type-name="GstParseFlags"
|
|
glib:get-type="gst_parse_flags_get_type"
|
|
c:type="GstParseFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.h"
|
|
line="66">Parsing options.</doc>
|
|
<member name="none"
|
|
value="0"
|
|
c:identifier="GST_PARSE_FLAG_NONE"
|
|
glib:nick="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.h"
|
|
line="68">Do not use any special parsing options.</doc>
|
|
</member>
|
|
<member name="fatal_errors"
|
|
value="1"
|
|
c:identifier="GST_PARSE_FLAG_FATAL_ERRORS"
|
|
glib:nick="fatal-errors">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.h"
|
|
line="69">Always return %NULL when an error occurs
|
|
(default behaviour is to return partially constructed bins or elements
|
|
in some cases)</doc>
|
|
</member>
|
|
<member name="no_single_element_bins"
|
|
value="2"
|
|
c:identifier="GST_PARSE_FLAG_NO_SINGLE_ELEMENT_BINS"
|
|
glib:nick="no-single-element-bins">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.h"
|
|
line="72">If a bin only has a single element,
|
|
just return the element.</doc>
|
|
</member>
|
|
<member name="place_in_bin"
|
|
value="4"
|
|
c:identifier="GST_PARSE_FLAG_PLACE_IN_BIN"
|
|
glib:nick="place-in-bin">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.h"
|
|
line="74">If more than one toplevel element is described
|
|
by the pipeline description string, put them in a #GstBin instead of a
|
|
#GstPipeline. (Since: 1.10)</doc>
|
|
</member>
|
|
</bitfield>
|
|
<class name="Pipeline"
|
|
c:symbol-prefix="pipeline"
|
|
c:type="GstPipeline"
|
|
parent="Bin"
|
|
glib:type-name="GstPipeline"
|
|
glib:get-type="gst_pipeline_get_type"
|
|
glib:type-struct="PipelineClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="23">A #GstPipeline is a special #GstBin used as the toplevel container for
|
|
the filter graph. The #GstPipeline will manage the selection and
|
|
distribution of a global #GstClock as well as provide a #GstBus to the
|
|
application.
|
|
|
|
gst_pipeline_new() is used to create a pipeline. when you are done with
|
|
the pipeline, use gst_object_unref() to free its resources including all
|
|
added #GstElement objects (if not otherwise referenced).
|
|
|
|
Elements are added and removed from the pipeline using the #GstBin
|
|
methods like gst_bin_add() and gst_bin_remove() (see #GstBin).
|
|
|
|
Before changing the state of the #GstPipeline (see #GstElement) a #GstBus
|
|
can be retrieved with gst_pipeline_get_bus(). This bus can then be
|
|
used to receive #GstMessage from the elements in the pipeline.
|
|
|
|
By default, a #GstPipeline will automatically flush the pending #GstBus
|
|
messages when going to the NULL state to ensure that no circular
|
|
references exist when no messages are read from the #GstBus. This
|
|
behaviour can be changed with gst_pipeline_set_auto_flush_bus().
|
|
|
|
When the #GstPipeline performs the PAUSED to PLAYING state change it will
|
|
select a clock for the elements. The clock selection algorithm will by
|
|
default select a clock provided by an element that is most upstream
|
|
(closest to the source). For live pipelines (ones that return
|
|
#GST_STATE_CHANGE_NO_PREROLL from the gst_element_set_state() call) this
|
|
will select the clock provided by the live source. For normal pipelines
|
|
this will select a clock provided by the sinks (most likely the audio
|
|
sink). If no element provides a clock, a default #GstSystemClock is used.
|
|
|
|
The clock selection can be controlled with the gst_pipeline_use_clock()
|
|
method, which will enforce a given clock on the pipeline. With
|
|
gst_pipeline_auto_clock() the default clock selection algorithm can be
|
|
restored.
|
|
|
|
A #GstPipeline maintains a running time for the elements. The running
|
|
time is defined as the difference between the current clock time and
|
|
the base time. When the pipeline goes to READY or a flushing seek is
|
|
performed on it, the running time is reset to 0. When the pipeline is
|
|
set from PLAYING to PAUSED, the current clock time is sampled and used to
|
|
configure the base time for the elements when the pipeline is set
|
|
to PLAYING again. The effect is that the running time (as the difference
|
|
between the clock time and the base time) will count how much time was spent
|
|
in the PLAYING state. This default behaviour can be changed with the
|
|
gst_element_set_start_time() method.</doc>
|
|
<source-position filename="gst/gstpipeline.h" line="89"/>
|
|
<implements name="ChildProxy"/>
|
|
<constructor name="new" c:identifier="gst_pipeline_new">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="331">Create a new pipeline with the given name.</doc>
|
|
<source-position filename="gst/gstpipeline.h" line="95"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="337">newly created GstPipeline
|
|
|
|
MT safe.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="333">name of new pipeline</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<method name="auto_clock" c:identifier="gst_pipeline_auto_clock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="887">Let @pipeline select a clock automatically. This is the default
|
|
behaviour.
|
|
|
|
Use this function if you previous forced a fixed clock with
|
|
gst_pipeline_use_clock() and want to restore the default
|
|
pipeline clock selection algorithm.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstpipeline.h" line="113"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pipeline" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="889">a #GstPipeline</doc>
|
|
<type name="Pipeline" c:type="GstPipeline*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_auto_flush_bus"
|
|
c:identifier="gst_pipeline_get_auto_flush_bus">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="1000">Check if @pipeline will automatically flush messages when going to
|
|
the NULL state.</doc>
|
|
<source-position filename="gst/gstpipeline.h" line="131"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="1007">whether the pipeline will automatically flush its bus when
|
|
going from READY to NULL state or not.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pipeline" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="1002">a #GstPipeline</doc>
|
|
<type name="Pipeline" c:type="GstPipeline*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_bus" c:identifier="gst_pipeline_get_bus">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="737">Gets the #GstBus of @pipeline. The bus allows applications to receive
|
|
#GstMessage packets.</doc>
|
|
<source-position filename="gst/gstpipeline.h" line="98"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="744">a #GstBus, unref after usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="Bus" c:type="GstBus*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pipeline" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="739">a #GstPipeline</doc>
|
|
<type name="Pipeline" c:type="GstPipeline*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_clock"
|
|
c:identifier="gst_pipeline_get_clock"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="790">Gets the current clock used by @pipeline. Users of object
|
|
oriented languages should use gst_pipeline_get_pipeline_clock()
|
|
to avoid confusion with gst_element_get_clock() which has a different behavior.
|
|
|
|
Unlike gst_element_get_clock(), this function will always return a
|
|
clock, even if the pipeline is not in the PLAYING state.</doc>
|
|
<source-position filename="gst/gstpipeline.h" line="107"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="801">a #GstClock, unref after usage.</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pipeline" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="792">a #GstPipeline</doc>
|
|
<type name="Pipeline" c:type="GstPipeline*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_delay" c:identifier="gst_pipeline_get_delay">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="945">Get the configured delay (see gst_pipeline_set_delay()).</doc>
|
|
<source-position filename="gst/gstpipeline.h" line="119"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="951">The configured delay.
|
|
|
|
MT safe.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pipeline" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="947">a #GstPipeline</doc>
|
|
<type name="Pipeline" c:type="GstPipeline*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_latency"
|
|
c:identifier="gst_pipeline_get_latency"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="1057">Gets the latency that should be configured on the pipeline. See
|
|
gst_pipeline_set_latency().</doc>
|
|
<source-position filename="gst/gstpipeline.h" line="125"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="1064">Latency to configure on the pipeline or GST_CLOCK_TIME_NONE</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pipeline" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="1059">a #GstPipeline</doc>
|
|
<type name="Pipeline" c:type="GstPipeline*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_pipeline_clock"
|
|
c:identifier="gst_pipeline_get_pipeline_clock"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="809">Gets the current clock used by @pipeline.
|
|
|
|
Unlike gst_element_get_clock(), this function will always return a
|
|
clock, even if the pipeline is not in the PLAYING state.</doc>
|
|
<source-position filename="gst/gstpipeline.h" line="110"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="818">a #GstClock, unref after usage.</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pipeline" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="811">a #GstPipeline</doc>
|
|
<type name="Pipeline" c:type="GstPipeline*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_auto_flush_bus"
|
|
c:identifier="gst_pipeline_set_auto_flush_bus">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="969">Usually, when a pipeline goes from READY to NULL state, it automatically
|
|
flushes all pending messages on the bus, which is done for refcounting
|
|
purposes, to break circular references.
|
|
|
|
This means that applications that update state using (async) bus messages
|
|
(e.g. do certain things when a pipeline goes from PAUSED to READY) might
|
|
not get to see messages when the pipeline is shut down, because they might
|
|
be flushed before they can be dispatched in the main thread. This behaviour
|
|
can be disabled using this function.
|
|
|
|
It is important that all messages on the bus are handled when the
|
|
automatic flushing is disabled else memory leaks will be introduced.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstpipeline.h" line="128"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pipeline" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="971">a #GstPipeline</doc>
|
|
<type name="Pipeline" c:type="GstPipeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="auto_flush" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="972">whether or not to automatically flush the bus when
|
|
the pipeline goes from READY to NULL state</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_clock"
|
|
c:identifier="gst_pipeline_set_clock"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="863">Set the clock for @pipeline. The clock will be distributed
|
|
to all the elements managed by the pipeline.</doc>
|
|
<source-position filename="gst/gstpipeline.h" line="104"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="871">%TRUE if the clock could be set on the pipeline. %FALSE if
|
|
some element did not accept the clock.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pipeline" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="865">a #GstPipeline</doc>
|
|
<type name="Pipeline" c:type="GstPipeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="clock" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="866">the clock to set</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_delay" c:identifier="gst_pipeline_set_delay">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="918">Set the expected delay needed for all elements to perform the
|
|
PAUSED to PLAYING state change. @delay will be added to the
|
|
base time of the elements so that they wait an additional @delay
|
|
amount of time before starting to process buffers and cannot be
|
|
#GST_CLOCK_TIME_NONE.
|
|
|
|
This option is used for tuning purposes and should normally not be
|
|
used.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstpipeline.h" line="116"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pipeline" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="920">a #GstPipeline</doc>
|
|
<type name="Pipeline" c:type="GstPipeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="delay" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="921">the delay</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_latency"
|
|
c:identifier="gst_pipeline_set_latency"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="1026">Sets the latency that should be configured on the pipeline. Setting
|
|
GST_CLOCK_TIME_NONE will restore the default behaviour of using the minimum
|
|
latency from the LATENCY query. Setting this is usually not required and
|
|
the pipeline will figure out an appropriate latency automatically.
|
|
|
|
Setting a too low latency, especially lower than the minimum latency from
|
|
the LATENCY query, will most likely cause the pipeline to fail.</doc>
|
|
<source-position filename="gst/gstpipeline.h" line="122"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pipeline" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="1028">a #GstPipeline</doc>
|
|
<type name="Pipeline" c:type="GstPipeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="latency" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="1029">latency to configure</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="use_clock" c:identifier="gst_pipeline_use_clock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="831">Force @pipeline to use the given @clock. The pipeline will
|
|
always use the given clock even if new clock providers are added
|
|
to this pipeline.
|
|
|
|
If @clock is %NULL all clocking will be disabled which will make
|
|
the pipeline run as fast as possible.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstpipeline.h" line="101"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pipeline" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="833">a #GstPipeline</doc>
|
|
<type name="Pipeline" c:type="GstPipeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="clock"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="834">the clock to use</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="auto-flush-bus" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="179">Whether or not to automatically flush all messages on the
|
|
pipeline's bus when going from READY to NULL state. Please see
|
|
gst_pipeline_set_auto_flush_bus() for more information on this option.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</property>
|
|
<property name="delay" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="166">The expected delay needed for elements to spin up to the
|
|
PLAYING state expressed in nanoseconds.
|
|
see gst_pipeline_set_delay() for more information on this option.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</property>
|
|
<property name="latency"
|
|
version="1.6"
|
|
writable="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.c"
|
|
line="192">Latency to configure on the pipeline. See gst_pipeline_set_latency().</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</property>
|
|
<field name="bin">
|
|
<type name="Bin" c:type="GstBin"/>
|
|
</field>
|
|
<field name="fixed_clock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.h"
|
|
line="58">The fixed clock of the pipeline, used when
|
|
GST_PIPELINE_FLAG_FIXED_CLOCK is set.</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</field>
|
|
<field name="stream_time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.h"
|
|
line="60">The stream time of the pipeline. A better name for this
|
|
property would be the running_time, the total time spent in the
|
|
PLAYING state without being flushed. (deprecated, use the start_time
|
|
on GstElement).</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</field>
|
|
<field name="delay">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.h"
|
|
line="64">Extra delay added to base_time to compensate for computing delays
|
|
when setting elements to PLAYING.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="PipelinePrivate" c:type="GstPipelinePrivate*"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="PipelineClass"
|
|
c:type="GstPipelineClass"
|
|
glib:is-gtype-struct-for="Pipeline">
|
|
<source-position filename="gst/gstpipeline.h" line="89"/>
|
|
<field name="parent_class">
|
|
<type name="BinClass" c:type="GstBinClass"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<bitfield name="PipelineFlags"
|
|
glib:type-name="GstPipelineFlags"
|
|
glib:get-type="gst_pipeline_flags_get_type"
|
|
c:type="GstPipelineFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.h"
|
|
line="43">Pipeline flags</doc>
|
|
<member name="fixed_clock"
|
|
value="524288"
|
|
c:identifier="GST_PIPELINE_FLAG_FIXED_CLOCK"
|
|
glib:nick="fixed-clock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.h"
|
|
line="45">this pipeline works with a fixed clock</doc>
|
|
</member>
|
|
<member name="last"
|
|
value="8388608"
|
|
c:identifier="GST_PIPELINE_FLAG_LAST"
|
|
glib:nick="last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpipeline.h"
|
|
line="46">offset to define more flags</doc>
|
|
</member>
|
|
</bitfield>
|
|
<record name="PipelinePrivate" c:type="GstPipelinePrivate" disguised="1">
|
|
<source-position filename="gst/gstpipeline.h" line="41"/>
|
|
</record>
|
|
<class name="Plugin"
|
|
c:symbol-prefix="plugin"
|
|
c:type="GstPlugin"
|
|
parent="Object"
|
|
glib:type-name="GstPlugin"
|
|
glib:get-type="gst_plugin_get_type"
|
|
glib:type-struct="PluginClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="23">GStreamer is extensible, so #GstElement instances can be loaded at runtime.
|
|
A plugin system can provide one or more of the basic GStreamer
|
|
#GstPluginFeature subclasses.
|
|
|
|
A plugin should export a symbol `gst_plugin_desc` that is a
|
|
struct of type #GstPluginDesc.
|
|
the plugin loader will check the version of the core library the plugin was
|
|
linked against and will create a new #GstPlugin. It will then call the
|
|
#GstPluginInitFunc function that was provided in the
|
|
`gst_plugin_desc`.
|
|
|
|
Once you have a handle to a #GstPlugin (e.g. from the #GstRegistry), you
|
|
can add any object that subclasses #GstPluginFeature.
|
|
|
|
Usually plugins are always automatically loaded so you don't need to call
|
|
gst_plugin_load() explicitly to bring it into memory. There are options to
|
|
statically link plugins to an app or even use GStreamer without a plugin
|
|
repository in which case gst_plugin_load() can be needed to bring the plugin
|
|
into memory.</doc>
|
|
<source-position filename="gst/gstplugin.h" line="41"/>
|
|
<function name="list_free" c:identifier="gst_plugin_list_free">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1396">Unrefs each member of @list, then frees the list.</doc>
|
|
<source-position filename="gst/gstplugin.h" line="396"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="list" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1398">list of #GstPlugin</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Plugin"/>
|
|
</type>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="load_by_name" c:identifier="gst_plugin_load_by_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1320">Load the named plugin. Refs the plugin.</doc>
|
|
<source-position filename="gst/gstplugin.h" line="381"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1326">a reference to a loaded plugin, or
|
|
%NULL on error.</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1322">name of plugin to load</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="load_file"
|
|
c:identifier="gst_plugin_load_file"
|
|
throws="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="676">Loads the given plugin and refs it. Caller needs to unref after use.</doc>
|
|
<source-position filename="gst/gstplugin.h" line="375"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="683">a reference to the existing loaded GstPlugin, a
|
|
reference to the newly-loaded GstPlugin, or %NULL if an error occurred.</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="filename" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="678">the plugin filename to load</doc>
|
|
<type name="filename" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="register_static"
|
|
c:identifier="gst_plugin_register_static">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="179">Registers a static plugin, ie. a plugin which is private to an application
|
|
or library and contained within the application or library (as opposed to
|
|
being shipped as a separate module file).
|
|
|
|
You must make sure that GStreamer has been initialised (with gst_init() or
|
|
via gst_init_get_option_group()) before calling this function.</doc>
|
|
<source-position filename="gst/gstplugin.h" line="316"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="204">%TRUE if the plugin was registered correctly, otherwise %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="major_version" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="181">the major version number of the GStreamer core that the
|
|
plugin was compiled for, you can just use GST_VERSION_MAJOR here</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="minor_version" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="183">the minor version number of the GStreamer core that the
|
|
plugin was compiled for, you can just use GST_VERSION_MINOR here</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="185">a unique name of the plugin (ideally prefixed with an application- or
|
|
library-specific namespace prefix in order to avoid name conflicts in
|
|
case a similar plugin with the same name ever gets added to GStreamer)</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="description" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="188">description of the plugin</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="init_func" transfer-ownership="none" scope="call">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="189">pointer to the init function of this plugin.</doc>
|
|
<type name="PluginInitFunc" c:type="GstPluginInitFunc"/>
|
|
</parameter>
|
|
<parameter name="version" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="190">version string of the plugin</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="license" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="191">effective license of plugin. Must be one of the approved licenses
|
|
(see #GstPluginDesc above) or the plugin will not be registered.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="source" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="193">source module plugin belongs to</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="package" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="194">shipped package plugin belongs to</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="origin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="195">URL to provider of plugin</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="register_static_full"
|
|
c:identifier="gst_plugin_register_static_full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="240">Registers a static plugin, ie. a plugin which is private to an application
|
|
or library and contained within the application or library (as opposed to
|
|
being shipped as a separate module file) with a #GstPluginInitFullFunc
|
|
which allows user data to be passed to the callback function (useful
|
|
for bindings).
|
|
|
|
You must make sure that GStreamer has been initialised (with gst_init() or
|
|
via gst_init_get_option_group()) before calling this function.</doc>
|
|
<source-position filename="gst/gstplugin.h" line="327"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="269">%TRUE if the plugin was registered correctly, otherwise %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="major_version" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="242">the major version number of the GStreamer core that the
|
|
plugin was compiled for, you can just use GST_VERSION_MAJOR here</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="minor_version" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="244">the minor version number of the GStreamer core that the
|
|
plugin was compiled for, you can just use GST_VERSION_MINOR here</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="246">a unique name of the plugin (ideally prefixed with an application- or
|
|
library-specific namespace prefix in order to avoid name conflicts in
|
|
case a similar plugin with the same name ever gets added to GStreamer)</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="description" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="249">description of the plugin</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="init_full_func"
|
|
transfer-ownership="none"
|
|
scope="call"
|
|
closure="10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="250">pointer to the init function with user data
|
|
of this plugin.</doc>
|
|
<type name="PluginInitFullFunc" c:type="GstPluginInitFullFunc"/>
|
|
</parameter>
|
|
<parameter name="version" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="252">version string of the plugin</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="license" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="253">effective license of plugin. Must be one of the approved licenses
|
|
(see #GstPluginDesc above) or the plugin will not be registered.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="source" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="255">source module plugin belongs to</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="package" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="256">shipped package plugin belongs to</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="origin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="257">URL to provider of plugin</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="258">gpointer to user data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<method name="add_dependency" c:identifier="gst_plugin_add_dependency">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1828">Make GStreamer aware of external dependencies which affect the feature
|
|
set of this plugin (ie. the elements or typefinders associated with it).
|
|
|
|
GStreamer will re-inspect plugins with external dependencies whenever any
|
|
of the external dependencies change. This is useful for plugins which wrap
|
|
other plugin systems, e.g. a plugin which wraps a plugin-based visualisation
|
|
library and makes visualisations available as GStreamer elements, or a
|
|
codec loader which exposes elements and/or caps dependent on what external
|
|
codec libraries are currently installed.</doc>
|
|
<source-position filename="gst/gstplugin.h" line="384"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="plugin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1830">a #GstPlugin</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</instance-parameter>
|
|
<parameter name="env_vars"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1831">%NULL-terminated array of environment variables affecting the
|
|
feature set of the plugin (e.g. an environment variable containing
|
|
paths where to look for additional modules/plugins of a library),
|
|
or %NULL. Environment variable names may be followed by a path component
|
|
which will be added to the content of the environment variable, e.g.
|
|
"HOME/.mystuff/plugins".</doc>
|
|
<array c:type="const gchar**">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</array>
|
|
</parameter>
|
|
<parameter name="paths"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1837">%NULL-terminated array of directories/paths where dependent files
|
|
may be, or %NULL.</doc>
|
|
<array c:type="const gchar**">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</array>
|
|
</parameter>
|
|
<parameter name="names"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1839">%NULL-terminated array of file names (or file name suffixes,
|
|
depending on @flags) to be used in combination with the paths from
|
|
@paths and/or the paths extracted from the environment variables in
|
|
@env_vars, or %NULL.</doc>
|
|
<array c:type="const gchar**">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</array>
|
|
</parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1843">optional flags, or #GST_PLUGIN_DEPENDENCY_FLAG_NONE</doc>
|
|
<type name="PluginDependencyFlags"
|
|
c:type="GstPluginDependencyFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_dependency_simple"
|
|
c:identifier="gst_plugin_add_dependency_simple">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1899">Make GStreamer aware of external dependencies which affect the feature
|
|
set of this plugin (ie. the elements or typefinders associated with it).
|
|
|
|
GStreamer will re-inspect plugins with external dependencies whenever any
|
|
of the external dependencies change. This is useful for plugins which wrap
|
|
other plugin systems, e.g. a plugin which wraps a plugin-based visualisation
|
|
library and makes visualisations available as GStreamer elements, or a
|
|
codec loader which exposes elements and/or caps dependent on what external
|
|
codec libraries are currently installed.
|
|
|
|
Convenience wrapper function for gst_plugin_add_dependency() which
|
|
takes simple strings as arguments instead of string arrays, with multiple
|
|
arguments separated by predefined delimiters (see above).</doc>
|
|
<source-position filename="gst/gstplugin.h" line="390"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="plugin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1901">the #GstPlugin</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</instance-parameter>
|
|
<parameter name="env_vars"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1902">one or more environment variables (separated by ':', ';' or ','),
|
|
or %NULL. Environment variable names may be followed by a path component
|
|
which will be added to the content of the environment variable, e.g.
|
|
"HOME/.mystuff/plugins:MYSTUFF_PLUGINS_PATH"</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="paths"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1906">one ore more directory paths (separated by ':' or ';' or ','),
|
|
or %NULL. Example: "/usr/lib/mystuff/plugins"</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="names"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1908">one or more file names or file name suffixes (separated by commas),
|
|
or %NULL</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1910">optional flags, or #GST_PLUGIN_DEPENDENCY_FLAG_NONE</doc>
|
|
<type name="PluginDependencyFlags"
|
|
c:type="GstPluginDependencyFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_cache_data" c:identifier="gst_plugin_get_cache_data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1118">Gets the plugin specific data cache. If it is %NULL there is no cached data
|
|
stored. This is the case when the registry is getting rebuilt.</doc>
|
|
<source-position filename="gst/gstplugin.h" line="366"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1125">The cached data as a
|
|
#GstStructure or %NULL.</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="plugin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1120">a plugin</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_description" c:identifier="gst_plugin_get_description">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="966">Get the long descriptive name of the plugin</doc>
|
|
<source-position filename="gst/gstplugin.h" line="342"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="972">the long name of the plugin</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="plugin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="968">plugin to get long name of</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_filename" c:identifier="gst_plugin_get_filename">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="982">get the filename of the plugin</doc>
|
|
<source-position filename="gst/gstplugin.h" line="345"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="988">the filename of the plugin</doc>
|
|
<type name="filename" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="plugin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="984">plugin to get the filename of</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_license" c:identifier="gst_plugin_get_license">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1014">get the license of the plugin</doc>
|
|
<source-position filename="gst/gstplugin.h" line="351"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1020">the license of the plugin</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="plugin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1016">plugin to get the license of</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_name" c:identifier="gst_plugin_get_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="950">Get the short name of the plugin</doc>
|
|
<source-position filename="gst/gstplugin.h" line="339"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="956">the name of the plugin</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="plugin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="952">plugin to get the name of</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_origin" c:identifier="gst_plugin_get_origin">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1062">get the URL where the plugin comes from</doc>
|
|
<source-position filename="gst/gstplugin.h" line="360"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1068">the origin of the plugin</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="plugin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1064">plugin to get the origin of</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_package" c:identifier="gst_plugin_get_package">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1046">get the package the plugin belongs to.</doc>
|
|
<source-position filename="gst/gstplugin.h" line="357"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1052">the package of the plugin</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="plugin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1048">plugin to get the package of</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_release_date_string"
|
|
c:identifier="gst_plugin_get_release_date_string">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1078">Get the release date (and possibly time) in form of a string, if available.
|
|
|
|
For normal GStreamer plugin releases this will usually just be a date in
|
|
the form of "YYYY-MM-DD", while pre-releases and builds from git may contain
|
|
a time component after the date as well, in which case the string will be
|
|
formatted like "YYYY-MM-DDTHH:MMZ" (e.g. "2012-04-30T09:30Z").
|
|
|
|
There may be plugins that do not have a valid release date set on them.</doc>
|
|
<source-position filename="gst/gstplugin.h" line="363"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1091">the date string of the plugin, or %NULL if not
|
|
available.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="plugin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1080">plugin to get the release date of</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_source" c:identifier="gst_plugin_get_source">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1030">get the source module the plugin belongs to.</doc>
|
|
<source-position filename="gst/gstplugin.h" line="354"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1036">the source of the plugin</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="plugin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1032">plugin to get the source of</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_version" c:identifier="gst_plugin_get_version">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="998">get the version of the plugin</doc>
|
|
<source-position filename="gst/gstplugin.h" line="348"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1004">the version of the plugin</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="plugin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1000">plugin to get the version of</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_loaded" c:identifier="gst_plugin_is_loaded">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1102">queries if the plugin is loaded into memory</doc>
|
|
<source-position filename="gst/gstplugin.h" line="372"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1108">%TRUE is loaded, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="plugin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1104">plugin to query</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="load" c:identifier="gst_plugin_load">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1355">Loads @plugin. Note that the *return value* is the loaded plugin; @plugin is
|
|
untouched. The normal use pattern of this function goes like this:
|
|
|
|
|[
|
|
GstPlugin *loaded_plugin;
|
|
loaded_plugin = gst_plugin_load (plugin);
|
|
// presumably, we're no longer interested in the potentially-unloaded plugin
|
|
gst_object_unref (plugin);
|
|
plugin = loaded_plugin;
|
|
]|</doc>
|
|
<source-position filename="gst/gstplugin.h" line="378"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1370">a reference to a loaded plugin, or
|
|
%NULL on error.</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="plugin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1357">plugin to load</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_cache_data" c:identifier="gst_plugin_set_cache_data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1136">Adds plugin specific data to cache. Passes the ownership of the structure to
|
|
the @plugin.
|
|
|
|
The cache is flushed every time the registry is rebuilt.</doc>
|
|
<source-position filename="gst/gstplugin.h" line="369"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="plugin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1138">a plugin</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</instance-parameter>
|
|
<parameter name="cache_data" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.c"
|
|
line="1139">a structure containing the data to cache</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
</class>
|
|
<bitfield name="PluginAPIFlags"
|
|
version="1.18"
|
|
glib:type-name="GstPluginAPIFlags"
|
|
glib:get-type="gst_plugin_api_flags_get_type"
|
|
c:type="GstPluginAPIFlags">
|
|
<member name="members"
|
|
value="1"
|
|
c:identifier="GST_PLUGIN_API_FLAG_IGNORE_ENUM_MEMBERS"
|
|
glib:nick="members">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="1176">Ignore enum members when generating
|
|
the plugins cache. This is useful if the members of the enum are generated
|
|
dynamically, in order not to expose incorrect documentation to the end user.</doc>
|
|
</member>
|
|
</bitfield>
|
|
<record name="PluginClass"
|
|
c:type="GstPluginClass"
|
|
disguised="1"
|
|
glib:is-gtype-struct-for="Plugin">
|
|
<source-position filename="gst/gstplugin.h" line="41"/>
|
|
</record>
|
|
<bitfield name="PluginDependencyFlags"
|
|
glib:type-name="GstPluginDependencyFlags"
|
|
glib:get-type="gst_plugin_dependency_flags_get_type"
|
|
c:type="GstPluginDependencyFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="89">Flags used in connection with gst_plugin_add_dependency().</doc>
|
|
<member name="none"
|
|
value="0"
|
|
c:identifier="GST_PLUGIN_DEPENDENCY_FLAG_NONE"
|
|
glib:nick="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="91">no special flags</doc>
|
|
</member>
|
|
<member name="recurse"
|
|
value="1"
|
|
c:identifier="GST_PLUGIN_DEPENDENCY_FLAG_RECURSE"
|
|
glib:nick="recurse">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="92">recurse into subdirectories</doc>
|
|
</member>
|
|
<member name="paths_are_default_only"
|
|
value="2"
|
|
c:identifier="GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY"
|
|
glib:nick="paths-are-default-only">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="93">use paths
|
|
argument only if none of the environment variables is set</doc>
|
|
</member>
|
|
<member name="file_name_is_suffix"
|
|
value="4"
|
|
c:identifier="GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX"
|
|
glib:nick="file-name-is-suffix">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="95">interpret
|
|
filename argument as filter suffix and check all matching files in
|
|
the directory</doc>
|
|
</member>
|
|
<member name="file_name_is_prefix"
|
|
value="8"
|
|
c:identifier="GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_PREFIX"
|
|
glib:nick="file-name-is-prefix">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="98">interpret
|
|
filename argument as filter prefix and check all matching files in
|
|
the directory. Since: 1.8.</doc>
|
|
</member>
|
|
<member name="paths_are_relative_to_exe"
|
|
value="16"
|
|
c:identifier="GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_RELATIVE_TO_EXE"
|
|
glib:nick="paths-are-relative-to-exe">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="101">interpret
|
|
non-absolute paths as relative to the main executable directory. Since
|
|
1.14.</doc>
|
|
</member>
|
|
</bitfield>
|
|
<record name="PluginDesc" c:type="GstPluginDesc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="146">A plugin should export a variable of this type called plugin_desc. The plugin
|
|
loader will use the data provided there to initialize the plugin.
|
|
|
|
The @licence parameter must be one of: LGPL, GPL, QPL, GPL/QPL, MPL,
|
|
BSD, MIT/X11, Proprietary, unknown.</doc>
|
|
<source-position filename="gst/gstplugin.h" line="185"/>
|
|
<field name="major_version" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="148">the major version number of core that plugin was compiled for</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</field>
|
|
<field name="minor_version" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="149">the minor version number of core that plugin was compiled for</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</field>
|
|
<field name="name" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="150">a unique name of the plugin</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</field>
|
|
<field name="description" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="151">description of plugin</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</field>
|
|
<field name="plugin_init" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="152">pointer to the init function of this plugin.</doc>
|
|
<type name="PluginInitFunc" c:type="GstPluginInitFunc"/>
|
|
</field>
|
|
<field name="version" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="153">version of the plugin</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</field>
|
|
<field name="license" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="154">effective license of plugin</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</field>
|
|
<field name="source" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="155">source module plugin belongs to</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</field>
|
|
<field name="package" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="156">shipped package plugin belongs to</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</field>
|
|
<field name="origin" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="157">URL to provider of plugin</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</field>
|
|
<field name="release_datetime" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="158">date time string in ISO 8601
|
|
format (or rather, a subset thereof), or %NULL. Allowed are the
|
|
following formats: "YYYY-MM-DD" and "YYY-MM-DDTHH:MMZ" (with
|
|
'T' a separator and 'Z' indicating UTC/Zulu time). This field
|
|
should be set via the GST_PACKAGE_RELEASE_DATETIME
|
|
preprocessor macro.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<enumeration name="PluginError"
|
|
glib:type-name="GstPluginError"
|
|
glib:get-type="gst_plugin_error_get_type"
|
|
c:type="GstPluginError"
|
|
glib:error-domain="gst_plugin_error">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="61">The plugin loading errors</doc>
|
|
<member name="module"
|
|
value="0"
|
|
c:identifier="GST_PLUGIN_ERROR_MODULE"
|
|
glib:nick="module">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="63">The plugin could not be loaded</doc>
|
|
</member>
|
|
<member name="dependencies"
|
|
value="1"
|
|
c:identifier="GST_PLUGIN_ERROR_DEPENDENCIES"
|
|
glib:nick="dependencies">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="64">The plugin has unresolved dependencies</doc>
|
|
</member>
|
|
<member name="name_mismatch"
|
|
value="2"
|
|
c:identifier="GST_PLUGIN_ERROR_NAME_MISMATCH"
|
|
glib:nick="name-mismatch">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="65">The plugin has already be loaded from a different file</doc>
|
|
</member>
|
|
<function name="quark" c:identifier="gst_plugin_error_quark">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="44">Get the error quark.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="49">The error quark used in GError messages</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
</function>
|
|
</enumeration>
|
|
<class name="PluginFeature"
|
|
c:symbol-prefix="plugin_feature"
|
|
c:type="GstPluginFeature"
|
|
parent="Object"
|
|
abstract="1"
|
|
glib:type-name="GstPluginFeature"
|
|
glib:get-type="gst_plugin_feature_get_type"
|
|
glib:type-struct="PluginFeatureClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="23">This is a base class for anything that can be added to a #GstPlugin.</doc>
|
|
<source-position filename="gst/gstpluginfeature.h" line="47"/>
|
|
<function name="list_copy" c:identifier="gst_plugin_feature_list_copy">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="248">Copies the list of features. Caller should call @gst_plugin_feature_list_free
|
|
when done with the list.</doc>
|
|
<source-position filename="gst/gstpluginfeature.h" line="131"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="256">a copy of @list,
|
|
with each feature's reference count incremented.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="PluginFeature"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="250">list
|
|
of #GstPluginFeature</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="PluginFeature"/>
|
|
</type>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="list_debug" c:identifier="gst_plugin_feature_list_debug">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="285">Debug the plugin feature names in @list.</doc>
|
|
<source-position filename="gst/gstpluginfeature.h" line="134"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="287">a #GList of
|
|
plugin features</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="PluginFeature"/>
|
|
</type>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="list_free" c:identifier="gst_plugin_feature_list_free">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="228">Unrefs each member of @list, then frees the list.</doc>
|
|
<source-position filename="gst/gstpluginfeature.h" line="128"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="list" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="230">list
|
|
of #GstPluginFeature</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="PluginFeature"/>
|
|
</type>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="rank_compare_func"
|
|
c:identifier="gst_plugin_feature_rank_compare_func">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="378">Compares the two given #GstPluginFeature instances. This function can be
|
|
used as a #GCompareFunc when sorting by rank and then by name.</doc>
|
|
<source-position filename="gst/gstpluginfeature.h" line="155"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="386">negative value if the rank of p1 > the rank of p2 or the ranks are
|
|
equal but the name of p1 comes before the name of p2; zero if the rank
|
|
and names are equal; positive value if the rank of p1 < the rank of p2 or the
|
|
ranks are equal but the name of p2 comes before the name of p1</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="p1"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="380">a #GstPluginFeature</doc>
|
|
<type name="gpointer" c:type="gconstpointer"/>
|
|
</parameter>
|
|
<parameter name="p2"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="381">a #GstPluginFeature</doc>
|
|
<type name="gpointer" c:type="gconstpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<method name="check_version"
|
|
c:identifier="gst_plugin_feature_check_version">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="304">Checks whether the given plugin feature is at least
|
|
the required version</doc>
|
|
<source-position filename="gst/gstpluginfeature.h" line="150"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="314">%TRUE if the plugin feature has at least
|
|
the required version, otherwise %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="feature" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="306">a feature</doc>
|
|
<type name="PluginFeature" c:type="GstPluginFeature*"/>
|
|
</instance-parameter>
|
|
<parameter name="min_major" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="307">minimum required major version</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="min_minor" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="308">minimum required minor version</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="min_micro" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="309">minimum required micro version</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_plugin" c:identifier="gst_plugin_feature_get_plugin">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="184">Get the plugin that provides this feature.</doc>
|
|
<source-position filename="gst/gstpluginfeature.h" line="122"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="190">the plugin that provides this
|
|
feature, or %NULL. Unref with gst_object_unref() when no
|
|
longer needed.</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="feature" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="186">a feature</doc>
|
|
<type name="PluginFeature" c:type="GstPluginFeature*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_plugin_name"
|
|
c:identifier="gst_plugin_feature_get_plugin_name"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="205">Get the name of the plugin that provides this feature.</doc>
|
|
<source-position filename="gst/gstpluginfeature.h" line="125"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="211">the name of the plugin that provides this
|
|
feature, or %NULL if the feature is not associated with a
|
|
plugin.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="feature" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="207">a feature</doc>
|
|
<type name="PluginFeature" c:type="GstPluginFeature*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_rank" c:identifier="gst_plugin_feature_get_rank">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="168">Gets the rank of a plugin feature.</doc>
|
|
<source-position filename="gst/gstpluginfeature.h" line="119"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="174">The rank of the feature</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="feature" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="170">a feature</doc>
|
|
<type name="PluginFeature" c:type="GstPluginFeature*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="load" c:identifier="gst_plugin_feature_load">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="77">Loads the plugin containing @feature if it's not already loaded. @feature is
|
|
unaffected; use the return value instead.
|
|
|
|
Normally this function is used like this:
|
|
|[<!-- language="C" -->
|
|
GstPluginFeature *loaded_feature;
|
|
|
|
loaded_feature = gst_plugin_feature_load (feature);
|
|
// presumably, we're no longer interested in the potentially-unloaded feature
|
|
gst_object_unref (feature);
|
|
feature = loaded_feature;
|
|
]|</doc>
|
|
<source-position filename="gst/gstpluginfeature.h" line="113"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="94">a reference to the loaded
|
|
feature, or %NULL on error</doc>
|
|
<type name="PluginFeature" c:type="GstPluginFeature*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="feature" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="79">the plugin feature to check</doc>
|
|
<type name="PluginFeature" c:type="GstPluginFeature*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_rank" c:identifier="gst_plugin_feature_set_rank">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="151">Specifies a rank for a plugin feature, so that autoplugging uses
|
|
the most appropriate feature.</doc>
|
|
<source-position filename="gst/gstpluginfeature.h" line="116"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="feature" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="153">feature to rank</doc>
|
|
<type name="PluginFeature" c:type="GstPluginFeature*"/>
|
|
</instance-parameter>
|
|
<parameter name="rank" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.c"
|
|
line="154">rank value - higher number means more priority rank</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
</class>
|
|
<record name="PluginFeatureClass"
|
|
c:type="GstPluginFeatureClass"
|
|
disguised="1"
|
|
glib:is-gtype-struct-for="PluginFeature">
|
|
<source-position filename="gst/gstpluginfeature.h" line="47"/>
|
|
</record>
|
|
<callback name="PluginFeatureFilter" c:type="GstPluginFeatureFilter">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.h"
|
|
line="92">A function that can be used with e.g. gst_registry_feature_filter()
|
|
to get a list of pluginfeature that match certain criteria.</doc>
|
|
<source-position filename="gst/gstpluginfeature.h" line="103"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.h"
|
|
line="101">%TRUE for a positive match, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="feature" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.h"
|
|
line="94">the pluginfeature to check</doc>
|
|
<type name="PluginFeature" c:type="GstPluginFeature*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.h"
|
|
line="95">the user_data that has been passed on e.g.
|
|
gst_registry_feature_filter()</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="PluginFilter" c:type="GstPluginFilter">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="299">A function that can be used with e.g. gst_registry_plugin_filter()
|
|
to get a list of plugins that match certain criteria.</doc>
|
|
<source-position filename="gst/gstplugin.h" line="309"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="307">%TRUE for a positive match, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="plugin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="301">the plugin to check</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="302">the user_data that has been passed on e.g. gst_registry_plugin_filter()</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<bitfield name="PluginFlags"
|
|
glib:type-name="GstPluginFlags"
|
|
glib:get-type="gst_plugin_flags_get_type"
|
|
c:type="GstPluginFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="76">The plugin loading state</doc>
|
|
<member name="cached"
|
|
value="16"
|
|
c:identifier="GST_PLUGIN_FLAG_CACHED"
|
|
glib:nick="cached">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="78">Temporarily loaded plugins</doc>
|
|
</member>
|
|
<member name="blacklisted"
|
|
value="32"
|
|
c:identifier="GST_PLUGIN_FLAG_BLACKLISTED"
|
|
glib:nick="blacklisted">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="79">The plugin won't be scanned (again)</doc>
|
|
</member>
|
|
</bitfield>
|
|
<callback name="PluginInitFullFunc" c:type="GstPluginInitFullFunc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="130">A plugin should provide a pointer to a function of either #GstPluginInitFunc
|
|
or this type in the plugin_desc struct.
|
|
The function will be called by the loader at startup. One would then
|
|
register each #GstPluginFeature. This version allows
|
|
user data to be passed to init function (useful for bindings).</doc>
|
|
<source-position filename="gst/gstplugin.h" line="144"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="141">%TRUE if plugin initialised successfully</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="plugin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="132">The plugin object</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="133">extra data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="PluginInitFunc" c:type="GstPluginInitFunc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="116">A plugin should provide a pointer to a function of this type in the
|
|
plugin_desc struct.
|
|
This function will be called by the loader at startup. One would then
|
|
register each #GstPluginFeature.</doc>
|
|
<source-position filename="gst/gstplugin.h" line="128"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="125">%TRUE if plugin initialised successfully</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="plugin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="118">The plugin object</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<record name="Poll" c:type="GstPoll" disguised="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="24">A #GstPoll keeps track of file descriptors much like fd_set (used with
|
|
select ()) or a struct pollfd array (used with poll ()). Once created with
|
|
gst_poll_new(), the set can be used to wait for file descriptors to be
|
|
readable and/or writable. It is possible to make this wait be controlled
|
|
by specifying %TRUE for the @controllable flag when creating the set (or
|
|
later calling gst_poll_set_controllable()).
|
|
|
|
New file descriptors are added to the set using gst_poll_add_fd(), and
|
|
removed using gst_poll_remove_fd(). Controlling which file descriptors
|
|
should be waited for to become readable and/or writable are done using
|
|
gst_poll_fd_ctl_read(), gst_poll_fd_ctl_write() and gst_poll_fd_ctl_pri().
|
|
|
|
Use gst_poll_wait() to wait for the file descriptors to actually become
|
|
readable and/or writable, or to timeout if no file descriptor is available
|
|
in time. The wait can be controlled by calling gst_poll_restart() and
|
|
gst_poll_set_flushing().
|
|
|
|
Once the file descriptor set has been waited for, one can use
|
|
gst_poll_fd_has_closed() to see if the file descriptor has been closed,
|
|
gst_poll_fd_has_error() to see if it has generated an error,
|
|
gst_poll_fd_can_read() to see if it is possible to read from the file
|
|
descriptor, and gst_poll_fd_can_write() to see if it is possible to
|
|
write to it.</doc>
|
|
<source-position filename="gst/gstpoll.h" line="39"/>
|
|
<method name="add_fd" c:identifier="gst_poll_add_fd">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="885">Add a file descriptor to the file descriptor set.</doc>
|
|
<source-position filename="gst/gstpoll.h" line="80"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="892">%TRUE if the file descriptor was successfully added to the set.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="set" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="887">a file descriptor set.</doc>
|
|
<type name="Poll" c:type="GstPoll*"/>
|
|
</instance-parameter>
|
|
<parameter name="fd" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="888">a file descriptor.</doc>
|
|
<type name="PollFD" c:type="GstPollFD*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="fd_can_read" c:identifier="gst_poll_fd_can_read">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1271">Check if @fd in @set has data to be read.</doc>
|
|
<source-position filename="gst/gstpoll.h" line="104"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1278">%TRUE if the descriptor has data to be read.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="set" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1273">a file descriptor set.</doc>
|
|
<type name="Poll" c:type="const GstPoll*"/>
|
|
</instance-parameter>
|
|
<parameter name="fd" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1274">a file descriptor.</doc>
|
|
<type name="PollFD" c:type="GstPollFD*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="fd_can_write" c:identifier="gst_poll_fd_can_write">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1298">Check if @fd in @set can be used for writing.</doc>
|
|
<source-position filename="gst/gstpoll.h" line="107"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1305">%TRUE if the descriptor can be used for writing.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="set" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1300">a file descriptor set.</doc>
|
|
<type name="Poll" c:type="const GstPoll*"/>
|
|
</instance-parameter>
|
|
<parameter name="fd" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1301">a file descriptor.</doc>
|
|
<type name="PollFD" c:type="GstPollFD*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="fd_ctl_pri"
|
|
c:identifier="gst_poll_fd_ctl_pri"
|
|
version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1067">Control whether the descriptor @fd in @set will be monitored for
|
|
exceptional conditions (POLLPRI).
|
|
|
|
Not implemented on Windows (will just return %FALSE there).</doc>
|
|
<source-position filename="gst/gstpoll.h" line="92"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1078">%TRUE if the descriptor was successfully updated.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="set" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1069">a file descriptor set.</doc>
|
|
<type name="Poll" c:type="GstPoll*"/>
|
|
</instance-parameter>
|
|
<parameter name="fd" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1070">a file descriptor.</doc>
|
|
<type name="PollFD" c:type="GstPollFD*"/>
|
|
</parameter>
|
|
<parameter name="active" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1071">a new status.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="fd_ctl_read" c:identifier="gst_poll_fd_ctl_read">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1038">Control whether the descriptor @fd in @set will be monitored for
|
|
readability.</doc>
|
|
<source-position filename="gst/gstpoll.h" line="89"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1047">%TRUE if the descriptor was successfully updated.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="set" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1040">a file descriptor set.</doc>
|
|
<type name="Poll" c:type="GstPoll*"/>
|
|
</instance-parameter>
|
|
<parameter name="fd" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1041">a file descriptor.</doc>
|
|
<type name="PollFD" c:type="GstPollFD*"/>
|
|
</parameter>
|
|
<parameter name="active" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1042">a new status.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="fd_ctl_write" c:identifier="gst_poll_fd_ctl_write">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="959">Control whether the descriptor @fd in @set will be monitored for
|
|
writability.</doc>
|
|
<source-position filename="gst/gstpoll.h" line="86"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="968">%TRUE if the descriptor was successfully updated.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="set" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="961">a file descriptor set.</doc>
|
|
<type name="Poll" c:type="GstPoll*"/>
|
|
</instance-parameter>
|
|
<parameter name="fd" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="962">a file descriptor.</doc>
|
|
<type name="PollFD" c:type="GstPollFD*"/>
|
|
</parameter>
|
|
<parameter name="active" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="963">a new status.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="fd_has_closed" c:identifier="gst_poll_fd_has_closed">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1158">Check if @fd in @set has closed the connection.</doc>
|
|
<source-position filename="gst/gstpoll.h" line="98"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1165">%TRUE if the connection was closed.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="set" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1160">a file descriptor set.</doc>
|
|
<type name="Poll" c:type="const GstPoll*"/>
|
|
</instance-parameter>
|
|
<parameter name="fd" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1161">a file descriptor.</doc>
|
|
<type name="PollFD" c:type="GstPollFD*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="fd_has_error" c:identifier="gst_poll_fd_has_error">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1200">Check if @fd in @set has an error.</doc>
|
|
<source-position filename="gst/gstpoll.h" line="101"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1207">%TRUE if the descriptor has an error.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="set" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1202">a file descriptor set.</doc>
|
|
<type name="Poll" c:type="const GstPoll*"/>
|
|
</instance-parameter>
|
|
<parameter name="fd" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1203">a file descriptor.</doc>
|
|
<type name="PollFD" c:type="GstPollFD*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="fd_has_pri"
|
|
c:identifier="gst_poll_fd_has_pri"
|
|
version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1340">Check if @fd in @set has an exceptional condition (POLLPRI).
|
|
|
|
Not implemented on Windows (will just return %FALSE there).</doc>
|
|
<source-position filename="gst/gstpoll.h" line="110"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1349">%TRUE if the descriptor has an exceptional condition.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="set" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1342">a file descriptor set.</doc>
|
|
<type name="Poll" c:type="const GstPoll*"/>
|
|
</instance-parameter>
|
|
<parameter name="fd" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1343">a file descriptor.</doc>
|
|
<type name="PollFD" c:type="GstPollFD*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="fd_ignored" c:identifier="gst_poll_fd_ignored">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1120">Mark @fd as ignored so that the next call to gst_poll_wait() will yield
|
|
the same result for @fd as last time. This function must be called if no
|
|
operation (read/write/recv/send/etc.) will be performed on @fd before
|
|
the next call to gst_poll_wait().
|
|
|
|
The reason why this is needed is because the underlying implementation
|
|
might not allow querying the fd more than once between calls to one of
|
|
the re-enabling operations.</doc>
|
|
<source-position filename="gst/gstpoll.h" line="95"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="set" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1122">a file descriptor set.</doc>
|
|
<type name="Poll" c:type="GstPoll*"/>
|
|
</instance-parameter>
|
|
<parameter name="fd" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1123">a file descriptor.</doc>
|
|
<type name="PollFD" c:type="GstPollFD*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="free" c:identifier="gst_poll_free">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="761">Free a file descriptor set.</doc>
|
|
<source-position filename="gst/gstpoll.h" line="71"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="set" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="763">a file descriptor set.</doc>
|
|
<type name="Poll" c:type="GstPoll*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_read_gpollfd" c:identifier="gst_poll_get_read_gpollfd">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="800">Get a GPollFD for the reading part of the control socket. This is useful when
|
|
integrating with a GSource and GMainLoop.</doc>
|
|
<source-position filename="gst/gstpoll.h" line="74"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="set" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="802">a #GstPoll</doc>
|
|
<type name="Poll" c:type="GstPoll*"/>
|
|
</instance-parameter>
|
|
<parameter name="fd" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="803">a #GPollFD</doc>
|
|
<type name="GLib.PollFD" c:type="GPollFD*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="read_control" c:identifier="gst_poll_read_control">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1764">Read a byte from the control socket of the controllable @set.
|
|
|
|
This function only works for timer #GstPoll objects created with
|
|
gst_poll_new_timer().</doc>
|
|
<source-position filename="gst/gstpoll.h" line="128"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1773">%TRUE on success. %FALSE when when there was no byte to read or
|
|
reading the byte failed. If there was no byte to read, and only then, errno
|
|
will contain EWOULDBLOCK or EAGAIN. For all other values of errno this always signals a
|
|
critical error.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="set" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1766">a #GstPoll.</doc>
|
|
<type name="Poll" c:type="GstPoll*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_fd" c:identifier="gst_poll_remove_fd">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="912">Remove a file descriptor from the file descriptor set.</doc>
|
|
<source-position filename="gst/gstpoll.h" line="83"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="919">%TRUE if the file descriptor was successfully removed from the set.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="set" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="914">a file descriptor set.</doc>
|
|
<type name="Poll" c:type="GstPoll*"/>
|
|
</instance-parameter>
|
|
<parameter name="fd" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="915">a file descriptor.</doc>
|
|
<type name="PollFD" c:type="GstPollFD*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="restart" c:identifier="gst_poll_restart">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1674">Restart any gst_poll_wait() that is in progress. This function is typically
|
|
used after adding or removing descriptors to @set.
|
|
|
|
If @set is not controllable, then this call will have no effect.
|
|
|
|
This function only works for non-timer #GstPoll objects created with
|
|
gst_poll_new().</doc>
|
|
<source-position filename="gst/gstpoll.h" line="119"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="set" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1676">a #GstPoll.</doc>
|
|
<type name="Poll" c:type="GstPoll*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_controllable" c:identifier="gst_poll_set_controllable">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1647">When @controllable is %TRUE, this function ensures that future calls to
|
|
gst_poll_wait() will be affected by gst_poll_restart() and
|
|
gst_poll_set_flushing().
|
|
|
|
This function only works for non-timer #GstPoll objects created with
|
|
gst_poll_new().</doc>
|
|
<source-position filename="gst/gstpoll.h" line="116"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1659">%TRUE if the controllability of @set could be updated.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="set" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1649">a #GstPoll.</doc>
|
|
<type name="Poll" c:type="GstPoll*"/>
|
|
</instance-parameter>
|
|
<parameter name="controllable" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1650">new controllable state.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_flushing" c:identifier="gst_poll_set_flushing">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1699">When @flushing is %TRUE, this function ensures that current and future calls
|
|
to gst_poll_wait() will return -1, with errno set to EBUSY.
|
|
|
|
Unsetting the flushing state will restore normal operation of @set.
|
|
|
|
This function only works for non-timer #GstPoll objects created with
|
|
gst_poll_new().</doc>
|
|
<source-position filename="gst/gstpoll.h" line="122"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="set" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1701">a #GstPoll.</doc>
|
|
<type name="Poll" c:type="GstPoll*"/>
|
|
</instance-parameter>
|
|
<parameter name="flushing" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1702">new flushing state.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="wait" c:identifier="gst_poll_wait">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1384">Wait for activity on the file descriptors in @set. This function waits up to
|
|
the specified @timeout. A timeout of #GST_CLOCK_TIME_NONE waits forever.
|
|
|
|
For #GstPoll objects created with gst_poll_new(), this function can only be
|
|
called from a single thread at a time. If called from multiple threads,
|
|
-1 will be returned with errno set to EPERM.
|
|
|
|
This is not true for timer #GstPoll objects created with
|
|
gst_poll_new_timer(), where it is allowed to have multiple threads waiting
|
|
simultaneously.</doc>
|
|
<source-position filename="gst/gstpoll.h" line="113"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1400">The number of #GstPollFD in @set that have activity or 0 when no
|
|
activity was detected after @timeout. If an error occurs, -1 is returned
|
|
and errno is set.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="set" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1386">a #GstPoll.</doc>
|
|
<type name="Poll" c:type="GstPoll*"/>
|
|
</instance-parameter>
|
|
<parameter name="timeout" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1387">a timeout in nanoseconds.</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="write_control" c:identifier="gst_poll_write_control">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1731">Write a byte to the control socket of the controllable @set.
|
|
This function is mostly useful for timer #GstPoll objects created with
|
|
gst_poll_new_timer().
|
|
|
|
It will make any current and future gst_poll_wait() function return with
|
|
1, meaning the control socket is set. After an equal amount of calls to
|
|
gst_poll_read_control() have been performed, calls to gst_poll_wait() will
|
|
block again until their timeout expired.
|
|
|
|
This function only works for timer #GstPoll objects created with
|
|
gst_poll_new_timer().</doc>
|
|
<source-position filename="gst/gstpoll.h" line="125"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1747">%TRUE on success. %FALSE when when the byte could not be written.
|
|
errno contains the detailed error code but will never be EAGAIN, EINTR or
|
|
EWOULDBLOCK. %FALSE always signals a critical error.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="set" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="1733">a #GstPoll.</doc>
|
|
<type name="Poll" c:type="GstPoll*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<function name="new" c:identifier="gst_poll_new" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="662">Create a new file descriptor set. If @controllable, it
|
|
is possible to restart or flush a call to gst_poll_wait() with
|
|
gst_poll_restart() and gst_poll_set_flushing() respectively.
|
|
|
|
Free-function: gst_poll_free</doc>
|
|
<source-position filename="gst/gstpoll.h" line="65"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="672">a new #GstPoll, or %NULL in
|
|
case of an error. Free with gst_poll_free().</doc>
|
|
<type name="Poll" c:type="GstPoll*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="controllable" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="664">whether it should be possible to control a wait.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="new_timer"
|
|
c:identifier="gst_poll_new_timer"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="731">Create a new poll object that can be used for scheduling cancellable
|
|
timeouts.
|
|
|
|
A timeout is performed with gst_poll_wait(). Multiple timeouts can be
|
|
performed from different threads.
|
|
|
|
Free-function: gst_poll_free</doc>
|
|
<source-position filename="gst/gstpoll.h" line="68"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="742">a new #GstPoll, or %NULL in
|
|
case of an error. Free with gst_poll_free().</doc>
|
|
<type name="Poll" c:type="GstPoll*"/>
|
|
</return-value>
|
|
</function>
|
|
</record>
|
|
<record name="PollFD" c:type="GstPollFD">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.h"
|
|
line="41">A file descriptor object.</doc>
|
|
<source-position filename="gst/gstpoll.h" line="52"/>
|
|
<field name="fd" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.h"
|
|
line="43">a file descriptor</doc>
|
|
<type name="gint" c:type="int"/>
|
|
</field>
|
|
<field name="idx" readable="0" private="1">
|
|
<type name="gint" c:type="gint"/>
|
|
</field>
|
|
<method name="init" c:identifier="gst_poll_fd_init">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="827">Initializes @fd. Alternatively you can initialize it with
|
|
#GST_POLL_FD_INIT.</doc>
|
|
<source-position filename="gst/gstpoll.h" line="77"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="fd" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="829">a #GstPollFD</doc>
|
|
<type name="PollFD" c:type="GstPollFD*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<interface name="Preset"
|
|
c:symbol-prefix="preset"
|
|
c:type="GstPreset"
|
|
glib:type-name="GstPreset"
|
|
glib:get-type="gst_preset_get_type"
|
|
glib:type-struct="PresetInterface">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="21">This interface offers methods to query and manipulate parameter preset sets.
|
|
A preset is a bunch of property settings, together with meta data and a name.
|
|
The name of a preset serves as key for subsequent method calls to manipulate
|
|
single presets.
|
|
All instances of one type will share the list of presets. The list is created
|
|
on demand, if presets are not used, the list is not created.
|
|
|
|
The interface comes with a default implementation that serves most plugins.
|
|
Wrapper plugins will override most methods to implement support for the
|
|
native preset format of those wrapped plugins.
|
|
One method that is useful to be overridden is gst_preset_get_property_names().
|
|
With that one can control which properties are saved and in which order.
|
|
When implementing support for read-only presets, one should set the vmethods
|
|
for gst_preset_save_preset() and gst_preset_delete_preset() to %NULL.
|
|
Applications can use gst_preset_is_editable() to check for that.
|
|
|
|
The default implementation supports presets located in a system directory,
|
|
application specific directory and in the users home directory. When getting
|
|
a list of presets individual presets are read and overlaid in 1) system,
|
|
2) application and 3) user order. Whenever an earlier entry is newer, the
|
|
later entries will be updated. Since 1.8 you can also provide extra paths
|
|
where to find presets through the GST_PRESET_PATH environment variable.
|
|
Presets found in those paths will be considered as "app presets".</doc>
|
|
<source-position filename="gst/gstpreset.h" line="78"/>
|
|
<function name="get_app_dir" c:identifier="gst_preset_get_app_dir">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1234">Gets the directory for application specific presets if set by the
|
|
application.</doc>
|
|
<source-position filename="gst/gstpreset.h" line="111"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1240">the directory or %NULL, don't free or modify
|
|
the string</doc>
|
|
<type name="filename" c:type="const gchar*"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="set_app_dir" c:identifier="gst_preset_set_app_dir">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1212">Sets an extra directory as an absolute path that should be considered when
|
|
looking for presets. Any presets in the application dir will shadow the
|
|
system presets.</doc>
|
|
<source-position filename="gst/gstpreset.h" line="108"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1220">%TRUE for success, %FALSE if the dir already has been set</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="app_dir" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1214">the application specific preset dir</doc>
|
|
<type name="filename" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<virtual-method name="delete_preset" invoker="delete_preset">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1145">Delete the given preset.</doc>
|
|
<source-position filename="gst/gstpreset.h" line="70"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1152">%TRUE for success, %FALSE if e.g. there is no preset with that @name</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1147">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1148">preset name to remove</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="get_meta" invoker="get_meta">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1187">Gets the @value for an existing meta data @tag. Meta data @tag names can be
|
|
something like e.g. "comment". Returned values need to be released when done.</doc>
|
|
<source-position filename="gst/gstpreset.h" line="74"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1197">%TRUE for success, %FALSE if e.g. there is no preset with that @name
|
|
or no value for the given @tag</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1189">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1190">preset name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1191">meta data item name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1192">value</doc>
|
|
<type name="utf8" c:type="gchar**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="get_preset_names" invoker="get_preset_names">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1051">Get a copy of preset names as a %NULL terminated string array.</doc>
|
|
<source-position filename="gst/gstpreset.h" line="62"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1057">
|
|
list with names, use g_strfreev() after usage.</doc>
|
|
<array c:type="gchar**">
|
|
<type name="utf8"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1053">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="get_property_names" invoker="get_property_names">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1068">Get a the names of the GObject properties that can be used for presets.</doc>
|
|
<source-position filename="gst/gstpreset.h" line="64"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1074">an
|
|
array of property names which should be freed with g_strfreev() after use.</doc>
|
|
<array c:type="gchar**">
|
|
<type name="utf8"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1070">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="load_preset" invoker="load_preset">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1085">Load the given preset.</doc>
|
|
<source-position filename="gst/gstpreset.h" line="66"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1092">%TRUE for success, %FALSE if e.g. there is no preset with that @name</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1087">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1088">preset name to load</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="rename_preset" invoker="rename_preset">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1122">Renames a preset. If there is already a preset by the @new_name it will be
|
|
overwritten.</doc>
|
|
<source-position filename="gst/gstpreset.h" line="68"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1131">%TRUE for success, %FALSE if e.g. there is no preset with @old_name</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1124">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</instance-parameter>
|
|
<parameter name="old_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1125">current preset name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="new_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1126">new preset name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="save_preset" invoker="save_preset">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1103">Save the current object settings as a preset under the given name. If there
|
|
is already a preset by this @name it will be overwritten.</doc>
|
|
<source-position filename="gst/gstpreset.h" line="67"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1111">%TRUE for success, %FALSE</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1105">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1106">preset name to save</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="set_meta" invoker="set_meta">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1163">Sets a new @value for an existing meta data item or adds a new item. Meta
|
|
data @tag names can be something like e.g. "comment". Supplying %NULL for the
|
|
@value will unset an existing value.</doc>
|
|
<source-position filename="gst/gstpreset.h" line="72"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1174">%TRUE for success, %FALSE if e.g. there is no preset with that @name</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1165">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1166">preset name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1167">meta data item name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1168">new value</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="delete_preset" c:identifier="gst_preset_delete_preset">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1145">Delete the given preset.</doc>
|
|
<source-position filename="gst/gstpreset.h" line="99"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1152">%TRUE for success, %FALSE if e.g. there is no preset with that @name</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1147">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1148">preset name to remove</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_meta" c:identifier="gst_preset_get_meta">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1187">Gets the @value for an existing meta data @tag. Meta data @tag names can be
|
|
something like e.g. "comment". Returned values need to be released when done.</doc>
|
|
<source-position filename="gst/gstpreset.h" line="105"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1197">%TRUE for success, %FALSE if e.g. there is no preset with that @name
|
|
or no value for the given @tag</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1189">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1190">preset name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1191">meta data item name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1192">value</doc>
|
|
<type name="utf8" c:type="gchar**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_preset_names"
|
|
c:identifier="gst_preset_get_preset_names">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1051">Get a copy of preset names as a %NULL terminated string array.</doc>
|
|
<source-position filename="gst/gstpreset.h" line="84"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1057">
|
|
list with names, use g_strfreev() after usage.</doc>
|
|
<array c:type="gchar**">
|
|
<type name="utf8"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1053">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_property_names"
|
|
c:identifier="gst_preset_get_property_names">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1068">Get a the names of the GObject properties that can be used for presets.</doc>
|
|
<source-position filename="gst/gstpreset.h" line="87"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1074">an
|
|
array of property names which should be freed with g_strfreev() after use.</doc>
|
|
<array c:type="gchar**">
|
|
<type name="utf8"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1070">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_editable"
|
|
c:identifier="gst_preset_is_editable"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1249">Check if one can add new presets, change existing ones and remove presets.</doc>
|
|
<source-position filename="gst/gstpreset.h" line="114"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1255">%TRUE if presets are editable or %FALSE if they are static</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1251">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="load_preset" c:identifier="gst_preset_load_preset">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1085">Load the given preset.</doc>
|
|
<source-position filename="gst/gstpreset.h" line="90"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1092">%TRUE for success, %FALSE if e.g. there is no preset with that @name</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1087">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1088">preset name to load</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="rename_preset" c:identifier="gst_preset_rename_preset">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1122">Renames a preset. If there is already a preset by the @new_name it will be
|
|
overwritten.</doc>
|
|
<source-position filename="gst/gstpreset.h" line="96"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1131">%TRUE for success, %FALSE if e.g. there is no preset with @old_name</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1124">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</instance-parameter>
|
|
<parameter name="old_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1125">current preset name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="new_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1126">new preset name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="save_preset" c:identifier="gst_preset_save_preset">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1103">Save the current object settings as a preset under the given name. If there
|
|
is already a preset by this @name it will be overwritten.</doc>
|
|
<source-position filename="gst/gstpreset.h" line="93"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1111">%TRUE for success, %FALSE</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1105">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1106">preset name to save</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_meta" c:identifier="gst_preset_set_meta">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1163">Sets a new @value for an existing meta data item or adds a new item. Meta
|
|
data @tag names can be something like e.g. "comment". Supplying %NULL for the
|
|
@value will unset an existing value.</doc>
|
|
<source-position filename="gst/gstpreset.h" line="102"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1174">%TRUE for success, %FALSE if e.g. there is no preset with that @name</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1165">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1166">preset name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1167">meta data item name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1168">new value</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
</interface>
|
|
<record name="PresetInterface"
|
|
c:type="GstPresetInterface"
|
|
glib:is-gtype-struct-for="Preset">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.h"
|
|
line="43">#GstPreset interface.</doc>
|
|
<source-position filename="gst/gstpreset.h" line="78"/>
|
|
<field name="parent">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.h"
|
|
line="45">parent interface type.</doc>
|
|
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
|
|
</field>
|
|
<field name="get_preset_names">
|
|
<callback name="get_preset_names">
|
|
<source-position filename="gst/gstpreset.h" line="62"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1057">
|
|
list with names, use g_strfreev() after usage.</doc>
|
|
<array c:type="gchar**">
|
|
<type name="utf8"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1053">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="get_property_names">
|
|
<callback name="get_property_names">
|
|
<source-position filename="gst/gstpreset.h" line="64"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1074">an
|
|
array of property names which should be freed with g_strfreev() after use.</doc>
|
|
<array c:type="gchar**">
|
|
<type name="utf8"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1070">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="load_preset">
|
|
<callback name="load_preset">
|
|
<source-position filename="gst/gstpreset.h" line="66"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1092">%TRUE for success, %FALSE if e.g. there is no preset with that @name</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1087">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1088">preset name to load</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="save_preset">
|
|
<callback name="save_preset">
|
|
<source-position filename="gst/gstpreset.h" line="67"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1111">%TRUE for success, %FALSE</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1105">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1106">preset name to save</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="rename_preset">
|
|
<callback name="rename_preset">
|
|
<source-position filename="gst/gstpreset.h" line="68"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1131">%TRUE for success, %FALSE if e.g. there is no preset with @old_name</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1124">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</parameter>
|
|
<parameter name="old_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1125">current preset name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="new_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1126">new preset name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="delete_preset">
|
|
<callback name="delete_preset">
|
|
<source-position filename="gst/gstpreset.h" line="70"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1152">%TRUE for success, %FALSE if e.g. there is no preset with that @name</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1147">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1148">preset name to remove</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="set_meta">
|
|
<callback name="set_meta">
|
|
<source-position filename="gst/gstpreset.h" line="72"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1174">%TRUE for success, %FALSE if e.g. there is no preset with that @name</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1165">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1166">preset name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1167">meta data item name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1168">new value</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="get_meta">
|
|
<callback name="get_meta">
|
|
<source-position filename="gst/gstpreset.h" line="74"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1197">%TRUE for success, %FALSE if e.g. there is no preset with that @name
|
|
or no value for the given @tag</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="preset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1189">a #GObject that implements #GstPreset</doc>
|
|
<type name="Preset" c:type="GstPreset*"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1190">preset name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1191">meta data item name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1192">value</doc>
|
|
<type name="utf8" c:type="gchar**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<enumeration name="ProgressType"
|
|
glib:type-name="GstProgressType"
|
|
glib:get-type="gst_progress_type_get_type"
|
|
c:type="GstProgressType">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="307">The type of a %GST_MESSAGE_PROGRESS. The progress messages inform the
|
|
application of the status of asynchronous tasks.</doc>
|
|
<member name="start"
|
|
value="0"
|
|
c:identifier="GST_PROGRESS_TYPE_START"
|
|
glib:nick="start">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="309">A new task started.</doc>
|
|
</member>
|
|
<member name="continue"
|
|
value="1"
|
|
c:identifier="GST_PROGRESS_TYPE_CONTINUE"
|
|
glib:nick="continue">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="310">A task completed and a new one continues.</doc>
|
|
</member>
|
|
<member name="complete"
|
|
value="2"
|
|
c:identifier="GST_PROGRESS_TYPE_COMPLETE"
|
|
glib:nick="complete">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="311">A task completed.</doc>
|
|
</member>
|
|
<member name="canceled"
|
|
value="3"
|
|
c:identifier="GST_PROGRESS_TYPE_CANCELED"
|
|
glib:nick="canceled">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="312">A task was canceled.</doc>
|
|
</member>
|
|
<member name="error"
|
|
value="4"
|
|
c:identifier="GST_PROGRESS_TYPE_ERROR"
|
|
glib:nick="error">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="313">A task caused an error. An error message is also
|
|
posted on the bus.</doc>
|
|
</member>
|
|
</enumeration>
|
|
<record name="Promise"
|
|
c:type="GstPromise"
|
|
version="1.14"
|
|
glib:type-name="GstPromise"
|
|
glib:get-type="gst_promise_get_type"
|
|
c:symbol-prefix="promise">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.c"
|
|
line="31">The #GstPromise object implements the container for values that may
|
|
be available later. i.e. a Future or a Promise in
|
|
<https://en.wikipedia.org/wiki/Futures_and_promises>.
|
|
As with all Future/Promise-like functionality, there is the concept of the
|
|
producer of the value and the consumer of the value.
|
|
|
|
A #GstPromise is created with gst_promise_new() by the consumer and passed
|
|
to the producer to avoid thread safety issues with the change callback.
|
|
A #GstPromise can be replied to with a value (or an error) by the producer
|
|
with gst_promise_reply(). The exact value returned is defined by the API
|
|
contract of the producer and %NULL may be a valid reply.
|
|
gst_promise_interrupt() is for the consumer to
|
|
indicate to the producer that the value is not needed anymore and producing
|
|
that value can stop. The @GST_PROMISE_RESULT_EXPIRED state set by a call
|
|
to gst_promise_expire() indicates to the consumer that a value will never
|
|
be produced and is intended to be called by a third party that implements
|
|
some notion of message handling such as #GstBus.
|
|
A callback can also be installed at #GstPromise creation for
|
|
result changes with gst_promise_new_with_change_func().
|
|
The change callback can be used to chain #GstPromises's together as in the
|
|
following example.
|
|
|[<!-- language="C" -->
|
|
const GstStructure *reply;
|
|
GstPromise *p;
|
|
if (gst_promise_wait (promise) != GST_PROMISE_RESULT_REPLIED)
|
|
return; // interrupted or expired value
|
|
reply = gst_promise_get_reply (promise);
|
|
if (error in reply)
|
|
return; // propagate error
|
|
p = gst_promise_new_with_change_func (another_promise_change_func, user_data, notify);
|
|
pass p to promise-using API
|
|
]|
|
|
|
|
Each #GstPromise starts out with a #GstPromiseResult of
|
|
%GST_PROMISE_RESULT_PENDING and only ever transitions once
|
|
into one of the other #GstPromiseResult's.
|
|
|
|
In order to support multi-threaded code, gst_promise_reply(),
|
|
gst_promise_interrupt() and gst_promise_expire() may all be from
|
|
different threads with some restrictions and the final result of the promise
|
|
is whichever call is made first. There are two restrictions on ordering:
|
|
|
|
1. That gst_promise_reply() and gst_promise_interrupt() cannot be called
|
|
after gst_promise_expire()
|
|
2. That gst_promise_reply() and gst_promise_interrupt()
|
|
cannot be called twice.
|
|
|
|
The change function set with gst_promise_new_with_change_func() is
|
|
called directly from either the gst_promise_reply(),
|
|
gst_promise_interrupt() or gst_promise_expire() and can be called
|
|
from an arbitrary thread. #GstPromise using APIs can restrict this to
|
|
a single thread or a subset of threads but that is entirely up to the API
|
|
that uses #GstPromise.</doc>
|
|
<source-position filename="gst/gstpromise.h" line="74"/>
|
|
<field name="parent" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.h"
|
|
line="67">parent #GstMiniObject</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject"/>
|
|
</field>
|
|
<constructor name="new" c:identifier="gst_promise_new" version="1.14">
|
|
<source-position filename="gst/gstpromise.h" line="77"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.c"
|
|
line="368">a new #GstPromise</doc>
|
|
<type name="Promise" c:type="GstPromise*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<constructor name="new_with_change_func"
|
|
c:identifier="gst_promise_new_with_change_func"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.c"
|
|
line="383">@func will be called exactly once when transitioning out of
|
|
%GST_PROMISE_RESULT_PENDING into any of the other #GstPromiseResult
|
|
states.</doc>
|
|
<source-position filename="gst/gstpromise.h" line="79"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.c"
|
|
line="393">a new #GstPromise</doc>
|
|
<type name="Promise" c:type="GstPromise*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="notified"
|
|
closure="1"
|
|
destroy="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.c"
|
|
line="385">a #GstPromiseChangeFunc to call</doc>
|
|
<type name="PromiseChangeFunc" c:type="GstPromiseChangeFunc"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.c"
|
|
line="386">argument to call @func with</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="notify" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.c"
|
|
line="387">notification function that @user_data is no longer needed</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<method name="expire" c:identifier="gst_promise_expire" version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.c"
|
|
line="285">Expire a @promise. This will wake up any waiters with
|
|
%GST_PROMISE_RESULT_EXPIRED. Called by a message loop when the parent
|
|
message is handled and/or destroyed (possibly unanswered).</doc>
|
|
<source-position filename="gst/gstpromise.h" line="91"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="promise" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.c"
|
|
line="287">a #GstPromise</doc>
|
|
<type name="Promise" c:type="GstPromise*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_reply"
|
|
c:identifier="gst_promise_get_reply"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.c"
|
|
line="216">Retrieve the reply set on @promise. @promise must be in
|
|
%GST_PROMISE_RESULT_REPLIED and the returned structure is owned by @promise</doc>
|
|
<source-position filename="gst/gstpromise.h" line="94"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.c"
|
|
line="223">The reply set on @promise</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="promise" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.c"
|
|
line="218">a #GstPromise</doc>
|
|
<type name="Promise" c:type="GstPromise*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="interrupt"
|
|
c:identifier="gst_promise_interrupt"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.c"
|
|
line="244">Interrupt waiting for a @promise. This will wake up any waiters with
|
|
%GST_PROMISE_RESULT_INTERRUPTED. Called when the consumer does not want
|
|
the value produced anymore.</doc>
|
|
<source-position filename="gst/gstpromise.h" line="89"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="promise" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.c"
|
|
line="246">a #GstPromise</doc>
|
|
<type name="Promise" c:type="GstPromise*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="reply" c:identifier="gst_promise_reply" version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.c"
|
|
line="149">Set a reply on @promise. This will wake up any waiters with
|
|
%GST_PROMISE_RESULT_REPLIED. Called by the producer of the value to
|
|
indicate success (or failure).
|
|
|
|
If @promise has already been interrupted by the consumer, then this reply
|
|
is not visible to the consumer.</doc>
|
|
<source-position filename="gst/gstpromise.h" line="86"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="promise"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.c"
|
|
line="151">a #GstPromise</doc>
|
|
<type name="Promise" c:type="GstPromise*"/>
|
|
</instance-parameter>
|
|
<parameter name="s"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.c"
|
|
line="152">a #GstStructure with the the reply contents</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="wait" c:identifier="gst_promise_wait" version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.c"
|
|
line="115">Wait for @promise to move out of the %GST_PROMISE_RESULT_PENDING state.
|
|
If @promise is not in %GST_PROMISE_RESULT_PENDING then it will return
|
|
immediately with the current result.</doc>
|
|
<source-position filename="gst/gstpromise.h" line="84"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.c"
|
|
line="123">the result of the promise</doc>
|
|
<type name="PromiseResult" c:type="GstPromiseResult"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="promise" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.c"
|
|
line="117">a #GstPromise</doc>
|
|
<type name="Promise" c:type="GstPromise*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<callback name="PromiseChangeFunc"
|
|
c:type="GstPromiseChangeFunc"
|
|
version="1.14">
|
|
<source-position filename="gst/gstpromise.h" line="63"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="promise" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.h"
|
|
line="58">a #GstPromise</doc>
|
|
<type name="Promise" c:type="GstPromise*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.h"
|
|
line="59">user data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<enumeration name="PromiseResult"
|
|
version="1.14"
|
|
glib:type-name="GstPromiseResult"
|
|
glib:get-type="gst_promise_result_get_type"
|
|
c:type="GstPromiseResult">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.h"
|
|
line="34">The result of a #GstPromise</doc>
|
|
<member name="pending"
|
|
value="0"
|
|
c:identifier="GST_PROMISE_RESULT_PENDING"
|
|
glib:nick="pending">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.h"
|
|
line="36">Initial state. Waiting for transition to any
|
|
other state.</doc>
|
|
</member>
|
|
<member name="interrupted"
|
|
value="1"
|
|
c:identifier="GST_PROMISE_RESULT_INTERRUPTED"
|
|
glib:nick="interrupted">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.h"
|
|
line="38">Interrupted by the consumer as it doesn't
|
|
want the value anymore.</doc>
|
|
</member>
|
|
<member name="replied"
|
|
value="2"
|
|
c:identifier="GST_PROMISE_RESULT_REPLIED"
|
|
glib:nick="replied">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.h"
|
|
line="40">A producer marked a reply</doc>
|
|
</member>
|
|
<member name="expired"
|
|
value="3"
|
|
c:identifier="GST_PROMISE_RESULT_EXPIRED"
|
|
glib:nick="expired">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpromise.h"
|
|
line="41">The promise expired (the carrying object
|
|
lost all refs) and the promise will never be fulfilled.</doc>
|
|
</member>
|
|
</enumeration>
|
|
<record name="ProtectionMeta" c:type="GstProtectionMeta" version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstprotection.h"
|
|
line="56">Metadata type that holds information about a sample from a protection-protected
|
|
track, including the information needed to decrypt it (if it is encrypted).</doc>
|
|
<source-position filename="gst/gstprotection.h" line="71"/>
|
|
<field name="meta" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstprotection.h"
|
|
line="58">the parent #GstMeta.</doc>
|
|
<type name="Meta" c:type="GstMeta"/>
|
|
</field>
|
|
<field name="info" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstprotection.h"
|
|
line="59">the cryptographic information needed to decrypt the sample.</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</field>
|
|
<function name="get_info" c:identifier="gst_protection_meta_get_info">
|
|
<source-position filename="gst/gstprotection.h" line="87"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="MetaInfo" c:type="const GstMetaInfo*"/>
|
|
</return-value>
|
|
</function>
|
|
</record>
|
|
<class name="ProxyPad"
|
|
c:symbol-prefix="proxy_pad"
|
|
c:type="GstProxyPad"
|
|
parent="Pad"
|
|
glib:type-name="GstProxyPad"
|
|
glib:get-type="gst_proxy_pad_get_type"
|
|
glib:type-struct="ProxyPadClass">
|
|
<source-position filename="gst/gstghostpad.h" line="58"/>
|
|
<function name="chain_default"
|
|
c:identifier="gst_proxy_pad_chain_default">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="105">Invoke the default chain function of the proxy pad.</doc>
|
|
<source-position filename="gst/gstghostpad.h" line="71"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="114">a #GstFlowReturn from the pad.</doc>
|
|
<type name="FlowReturn" c:type="GstFlowReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="107">a sink #GstPad, returns GST_FLOW_ERROR if not.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="parent"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="108">the parent of @pad or %NULL</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="buffer" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="109">the #GstBuffer to send, return GST_FLOW_ERROR
|
|
if not.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="chain_list_default"
|
|
c:identifier="gst_proxy_pad_chain_list_default">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="133">Invoke the default chain list function of the proxy pad.</doc>
|
|
<source-position filename="gst/gstghostpad.h" line="74"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="142">a #GstFlowReturn from the pad.</doc>
|
|
<type name="FlowReturn" c:type="GstFlowReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="135">a sink #GstPad, returns GST_FLOW_ERROR if not.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="parent"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="136">the parent of @pad or %NULL</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="list" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="137">the #GstBufferList to send, return GST_FLOW_ERROR
|
|
if not.</doc>
|
|
<type name="BufferList" c:type="GstBufferList*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="getrange_default"
|
|
c:identifier="gst_proxy_pad_getrange_default">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="161">Invoke the default getrange function of the proxy pad.</doc>
|
|
<source-position filename="gst/gstghostpad.h" line="77"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="172">a #GstFlowReturn from the pad.</doc>
|
|
<type name="FlowReturn" c:type="GstFlowReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="163">a src #GstPad, returns #GST_FLOW_ERROR if not.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="164">the parent of @pad</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="165">The start offset of the buffer</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="166">The length of the buffer</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="buffer"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="167">a pointer to hold the #GstBuffer,
|
|
returns #GST_FLOW_ERROR if %NULL.</doc>
|
|
<type name="Buffer" c:type="GstBuffer**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="iterate_internal_links_default"
|
|
c:identifier="gst_proxy_pad_iterate_internal_links_default">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="76">Invoke the default iterate internal links function of the proxy pad.</doc>
|
|
<source-position filename="gst/gstghostpad.h" line="68"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="83">a #GstIterator of #GstPad, or %NULL if @pad
|
|
has no parent. Unref each returned pad with gst_object_unref().</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="78">the #GstPad to get the internal links of.</doc>
|
|
<type name="Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
<parameter name="parent"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="79">the parent of @pad or %NULL</doc>
|
|
<type name="Object" c:type="GstObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<method name="get_internal" c:identifier="gst_proxy_pad_get_internal">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="203">Get the internal pad of @pad. Unref target pad after usage.
|
|
|
|
The internal pad of a #GstGhostPad is the internally used
|
|
pad of opposite direction, which is used to link to the target.</doc>
|
|
<source-position filename="gst/gstghostpad.h" line="64"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="212">the target #GstProxyPad, can
|
|
be %NULL. Unref target pad after usage.</doc>
|
|
<type name="ProxyPad" c:type="GstProxyPad*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstghostpad.c"
|
|
line="205">the #GstProxyPad</doc>
|
|
<type name="ProxyPad" c:type="GstProxyPad*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<field name="pad">
|
|
<type name="Pad" c:type="GstPad"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="ProxyPadPrivate" c:type="GstProxyPadPrivate*"/>
|
|
</field>
|
|
</class>
|
|
<record name="ProxyPadClass"
|
|
c:type="GstProxyPadClass"
|
|
glib:is-gtype-struct-for="ProxyPad">
|
|
<source-position filename="gst/gstghostpad.h" line="58"/>
|
|
<field name="parent_class">
|
|
<type name="PadClass" c:type="GstPadClass"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="1">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="ProxyPadPrivate" c:type="GstProxyPadPrivate" disguised="1">
|
|
<source-position filename="gst/gstghostpad.h" line="41"/>
|
|
</record>
|
|
<enumeration name="QOSType"
|
|
glib:type-name="GstQOSType"
|
|
glib:get-type="gst_qos_type_get_type"
|
|
c:type="GstQOSType">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="386">The different types of QoS events that can be given to the
|
|
gst_event_new_qos() method.</doc>
|
|
<member name="overflow"
|
|
value="0"
|
|
c:identifier="GST_QOS_TYPE_OVERFLOW"
|
|
glib:nick="overflow">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="388">The QoS event type that is produced when upstream
|
|
elements are producing data too quickly and the element can't keep up
|
|
processing the data. Upstream should reduce their production rate. This
|
|
type is also used when buffers arrive early or in time.</doc>
|
|
</member>
|
|
<member name="underflow"
|
|
value="1"
|
|
c:identifier="GST_QOS_TYPE_UNDERFLOW"
|
|
glib:nick="underflow">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="392">The QoS event type that is produced when upstream
|
|
elements are producing data too slowly and need to speed up their
|
|
production rate.</doc>
|
|
</member>
|
|
<member name="throttle"
|
|
value="2"
|
|
c:identifier="GST_QOS_TYPE_THROTTLE"
|
|
glib:nick="throttle">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="395">The QoS event type that is produced when the
|
|
application enabled throttling to limit the data rate.</doc>
|
|
</member>
|
|
</enumeration>
|
|
<function-macro name="QUERY" c:identifier="GST_QUERY" introspectable="0">
|
|
<source-position filename="gst/gstquery.h" line="136"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="QUERY_CAST"
|
|
c:identifier="GST_QUERY_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstquery.h" line="135"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="QUERY_IS_DOWNSTREAM"
|
|
c:identifier="GST_QUERY_IS_DOWNSTREAM"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="162">Check if an query can travel downstream.</doc>
|
|
<source-position filename="gst/gstquery.h" line="167"/>
|
|
<parameters>
|
|
<parameter name="ev">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="164">the query to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="QUERY_IS_SERIALIZED"
|
|
c:identifier="GST_QUERY_IS_SERIALIZED"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="169">Check if an query is serialized with the data stream.</doc>
|
|
<source-position filename="gst/gstquery.h" line="174"/>
|
|
<parameters>
|
|
<parameter name="ev">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="171">the query to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="QUERY_IS_UPSTREAM"
|
|
c:identifier="GST_QUERY_IS_UPSTREAM"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="155">Check if an query can travel upstream.</doc>
|
|
<source-position filename="gst/gstquery.h" line="160"/>
|
|
<parameters>
|
|
<parameter name="ev">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="157">the query to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="QUERY_MAKE_TYPE"
|
|
c:identifier="GST_QUERY_MAKE_TYPE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="66">when making custom query types, use this macro with the num and
|
|
the given flags</doc>
|
|
<source-position filename="gst/gstquery.h" line="73"/>
|
|
<parameters>
|
|
<parameter name="num">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="68">the query number to create</doc>
|
|
</parameter>
|
|
<parameter name="flags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="69">the query flags</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="QUERY_NUM_SHIFT" value="8" c:type="GST_QUERY_NUM_SHIFT">
|
|
<source-position filename="gst/gstquery.h" line="63"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<function-macro name="QUERY_TYPE"
|
|
c:identifier="GST_QUERY_TYPE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="139">Get the #GstQueryType of the query.</doc>
|
|
<source-position filename="gst/gstquery.h" line="144"/>
|
|
<parameters>
|
|
<parameter name="query">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="141">the query to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="QUERY_TYPE_BOTH" value="3" c:type="GST_QUERY_TYPE_BOTH">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="56">The same thing as #GST_QUERY_TYPE_UPSTREAM | #GST_QUERY_TYPE_DOWNSTREAM.</doc>
|
|
<source-position filename="gst/gstquery.h" line="61"/>
|
|
<type name="QueryTypeFlags" c:type="GstQueryTypeFlags"/>
|
|
</constant>
|
|
<function-macro name="QUERY_TYPE_NAME"
|
|
c:identifier="GST_QUERY_TYPE_NAME"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="147">Get a constant string representation of the #GstQueryType of the query.</doc>
|
|
<source-position filename="gst/gstquery.h" line="152"/>
|
|
<parameters>
|
|
<parameter name="query">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="149">the query to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<record name="Query"
|
|
c:type="GstQuery"
|
|
glib:type-name="GstQuery"
|
|
glib:get-type="gst_query_get_type"
|
|
c:symbol-prefix="query">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="24">Queries can be performed on pads (gst_pad_query()) and elements
|
|
(gst_element_query()). Please note that some queries might need a running
|
|
pipeline to work.
|
|
|
|
Queries can be created using the gst_query_new_*() functions.
|
|
Query values can be set using gst_query_set_*(), and parsed using
|
|
gst_query_parse_*() helpers.
|
|
|
|
The following example shows how to query the duration of a pipeline:
|
|
|[<!-- language="C" -->
|
|
GstQuery *query;
|
|
gboolean res;
|
|
query = gst_query_new_duration (GST_FORMAT_TIME);
|
|
res = gst_element_query (pipeline, query);
|
|
if (res) {
|
|
gint64 duration;
|
|
gst_query_parse_duration (query, NULL, &amp;duration);
|
|
g_print ("duration = %"GST_TIME_FORMAT, GST_TIME_ARGS (duration));
|
|
} else {
|
|
g_print ("duration query failed...");
|
|
}
|
|
gst_query_unref (query);
|
|
]|</doc>
|
|
<source-position filename="gst/gstquery.h" line="191"/>
|
|
<field name="mini_object" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="180">The parent #GstMiniObject type</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject"/>
|
|
</field>
|
|
<field name="type" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="181">the #GstQueryType</doc>
|
|
<type name="QueryType" c:type="GstQueryType"/>
|
|
</field>
|
|
<constructor name="new_accept_caps"
|
|
c:identifier="gst_query_new_accept_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2326">Constructs a new query object for querying if @caps are accepted.
|
|
|
|
Free-function: gst_query_unref()</doc>
|
|
<source-position filename="gst/gstquery.h" line="650"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2334">a new #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2328">a fixed #GstCaps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_allocation"
|
|
c:identifier="gst_query_new_allocation">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1533">Constructs a new query object for querying the allocation properties.
|
|
|
|
Free-function: gst_query_unref()</doc>
|
|
<source-position filename="gst/gstquery.h" line="534"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1542">a new #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1535">the negotiated caps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
<parameter name="need_pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1536">return a pool</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_bitrate"
|
|
c:identifier="gst_query_new_bitrate"
|
|
version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2659">Constructs a new query object for querying the bitrate.
|
|
|
|
Free-function: gst_query_unref()</doc>
|
|
<source-position filename="gst/gstquery.h" line="697"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2666">a new #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<constructor name="new_buffering" c:identifier="gst_query_new_buffering">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1031">Constructs a new query object for querying the buffering status of
|
|
a stream.
|
|
|
|
Free-function: gst_query_unref()</doc>
|
|
<source-position filename="gst/gstquery.h" line="468"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1040">a new #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1033">the default #GstFormat for the new query</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_caps" c:identifier="gst_query_new_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2412">Constructs a new query object for querying the caps.
|
|
|
|
The CAPS query should return the allowable caps for a pad in the context
|
|
of the element's state, its link to other elements, and the devices or files
|
|
it has opened. These caps must be a subset of the pad template caps. In the
|
|
NULL state with no links, the CAPS query should ideally return the same caps
|
|
as the pad template. In rare circumstances, an object property can affect
|
|
the caps returned by the CAPS query, but this is discouraged.
|
|
|
|
For most filters, the caps returned by CAPS query is directly affected by the
|
|
allowed caps on other pads. For demuxers and decoders, the caps returned by
|
|
the srcpad's getcaps function is directly related to the stream data. Again,
|
|
the CAPS query should return the most specific caps it reasonably can, since this
|
|
helps with autoplugging.
|
|
|
|
The @filter is used to restrict the result caps, only the caps matching
|
|
@filter should be returned from the CAPS query. Specifying a filter might
|
|
greatly reduce the amount of processing an element needs to do.
|
|
|
|
Free-function: gst_query_unref()</doc>
|
|
<source-position filename="gst/gstquery.h" line="664"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2437">a new #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="filter" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2414">a filter</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_context"
|
|
c:identifier="gst_query_new_context"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2549">Constructs a new query object for querying the pipeline-local context.
|
|
|
|
Free-function: gst_query_unref()</doc>
|
|
<source-position filename="gst/gstquery.h" line="683"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2557">a new #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="context_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2551">Context type to query</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_convert" c:identifier="gst_query_new_convert">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="460">Constructs a new convert query object. Use gst_query_unref()
|
|
when done with it. A convert query is used to ask for a conversion between
|
|
one format and another.
|
|
|
|
Free-function: gst_query_unref()</doc>
|
|
<source-position filename="gst/gstquery.h" line="410"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="472">a #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src_format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="462">the source #GstFormat for the new query</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="463">the value to convert</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
<parameter name="dest_format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="464">the target #GstFormat</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_custom" c:identifier="gst_query_new_custom">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="660">Constructs a new custom query object. Use gst_query_unref()
|
|
when done with it.
|
|
|
|
Free-function: gst_query_unref()</doc>
|
|
<source-position filename="gst/gstquery.h" line="363"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="670">a new #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="662">the query type</doc>
|
|
<type name="QueryType" c:type="GstQueryType"/>
|
|
</parameter>
|
|
<parameter name="structure"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="663">a structure for the query</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_drain" c:identifier="gst_query_new_drain">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2528">Constructs a new query object for querying the drain state.
|
|
|
|
Free-function: gst_query_unref()</doc>
|
|
<source-position filename="gst/gstquery.h" line="678"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2535">a new #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<constructor name="new_duration" c:identifier="gst_query_new_duration">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="300">Constructs a new stream duration query object to query in the given format.
|
|
Use gst_query_unref() when done with it. A duration query will give the
|
|
total length of the stream.
|
|
|
|
Free-function: gst_query_unref()</doc>
|
|
<source-position filename="gst/gstquery.h" line="386"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="310">a new #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="302">the #GstFormat for this duration query</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_formats" c:identifier="gst_query_new_formats">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="872">Constructs a new query object for querying formats of
|
|
the stream.
|
|
|
|
Free-function: gst_query_unref()</doc>
|
|
<source-position filename="gst/gstquery.h" line="451"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="880">a new #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<constructor name="new_latency" c:identifier="gst_query_new_latency">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="377">Constructs a new latency query object.
|
|
Use gst_query_unref() when done with it. A latency query is usually performed
|
|
by sinks to compensate for additional latency introduced by elements in the
|
|
pipeline.
|
|
|
|
Free-function: gst_query_unref()</doc>
|
|
<source-position filename="gst/gstquery.h" line="397"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="387">a #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<constructor name="new_position" c:identifier="gst_query_new_position">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="221">Constructs a new query stream position query object. Use gst_query_unref()
|
|
when done with it. A position query is used to query the current position
|
|
of playback in the streams, in some format.
|
|
|
|
Free-function: gst_query_unref()</doc>
|
|
<source-position filename="gst/gstquery.h" line="375"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="231">a new #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="223">the default #GstFormat for the new query</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_scheduling"
|
|
c:identifier="gst_query_new_scheduling">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2112">Constructs a new query object for querying the scheduling properties.
|
|
|
|
Free-function: gst_query_unref()</doc>
|
|
<source-position filename="gst/gstquery.h" line="621"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2119">a new #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<constructor name="new_seeking" c:identifier="gst_query_new_seeking">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="755">Constructs a new query object for querying seeking properties of
|
|
the stream.
|
|
|
|
Free-function: gst_query_unref()</doc>
|
|
<source-position filename="gst/gstquery.h" line="435"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="764">a new #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="757">the default #GstFormat for the new query</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_segment" c:identifier="gst_query_new_segment">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="557">Constructs a new segment query object. Use gst_query_unref()
|
|
when done with it. A segment query is used to discover information about the
|
|
currently configured segment for playback.
|
|
|
|
Free-function: gst_query_unref()</doc>
|
|
<source-position filename="gst/gstquery.h" line="422"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="567">a new #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="559">the #GstFormat for the new query</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_uri" c:identifier="gst_query_new_uri">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1363">Constructs a new query URI query object. Use gst_query_unref()
|
|
when done with it. An URI query is used to query the current URI
|
|
that is used by the source or sink.
|
|
|
|
Free-function: gst_query_unref()</doc>
|
|
<source-position filename="gst/gstquery.h" line="511"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1372">a new #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<method name="add_allocation_meta"
|
|
c:identifier="gst_query_add_allocation_meta">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1781">Add @api with @params as one of the supported metadata API to @query.</doc>
|
|
<source-position filename="gst/gstquery.h" line="589"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1783">a GST_QUERY_ALLOCATION type query #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="api" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1784">the metadata API</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
<parameter name="params"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1785">API specific parameters</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_allocation_param"
|
|
c:identifier="gst_query_add_allocation_param">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1950">Add @allocator and its @params as a supported memory allocator.</doc>
|
|
<source-position filename="gst/gstquery.h" line="567"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1952">a GST_QUERY_ALLOCATION type query #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="allocator"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1953">the memory allocator</doc>
|
|
<type name="Allocator" c:type="GstAllocator*"/>
|
|
</parameter>
|
|
<parameter name="params"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1954">a #GstAllocationParams</doc>
|
|
<type name="AllocationParams" c:type="const GstAllocationParams*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_allocation_pool"
|
|
c:identifier="gst_query_add_allocation_pool">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1604">Set the pool parameters in @query.</doc>
|
|
<source-position filename="gst/gstquery.h" line="542"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1606">A valid #GstQuery of type GST_QUERY_ALLOCATION.</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="pool"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1607">the #GstBufferPool</doc>
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1608">the buffer size</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="min_buffers" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1609">the min buffers</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="max_buffers" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1610">the max buffers</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_buffering_range"
|
|
c:identifier="gst_query_add_buffering_range">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1255">Set the buffering-ranges array field in @query. The current last
|
|
start position of the array should be inferior to @start.</doc>
|
|
<source-position filename="gst/gstquery.h" line="497"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1264">a #gboolean indicating if the range was added or not.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1257">a GST_QUERY_BUFFERING type query #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1258">start position of the range</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
<parameter name="stop" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1259">stop position of the range</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_scheduling_mode"
|
|
c:identifier="gst_query_add_scheduling_mode">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2190">Add @mode as one of the supported scheduling modes to @query.</doc>
|
|
<source-position filename="gst/gstquery.h" line="632"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2192">a GST_QUERY_SCHEDULING type query #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2193">a #GstPadMode</doc>
|
|
<type name="PadMode" c:type="GstPadMode"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="copy" c:identifier="gst_query_copy" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="280">Copies the given query using the copy function of the parent #GstStructure.
|
|
|
|
Free-function: gst_query_unref</doc>
|
|
<source-position filename="gst/gstquery.h" line="290"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="288">a new copy of @q.</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="q" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="282">a #GstQuery to copy.</doc>
|
|
<type name="Query" c:type="const GstQuery*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="find_allocation_meta"
|
|
c:identifier="gst_query_find_allocation_meta">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1898">Check if @query has metadata @api set. When this function returns %TRUE,
|
|
@index will contain the index where the requested API and the parameters
|
|
can be found.</doc>
|
|
<source-position filename="gst/gstquery.h" line="602"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1908">%TRUE when @api is in the list of metadata.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1900">a GST_QUERY_ALLOCATION type query #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="api" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1901">the metadata API</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
<parameter name="index"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1902">the index</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_n_allocation_metas"
|
|
c:identifier="gst_query_get_n_allocation_metas">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1812">Retrieve the number of values currently stored in the
|
|
meta API array of the query's structure.</doc>
|
|
<source-position filename="gst/gstquery.h" line="592"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1819">the metadata API array size as a #guint.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1814">a GST_QUERY_ALLOCATION type query #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_n_allocation_params"
|
|
c:identifier="gst_query_get_n_allocation_params">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1984">Retrieve the number of values currently stored in the
|
|
allocator params array of the query's structure.
|
|
|
|
If no memory allocator is specified, the downstream element can handle
|
|
the default memory allocator. The first memory allocator in the query
|
|
should be generic and allow mapping to system memory, all following
|
|
allocators should be ordered by preference with the preferred one first.</doc>
|
|
<source-position filename="gst/gstquery.h" line="571"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1996">the allocator array size as a #guint.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1986">a GST_QUERY_ALLOCATION type query #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_n_allocation_pools"
|
|
c:identifier="gst_query_get_n_allocation_pools">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1638">Retrieve the number of values currently stored in the
|
|
pool array of the query's structure.</doc>
|
|
<source-position filename="gst/gstquery.h" line="547"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1645">the pool array size as a #guint.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1640">a GST_QUERY_ALLOCATION type query #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_n_buffering_ranges"
|
|
c:identifier="gst_query_get_n_buffering_ranges">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1299">Retrieve the number of values currently stored in the
|
|
buffered-ranges array of the query's structure.</doc>
|
|
<source-position filename="gst/gstquery.h" line="501"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1306">the range array size as a #guint.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1301">a GST_QUERY_BUFFERING type query #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_n_scheduling_modes"
|
|
c:identifier="gst_query_get_n_scheduling_modes">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2213">Retrieve the number of values currently stored in the
|
|
scheduling mode array of the query's structure.</doc>
|
|
<source-position filename="gst/gstquery.h" line="635"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2220">the scheduling mode array size as a #guint.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2215">a GST_QUERY_SCHEDULING type query #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_structure" c:identifier="gst_query_get_structure">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="706">Get the structure of a query.</doc>
|
|
<source-position filename="gst/gstquery.h" line="367"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="712">the #GstStructure of the query. The
|
|
structure is still owned by the query and will therefore be freed when the
|
|
query is unreffed.</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="708">a #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_scheduling_mode"
|
|
c:identifier="gst_query_has_scheduling_mode">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2264">Check if @query has scheduling mode set.
|
|
|
|
> When checking if upstream supports pull mode, it is usually not
|
|
> enough to just check for GST_PAD_MODE_PULL with this function, you
|
|
> also want to check whether the scheduling flags returned by
|
|
> gst_query_parse_scheduling() have the seeking flag set (meaning
|
|
> random access is supported, not only sequential pulls).</doc>
|
|
<source-position filename="gst/gstquery.h" line="641"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2277">%TRUE when @mode is in the list of scheduling modes.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2266">a GST_QUERY_SCHEDULING type query #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2267">the scheduling mode</doc>
|
|
<type name="PadMode" c:type="GstPadMode"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_scheduling_mode_with_flags"
|
|
c:identifier="gst_query_has_scheduling_mode_with_flags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2300">Check if @query has scheduling mode set and @flags is set in
|
|
query scheduling flags.</doc>
|
|
<source-position filename="gst/gstquery.h" line="644"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2309">%TRUE when @mode is in the list of scheduling modes
|
|
and @flags are compatible with query flags.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2302">a GST_QUERY_SCHEDULING type query #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2303">the scheduling mode</doc>
|
|
<type name="PadMode" c:type="GstPadMode"/>
|
|
</parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2304">#GstSchedulingFlags</doc>
|
|
<type name="SchedulingFlags" c:type="GstSchedulingFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_accept_caps"
|
|
c:identifier="gst_query_parse_accept_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2352">Get the caps from @query. The caps remains valid as long as @query remains
|
|
valid.</doc>
|
|
<source-position filename="gst/gstquery.h" line="653"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2354">The query to parse</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2355">A pointer to the caps</doc>
|
|
<type name="Caps" c:type="GstCaps**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_accept_caps_result"
|
|
c:identifier="gst_query_parse_accept_caps_result">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2393">Parse the result from @query and store in @result.</doc>
|
|
<source-position filename="gst/gstquery.h" line="659"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2395">a GST_QUERY_ACCEPT_CAPS type query #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="result"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2396">location for the result</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_allocation"
|
|
c:identifier="gst_query_parse_allocation">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1559">Parse an allocation query, writing the requested caps in @caps and
|
|
whether a pool is needed in @need_pool, if the respective parameters
|
|
are non-%NULL.
|
|
|
|
Pool details can be retrieved using gst_query_get_n_allocation_pools() and
|
|
gst_query_parse_nth_allocation_pool().</doc>
|
|
<source-position filename="gst/gstquery.h" line="537"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1561">a #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1562">The #GstCaps</doc>
|
|
<type name="Caps" c:type="GstCaps**"/>
|
|
</parameter>
|
|
<parameter name="need_pool"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1563">Whether a #GstBufferPool is needed</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_bitrate"
|
|
c:identifier="gst_query_parse_bitrate"
|
|
version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2706">Get the results of a bitrate query. See also gst_query_set_bitrate().</doc>
|
|
<source-position filename="gst/gstquery.h" line="703"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2708">a GST_QUERY_BITRATE type #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="nominal_bitrate"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2709">The resulting bitrate in bits per second</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_buffering_percent"
|
|
c:identifier="gst_query_parse_buffering_percent">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1091">Get the percentage of buffered data. This is a value between 0 and 100.
|
|
The @busy indicator is %TRUE when the buffering is in progress.</doc>
|
|
<source-position filename="gst/gstquery.h" line="474"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1093">A valid #GstQuery of type GST_QUERY_BUFFERING.</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="busy"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1094">if buffering is busy, or %NULL</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
<parameter name="percent"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1095">a buffering percent, or %NULL</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_buffering_range"
|
|
c:identifier="gst_query_parse_buffering_range">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1209">Parse an available query, writing the format into @format, and
|
|
other results into the passed parameters, if the respective parameters
|
|
are non-%NULL</doc>
|
|
<source-position filename="gst/gstquery.h" line="492"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1211">a GST_QUERY_BUFFERING type query #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="format"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1212">the format to set for the @segment_start
|
|
and @segment_end values, or %NULL</doc>
|
|
<type name="Format" c:type="GstFormat*"/>
|
|
</parameter>
|
|
<parameter name="start"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1214">the start to set, or %NULL</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
<parameter name="stop"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1215">the stop to set, or %NULL</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
<parameter name="estimated_total"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1216">estimated total amount of download
|
|
time remaining in milliseconds, or %NULL</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_buffering_stats"
|
|
c:identifier="gst_query_parse_buffering_stats">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1144">Extracts the buffering stats values from @query.</doc>
|
|
<source-position filename="gst/gstquery.h" line="482"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1146">A valid #GstQuery of type GST_QUERY_BUFFERING.</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="mode"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1147">a buffering mode, or %NULL</doc>
|
|
<type name="BufferingMode" c:type="GstBufferingMode*"/>
|
|
</parameter>
|
|
<parameter name="avg_in"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1148">the average input rate, or %NULL</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
<parameter name="avg_out"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1149">the average output rat, or %NULL</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
<parameter name="buffering_left"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1150">amount of buffering time left in
|
|
milliseconds, or %NULL</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_caps" c:identifier="gst_query_parse_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2453">Get the filter from the caps @query. The caps remains valid as long as
|
|
@query remains valid.</doc>
|
|
<source-position filename="gst/gstquery.h" line="667"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2455">The query to parse</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="filter"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2456">A pointer to the caps filter</doc>
|
|
<type name="Caps" c:type="GstCaps**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_caps_result"
|
|
c:identifier="gst_query_parse_caps_result">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2493">Get the caps result from @query. The caps remains valid as long as
|
|
@query remains valid.</doc>
|
|
<source-position filename="gst/gstquery.h" line="673"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2495">The query to parse</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2496">A pointer to the caps</doc>
|
|
<type name="Caps" c:type="GstCaps**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_context"
|
|
c:identifier="gst_query_parse_context"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2603">Get the context from the context @query. The context remains valid as long as
|
|
@query remains valid.</doc>
|
|
<source-position filename="gst/gstquery.h" line="692"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2605">The query to parse</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="context"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2606">A pointer to store the #GstContext</doc>
|
|
<type name="Context" c:type="GstContext**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_context_type"
|
|
c:identifier="gst_query_parse_context_type"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2630">Parse a context type from an existing GST_QUERY_CONTEXT query.</doc>
|
|
<source-position filename="gst/gstquery.h" line="686"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2637">a #gboolean indicating if the parsing succeeded.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2632">a GST_QUERY_CONTEXT type query</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="context_type"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2633">the context type, or %NULL</doc>
|
|
<type name="utf8" c:type="const gchar**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_convert" c:identifier="gst_query_parse_convert">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="518">Parse a convert query answer. Any of @src_format, @src_value, @dest_format,
|
|
and @dest_value may be %NULL, in which case that value is omitted.</doc>
|
|
<source-position filename="gst/gstquery.h" line="417"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="520">a #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="src_format"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="521">the storage for the #GstFormat of the
|
|
source value, or %NULL</doc>
|
|
<type name="Format" c:type="GstFormat*"/>
|
|
</parameter>
|
|
<parameter name="src_value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="523">the storage for the source value, or %NULL</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
<parameter name="dest_format"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="524">the storage for the #GstFormat of the
|
|
destination value, or %NULL</doc>
|
|
<type name="Format" c:type="GstFormat*"/>
|
|
</parameter>
|
|
<parameter name="dest_value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="526">the storage for the destination value,
|
|
or %NULL</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_duration" c:identifier="gst_query_parse_duration">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="349">Parse a duration query answer. Write the format of the duration into @format,
|
|
and the value into @duration, if the respective variables are non-%NULL.</doc>
|
|
<source-position filename="gst/gstquery.h" line="392"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="351">a #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="format"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="352">the storage for the #GstFormat of the duration
|
|
value, or %NULL.</doc>
|
|
<type name="Format" c:type="GstFormat*"/>
|
|
</parameter>
|
|
<parameter name="duration"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="354">the storage for the total duration, or %NULL.</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_latency" c:identifier="gst_query_parse_latency">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="430">Parse a latency query answer.</doc>
|
|
<source-position filename="gst/gstquery.h" line="404"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="432">a #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="live"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="433">storage for live or %NULL</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
<parameter name="min_latency"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="434">the storage for the min latency or %NULL</doc>
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
<parameter name="max_latency"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="435">the storage for the max latency or %NULL</doc>
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_n_formats" c:identifier="gst_query_parse_n_formats">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="971">Parse the number of formats in the formats @query.</doc>
|
|
<source-position filename="gst/gstquery.h" line="460"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="973">a #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="n_formats"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="974">the number of formats in this query.</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_nth_allocation_meta"
|
|
c:identifier="gst_query_parse_nth_allocation_meta">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1837">Parse an available query and get the metadata API
|
|
at @index of the metadata API array.</doc>
|
|
<source-position filename="gst/gstquery.h" line="595"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1846">a #GType of the metadata API at @index.</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1839">a GST_QUERY_ALLOCATION type query #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1840">position in the metadata API array to read</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="params"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1841">API specific parameters</doc>
|
|
<type name="Structure" c:type="const GstStructure**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_nth_allocation_param"
|
|
c:identifier="gst_query_parse_nth_allocation_param">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2013">Parse an available query and get the allocator and its params
|
|
at @index of the allocator array.</doc>
|
|
<source-position filename="gst/gstquery.h" line="574"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2015">a GST_QUERY_ALLOCATION type query #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2016">position in the allocator array to read</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="allocator"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2017">variable to hold the result</doc>
|
|
<type name="Allocator" c:type="GstAllocator**"/>
|
|
</parameter>
|
|
<parameter name="params"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2018">parameters for the allocator</doc>
|
|
<type name="AllocationParams" c:type="GstAllocationParams*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_nth_allocation_pool"
|
|
c:identifier="gst_query_parse_nth_allocation_pool">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1662">Get the pool parameters in @query.
|
|
|
|
Unref @pool with gst_object_unref() when it's not needed any more.</doc>
|
|
<source-position filename="gst/gstquery.h" line="550"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1664">A valid #GstQuery of type GST_QUERY_ALLOCATION.</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1665">index to parse</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="pool"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1666">the #GstBufferPool</doc>
|
|
<type name="BufferPool" c:type="GstBufferPool**"/>
|
|
</parameter>
|
|
<parameter name="size"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1667">the buffer size</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
<parameter name="min_buffers"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1668">the min buffers</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
<parameter name="max_buffers"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1669">the max buffers</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_nth_buffering_range"
|
|
c:identifier="gst_query_parse_nth_buffering_range">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1324">Parse an available query and get the start and stop values stored
|
|
at the @index of the buffered ranges array.</doc>
|
|
<source-position filename="gst/gstquery.h" line="504"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1334">a #gboolean indicating if the parsing succeeded.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1326">a GST_QUERY_BUFFERING type query #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1327">position in the buffered-ranges array to read</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="start"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1328">the start position to set, or %NULL</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
<parameter name="stop"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1329">the stop position to set, or %NULL</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_nth_format"
|
|
c:identifier="gst_query_parse_nth_format">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="997">Parse the format query and retrieve the @nth format from it into
|
|
@format. If the list contains less elements than @nth, @format will be
|
|
set to GST_FORMAT_UNDEFINED.</doc>
|
|
<source-position filename="gst/gstquery.h" line="463"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="999">a #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="nth" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1000">the nth format to retrieve.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="format"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1001">a pointer to store the nth format</doc>
|
|
<type name="Format" c:type="GstFormat*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_nth_scheduling_mode"
|
|
c:identifier="gst_query_parse_nth_scheduling_mode">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2237">Parse an available query and get the scheduling mode
|
|
at @index of the scheduling modes array.</doc>
|
|
<source-position filename="gst/gstquery.h" line="638"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2245">a #GstPadMode of the scheduling mode at @index.</doc>
|
|
<type name="PadMode" c:type="GstPadMode"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2239">a GST_QUERY_SCHEDULING type query #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2240">position in the scheduling modes array to read</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_position" c:identifier="gst_query_parse_position">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="272">Parse a position query, writing the format into @format, and the position
|
|
into @cur, if the respective parameters are non-%NULL.</doc>
|
|
<source-position filename="gst/gstquery.h" line="381"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="274">a #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="format"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="275">the storage for the #GstFormat of the
|
|
position values (may be %NULL)</doc>
|
|
<type name="Format" c:type="GstFormat*"/>
|
|
</parameter>
|
|
<parameter name="cur"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="277">the storage for the current position (may be %NULL)</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_scheduling"
|
|
c:identifier="gst_query_parse_scheduling">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2164">Set the scheduling properties.</doc>
|
|
<source-position filename="gst/gstquery.h" line="628"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2166">A valid #GstQuery of type GST_QUERY_SCHEDULING.</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2167">#GstSchedulingFlags</doc>
|
|
<type name="SchedulingFlags" c:type="GstSchedulingFlags*"/>
|
|
</parameter>
|
|
<parameter name="minsize"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2168">the suggested minimum size of pull requests</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
<parameter name="maxsize"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2169">the suggested maximum size of pull requests:</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
<parameter name="align"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2170">the suggested alignment of pull requests</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_seeking" c:identifier="gst_query_parse_seeking">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="810">Parse a seeking query, writing the format into @format, and
|
|
other results into the passed parameters, if the respective parameters
|
|
are non-%NULL</doc>
|
|
<source-position filename="gst/gstquery.h" line="444"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="812">a GST_QUERY_SEEKING type query #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="format"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="813">the format to set for the @segment_start
|
|
and @segment_end values, or %NULL</doc>
|
|
<type name="Format" c:type="GstFormat*"/>
|
|
</parameter>
|
|
<parameter name="seekable"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="815">the seekable flag to set, or %NULL</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
<parameter name="segment_start"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="816">the segment_start to set, or %NULL</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
<parameter name="segment_end"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="817">the segment_end to set, or %NULL</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_segment" c:identifier="gst_query_parse_segment">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="622">Parse a segment query answer. Any of @rate, @format, @start_value, and
|
|
@stop_value may be %NULL, which will cause this value to be omitted.
|
|
|
|
See gst_query_set_segment() for an explanation of the function arguments.</doc>
|
|
<source-position filename="gst/gstquery.h" line="429"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="624">a #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="rate"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="625">the storage for the rate of the segment, or %NULL</doc>
|
|
<type name="gdouble" c:type="gdouble*"/>
|
|
</parameter>
|
|
<parameter name="format"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="626">the storage for the #GstFormat of the values,
|
|
or %NULL</doc>
|
|
<type name="Format" c:type="GstFormat*"/>
|
|
</parameter>
|
|
<parameter name="start_value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="628">the storage for the start value, or %NULL</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
<parameter name="stop_value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="629">the storage for the stop value, or %NULL</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_uri" c:identifier="gst_query_parse_uri">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1408">Parse an URI query, writing the URI into @uri as a newly
|
|
allocated string, if the respective parameters are non-%NULL.
|
|
Free the string with g_free() after usage.</doc>
|
|
<source-position filename="gst/gstquery.h" line="514"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1410">a #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="uri"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1411">the storage for the current URI
|
|
(may be %NULL)</doc>
|
|
<type name="utf8" c:type="gchar**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_uri_redirection"
|
|
c:identifier="gst_query_parse_uri_redirection"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1454">Parse an URI query, writing the URI into @uri as a newly
|
|
allocated string, if the respective parameters are non-%NULL.
|
|
Free the string with g_free() after usage.</doc>
|
|
<source-position filename="gst/gstquery.h" line="520"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1456">a #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="uri"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1457">the storage for the redirect URI
|
|
(may be %NULL)</doc>
|
|
<type name="utf8" c:type="gchar**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="parse_uri_redirection_permanent"
|
|
c:identifier="gst_query_parse_uri_redirection_permanent"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1504">Parse an URI query, and set @permanent to %TRUE if there is a redirection
|
|
and it should be considered permanent. If a redirection is permanent,
|
|
applications should update their internal storage of the URI, otherwise
|
|
they should make all future requests to the original URI.</doc>
|
|
<source-position filename="gst/gstquery.h" line="526"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1506">a #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="permanent"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1507">if the URI redirection is permanent
|
|
(may be %NULL)</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_nth_allocation_meta"
|
|
c:identifier="gst_query_remove_nth_allocation_meta">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1873">Remove the metadata API at @index of the metadata API array.</doc>
|
|
<source-position filename="gst/gstquery.h" line="599"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1875">a GST_QUERY_ALLOCATION type query #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1876">position in the metadata API array to remove</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_nth_allocation_param"
|
|
c:identifier="gst_query_remove_nth_allocation_param"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2085">Remove the allocation param at @index of the allocation param array.</doc>
|
|
<source-position filename="gst/gstquery.h" line="584"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2087">a GST_QUERY_ALLOCATION type query #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2088">position in the allocation param array to remove</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_nth_allocation_pool"
|
|
c:identifier="gst_query_remove_nth_allocation_pool"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1741">Remove the allocation pool at @index of the allocation pool array.</doc>
|
|
<source-position filename="gst/gstquery.h" line="562"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1743">a GST_QUERY_ALLOCATION type query #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1744">position in the allocation pool array to remove</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_accept_caps_result"
|
|
c:identifier="gst_query_set_accept_caps_result">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2373">Set @result as the result for the @query.</doc>
|
|
<source-position filename="gst/gstquery.h" line="656"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2375">a GST_QUERY_ACCEPT_CAPS type query #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="result" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2376">the result to set</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_bitrate"
|
|
c:identifier="gst_query_set_bitrate"
|
|
version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2682">Set the results of a bitrate query. The nominal bitrate is the average
|
|
bitrate expected over the length of the stream as advertised in file
|
|
headers (or similar).</doc>
|
|
<source-position filename="gst/gstquery.h" line="700"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2684">a GST_QUERY_BITRATE type #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="nominal_bitrate" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2685">the nominal bitrate in bits per second</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_buffering_percent"
|
|
c:identifier="gst_query_set_buffering_percent">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1067">Set the percentage of buffered data. This is a value between 0 and 100.
|
|
The @busy indicator is %TRUE when the buffering is in progress.</doc>
|
|
<source-position filename="gst/gstquery.h" line="471"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1069">A valid #GstQuery of type GST_QUERY_BUFFERING.</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="busy" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1070">if buffering is busy</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
<parameter name="percent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1071">a buffering percent</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_buffering_range"
|
|
c:identifier="gst_query_set_buffering_range">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1181">Set the available query result fields in @query.</doc>
|
|
<source-position filename="gst/gstquery.h" line="487"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1183">a #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1184">the format to set for the @start and @stop values</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1185">the start to set</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
<parameter name="stop" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1186">the stop to set</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
<parameter name="estimated_total" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1187">estimated total amount of download time remaining in
|
|
milliseconds</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_buffering_stats"
|
|
c:identifier="gst_query_set_buffering_stats">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1117">Configures the buffering stats values in @query.</doc>
|
|
<source-position filename="gst/gstquery.h" line="477"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1119">A valid #GstQuery of type GST_QUERY_BUFFERING.</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1120">a buffering mode</doc>
|
|
<type name="BufferingMode" c:type="GstBufferingMode"/>
|
|
</parameter>
|
|
<parameter name="avg_in" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1121">the average input rate</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="avg_out" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1122">the average output rate</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="buffering_left" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1123">amount of buffering time left in milliseconds</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_caps_result" c:identifier="gst_query_set_caps_result">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2474">Set the @caps result in @query.</doc>
|
|
<source-position filename="gst/gstquery.h" line="670"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2476">The query to use</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2477">A pointer to the caps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_context"
|
|
c:identifier="gst_query_set_context"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2576">Answer a context query by setting the requested context.</doc>
|
|
<source-position filename="gst/gstquery.h" line="689"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2578">a #GstQuery with query type GST_QUERY_CONTEXT</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="context" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2579">the requested #GstContext</doc>
|
|
<type name="Context" c:type="GstContext*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_convert" c:identifier="gst_query_set_convert">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="492">Answer a convert query by setting the requested values.</doc>
|
|
<source-position filename="gst/gstquery.h" line="413"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="494">a #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="src_format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="495">the source #GstFormat</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="src_value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="496">the source value</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
<parameter name="dest_format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="497">the destination #GstFormat</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="dest_value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="498">the destination value</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_duration" c:identifier="gst_query_set_duration">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="327">Answer a duration query by setting the requested value in the given format.</doc>
|
|
<source-position filename="gst/gstquery.h" line="389"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="329">a #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="330">the #GstFormat for the duration</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="duration" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="331">the duration of the stream</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_formats"
|
|
c:identifier="gst_query_set_formats"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="905">Set the formats query result fields in @query. The number of formats passed
|
|
must be equal to @n_formats.</doc>
|
|
<source-position filename="gst/gstquery.h" line="454"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="907">a #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="n_formats" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="908">the number of formats to set.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="909">A number of @GstFormats equal to @n_formats.</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_formatsv" c:identifier="gst_query_set_formatsv">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="940">Set the formats query result fields in @query. The number of formats passed
|
|
in the @formats array must be equal to @n_formats.</doc>
|
|
<source-position filename="gst/gstquery.h" line="457"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="942">a #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="n_formats" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="943">the number of formats to set.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="formats" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="944">an array containing @n_formats
|
|
@GstFormat values.</doc>
|
|
<array length="0" zero-terminated="0" c:type="const GstFormat*">
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</array>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_latency" c:identifier="gst_query_set_latency">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="405">Answer a latency query by setting the requested values in the given format.</doc>
|
|
<source-position filename="gst/gstquery.h" line="400"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="407">a #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="live" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="408">if there is a live element upstream</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
<parameter name="min_latency" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="409">the minimal latency of the upstream elements</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="max_latency" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="410">the maximal latency of the upstream elements</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_nth_allocation_param"
|
|
c:identifier="gst_query_set_nth_allocation_param">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2047">Parse an available query and get the allocator and its params
|
|
at @index of the allocator array.</doc>
|
|
<source-position filename="gst/gstquery.h" line="579"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2049">a GST_QUERY_ALLOCATION type query #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2050">position in the allocator array to set</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="allocator"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2051">new allocator to set</doc>
|
|
<type name="Allocator" c:type="GstAllocator*"/>
|
|
</parameter>
|
|
<parameter name="params"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2052">parameters for the allocator</doc>
|
|
<type name="AllocationParams" c:type="const GstAllocationParams*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_nth_allocation_pool"
|
|
c:identifier="gst_query_set_nth_allocation_pool">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1704">Set the pool parameters in @query.</doc>
|
|
<source-position filename="gst/gstquery.h" line="556"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1707">A valid #GstQuery of type GST_QUERY_ALLOCATION.</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1706">index to modify</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="pool"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1708">the #GstBufferPool</doc>
|
|
<type name="BufferPool" c:type="GstBufferPool*"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1709">the buffer size</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="min_buffers" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1710">the min buffers</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="max_buffers" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1711">the max buffers</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_position" c:identifier="gst_query_set_position">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="248">Answer a position query by setting the requested value in the given format.</doc>
|
|
<source-position filename="gst/gstquery.h" line="378"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="250">a #GstQuery with query type GST_QUERY_POSITION</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="251">the requested #GstFormat</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="cur" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="252">the position to set</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_scheduling" c:identifier="gst_query_set_scheduling">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2137">Set the scheduling properties.</doc>
|
|
<source-position filename="gst/gstquery.h" line="624"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2139">A valid #GstQuery of type GST_QUERY_SCHEDULING.</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2140">#GstSchedulingFlags</doc>
|
|
<type name="SchedulingFlags" c:type="GstSchedulingFlags"/>
|
|
</parameter>
|
|
<parameter name="minsize" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2141">the suggested minimum size of pull requests</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="maxsize" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2142">the suggested maximum size of pull requests</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="align" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="2143">the suggested alignment of pull requests</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_seeking" c:identifier="gst_query_set_seeking">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="783">Set the seeking query result fields in @query.</doc>
|
|
<source-position filename="gst/gstquery.h" line="438"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="785">a #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="786">the format to set for the @segment_start and @segment_end values</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="seekable" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="787">the seekable flag to set</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
<parameter name="segment_start" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="788">the segment_start to set</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
<parameter name="segment_end" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="789">the segment_end to set</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_segment" c:identifier="gst_query_set_segment">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="586">Answer a segment query by setting the requested values. The normal
|
|
playback segment of a pipeline is 0 to duration at the default rate of
|
|
1.0. If a seek was performed on the pipeline to play a different
|
|
segment, this query will return the range specified in the last seek.
|
|
|
|
@start_value and @stop_value will respectively contain the configured
|
|
playback range start and stop values expressed in @format.
|
|
The values are always between 0 and the duration of the media and
|
|
@start_value <= @stop_value. @rate will contain the playback rate. For
|
|
negative rates, playback will actually happen from @stop_value to
|
|
@start_value.</doc>
|
|
<source-position filename="gst/gstquery.h" line="425"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="588">a #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="rate" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="589">the rate of the segment</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="590">the #GstFormat of the segment values (@start_value and @stop_value)</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="start_value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="591">the start value</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
<parameter name="stop_value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="592">the stop value</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_uri" c:identifier="gst_query_set_uri">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1388">Answer a URI query by setting the requested URI.</doc>
|
|
<source-position filename="gst/gstquery.h" line="517"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1390">a #GstQuery with query type GST_QUERY_URI</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1391">the URI to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_uri_redirection"
|
|
c:identifier="gst_query_set_uri_redirection"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1431">Answer a URI query by setting the requested URI redirection.</doc>
|
|
<source-position filename="gst/gstquery.h" line="523"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1433">a #GstQuery with query type GST_QUERY_URI</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1434">the URI to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_uri_redirection_permanent"
|
|
c:identifier="gst_query_set_uri_redirection_permanent"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1481">Answer a URI query by setting the requested URI redirection
|
|
to permanent or not.</doc>
|
|
<source-position filename="gst/gstquery.h" line="529"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1483">a #GstQuery with query type %GST_QUERY_URI</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
<parameter name="permanent" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="1484">whether the redirect is permanent or not</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unref" c:identifier="gst_query_unref" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="246">Decreases the refcount of the query. If the refcount reaches 0, the query
|
|
will be freed.</doc>
|
|
<source-position filename="gst/gstquery.h" line="253"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="q" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="248">a #GstQuery to decrease the refcount of.</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="writable_structure"
|
|
c:identifier="gst_query_writable_structure">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="724">Get the structure of a query. This method should be called with a writable
|
|
@query so that the returned structure is guaranteed to be writable.</doc>
|
|
<source-position filename="gst/gstquery.h" line="370"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="731">the #GstStructure of the query. The structure is
|
|
still owned by the query and will therefore be freed when the query
|
|
is unreffed.</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="726">a #GstQuery</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<function name="replace"
|
|
c:identifier="gst_query_replace"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="313">Modifies a pointer to a #GstQuery to point to a different #GstQuery. The
|
|
modification is done atomically (so this is useful for ensuring thread safety
|
|
in some cases), and the reference counts are updated appropriately (the old
|
|
query is unreffed, the new one is reffed).
|
|
|
|
Either @new_query or the #GstQuery pointed to by @old_query may be %NULL.</doc>
|
|
<source-position filename="gst/gstquery.h" line="329"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="327">%TRUE if @new_query was different from @old_query</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="old_query"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="315">pointer to a pointer to a
|
|
#GstQuery to be replaced.</doc>
|
|
<type name="Query" c:type="GstQuery**"/>
|
|
</parameter>
|
|
<parameter name="new_query"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="317">pointer to a #GstQuery that will
|
|
replace the query pointed to by @old_query.</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</record>
|
|
<enumeration name="QueryType"
|
|
glib:type-name="GstQueryType"
|
|
glib:get-type="gst_query_type_get_type"
|
|
c:type="GstQueryType">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="80">Standard predefined Query types</doc>
|
|
<member name="unknown"
|
|
value="0"
|
|
c:identifier="GST_QUERY_UNKNOWN"
|
|
glib:nick="unknown">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="82">unknown query type</doc>
|
|
</member>
|
|
<member name="position"
|
|
value="2563"
|
|
c:identifier="GST_QUERY_POSITION"
|
|
glib:nick="position">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="83">current position in stream</doc>
|
|
</member>
|
|
<member name="duration"
|
|
value="5123"
|
|
c:identifier="GST_QUERY_DURATION"
|
|
glib:nick="duration">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="84">total duration of the stream</doc>
|
|
</member>
|
|
<member name="latency"
|
|
value="7683"
|
|
c:identifier="GST_QUERY_LATENCY"
|
|
glib:nick="latency">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="85">latency of stream</doc>
|
|
</member>
|
|
<member name="jitter"
|
|
value="10243"
|
|
c:identifier="GST_QUERY_JITTER"
|
|
glib:nick="jitter">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="86">current jitter of stream</doc>
|
|
</member>
|
|
<member name="rate"
|
|
value="12803"
|
|
c:identifier="GST_QUERY_RATE"
|
|
glib:nick="rate">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="87">current rate of the stream</doc>
|
|
</member>
|
|
<member name="seeking"
|
|
value="15363"
|
|
c:identifier="GST_QUERY_SEEKING"
|
|
glib:nick="seeking">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="88">seeking capabilities</doc>
|
|
</member>
|
|
<member name="segment"
|
|
value="17923"
|
|
c:identifier="GST_QUERY_SEGMENT"
|
|
glib:nick="segment">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="89">segment start/stop positions</doc>
|
|
</member>
|
|
<member name="convert"
|
|
value="20483"
|
|
c:identifier="GST_QUERY_CONVERT"
|
|
glib:nick="convert">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="90">convert values between formats</doc>
|
|
</member>
|
|
<member name="formats"
|
|
value="23043"
|
|
c:identifier="GST_QUERY_FORMATS"
|
|
glib:nick="formats">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="91">query supported formats for convert</doc>
|
|
</member>
|
|
<member name="buffering"
|
|
value="28163"
|
|
c:identifier="GST_QUERY_BUFFERING"
|
|
glib:nick="buffering">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="92">query available media for efficient seeking.</doc>
|
|
</member>
|
|
<member name="custom"
|
|
value="30723"
|
|
c:identifier="GST_QUERY_CUSTOM"
|
|
glib:nick="custom">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="93">a custom application or element defined query.</doc>
|
|
</member>
|
|
<member name="uri"
|
|
value="33283"
|
|
c:identifier="GST_QUERY_URI"
|
|
glib:nick="uri">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="94">query the URI of the source or sink.</doc>
|
|
</member>
|
|
<member name="allocation"
|
|
value="35846"
|
|
c:identifier="GST_QUERY_ALLOCATION"
|
|
glib:nick="allocation">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="95">the buffer allocation properties</doc>
|
|
</member>
|
|
<member name="scheduling"
|
|
value="38401"
|
|
c:identifier="GST_QUERY_SCHEDULING"
|
|
glib:nick="scheduling">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="96">the scheduling properties</doc>
|
|
</member>
|
|
<member name="accept_caps"
|
|
value="40963"
|
|
c:identifier="GST_QUERY_ACCEPT_CAPS"
|
|
glib:nick="accept-caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="97">the accept caps query</doc>
|
|
</member>
|
|
<member name="caps"
|
|
value="43523"
|
|
c:identifier="GST_QUERY_CAPS"
|
|
glib:nick="caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="98">the caps query</doc>
|
|
</member>
|
|
<member name="drain"
|
|
value="46086"
|
|
c:identifier="GST_QUERY_DRAIN"
|
|
glib:nick="drain">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="99">wait till all serialized data is consumed downstream</doc>
|
|
</member>
|
|
<member name="context"
|
|
value="48643"
|
|
c:identifier="GST_QUERY_CONTEXT"
|
|
glib:nick="context">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="100">query the pipeline-local context from
|
|
downstream or upstream (since 1.2)</doc>
|
|
</member>
|
|
<member name="bitrate"
|
|
value="51202"
|
|
c:identifier="GST_QUERY_BITRATE"
|
|
glib:nick="bitrate">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="102">the bitrate query (since 1.16)</doc>
|
|
</member>
|
|
<function name="get_flags" c:identifier="gst_query_type_get_flags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="169">Gets the #GstQueryTypeFlags associated with @type.</doc>
|
|
<source-position filename="gst/gstquery.h" line="225"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="175">a #GstQueryTypeFlags.</doc>
|
|
<type name="QueryTypeFlags" c:type="GstQueryTypeFlags"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="171">a #GstQueryType</doc>
|
|
<type name="QueryType" c:type="GstQueryType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="get_name" c:identifier="gst_query_type_get_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="129">Get a printable name for the given query type. Do not modify or free.</doc>
|
|
<source-position filename="gst/gstquery.h" line="218"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="135">a reference to the static name of the query.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="131">the query type</doc>
|
|
<type name="QueryType" c:type="GstQueryType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="to_quark" c:identifier="gst_query_type_to_quark">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="149">Get the unique quark for the given query type.</doc>
|
|
<source-position filename="gst/gstquery.h" line="221"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="155">the quark associated with the query type</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="151">the query type</doc>
|
|
<type name="QueryType" c:type="GstQueryType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</enumeration>
|
|
<bitfield name="QueryTypeFlags"
|
|
glib:type-name="GstQueryTypeFlags"
|
|
glib:get-type="gst_query_type_flags_get_type"
|
|
c:type="GstQueryTypeFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="39">#GstQueryTypeFlags indicate the aspects of the different #GstQueryType
|
|
values. You can get the type flags of a #GstQueryType with the
|
|
gst_query_type_get_flags() function.</doc>
|
|
<member name="upstream"
|
|
value="1"
|
|
c:identifier="GST_QUERY_TYPE_UPSTREAM"
|
|
glib:nick="upstream">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="41">Set if the query can travel upstream.</doc>
|
|
</member>
|
|
<member name="downstream"
|
|
value="2"
|
|
c:identifier="GST_QUERY_TYPE_DOWNSTREAM"
|
|
glib:nick="downstream">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="42">Set if the query can travel downstream.</doc>
|
|
</member>
|
|
<member name="serialized"
|
|
value="4"
|
|
c:identifier="GST_QUERY_TYPE_SERIALIZED"
|
|
glib:nick="serialized">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="43">Set if the query should be serialized with data
|
|
flow.</doc>
|
|
</member>
|
|
</bitfield>
|
|
<function-macro name="READ_UINT16_BE"
|
|
c:identifier="GST_READ_UINT16_BE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="340">Read a 16 bit unsigned integer value in big endian format from the memory buffer.</doc>
|
|
<source-position filename="gst/gstutils.h" line="354"/>
|
|
<parameters>
|
|
<parameter name="data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="342">memory location</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="READ_UINT16_LE"
|
|
c:identifier="GST_READ_UINT16_LE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="346">Read a 16 bit unsigned integer value in little endian format from the memory buffer.</doc>
|
|
<source-position filename="gst/gstutils.h" line="355"/>
|
|
<parameters>
|
|
<parameter name="data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="348">memory location</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="READ_UINT24_BE"
|
|
c:identifier="GST_READ_UINT24_BE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="310">Read a 24 bit unsigned integer value in big endian format from the memory buffer.</doc>
|
|
<source-position filename="gst/gstutils.h" line="320"/>
|
|
<parameters>
|
|
<parameter name="data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="312">memory location</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="READ_UINT24_LE"
|
|
c:identifier="GST_READ_UINT24_LE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="325">Read a 24 bit unsigned integer value in little endian format from the memory buffer.</doc>
|
|
<source-position filename="gst/gstutils.h" line="335"/>
|
|
<parameters>
|
|
<parameter name="data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="327">memory location</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="READ_UINT32_BE"
|
|
c:identifier="GST_READ_UINT32_BE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="268">Read a 32 bit unsigned integer value in big endian format from the memory buffer.</doc>
|
|
<source-position filename="gst/gstutils.h" line="283"/>
|
|
<parameters>
|
|
<parameter name="data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="270">memory location</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="READ_UINT32_LE"
|
|
c:identifier="GST_READ_UINT32_LE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="275">Read a 32 bit unsigned integer value in little endian format from the memory buffer.</doc>
|
|
<source-position filename="gst/gstutils.h" line="284"/>
|
|
<parameters>
|
|
<parameter name="data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="277">memory location</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="READ_UINT64_BE"
|
|
c:identifier="GST_READ_UINT64_BE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="218">Read a 64 bit unsigned integer value in big endian format from the memory buffer.</doc>
|
|
<source-position filename="gst/gstutils.h" line="233"/>
|
|
<parameters>
|
|
<parameter name="data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="220">memory location</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="READ_UINT64_LE"
|
|
c:identifier="GST_READ_UINT64_LE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="225">Read a 64 bit unsigned integer value in little endian format from the memory buffer.</doc>
|
|
<source-position filename="gst/gstutils.h" line="234"/>
|
|
<parameters>
|
|
<parameter name="data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="227">memory location</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="READ_UINT8"
|
|
c:identifier="GST_READ_UINT8"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="377">Read an 8 bit unsigned integer value from the memory buffer.</doc>
|
|
<source-position filename="gst/gstutils.h" line="383"/>
|
|
<parameters>
|
|
<parameter name="data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="379">memory location</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="REGISTRY"
|
|
c:identifier="GST_REGISTRY"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstregistry.h" line="34"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="REGISTRY_CLASS"
|
|
c:identifier="GST_REGISTRY_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstregistry.h" line="36"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="REGISTRY_GET_CLASS"
|
|
c:identifier="GST_REGISTRY_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstregistry.h" line="38"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ROUND_DOWN_128"
|
|
c:identifier="GST_ROUND_DOWN_128"
|
|
version="1.4"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="957">Rounds an integer value down to the next multiple of 128.</doc>
|
|
<source-position filename="gst/gstutils.h" line="964"/>
|
|
<parameters>
|
|
<parameter name="num">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="959">integer value to round down</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ROUND_DOWN_16"
|
|
c:identifier="GST_ROUND_DOWN_16"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="936">Rounds an integer value down to the next multiple of 16.</doc>
|
|
<source-position filename="gst/gstutils.h" line="942"/>
|
|
<parameters>
|
|
<parameter name="num">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="938">integer value to round down</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ROUND_DOWN_2"
|
|
c:identifier="GST_ROUND_DOWN_2"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="915">Rounds an integer value down to the next multiple of 2.</doc>
|
|
<source-position filename="gst/gstutils.h" line="921"/>
|
|
<parameters>
|
|
<parameter name="num">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="917">integer value to round down</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ROUND_DOWN_32"
|
|
c:identifier="GST_ROUND_DOWN_32"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="943">Rounds an integer value down to the next multiple of 32.</doc>
|
|
<source-position filename="gst/gstutils.h" line="949"/>
|
|
<parameters>
|
|
<parameter name="num">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="945">integer value to round down</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ROUND_DOWN_4"
|
|
c:identifier="GST_ROUND_DOWN_4"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="922">Rounds an integer value down to the next multiple of 4.</doc>
|
|
<source-position filename="gst/gstutils.h" line="928"/>
|
|
<parameters>
|
|
<parameter name="num">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="924">integer value to round down</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ROUND_DOWN_64"
|
|
c:identifier="GST_ROUND_DOWN_64"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="950">Rounds an integer value down to the next multiple of 64.</doc>
|
|
<source-position filename="gst/gstutils.h" line="956"/>
|
|
<parameters>
|
|
<parameter name="num">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="952">integer value to round down</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ROUND_DOWN_8"
|
|
c:identifier="GST_ROUND_DOWN_8"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="929">Rounds an integer value down to the next multiple of 8.</doc>
|
|
<source-position filename="gst/gstutils.h" line="935"/>
|
|
<parameters>
|
|
<parameter name="num">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="931">integer value to round down</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ROUND_DOWN_N"
|
|
c:identifier="GST_ROUND_DOWN_N"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="965">Rounds an integer value down to the next multiple of @align. @align MUST be a
|
|
power of two.</doc>
|
|
<source-position filename="gst/gstutils.h" line="973"/>
|
|
<parameters>
|
|
<parameter name="num">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="967">integrer value to round down</doc>
|
|
</parameter>
|
|
<parameter name="align">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="968">a power of two to round down to</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ROUND_UP_128"
|
|
c:identifier="GST_ROUND_UP_128"
|
|
version="1.4"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="896">Rounds an integer value up to the next multiple of 128.</doc>
|
|
<source-position filename="gst/gstutils.h" line="903"/>
|
|
<parameters>
|
|
<parameter name="num">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="898">integer value to round up</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ROUND_UP_16"
|
|
c:identifier="GST_ROUND_UP_16"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="875">Rounds an integer value up to the next multiple of 16.</doc>
|
|
<source-position filename="gst/gstutils.h" line="881"/>
|
|
<parameters>
|
|
<parameter name="num">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="877">integer value to round up</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ROUND_UP_2"
|
|
c:identifier="GST_ROUND_UP_2"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="854">Rounds an integer value up to the next multiple of 2.</doc>
|
|
<source-position filename="gst/gstutils.h" line="860"/>
|
|
<parameters>
|
|
<parameter name="num">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="856">integer value to round up</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ROUND_UP_32"
|
|
c:identifier="GST_ROUND_UP_32"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="882">Rounds an integer value up to the next multiple of 32.</doc>
|
|
<source-position filename="gst/gstutils.h" line="888"/>
|
|
<parameters>
|
|
<parameter name="num">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="884">integer value to round up</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ROUND_UP_4"
|
|
c:identifier="GST_ROUND_UP_4"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="861">Rounds an integer value up to the next multiple of 4.</doc>
|
|
<source-position filename="gst/gstutils.h" line="867"/>
|
|
<parameters>
|
|
<parameter name="num">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="863">integer value to round up</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ROUND_UP_64"
|
|
c:identifier="GST_ROUND_UP_64"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="889">Rounds an integer value up to the next multiple of 64.</doc>
|
|
<source-position filename="gst/gstutils.h" line="895"/>
|
|
<parameters>
|
|
<parameter name="num">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="891">integer value to round up</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ROUND_UP_8"
|
|
c:identifier="GST_ROUND_UP_8"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="868">Rounds an integer value up to the next multiple of 8.</doc>
|
|
<source-position filename="gst/gstutils.h" line="874"/>
|
|
<parameters>
|
|
<parameter name="num">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="870">integer value to round up</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="ROUND_UP_N"
|
|
c:identifier="GST_ROUND_UP_N"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="904">Rounds an integer value up to the next multiple of @align. @align MUST be a
|
|
power of two.</doc>
|
|
<source-position filename="gst/gstutils.h" line="912"/>
|
|
<parameters>
|
|
<parameter name="num">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="906">integrer value to round up</doc>
|
|
</parameter>
|
|
<parameter name="align">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="907">a power of two to round up to</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<enumeration name="Rank"
|
|
glib:type-name="GstRank"
|
|
glib:get-type="gst_rank_get_type"
|
|
c:type="GstRank">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.h"
|
|
line="49">Element priority ranks. Defines the order in which the autoplugger (or
|
|
similar rank-picking mechanisms, such as e.g. gst_element_make_from_uri())
|
|
will choose this element over an alternative one with the same function.
|
|
|
|
These constants serve as a rough guidance for defining the rank of a
|
|
#GstPluginFeature. Any value is valid, including values bigger than
|
|
@GST_RANK_PRIMARY.</doc>
|
|
<member name="none"
|
|
value="0"
|
|
c:identifier="GST_RANK_NONE"
|
|
glib:nick="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.h"
|
|
line="51">will be chosen last or not at all</doc>
|
|
</member>
|
|
<member name="marginal"
|
|
value="64"
|
|
c:identifier="GST_RANK_MARGINAL"
|
|
glib:nick="marginal">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.h"
|
|
line="52">unlikely to be chosen</doc>
|
|
</member>
|
|
<member name="secondary"
|
|
value="128"
|
|
c:identifier="GST_RANK_SECONDARY"
|
|
glib:nick="secondary">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.h"
|
|
line="53">likely to be chosen</doc>
|
|
</member>
|
|
<member name="primary"
|
|
value="256"
|
|
c:identifier="GST_RANK_PRIMARY"
|
|
glib:nick="primary">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.h"
|
|
line="54">will be chosen first</doc>
|
|
</member>
|
|
</enumeration>
|
|
<record name="ReferenceTimestampMeta"
|
|
c:type="GstReferenceTimestampMeta"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="758">#GstReferenceTimestampMeta can be used to attach alternative timestamps and
|
|
possibly durations to a #GstBuffer. These are generally not according to
|
|
the pipeline clock and could be e.g. the NTP timestamp when the media was
|
|
captured.
|
|
|
|
The reference is stored as a #GstCaps in @reference. Examples of valid
|
|
references would be "timestamp/x-drivername-stream" for timestamps that are locally
|
|
generated by some driver named "drivername" when generating the stream,
|
|
e.g. based on a frame counter, or "timestamp/x-ntp, host=pool.ntp.org,
|
|
port=123" for timestamps based on a specific NTP server.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="785"/>
|
|
<field name="parent" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="760">the parent #GstMeta structure</doc>
|
|
<type name="Meta" c:type="GstMeta"/>
|
|
</field>
|
|
<field name="reference" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="761">identifier for the timestamp reference.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</field>
|
|
<field name="timestamp" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="762">timestamp</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</field>
|
|
<field name="duration" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="763">duration, or %GST_CLOCK_TIME_NONE</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</field>
|
|
<function name="get_info"
|
|
c:identifier="gst_reference_timestamp_meta_get_info"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2847">Get the global #GstMetaInfo describing the #GstReferenceTimestampMeta meta.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="792"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2852">The #GstMetaInfo</doc>
|
|
<type name="MetaInfo" c:type="const GstMetaInfo*"/>
|
|
</return-value>
|
|
</function>
|
|
</record>
|
|
<class name="Registry"
|
|
c:symbol-prefix="registry"
|
|
c:type="GstRegistry"
|
|
parent="Object"
|
|
glib:type-name="GstRegistry"
|
|
glib:get-type="gst_registry_get_type"
|
|
glib:type-struct="RegistryClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="24">One registry holds the metadata of a set of plugins.
|
|
|
|
<emphasis role="bold">Design:</emphasis>
|
|
|
|
The #GstRegistry object is a list of plugins and some functions for dealing
|
|
with them. Each #GstPlugin is matched 1-1 with a file on disk, and may or may
|
|
not be loaded at a given time.
|
|
|
|
The primary source, at all times, of plugin information is each plugin file
|
|
itself. Thus, if an application wants information about a particular plugin,
|
|
or wants to search for a feature that satisfies given criteria, the primary
|
|
means of doing so is to load every plugin and look at the resulting
|
|
information that is gathered in the default registry. Clearly, this is a time
|
|
consuming process, so we cache information in the registry file. The format
|
|
and location of the cache file is internal to gstreamer.
|
|
|
|
On startup, plugins are searched for in the plugin search path. The following
|
|
locations are checked in this order:
|
|
|
|
* location from --gst-plugin-path commandline option.
|
|
* the GST_PLUGIN_PATH environment variable.
|
|
* the GST_PLUGIN_SYSTEM_PATH environment variable.
|
|
* default locations (if GST_PLUGIN_SYSTEM_PATH is not set).
|
|
Those default locations are:
|
|
`$XDG_DATA_HOME/gstreamer-$GST_API_VERSION/plugins/`
|
|
and `$prefix/libs/gstreamer-$GST_API_VERSION/`.
|
|
[$XDG_DATA_HOME](http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html) defaults to
|
|
`$HOME/.local/share`.
|
|
|
|
The registry cache file is loaded from
|
|
`$XDG_CACHE_HOME/gstreamer-$GST_API_VERSION/registry-$ARCH.bin`
|
|
(where $XDG_CACHE_HOME defaults to `$HOME/.cache`) or the file listed in the `GST_REGISTRY`
|
|
env var. One reason to change the registry location is for testing.
|
|
|
|
For each plugin that is found in the plugin search path, there could be 3
|
|
possibilities for cached information:
|
|
|
|
* the cache may not contain information about a given file.
|
|
* the cache may have stale information.
|
|
* the cache may have current information.
|
|
|
|
In the first two cases, the plugin is loaded and the cache updated. In
|
|
addition to these cases, the cache may have entries for plugins that are not
|
|
relevant to the current process. These are marked as not available to the
|
|
current process. If the cache is updated for whatever reason, it is marked
|
|
dirty.
|
|
|
|
A dirty cache is written out at the end of initialization. Each entry is
|
|
checked to make sure the information is minimally valid. If not, the entry is
|
|
simply dropped.
|
|
|
|
## Implementation notes:
|
|
|
|
The "cache" and "registry" are different concepts and can represent
|
|
different sets of plugins. For various reasons, at init time, the cache is
|
|
stored in the default registry, and plugins not relevant to the current
|
|
process are marked with the %GST_PLUGIN_FLAG_CACHED bit. These plugins are
|
|
removed at the end of initialization.</doc>
|
|
<source-position filename="gst/gstregistry.h" line="58"/>
|
|
<function name="fork_is_enabled"
|
|
c:identifier="gst_registry_fork_is_enabled">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1796">By default GStreamer will perform scanning and rebuilding of the
|
|
registry file using a helper child process.
|
|
|
|
Applications might want to disable this behaviour with the
|
|
gst_registry_fork_set_enabled() function, in which case new plugins
|
|
are scanned (and loaded) into the application process.</doc>
|
|
<source-position filename="gst/gst.h" line="128"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1806">%TRUE if GStreamer will use the child helper process when
|
|
rebuilding the registry.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="fork_set_enabled"
|
|
c:identifier="gst_registry_fork_set_enabled">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1815">Applications might want to disable/enable spawning of a child helper process
|
|
when rebuilding the registry. See gst_registry_fork_is_enabled() for more
|
|
information.</doc>
|
|
<source-position filename="gst/gst.h" line="131"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="enabled" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1817">whether rebuilding the registry can use a temporary child helper process.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="get" c:identifier="gst_registry_get">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="322">Retrieves the singleton plugin registry. The caller does not own a
|
|
reference on the registry, as it is alive as long as GStreamer is
|
|
initialized.</doc>
|
|
<source-position filename="gst/gstregistry.h" line="64"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="329">the #GstRegistry.</doc>
|
|
<type name="Registry" c:type="GstRegistry*"/>
|
|
</return-value>
|
|
</function>
|
|
<method name="add_feature" c:identifier="gst_registry_add_feature">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="552">Add the feature to the registry. The feature-added signal will be emitted.
|
|
|
|
@feature's reference count will be incremented, and any floating
|
|
reference will be removed (see gst_object_ref_sink())</doc>
|
|
<source-position filename="gst/gstregistry.h" line="81"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="562">%TRUE on success.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="registry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="554">the registry to add the plugin to</doc>
|
|
<type name="Registry" c:type="GstRegistry*"/>
|
|
</instance-parameter>
|
|
<parameter name="feature" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="555">the feature to add</doc>
|
|
<type name="PluginFeature" c:type="GstPluginFeature*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_plugin" c:identifier="gst_registry_add_plugin">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="418">Add the plugin to the registry. The plugin-added signal will be emitted.
|
|
|
|
@plugin's reference count will be incremented, and any floating
|
|
reference will be removed (see gst_object_ref_sink())</doc>
|
|
<source-position filename="gst/gstregistry.h" line="75"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="428">%TRUE on success.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="registry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="420">the registry to add the plugin to</doc>
|
|
<type name="Registry" c:type="GstRegistry*"/>
|
|
</instance-parameter>
|
|
<parameter name="plugin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="421">the plugin to add</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="check_feature_version"
|
|
c:identifier="gst_registry_check_feature_version">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1480">Checks whether a plugin feature by the given name exists in
|
|
@registry and whether its version is at least the
|
|
version required.</doc>
|
|
<source-position filename="gst/gstregistry.h" line="121"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1492">%TRUE if the feature could be found and the version is
|
|
the same as the required version or newer, and %FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="registry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1482">a #GstRegistry</doc>
|
|
<type name="Registry" c:type="GstRegistry*"/>
|
|
</instance-parameter>
|
|
<parameter name="feature_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1483">the name of the feature (e.g. "oggdemux")</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="min_major" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1484">the minimum major version number</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="min_minor" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1485">the minimum minor version number</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="min_micro" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1486">the minimum micro version number</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="feature_filter" c:identifier="gst_registry_feature_filter">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="819">Runs a filter against all features of the plugins in the registry
|
|
and returns a GList with the results.
|
|
If the first flag is set, only the first match is
|
|
returned (as a list with a single object).</doc>
|
|
<source-position filename="gst/gstregistry.h" line="95"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="831">a #GList of
|
|
#GstPluginFeature. Use gst_plugin_feature_list_free() after usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="PluginFeature"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="registry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="821">registry to query</doc>
|
|
<type name="Registry" c:type="GstRegistry*"/>
|
|
</instance-parameter>
|
|
<parameter name="filter"
|
|
transfer-ownership="none"
|
|
scope="call"
|
|
closure="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="822">the filter to use</doc>
|
|
<type name="PluginFeatureFilter" c:type="GstPluginFeatureFilter"/>
|
|
</parameter>
|
|
<parameter name="first" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="823">only return first match</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="824">user data passed to the filter function</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="find_feature" c:identifier="gst_registry_find_feature">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="909">Find the pluginfeature with the given name and type in the registry.</doc>
|
|
<source-position filename="gst/gstregistry.h" line="112"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="917">the pluginfeature with the
|
|
given name and type or %NULL if the plugin was not
|
|
found. gst_object_unref() after usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="PluginFeature" c:type="GstPluginFeature*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="registry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="911">the registry to search</doc>
|
|
<type name="Registry" c:type="GstRegistry*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="912">the pluginfeature name to find</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="913">the pluginfeature type to find</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="find_plugin" c:identifier="gst_registry_find_plugin">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="874">Find the plugin with the given name in the registry.
|
|
The plugin will be reffed; caller is responsible for unreffing.</doc>
|
|
<source-position filename="gst/gstregistry.h" line="109"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="882">the plugin with the given name
|
|
or %NULL if the plugin was not found. gst_object_unref() after
|
|
usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="registry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="876">the registry to search</doc>
|
|
<type name="Registry" c:type="GstRegistry*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="877">the plugin name to find</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_feature_list"
|
|
c:identifier="gst_registry_get_feature_list">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="942">Retrieves a #GList of #GstPluginFeature of @type.</doc>
|
|
<source-position filename="gst/gstregistry.h" line="100"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="949">a #GList of
|
|
#GstPluginFeature of @type. Use gst_plugin_feature_list_free() after use
|
|
|
|
MT safe.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="PluginFeature"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="registry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="944">a #GstRegistry</doc>
|
|
<type name="Registry" c:type="GstRegistry*"/>
|
|
</instance-parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="945">a #GType.</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_feature_list_by_plugin"
|
|
c:identifier="gst_registry_get_feature_list_by_plugin">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1424">Retrieves a #GList of features of the plugin with name @name.</doc>
|
|
<source-position filename="gst/gstregistry.h" line="103"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1431">a #GList of
|
|
#GstPluginFeature. Use gst_plugin_feature_list_free() after usage.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="PluginFeature"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="registry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1426">a #GstRegistry.</doc>
|
|
<type name="Registry" c:type="GstRegistry*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1427">a plugin name.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_feature_list_cookie"
|
|
c:identifier="gst_registry_get_feature_list_cookie">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1888">Returns the registry's feature list cookie. This changes
|
|
every time a feature is added or removed from the registry.</doc>
|
|
<source-position filename="gst/gstregistry.h" line="106"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1895">the feature list cookie.</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="registry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1890">the registry</doc>
|
|
<type name="Registry" c:type="GstRegistry*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_plugin_list"
|
|
c:identifier="gst_registry_get_plugin_list">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="978">Get a copy of all plugins registered in the given registry. The refcount
|
|
of each element in the list in incremented.</doc>
|
|
<source-position filename="gst/gstregistry.h" line="87"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="985">a #GList of #GstPlugin.
|
|
Use gst_plugin_list_free() after usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Plugin"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="registry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="980">the registry to search</doc>
|
|
<type name="Registry" c:type="GstRegistry*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="lookup" c:identifier="gst_registry_lookup">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1063">Look up a plugin in the given registry with the given filename.
|
|
If found, plugin is reffed.</doc>
|
|
<source-position filename="gst/gstregistry.h" line="115"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1071">the #GstPlugin if found, or
|
|
%NULL if not. gst_object_unref() after usage.</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="registry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1065">the registry to look up in</doc>
|
|
<type name="Registry" c:type="GstRegistry*"/>
|
|
</instance-parameter>
|
|
<parameter name="filename" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1066">the name of the file to look up</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="lookup_feature" c:identifier="gst_registry_lookup_feature">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1014">Find a #GstPluginFeature with @name in @registry.</doc>
|
|
<source-position filename="gst/gstregistry.h" line="118"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1021">a #GstPluginFeature with its refcount incremented,
|
|
use gst_object_unref() after usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="PluginFeature" c:type="GstPluginFeature*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="registry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1016">a #GstRegistry</doc>
|
|
<type name="Registry" c:type="GstRegistry*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1017">a #GstPluginFeature name</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="plugin_filter" c:identifier="gst_registry_plugin_filter">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="641">Runs a filter against all plugins in the registry and returns a #GList with
|
|
the results. If the first flag is set, only the first match is
|
|
returned (as a list with a single object).
|
|
Every plugin is reffed; use gst_plugin_list_free() after use, which
|
|
will unref again.</doc>
|
|
<source-position filename="gst/gstregistry.h" line="90"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="654">a #GList of #GstPlugin.
|
|
Use gst_plugin_list_free() after usage.
|
|
|
|
MT safe.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Plugin"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="registry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="643">registry to query</doc>
|
|
<type name="Registry" c:type="GstRegistry*"/>
|
|
</instance-parameter>
|
|
<parameter name="filter"
|
|
transfer-ownership="none"
|
|
scope="call"
|
|
closure="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="644">the filter to use</doc>
|
|
<type name="PluginFilter" c:type="GstPluginFilter"/>
|
|
</parameter>
|
|
<parameter name="first" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="645">only return first match</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="646">user data passed to the filter function</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_feature" c:identifier="gst_registry_remove_feature">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="614">Remove the feature from the registry.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstregistry.h" line="84"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="registry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="616">the registry to remove the feature from</doc>
|
|
<type name="Registry" c:type="GstRegistry*"/>
|
|
</instance-parameter>
|
|
<parameter name="feature" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="617">the feature to remove</doc>
|
|
<type name="PluginFeature" c:type="GstPluginFeature*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_plugin" c:identifier="gst_registry_remove_plugin">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="524">Remove the plugin from the registry.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstregistry.h" line="78"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="registry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="526">the registry to remove the plugin from</doc>
|
|
<type name="Registry" c:type="GstRegistry*"/>
|
|
</instance-parameter>
|
|
<parameter name="plugin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="527">the plugin to remove</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="scan_path" c:identifier="gst_registry_scan_path">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1388">Scan the given path for plugins to add to the registry. The syntax of the
|
|
path is specific to the registry.</doc>
|
|
<source-position filename="gst/gstregistry.h" line="67"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1396">%TRUE if registry changed</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="registry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1390">the registry to add found plugins to</doc>
|
|
<type name="Registry" c:type="GstRegistry*"/>
|
|
</instance-parameter>
|
|
<parameter name="path" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1391">the path to scan</doc>
|
|
<type name="filename" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<field name="object">
|
|
<type name="Object" c:type="GstObject"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="RegistryPrivate" c:type="GstRegistryPrivate*"/>
|
|
</field>
|
|
<glib:signal name="feature-added" when="last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="233">Signals that a feature has been added to the registry (possibly
|
|
replacing a previously-added one by the same name)</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="feature" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="236">the feature that has been added</doc>
|
|
<type name="PluginFeature"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="plugin-added" when="last">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="221">Signals that a plugin has been added to the registry (possibly
|
|
replacing a previously-added one by the same name)</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="plugin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="224">the plugin that has been added</doc>
|
|
<type name="Plugin"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
</class>
|
|
<record name="RegistryClass"
|
|
c:type="GstRegistryClass"
|
|
glib:is-gtype-struct-for="Registry">
|
|
<source-position filename="gst/gstregistry.h" line="58"/>
|
|
<field name="parent_class">
|
|
<type name="ObjectClass" c:type="GstObjectClass"/>
|
|
</field>
|
|
</record>
|
|
<record name="RegistryPrivate" c:type="GstRegistryPrivate" disguised="1">
|
|
<source-position filename="gst/gstregistry.h" line="42"/>
|
|
</record>
|
|
<enumeration name="ResourceError"
|
|
glib:type-name="GstResourceError"
|
|
glib:get-type="gst_resource_error_get_type"
|
|
c:type="GstResourceError"
|
|
glib:error-domain="gst-resource-error-quark">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="108">Resource errors are for any resource used by an element:
|
|
memory, files, network connections, process space, ...
|
|
They're typically used by source and sink elements.</doc>
|
|
<member name="failed"
|
|
value="1"
|
|
c:identifier="GST_RESOURCE_ERROR_FAILED"
|
|
glib:nick="failed">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="110">a general error which doesn't fit in any other
|
|
category. Make sure you add a custom message to the error call.</doc>
|
|
</member>
|
|
<member name="too_lazy"
|
|
value="2"
|
|
c:identifier="GST_RESOURCE_ERROR_TOO_LAZY"
|
|
glib:nick="too-lazy">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="112">do not use this except as a placeholder for
|
|
deciding where to go while developing code.</doc>
|
|
</member>
|
|
<member name="not_found"
|
|
value="3"
|
|
c:identifier="GST_RESOURCE_ERROR_NOT_FOUND"
|
|
glib:nick="not-found">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="114">used when the resource could not be found.</doc>
|
|
</member>
|
|
<member name="busy"
|
|
value="4"
|
|
c:identifier="GST_RESOURCE_ERROR_BUSY"
|
|
glib:nick="busy">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="115">used when resource is busy.</doc>
|
|
</member>
|
|
<member name="open_read"
|
|
value="5"
|
|
c:identifier="GST_RESOURCE_ERROR_OPEN_READ"
|
|
glib:nick="open-read">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="116">used when resource fails to open for reading.</doc>
|
|
</member>
|
|
<member name="open_write"
|
|
value="6"
|
|
c:identifier="GST_RESOURCE_ERROR_OPEN_WRITE"
|
|
glib:nick="open-write">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="117">used when resource fails to open for writing.</doc>
|
|
</member>
|
|
<member name="open_read_write"
|
|
value="7"
|
|
c:identifier="GST_RESOURCE_ERROR_OPEN_READ_WRITE"
|
|
glib:nick="open-read-write">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="118">used when resource cannot be opened for
|
|
both reading and writing, or either (but unspecified which).</doc>
|
|
</member>
|
|
<member name="close"
|
|
value="8"
|
|
c:identifier="GST_RESOURCE_ERROR_CLOSE"
|
|
glib:nick="close">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="120">used when the resource can't be closed.</doc>
|
|
</member>
|
|
<member name="read"
|
|
value="9"
|
|
c:identifier="GST_RESOURCE_ERROR_READ"
|
|
glib:nick="read">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="121">used when the resource can't be read from.</doc>
|
|
</member>
|
|
<member name="write"
|
|
value="10"
|
|
c:identifier="GST_RESOURCE_ERROR_WRITE"
|
|
glib:nick="write">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="122">used when the resource can't be written to.</doc>
|
|
</member>
|
|
<member name="seek"
|
|
value="11"
|
|
c:identifier="GST_RESOURCE_ERROR_SEEK"
|
|
glib:nick="seek">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="123">used when a seek on the resource fails.</doc>
|
|
</member>
|
|
<member name="sync"
|
|
value="12"
|
|
c:identifier="GST_RESOURCE_ERROR_SYNC"
|
|
glib:nick="sync">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="124">used when a synchronize on the resource fails.</doc>
|
|
</member>
|
|
<member name="settings"
|
|
value="13"
|
|
c:identifier="GST_RESOURCE_ERROR_SETTINGS"
|
|
glib:nick="settings">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="125">used when settings can't be manipulated on.</doc>
|
|
</member>
|
|
<member name="no_space_left"
|
|
value="14"
|
|
c:identifier="GST_RESOURCE_ERROR_NO_SPACE_LEFT"
|
|
glib:nick="no-space-left">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="126">used when the resource has no space left.</doc>
|
|
</member>
|
|
<member name="not_authorized"
|
|
value="15"
|
|
c:identifier="GST_RESOURCE_ERROR_NOT_AUTHORIZED"
|
|
glib:nick="not-authorized">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="127">used when the resource can't be opened
|
|
due to missing authorization.
|
|
(Since: 1.2.4)</doc>
|
|
</member>
|
|
<member name="num_errors"
|
|
value="16"
|
|
c:identifier="GST_RESOURCE_ERROR_NUM_ERRORS"
|
|
glib:nick="num-errors">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="130">the number of resource error types.</doc>
|
|
</member>
|
|
<function name="quark" c:identifier="gst_resource_error_quark">
|
|
<attribute name="doc.skip" value="true"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
</function>
|
|
</enumeration>
|
|
<function-macro name="SAMPLE" c:identifier="GST_SAMPLE" introspectable="0">
|
|
<source-position filename="gst/gstsample.h" line="39"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="SAMPLE_CAST"
|
|
c:identifier="GST_SAMPLE_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstsample.h" line="38"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="SECOND" value="1000000000" c:type="GST_SECOND">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="98">Constant that defines one GStreamer second.</doc>
|
|
<source-position filename="gst/gstclock.h" line="103"/>
|
|
<type name="ClockTimeDiff" c:type="GstClockTimeDiff"/>
|
|
</constant>
|
|
<constant name="SEGMENT_FORMAT"
|
|
value="paB"
|
|
c:type="GST_SEGMENT_FORMAT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="294">printf format type used to debug GStreamer segments. You can use this in
|
|
combination with GStreamer's debug logging system as well as the functions
|
|
gst_info_vasprintf(), gst_info_strdup_vprintf() and gst_info_strdup_printf()
|
|
to pretty-print #GstSegment structures.
|
|
This can only be used on pointers to GstSegment structures.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="303"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="SEGMENT_INSTANT_FLAGS"
|
|
value="912"
|
|
c:type="GST_SEGMENT_INSTANT_FLAGS">
|
|
<source-position filename="gst/gstsegment.h" line="197"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<constant name="SEQNUM_INVALID"
|
|
value="0"
|
|
c:type="GST_SEQNUM_INVALID"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="102">A value which is guaranteed to never be returned by
|
|
gst_util_seqnum_next().
|
|
|
|
Can be used as a default value in variables used to store seqnum.</doc>
|
|
<source-position filename="gst/gstutils.h" line="112"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<function-macro name="SHARED_TASK_POOL"
|
|
c:identifier="GST_SHARED_TASK_POOL"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttaskpool.h" line="127"/>
|
|
<parameters>
|
|
<parameter name="pool">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="SHARED_TASK_POOL_CLASS"
|
|
c:identifier="GST_SHARED_TASK_POOL_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttaskpool.h" line="129"/>
|
|
<parameters>
|
|
<parameter name="pclass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="SHARED_TASK_POOL_GET_CLASS"
|
|
c:identifier="GST_SHARED_TASK_POOL_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttaskpool.h" line="131"/>
|
|
<parameters>
|
|
<parameter name="pool">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STATE" c:identifier="GST_STATE" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="103">This macro returns the current #GstState of the element.</doc>
|
|
<source-position filename="gst/gstelement.h" line="109"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="105">a #GstElement to return state for.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STATE_BROADCAST"
|
|
c:identifier="GST_STATE_BROADCAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstelement.h" line="586"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STATE_GET_COND"
|
|
c:identifier="GST_STATE_GET_COND"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="570">Get the conditional used to signal the completion of a state change.</doc>
|
|
<source-position filename="gst/gstelement.h" line="576"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="572">a #GstElement</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STATE_GET_LOCK"
|
|
c:identifier="GST_STATE_GET_LOCK"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="561">Get a reference to the state lock of @elem.
|
|
This lock is used by the core. It is taken while getting or setting
|
|
the state, during state changes, and while finalizing.</doc>
|
|
<source-position filename="gst/gstelement.h" line="569"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="563">a #GstElement</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STATE_GET_NEXT"
|
|
c:identifier="GST_STATE_GET_NEXT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="144">Given a current state @cur and a target state @pending, calculate the next (intermediate)
|
|
#GstState.</doc>
|
|
<source-position filename="gst/gstelement.h" line="152"/>
|
|
<parameters>
|
|
<parameter name="cur">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="146">A starting #GstState</doc>
|
|
</parameter>
|
|
<parameter name="pending">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="147">A target #GstState</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STATE_LOCK"
|
|
c:identifier="GST_STATE_LOCK"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstelement.h" line="578"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STATE_NEXT"
|
|
c:identifier="GST_STATE_NEXT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="111">This macro returns the next #GstState of the element.</doc>
|
|
<source-position filename="gst/gstelement.h" line="117"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="113">a #GstElement to return the next state for.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STATE_PENDING"
|
|
c:identifier="GST_STATE_PENDING"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="119">This macro returns the currently pending #GstState of the element.</doc>
|
|
<source-position filename="gst/gstelement.h" line="125"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="121">a #GstElement to return the pending state for.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STATE_RETURN"
|
|
c:identifier="GST_STATE_RETURN"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="135">This macro returns the last #GstStateChangeReturn value.</doc>
|
|
<source-position filename="gst/gstelement.h" line="141"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="137">a #GstElement to return the last state result for.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STATE_SIGNAL"
|
|
c:identifier="GST_STATE_SIGNAL"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstelement.h" line="585"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STATE_TARGET"
|
|
c:identifier="GST_STATE_TARGET"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="127">This macro returns the target #GstState of the element.</doc>
|
|
<source-position filename="gst/gstelement.h" line="133"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="129">a #GstElement to return the target state for.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STATE_TRANSITION"
|
|
c:identifier="GST_STATE_TRANSITION"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="153">Given a current state @cur and a next state @next, calculate the associated
|
|
#GstStateChange transition.</doc>
|
|
<source-position filename="gst/gstelement.h" line="161"/>
|
|
<parameters>
|
|
<parameter name="cur">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="155">A current state</doc>
|
|
</parameter>
|
|
<parameter name="next">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="156">A next state</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STATE_TRANSITION_CURRENT"
|
|
c:identifier="GST_STATE_TRANSITION_CURRENT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="162">Given a state transition @trans, extract the current #GstState.</doc>
|
|
<source-position filename="gst/gstelement.h" line="168"/>
|
|
<parameters>
|
|
<parameter name="trans">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="164">A #GstStateChange</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STATE_TRANSITION_NEXT"
|
|
c:identifier="GST_STATE_TRANSITION_NEXT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="169">Given a state transition @trans, extract the next #GstState.</doc>
|
|
<source-position filename="gst/gstelement.h" line="175"/>
|
|
<parameters>
|
|
<parameter name="trans">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="171">A #GstStateChange</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STATE_TRYLOCK"
|
|
c:identifier="GST_STATE_TRYLOCK"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstelement.h" line="579"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STATE_UNLOCK"
|
|
c:identifier="GST_STATE_UNLOCK"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstelement.h" line="580"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STATE_WAIT"
|
|
c:identifier="GST_STATE_WAIT"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstelement.h" line="581"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STATE_WAIT_UNTIL"
|
|
c:identifier="GST_STATE_WAIT_UNTIL"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstelement.h" line="583"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
</parameter>
|
|
<parameter name="end_time">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STATIC_CAPS"
|
|
c:identifier="GST_STATIC_CAPS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="122">Creates a new #GstCaps static caps from an input string.
|
|
This can be used in pad templates.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="129"/>
|
|
<parameters>
|
|
<parameter name="string">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="124">the string describing the caps</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STATIC_PAD_TEMPLATE"
|
|
c:identifier="GST_STATIC_PAD_TEMPLATE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="175">Convenience macro to fill the values of a #GstStaticPadTemplate
|
|
structure.
|
|
Example:
|
|
|[<!-- language="C" -->
|
|
static GstStaticPadTemplate my_src_template = * GST_STATIC_PAD_TEMPLATE("src", GST_PAD_SRC, GST_PAD_ALWAYS,
|
|
,
|
|
GST_STATIC_CAPS_ANY);
|
|
]|</doc>
|
|
<source-position filename="gst/gstpadtemplate.h" line="191"/>
|
|
<parameters>
|
|
<parameter name="padname">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="177">the name template of the pad</doc>
|
|
</parameter>
|
|
<parameter name="dir">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="178">the GstPadDirection of the pad</doc>
|
|
</parameter>
|
|
<parameter name="pres">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="179">the GstPadPresence of the pad</doc>
|
|
</parameter>
|
|
<parameter name="caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="180">the GstStaticCaps of the pad</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="STIMEP_FORMAT"
|
|
value="paS"
|
|
c:type="GST_STIMEP_FORMAT"
|
|
version="1.18"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="318">printf format type used to debug GStreamer signed time value pointers. You
|
|
can use this in combination with GStreamer's debug logging system as well as
|
|
the functions gst_info_vasprintf(), gst_info_strdup_vprintf() and
|
|
gst_info_strdup_printf() to pretty-print signed time (pointers to
|
|
#GstClockTimeDiff or #gint64).</doc>
|
|
<source-position filename="gst/gstinfo.h" line="329"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<function-macro name="STIME_ARGS"
|
|
c:identifier="GST_STIME_ARGS"
|
|
version="1.6"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="259">Format @t for the #GST_STIME_FORMAT format string. Note: @t will be
|
|
evaluated more than once.</doc>
|
|
<source-position filename="gst/gstclock.h" line="268"/>
|
|
<parameters>
|
|
<parameter name="t">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="261">a #GstClockTimeDiff or #gint64</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="STIME_FORMAT"
|
|
value="c%"
|
|
c:type="GST_STIME_FORMAT"
|
|
version="1.6"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="244">A string that can be used in printf-like format strings to display a signed
|
|
#GstClockTimeDiff or #gint64 value in h:m:s format. Use GST_TIME_ARGS() to
|
|
construct the matching arguments.
|
|
|
|
Example:
|
|
|[
|
|
printf("%" GST_STIME_FORMAT "\n", GST_STIME_ARGS(ts));
|
|
]|</doc>
|
|
<source-position filename="gst/gstclock.h" line="258"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<function-macro name="STREAM" c:identifier="GST_STREAM" introspectable="0">
|
|
<source-position filename="gst/gststreams.h" line="36"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STREAM_CAST"
|
|
c:identifier="GST_STREAM_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gststreams.h" line="38"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STREAM_CLASS"
|
|
c:identifier="GST_STREAM_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gststreams.h" line="37"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STREAM_COLLECTION"
|
|
c:identifier="GST_STREAM_COLLECTION"
|
|
introspectable="0">
|
|
<source-position filename="gst/gststreamcollection.h" line="36"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STREAM_COLLECTION_CAST"
|
|
c:identifier="GST_STREAM_COLLECTION_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gststreamcollection.h" line="38"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STREAM_COLLECTION_CLASS"
|
|
c:identifier="GST_STREAM_COLLECTION_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gststreamcollection.h" line="37"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STREAM_COLLECTION_GET_CLASS"
|
|
c:identifier="GST_STREAM_COLLECTION_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gststreamcollection.h" line="35"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STREAM_GET_CLASS"
|
|
c:identifier="GST_STREAM_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gststreams.h" line="35"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STRUCTURE"
|
|
c:identifier="GST_STRUCTURE"
|
|
introspectable="0">
|
|
<source-position filename="gst/gststructure.h" line="38"/>
|
|
<parameters>
|
|
<parameter name="object">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STRUCTURE_CAST"
|
|
c:identifier="GST_STRUCTURE_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gststructure.h" line="37"/>
|
|
<parameters>
|
|
<parameter name="object">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STR_FOURCC"
|
|
c:identifier="GST_STR_FOURCC"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="48">Transform an input string into a #guint32 fourcc value with host
|
|
endianness.
|
|
Caller is responsible for ensuring the input string consists of at least
|
|
four characters.
|
|
|
|
|[
|
|
guint32 fourcc = GST_STR_FOURCC ("MJPG");
|
|
]|</doc>
|
|
<source-position filename="gst/gstvalue.h" line="62"/>
|
|
<parameters>
|
|
<parameter name="f">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="50">a string with at least four characters</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="STR_NULL"
|
|
c:identifier="GST_STR_NULL"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="230">Macro to use when a string must not be %NULL, but may be %NULL. If the string
|
|
is %NULL, "(NULL)" is printed instead.
|
|
In GStreamer printf string arguments may not be %NULL, because on some
|
|
platforms (ie Solaris) the libc crashes in that case. This includes debugging
|
|
strings.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="240"/>
|
|
<parameters>
|
|
<parameter name="str">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="232">The string to check.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="SYSTEM_CLOCK"
|
|
c:identifier="GST_SYSTEM_CLOCK"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstsystemclock.h" line="33"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="SYSTEM_CLOCK_CAST"
|
|
c:identifier="GST_SYSTEM_CLOCK_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstsystemclock.h" line="34"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="SYSTEM_CLOCK_CLASS"
|
|
c:identifier="GST_SYSTEM_CLOCK_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstsystemclock.h" line="36"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="SYSTEM_CLOCK_GET_CLASS"
|
|
c:identifier="GST_SYSTEM_CLOCK_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstsystemclock.h" line="38"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<record name="Sample"
|
|
c:type="GstSample"
|
|
glib:type-name="GstSample"
|
|
glib:get-type="gst_sample_get_type"
|
|
c:symbol-prefix="sample">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="22">A #GstSample is a small object containing data, a type, timing and
|
|
extra arbitrary information.</doc>
|
|
<source-position filename="gst/gstsample.h" line="48"/>
|
|
<constructor name="new" c:identifier="gst_sample_new">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="111">Create a new #GstSample with the provided details.
|
|
|
|
Free-function: gst_sample_unref</doc>
|
|
<source-position filename="gst/gstsample.h" line="56"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="122">the new #GstSample. gst_sample_unref()
|
|
after usage.</doc>
|
|
<type name="Sample" c:type="GstSample*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="buffer"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="113">a #GstBuffer, or %NULL</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
<parameter name="caps"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="114">a #GstCaps, or %NULL</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
<parameter name="segment"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="115">a #GstSegment, or %NULL</doc>
|
|
<type name="Segment" c:type="const GstSegment*"/>
|
|
</parameter>
|
|
<parameter name="info"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="116">a #GstStructure, or %NULL</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<method name="copy"
|
|
c:identifier="gst_sample_copy"
|
|
version="1.2"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.h"
|
|
line="161">Create a copy of the given sample. This will also make a newly allocated
|
|
copy of the data the source sample contains.</doc>
|
|
<source-position filename="gst/gstsample.h" line="172"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.h"
|
|
line="168">a new copy of @buf.</doc>
|
|
<type name="Sample" c:type="GstSample*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="buf" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.h"
|
|
line="163">a #GstSample.</doc>
|
|
<type name="Sample" c:type="const GstSample*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_buffer" c:identifier="gst_sample_get_buffer">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="175">Get the buffer associated with @sample</doc>
|
|
<source-position filename="gst/gstsample.h" line="61"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="181">the buffer of @sample or %NULL
|
|
when there is no buffer. The buffer remains valid as long as
|
|
@sample is valid. If you need to hold on to it for longer than
|
|
that, take a ref to the buffer with gst_buffer_ref().</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="sample" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="177">a #GstSample</doc>
|
|
<type name="Sample" c:type="GstSample*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_buffer_list"
|
|
c:identifier="gst_sample_get_buffer_list"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="247">Get the buffer list associated with @sample</doc>
|
|
<source-position filename="gst/gstsample.h" line="73"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="253">the buffer list of @sample or %NULL
|
|
when there is no buffer list. The buffer list remains valid as long as
|
|
@sample is valid. If you need to hold on to it for longer than
|
|
that, take a ref to the buffer list with gst_mini_object_ref ().</doc>
|
|
<type name="BufferList" c:type="GstBufferList*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="sample" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="249">a #GstSample</doc>
|
|
<type name="Sample" c:type="GstSample*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_caps" c:identifier="gst_sample_get_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="194">Get the caps associated with @sample</doc>
|
|
<source-position filename="gst/gstsample.h" line="64"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="200">the caps of @sample or %NULL
|
|
when there is no caps. The caps remain valid as long as @sample is
|
|
valid. If you need to hold on to the caps for longer than that,
|
|
take a ref to the caps with gst_caps_ref().</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="sample" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="196">a #GstSample</doc>
|
|
<type name="Sample" c:type="GstSample*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_info" c:identifier="gst_sample_get_info">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="230">Get extra information associated with @sample.</doc>
|
|
<source-position filename="gst/gstsample.h" line="70"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="236">the extra info of @sample.
|
|
The info remains valid as long as @sample is valid.</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="sample" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="232">a #GstSample</doc>
|
|
<type name="Sample" c:type="GstSample*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_segment" c:identifier="gst_sample_get_segment">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="213">Get the segment associated with @sample</doc>
|
|
<source-position filename="gst/gstsample.h" line="67"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="219">the segment of @sample.
|
|
The segment remains valid as long as @sample is valid.</doc>
|
|
<type name="Segment" c:type="GstSegment*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="sample" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="215">a #GstSample</doc>
|
|
<type name="Sample" c:type="GstSample*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="ref" c:identifier="gst_sample_ref" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.h"
|
|
line="91">Increases the refcount of the given sample by one.</doc>
|
|
<source-position filename="gst/gstsample.h" line="99"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.h"
|
|
line="97">@sample</doc>
|
|
<type name="Sample" c:type="GstSample*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="sample" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.h"
|
|
line="93">a #GstSample</doc>
|
|
<type name="Sample" c:type="GstSample*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_buffer"
|
|
c:identifier="gst_sample_set_buffer"
|
|
version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="304">Set the buffer associated with @sample. @sample must be writable.</doc>
|
|
<source-position filename="gst/gstsample.h" line="79"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="sample" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="306">A #GstSample</doc>
|
|
<type name="Sample" c:type="GstSample*"/>
|
|
</instance-parameter>
|
|
<parameter name="buffer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="307">A #GstBuffer</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_buffer_list"
|
|
c:identifier="gst_sample_set_buffer_list"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="268">Set the buffer list associated with @sample. @sample must be writable.</doc>
|
|
<source-position filename="gst/gstsample.h" line="76"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="sample" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="270">a #GstSample</doc>
|
|
<type name="Sample" c:type="GstSample*"/>
|
|
</instance-parameter>
|
|
<parameter name="buffer_list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="271">a #GstBufferList</doc>
|
|
<type name="BufferList" c:type="GstBufferList*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_caps"
|
|
c:identifier="gst_sample_set_caps"
|
|
version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="341">Set the caps associated with @sample. @sample must be writable.</doc>
|
|
<source-position filename="gst/gstsample.h" line="82"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="sample" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="343">A #GstSample</doc>
|
|
<type name="Sample" c:type="GstSample*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="344">A #GstCaps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_info"
|
|
c:identifier="gst_sample_set_info"
|
|
version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="400">Set the info structure associated with @sample. @sample must be writable,
|
|
and @info must not have a parent set already.</doc>
|
|
<source-position filename="gst/gstsample.h" line="88"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="sample" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="402">A #GstSample</doc>
|
|
<type name="Sample" c:type="GstSample*"/>
|
|
</instance-parameter>
|
|
<parameter name="info" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="403">A #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_segment"
|
|
c:identifier="gst_sample_set_segment"
|
|
version="1.16">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="378">Set the segment associated with @sample. @sample must be writable.</doc>
|
|
<source-position filename="gst/gstsample.h" line="85"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="sample" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="380">A #GstSample</doc>
|
|
<type name="Sample" c:type="GstSample*"/>
|
|
</instance-parameter>
|
|
<parameter name="segment" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.c"
|
|
line="381">A #GstSegment</doc>
|
|
<type name="Segment" c:type="const GstSegment*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unref" c:identifier="gst_sample_unref" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.h"
|
|
line="107">Decreases the refcount of the sample. If the refcount reaches 0, the
|
|
sample will be freed.</doc>
|
|
<source-position filename="gst/gstsample.h" line="114"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="sample" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.h"
|
|
line="109">a #GstSample</doc>
|
|
<type name="Sample" c:type="GstSample*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<bitfield name="SchedulingFlags"
|
|
glib:type-name="GstSchedulingFlags"
|
|
glib:get-type="gst_scheduling_flags_get_type"
|
|
c:type="GstSchedulingFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="606">The different scheduling flags.</doc>
|
|
<member name="seekable"
|
|
value="1"
|
|
c:identifier="GST_SCHEDULING_FLAG_SEEKABLE"
|
|
glib:nick="seekable">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="608">if seeking is possible</doc>
|
|
</member>
|
|
<member name="sequential"
|
|
value="2"
|
|
c:identifier="GST_SCHEDULING_FLAG_SEQUENTIAL"
|
|
glib:nick="sequential">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="609">if sequential access is recommended</doc>
|
|
</member>
|
|
<member name="bandwidth_limited"
|
|
value="4"
|
|
c:identifier="GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED"
|
|
glib:nick="bandwidth-limited">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="610">if bandwidth is limited and buffering possible (since 1.2)</doc>
|
|
</member>
|
|
</bitfield>
|
|
<enumeration name="SearchMode"
|
|
glib:type-name="GstSearchMode"
|
|
glib:get-type="gst_search_mode_get_type"
|
|
c:type="GstSearchMode">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="1160">The different search modes.</doc>
|
|
<member name="exact"
|
|
value="0"
|
|
c:identifier="GST_SEARCH_MODE_EXACT"
|
|
glib:nick="exact">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="1162">Only search for exact matches.</doc>
|
|
</member>
|
|
<member name="before"
|
|
value="1"
|
|
c:identifier="GST_SEARCH_MODE_BEFORE"
|
|
glib:nick="before">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="1163">Search for an exact match or the element just before.</doc>
|
|
</member>
|
|
<member name="after"
|
|
value="2"
|
|
c:identifier="GST_SEARCH_MODE_AFTER"
|
|
glib:nick="after">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="1164">Search for an exact match or the element just after.</doc>
|
|
</member>
|
|
</enumeration>
|
|
<bitfield name="SeekFlags"
|
|
glib:type-name="GstSeekFlags"
|
|
glib:get-type="gst_seek_flags_get_type"
|
|
c:type="GstSeekFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="50">Flags to be used with gst_element_seek() or gst_event_new_seek(). All flags
|
|
can be used together.
|
|
|
|
A non flushing seek might take some time to perform as the currently
|
|
playing data in the pipeline will not be cleared.
|
|
|
|
An accurate seek might be slower for formats that don't have any indexes
|
|
or timestamp markers in the stream. Specifying this flag might require a
|
|
complete scan of the file in those cases.
|
|
|
|
When performing a segment seek: after the playback of the segment completes,
|
|
no EOS will be emitted by the element that performed the seek, but a
|
|
%GST_MESSAGE_SEGMENT_DONE message will be posted on the bus by the element.
|
|
When this message is posted, it is possible to send a new seek event to
|
|
continue playback. With this seek method it is possible to perform seamless
|
|
looping or simple linear editing.
|
|
|
|
When only changing the playback rate and not the direction, the
|
|
%GST_SEEK_FLAG_INSTANT_RATE_CHANGE flag can be used for a non-flushing seek
|
|
to signal that the rate change should be applied immediately. This requires
|
|
special support in the seek handlers (e.g. demuxers) and any elements
|
|
synchronizing to the clock, and in general can't work in all cases (for example
|
|
UDP streaming where the delivery rate is controlled by a remote server). The
|
|
instant-rate-change mode supports changing the trickmode-related GST_SEEK_ flags,
|
|
but can't be used in conjunction with other seek flags that affect the new
|
|
playback position - as the playback position will not be changing.
|
|
|
|
When doing fast forward (rate > 1.0) or fast reverse (rate < -1.0) trickmode
|
|
playback, the %GST_SEEK_FLAG_TRICKMODE flag can be used to instruct decoders
|
|
and demuxers to adjust the playback rate by skipping frames. This can improve
|
|
performance and decrease CPU usage because not all frames need to be decoded.
|
|
|
|
Beyond that, the %GST_SEEK_FLAG_TRICKMODE_KEY_UNITS flag can be used to
|
|
request that decoders skip all frames except key units, and
|
|
%GST_SEEK_FLAG_TRICKMODE_NO_AUDIO flags can be used to request that audio
|
|
decoders do no decoding at all, and simple output silence.
|
|
|
|
The %GST_SEEK_FLAG_SNAP_BEFORE flag can be used to snap to the previous
|
|
relevant location, and the %GST_SEEK_FLAG_SNAP_AFTER flag can be used to
|
|
select the next relevant location. If %GST_SEEK_FLAG_KEY_UNIT is specified,
|
|
the relevant location is a keyframe. If both flags are specified, the nearest
|
|
of these locations will be selected. If none are specified, the implementation is
|
|
free to select whichever it wants.
|
|
|
|
The before and after here are in running time, so when playing backwards,
|
|
the next location refers to the one that will played in next, and not the
|
|
one that is located after in the actual source stream.
|
|
|
|
Also see part-seeking.txt in the GStreamer design documentation for more
|
|
details on the meaning of these flags and the behaviour expected of
|
|
elements that handle them.</doc>
|
|
<member name="none"
|
|
value="0"
|
|
c:identifier="GST_SEEK_FLAG_NONE"
|
|
glib:nick="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="52">no flag</doc>
|
|
</member>
|
|
<member name="flush"
|
|
value="1"
|
|
c:identifier="GST_SEEK_FLAG_FLUSH"
|
|
glib:nick="flush">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="53">flush pipeline</doc>
|
|
</member>
|
|
<member name="accurate"
|
|
value="2"
|
|
c:identifier="GST_SEEK_FLAG_ACCURATE"
|
|
glib:nick="accurate">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="54">accurate position is requested, this might
|
|
be considerably slower for some formats.</doc>
|
|
</member>
|
|
<member name="key_unit"
|
|
value="4"
|
|
c:identifier="GST_SEEK_FLAG_KEY_UNIT"
|
|
glib:nick="key-unit">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="56">seek to the nearest keyframe. This might be
|
|
faster but less accurate.</doc>
|
|
</member>
|
|
<member name="segment"
|
|
value="8"
|
|
c:identifier="GST_SEEK_FLAG_SEGMENT"
|
|
glib:nick="segment">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="58">perform a segment seek.</doc>
|
|
</member>
|
|
<member name="trickmode"
|
|
value="16"
|
|
c:identifier="GST_SEEK_FLAG_TRICKMODE"
|
|
glib:nick="trickmode">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="59">when doing fast forward or fast reverse playback, allow
|
|
elements to skip frames instead of generating all
|
|
frames. (Since: 1.6)</doc>
|
|
</member>
|
|
<member name="skip"
|
|
value="16"
|
|
c:identifier="GST_SEEK_FLAG_SKIP"
|
|
glib:nick="skip">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="88">Deprecated backward compatibility flag, replaced
|
|
by %GST_SEEK_FLAG_TRICKMODE</doc>
|
|
</member>
|
|
<member name="snap_before"
|
|
value="32"
|
|
c:identifier="GST_SEEK_FLAG_SNAP_BEFORE"
|
|
glib:nick="snap-before">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="62">go to a location before the requested position,
|
|
if %GST_SEEK_FLAG_KEY_UNIT this means the keyframe at or before
|
|
the requested position the one at or before the seek target.</doc>
|
|
</member>
|
|
<member name="snap_after"
|
|
value="64"
|
|
c:identifier="GST_SEEK_FLAG_SNAP_AFTER"
|
|
glib:nick="snap-after">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="65">go to a location after the requested position,
|
|
if %GST_SEEK_FLAG_KEY_UNIT this means the keyframe at of after the
|
|
requested position.</doc>
|
|
</member>
|
|
<member name="snap_nearest"
|
|
value="96"
|
|
c:identifier="GST_SEEK_FLAG_SNAP_NEAREST"
|
|
glib:nick="snap-nearest">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="68">go to a position near the requested position,
|
|
if %GST_SEEK_FLAG_KEY_UNIT this means the keyframe closest
|
|
to the requested position, if both keyframes are at an equal
|
|
distance, behaves like %GST_SEEK_FLAG_SNAP_BEFORE.</doc>
|
|
</member>
|
|
<member name="trickmode_key_units"
|
|
value="128"
|
|
c:identifier="GST_SEEK_FLAG_TRICKMODE_KEY_UNITS"
|
|
glib:nick="trickmode-key-units">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="72">when doing fast forward or fast reverse
|
|
playback, request that elements only decode keyframes
|
|
and skip all other content, for formats that have
|
|
keyframes. (Since: 1.6)</doc>
|
|
</member>
|
|
<member name="trickmode_no_audio"
|
|
value="256"
|
|
c:identifier="GST_SEEK_FLAG_TRICKMODE_NO_AUDIO"
|
|
glib:nick="trickmode-no-audio">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="81">when doing fast forward or fast reverse
|
|
playback, request that audio decoder elements skip
|
|
decoding and output only gap events or silence. (Since: 1.6)</doc>
|
|
</member>
|
|
<member name="trickmode_forward_predicted"
|
|
value="512"
|
|
c:identifier="GST_SEEK_FLAG_TRICKMODE_FORWARD_PREDICTED"
|
|
glib:nick="trickmode-forward-predicted">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="76">When doing fast forward or fast reverse
|
|
playback, request that elements only decode keyframes and
|
|
forward predicted frames and skip all other content (for example
|
|
B-Frames), for formats that have keyframes and forward predicted
|
|
frames. (Since: 1.18)</doc>
|
|
</member>
|
|
<member name="instant_rate_change"
|
|
value="1024"
|
|
c:identifier="GST_SEEK_FLAG_INSTANT_RATE_CHANGE"
|
|
glib:nick="instant-rate-change">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="84">Signals that a rate change should be
|
|
applied immediately. Only valid if start/stop position
|
|
are GST_CLOCK_TIME_NONE, the playback direction does not change
|
|
and the seek is not flushing. (Since: 1.18)</doc>
|
|
</member>
|
|
</bitfield>
|
|
<enumeration name="SeekType"
|
|
glib:type-name="GstSeekType"
|
|
glib:get-type="gst_seek_type_get_type"
|
|
c:type="GstSeekType">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="34">The different types of seek events. When constructing a seek event with
|
|
gst_event_new_seek() or when doing gst_segment_do_seek ().</doc>
|
|
<member name="none"
|
|
value="0"
|
|
c:identifier="GST_SEEK_TYPE_NONE"
|
|
glib:nick="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="36">no change in position is required</doc>
|
|
</member>
|
|
<member name="set"
|
|
value="1"
|
|
c:identifier="GST_SEEK_TYPE_SET"
|
|
glib:nick="set">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="37">absolute position is requested</doc>
|
|
</member>
|
|
<member name="end"
|
|
value="2"
|
|
c:identifier="GST_SEEK_TYPE_END"
|
|
glib:nick="end">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="38">relative position to duration is requested</doc>
|
|
</member>
|
|
</enumeration>
|
|
<record name="Segment"
|
|
c:type="GstSegment"
|
|
glib:type-name="GstSegment"
|
|
glib:get-type="gst_segment_get_type"
|
|
c:symbol-prefix="segment">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="29">This helper structure holds the relevant values for tracking the region of
|
|
interest in a media file, called a segment.
|
|
|
|
The structure can be used for two purposes:
|
|
|
|
* performing seeks (handling seek events)
|
|
* tracking playback regions (handling newsegment events)
|
|
|
|
The segment is usually configured by the application with a seek event which
|
|
is propagated upstream and eventually handled by an element that performs the seek.
|
|
|
|
The configured segment is then propagated back downstream with a newsegment event.
|
|
This information is then used to clip media to the segment boundaries.
|
|
|
|
A segment structure is initialized with gst_segment_init(), which takes a #GstFormat
|
|
that will be used as the format of the segment values. The segment will be configured
|
|
with a start value of 0 and a stop/duration of -1, which is undefined. The default
|
|
rate and applied_rate is 1.0.
|
|
|
|
The public duration field contains the duration of the segment. When using
|
|
the segment for seeking, the start and time members should normally be left
|
|
to their default 0 value. The stop position is left to -1 unless explicitly
|
|
configured to a different value after a seek event.
|
|
|
|
The current position in the segment should be set by changing the position
|
|
member in the structure.
|
|
|
|
For elements that perform seeks, the current segment should be updated with the
|
|
gst_segment_do_seek() and the values from the seek event. This method will update
|
|
all the segment fields. The position field will contain the new playback position.
|
|
If the start_type was different from GST_SEEK_TYPE_NONE, playback continues from
|
|
the position position, possibly with updated flags or rate.
|
|
|
|
For elements that want to use #GstSegment to track the playback region,
|
|
update the segment fields with the information from the newsegment event.
|
|
The gst_segment_clip() method can be used to check and clip
|
|
the media data to the segment boundaries.
|
|
|
|
For elements that want to synchronize to the pipeline clock, gst_segment_to_running_time()
|
|
can be used to convert a timestamp to a value that can be used to synchronize
|
|
to the clock. This function takes into account the base as well as
|
|
any rate or applied_rate conversions.
|
|
|
|
For elements that need to perform operations on media data in stream_time,
|
|
gst_segment_to_stream_time() can be used to convert a timestamp and the segment
|
|
info to stream time (which is always between 0 and the duration of the stream).</doc>
|
|
<source-position filename="gst/gstsegment.h" line="282"/>
|
|
<field name="flags" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="202">flags for this segment</doc>
|
|
<type name="SegmentFlags" c:type="GstSegmentFlags"/>
|
|
</field>
|
|
<field name="rate" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="203">the playback rate of the segment is set in response to a seek
|
|
event and, without any seek, the value should be `1.0`. This
|
|
value is used by elements that synchronize buffer [running
|
|
times](additional/design/synchronisation.md#running-time) on
|
|
the clock (usually the sink elements), leading to consuming
|
|
buffers faster (for a value `> 1.0`) or slower (for `0.0 <
|
|
value < 1.0`) than normal playback speed. The rate also
|
|
defines the playback direction, meaning that when the value is
|
|
lower than `0.0`, the playback happens in reverse, and the
|
|
[stream-time](additional/design/synchronisation.md#stream-time)
|
|
is going backward. The `rate` value should never be `0.0`.</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</field>
|
|
<field name="applied_rate" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="214">The applied rate is the rate that has been applied to the stream.
|
|
The effective/resulting playback rate of a stream is
|
|
`rate * applied_rate`.
|
|
The applied rate can be set by source elements when a server is
|
|
sending the stream with an already modified playback speed
|
|
rate. Filter elements that modify the stream in a way that
|
|
modifies the playback speed should also modify the applied
|
|
rate. For example the #videorate element when its
|
|
#videorate:rate property is set will set the applied rate of
|
|
the segment it pushed downstream. Also #scaletempo applies the
|
|
input segment rate to the stream and outputs a segment with
|
|
rate=1.0 and applied_rate=<inputsegment.rate>.</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</field>
|
|
<field name="format" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="226">the unit used for all of the segment's values.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</field>
|
|
<field name="base" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="227">the running time (plus elapsed time, see offset) of the
|
|
segment [start](GstSegment.start) ([stop](GstSegment.stop) if
|
|
rate < 0.0).</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</field>
|
|
<field name="offset" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="230">the offset expresses the elapsed time (in buffer timestamps)
|
|
before a seek with its start (stop if rate < 0.0) seek type
|
|
set to #GST_SEEK_TYPE_NONE, the value is set to the position
|
|
of the segment at the time of the seek.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</field>
|
|
<field name="start" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="234">the start time of the segment (in buffer timestamps)
|
|
[(PTS)](GstBuffer.pts), that is the timestamp of the first
|
|
buffer to output inside the segment (last one during
|
|
reverse playback). For example decoders will
|
|
[clip](gst_segment_clip) out the buffers before the start
|
|
time.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</field>
|
|
<field name="stop" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="240">the stop time of the segment (in buffer timestamps)
|
|
[(PTS)](GstBuffer.pts), that is the timestamp of the last
|
|
buffer to output inside the segment (first one during
|
|
reverse playback). For example decoders will
|
|
[clip](gst_segment_clip) out buffers after the stop time.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</field>
|
|
<field name="time" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="245">the stream time of the segment [start](GstSegment.start)
|
|
([stop](GstSegment.stop) if rate < 0.0).</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</field>
|
|
<field name="position" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="247">the buffer timestamp position in the segment is supposed to be
|
|
updated by elements such as sources, demuxers or parsers to
|
|
track progress by setting it to the last pushed buffer' end time
|
|
([timestamp](GstBuffer.pts) + #GstBuffer.duration) for that
|
|
specific segment. The position is used when reconfiguring the
|
|
segment with #gst_segment_do_seek when the seek is only
|
|
updating the segment (see [offset](GstSegment.offset)).</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</field>
|
|
<field name="duration" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="254">the duration of the segment is the maximum absolute difference
|
|
between #GstSegment.start and #GstSegment.stop if stop is not
|
|
set, otherwise it should be the difference between those
|
|
two values. This should be set by elements that know the
|
|
overall stream duration (like demuxers) and will be used when
|
|
seeking with #GST_SEEK_TYPE_END.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<constructor name="new" c:identifier="gst_segment_new">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="127">Allocate a new #GstSegment structure and initialize it using
|
|
gst_segment_init().
|
|
|
|
Free-function: gst_segment_free</doc>
|
|
<source-position filename="gst/gstsegment.h" line="288"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="135">a new #GstSegment, free with gst_segment_free().</doc>
|
|
<type name="Segment" c:type="GstSegment*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<method name="clip" c:identifier="gst_segment_clip">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="868">Clip the given @start and @stop values to the segment boundaries given
|
|
in @segment. @start and @stop are compared and clipped to @segment
|
|
start and stop values.
|
|
|
|
If the function returns %FALSE, @start and @stop are known to fall
|
|
outside of @segment and @clip_start and @clip_stop are not updated.
|
|
|
|
When the function returns %TRUE, @clip_start and @clip_stop will be
|
|
updated. If @clip_start or @clip_stop are different from @start or @stop
|
|
respectively, the region fell partially in the segment.
|
|
|
|
Note that when @stop is -1, @clip_stop will be set to the end of the
|
|
segment. Depending on the use case, this may or may not be what you want.</doc>
|
|
<source-position filename="gst/gstsegment.h" line="337"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="891">%TRUE if the given @start and @stop times fall partially or
|
|
completely in @segment, %FALSE if the values are completely outside
|
|
of the segment.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="segment" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="870">a #GstSegment structure.</doc>
|
|
<type name="Segment" c:type="const GstSegment*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="871">the format of the segment.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="872">the start position in the segment</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="stop" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="873">the stop position in the segment</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="clip_start"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="874">the clipped start position in the segment</doc>
|
|
<type name="guint64" c:type="guint64*"/>
|
|
</parameter>
|
|
<parameter name="clip_stop"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="875">the clipped stop position in the segment</doc>
|
|
<type name="guint64" c:type="guint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="copy" c:identifier="gst_segment_copy">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="90">Create a copy of given @segment.
|
|
|
|
Free-function: gst_segment_free</doc>
|
|
<source-position filename="gst/gstsegment.h" line="291"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="98">a new #GstSegment, free with gst_segment_free().</doc>
|
|
<type name="Segment" c:type="GstSegment*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="segment" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="92">a #GstSegment</doc>
|
|
<type name="Segment" c:type="const GstSegment*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="copy_into" c:identifier="gst_segment_copy_into">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="111">Copy the contents of @src into @dest.</doc>
|
|
<source-position filename="gst/gstsegment.h" line="294"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="113">a #GstSegment</doc>
|
|
<type name="Segment" c:type="const GstSegment*"/>
|
|
</instance-parameter>
|
|
<parameter name="dest" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="114">a #GstSegment</doc>
|
|
<type name="Segment" c:type="GstSegment*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="do_seek" c:identifier="gst_segment_do_seek">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="189">Update the segment structure with the field values of a seek event (see
|
|
gst_event_new_seek()).
|
|
|
|
After calling this method, the segment field position and time will
|
|
contain the requested new position in the segment. The new requested
|
|
position in the segment depends on @rate and @start_type and @stop_type.
|
|
|
|
For positive @rate, the new position in the segment is the new @segment
|
|
start field when it was updated with a @start_type different from
|
|
#GST_SEEK_TYPE_NONE. If no update was performed on @segment start position
|
|
(#GST_SEEK_TYPE_NONE), @start is ignored and @segment position is
|
|
unmodified.
|
|
|
|
For negative @rate, the new position in the segment is the new @segment
|
|
stop field when it was updated with a @stop_type different from
|
|
#GST_SEEK_TYPE_NONE. If no stop was previously configured in the segment, the
|
|
duration of the segment will be used to update the stop position.
|
|
If no update was performed on @segment stop position (#GST_SEEK_TYPE_NONE),
|
|
@stop is ignored and @segment position is unmodified.
|
|
|
|
The applied rate of the segment will be set to 1.0 by default.
|
|
If the caller can apply a rate change, it should update @segment
|
|
rate and applied_rate after calling this function.
|
|
|
|
@update will be set to %TRUE if a seek should be performed to the segment
|
|
position field. This field can be %FALSE if, for example, only the @rate
|
|
has been changed but not the playback position.</doc>
|
|
<source-position filename="gst/gstsegment.h" line="340"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="229">%TRUE if the seek could be performed.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="segment" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="191">a #GstSegment structure.</doc>
|
|
<type name="Segment" c:type="GstSegment*"/>
|
|
</instance-parameter>
|
|
<parameter name="rate" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="192">the rate of the segment.</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="193">the format of the segment.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="194">the segment flags for the segment</doc>
|
|
<type name="SeekFlags" c:type="GstSeekFlags"/>
|
|
</parameter>
|
|
<parameter name="start_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="195">the seek method</doc>
|
|
<type name="SeekType" c:type="GstSeekType"/>
|
|
</parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="196">the seek start value</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="stop_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="197">the seek method</doc>
|
|
<type name="SeekType" c:type="GstSeekType"/>
|
|
</parameter>
|
|
<parameter name="stop" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="198">the seek stop value</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="update"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="199">boolean holding whether position was updated.</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="free" c:identifier="gst_segment_free">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="148">Free the allocated segment @segment.</doc>
|
|
<source-position filename="gst/gstsegment.h" line="297"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="segment" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="150">a #GstSegment</doc>
|
|
<type name="Segment" c:type="GstSegment*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="init" c:identifier="gst_segment_init">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="160">The start/position fields are set to 0 and the stop/duration
|
|
fields are set to -1 (unknown). The default rate of 1.0 and no
|
|
flags are set.
|
|
|
|
Initialize @segment to its default values.</doc>
|
|
<source-position filename="gst/gstsegment.h" line="300"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="segment" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="162">a #GstSegment structure.</doc>
|
|
<type name="Segment" c:type="GstSegment*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="163">the format of the segment.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_equal"
|
|
c:identifier="gst_segment_is_equal"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="1216">Checks for two segments being equal. Equality here is defined
|
|
as perfect equality, including floating point values.</doc>
|
|
<source-position filename="gst/gstsegment.h" line="345"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="1226">%TRUE if the segments are equal, %FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="s0" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="1218">a #GstSegment structure.</doc>
|
|
<type name="Segment" c:type="const GstSegment*"/>
|
|
</instance-parameter>
|
|
<parameter name="s1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="1219">a #GstSegment structure.</doc>
|
|
<type name="Segment" c:type="const GstSegment*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="offset_running_time"
|
|
c:identifier="gst_segment_offset_running_time"
|
|
version="1.2.3">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="1167">Adjust the values in @segment so that @offset is applied to all
|
|
future running-time calculations.</doc>
|
|
<source-position filename="gst/gstsegment.h" line="334"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="1178">%TRUE if the segment could be updated successfully. If %FALSE is
|
|
returned, @offset is not in @segment.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="segment" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="1169">a #GstSegment structure.</doc>
|
|
<type name="Segment" c:type="GstSegment*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="1170">the format of the segment.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="1171">the offset to apply in the segment</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="position_from_running_time"
|
|
c:identifier="gst_segment_position_from_running_time"
|
|
version="1.8">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="937">Convert @running_time into a position in the segment so that
|
|
gst_segment_to_running_time() with that position returns @running_time.</doc>
|
|
<source-position filename="gst/gstsegment.h" line="328"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="946">the position in the segment for @running_time. This function returns
|
|
-1 when @running_time is -1 or when it is not inside @segment.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="segment" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="939">a #GstSegment structure.</doc>
|
|
<type name="Segment" c:type="const GstSegment*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="940">the format of the segment.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="running_time" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="941">the running_time in the segment</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="position_from_running_time_full"
|
|
c:identifier="gst_segment_position_from_running_time_full"
|
|
version="1.8">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="985">Translate @running_time to the segment position using the currently configured
|
|
segment. Compared to gst_segment_position_from_running_time() this function can
|
|
return negative segment position.
|
|
|
|
This function is typically used by elements that need to synchronize buffers
|
|
against the clock or each other.
|
|
|
|
@running_time can be any value and the result of this function for values
|
|
outside of the segment is extrapolated.
|
|
|
|
When 1 is returned, @running_time resulted in a positive position returned
|
|
in @position.
|
|
|
|
When this function returns -1, the returned @position was < 0, and the value
|
|
in the position variable should be negated to get the real negative segment
|
|
position.</doc>
|
|
<source-position filename="gst/gstsegment.h" line="325"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="1009">a 1 or -1 on success, 0 on failure.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="segment" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="987">a #GstSegment structure.</doc>
|
|
<type name="Segment" c:type="const GstSegment*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="988">the format of the segment.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="running_time" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="989">the running-time</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="position"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="990">the resulting position in the segment</doc>
|
|
<type name="guint64" c:type="guint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="position_from_stream_time"
|
|
c:identifier="gst_segment_position_from_stream_time"
|
|
version="1.8">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="659">Convert @stream_time into a position in the segment so that
|
|
gst_segment_to_stream_time() with that position returns @stream_time.</doc>
|
|
<source-position filename="gst/gstsegment.h" line="312"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="668">the position in the segment for @stream_time. This function returns
|
|
-1 when @stream_time is -1 or when it is not inside @segment.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="segment" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="661">a #GstSegment structure.</doc>
|
|
<type name="Segment" c:type="const GstSegment*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="662">the format of the segment.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="stream_time" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="663">the stream_time in the segment</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="position_from_stream_time_full"
|
|
c:identifier="gst_segment_position_from_stream_time_full"
|
|
version="1.8">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="548">Translate @stream_time to the segment position using the currently configured
|
|
segment. Compared to gst_segment_position_from_stream_time() this function can
|
|
return negative segment position.
|
|
|
|
This function is typically used by elements that need to synchronize buffers
|
|
against the clock or each other.
|
|
|
|
@stream_time can be any value and the result of this function for values outside
|
|
of the segment is extrapolated.
|
|
|
|
When 1 is returned, @stream_time resulted in a positive position returned
|
|
in @position.
|
|
|
|
When this function returns -1, the returned @position should be negated
|
|
to get the real negative segment position.</doc>
|
|
<source-position filename="gst/gstsegment.h" line="309"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="571">a 1 or -1 on success, 0 on failure.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="segment" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="550">a #GstSegment structure.</doc>
|
|
<type name="Segment" c:type="const GstSegment*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="551">the format of the segment.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="stream_time" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="552">the stream-time</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="position"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="553">the resulting position in the segment</doc>
|
|
<type name="guint64" c:type="guint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_running_time"
|
|
c:identifier="gst_segment_set_running_time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="1121">Adjust the start/stop and base values of @segment such that the next valid
|
|
buffer will be one with @running_time.</doc>
|
|
<source-position filename="gst/gstsegment.h" line="331"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="1130">%TRUE if the segment could be updated successfully. If %FALSE is
|
|
returned, @running_time is -1 or not in @segment.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="segment" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="1123">a #GstSegment structure.</doc>
|
|
<type name="Segment" c:type="GstSegment*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="1124">the format of the segment.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="running_time" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="1125">the running_time in the segment</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="to_position"
|
|
c:identifier="gst_segment_to_position"
|
|
deprecated="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="1098">Convert @running_time into a position in the segment so that
|
|
gst_segment_to_running_time() with that position returns @running_time.</doc>
|
|
<doc-deprecated xml:space="preserve">Use gst_segment_position_from_running_time() instead.</doc-deprecated>
|
|
<source-position filename="gst/gstsegment.h" line="322"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="1107">the position in the segment for @running_time. This function returns
|
|
-1 when @running_time is -1 or when it is not inside @segment.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="segment" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="1100">a #GstSegment structure.</doc>
|
|
<type name="Segment" c:type="const GstSegment*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="1101">the format of the segment.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="running_time" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="1102">the running_time in the segment</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="to_running_time"
|
|
c:identifier="gst_segment_to_running_time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="820">Translate @position to the total running time using the currently configured
|
|
segment. Position is a value between @segment start and stop time.
|
|
|
|
This function is typically used by elements that need to synchronize to the
|
|
global clock in a pipeline. The running time is a constantly increasing value
|
|
starting from 0. When gst_segment_init() is called, this value will reset to
|
|
0.
|
|
|
|
This function returns -1 if the position is outside of @segment start and stop.</doc>
|
|
<source-position filename="gst/gstsegment.h" line="315"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="836">the position as the total running time or -1 when an invalid position
|
|
was given.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="segment" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="822">a #GstSegment structure.</doc>
|
|
<type name="Segment" c:type="const GstSegment*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="823">the format of the segment.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="position" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="824">the position in the segment</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="to_running_time_full"
|
|
c:identifier="gst_segment_to_running_time_full"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="707">Translate @position to the total running time using the currently configured
|
|
segment. Compared to gst_segment_to_running_time() this function can return
|
|
negative running-time.
|
|
|
|
This function is typically used by elements that need to synchronize buffers
|
|
against the clock or each other.
|
|
|
|
@position can be any value and the result of this function for values outside
|
|
of the segment is extrapolated.
|
|
|
|
When 1 is returned, @position resulted in a positive running-time returned
|
|
in @running_time.
|
|
|
|
When this function returns -1, the returned @running_time should be negated
|
|
to get the real negative running time.</doc>
|
|
<source-position filename="gst/gstsegment.h" line="318"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="730">a 1 or -1 on success, 0 on failure.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="segment" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="709">a #GstSegment structure.</doc>
|
|
<type name="Segment" c:type="const GstSegment*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="710">the format of the segment.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="position" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="711">the position in the segment</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="running_time"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="712">result running-time</doc>
|
|
<type name="guint64" c:type="guint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="to_stream_time"
|
|
c:identifier="gst_segment_to_stream_time"
|
|
version="1.8">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="498">Translate @position to stream time using the currently configured
|
|
segment. The @position value must be between @segment start and
|
|
stop value.
|
|
|
|
This function is typically used by elements that need to operate on
|
|
the stream time of the buffers it receives, such as effect plugins.
|
|
In those use cases, @position is typically the buffer timestamp or
|
|
clock time that one wants to convert to the stream time.
|
|
The stream time is always between 0 and the total duration of the
|
|
media stream.</doc>
|
|
<source-position filename="gst/gstsegment.h" line="306"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="515">the position in stream_time or -1 when an invalid position
|
|
was given.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="segment" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="500">a #GstSegment structure.</doc>
|
|
<type name="Segment" c:type="const GstSegment*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="501">the format of the segment.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="position" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="502">the position in the segment</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="to_stream_time_full"
|
|
c:identifier="gst_segment_to_stream_time_full"
|
|
version="1.8">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="390">Translate @position to the total stream time using the currently configured
|
|
segment. Compared to gst_segment_to_stream_time() this function can return
|
|
negative stream-time.
|
|
|
|
This function is typically used by elements that need to synchronize buffers
|
|
against the clock or each other.
|
|
|
|
@position can be any value and the result of this function for values outside
|
|
of the segment is extrapolated.
|
|
|
|
When 1 is returned, @position resulted in a positive stream-time returned
|
|
in @stream_time.
|
|
|
|
When this function returns -1, the returned @stream_time should be negated
|
|
to get the real negative stream time.</doc>
|
|
<source-position filename="gst/gstsegment.h" line="303"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="413">a 1 or -1 on success, 0 on failure.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="segment" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="392">a #GstSegment structure.</doc>
|
|
<type name="Segment" c:type="const GstSegment*"/>
|
|
</instance-parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="393">the format of the segment.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
<parameter name="position" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="394">the position in the segment</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="stream_time"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.c"
|
|
line="395">result stream-time</doc>
|
|
<type name="guint64" c:type="guint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<bitfield name="SegmentFlags"
|
|
glib:type-name="GstSegmentFlags"
|
|
glib:get-type="gst_segment_flags_get_type"
|
|
c:type="GstSegmentFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="163">Flags for the GstSegment structure. Currently mapped to the corresponding
|
|
values of the seek flags.</doc>
|
|
<member name="none"
|
|
value="0"
|
|
c:identifier="GST_SEGMENT_FLAG_NONE"
|
|
glib:nick="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="165">no flags</doc>
|
|
</member>
|
|
<member name="reset"
|
|
value="1"
|
|
c:identifier="GST_SEGMENT_FLAG_RESET"
|
|
glib:nick="reset">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="166">reset the pipeline running_time to the segment
|
|
running_time</doc>
|
|
</member>
|
|
<member name="trickmode"
|
|
value="16"
|
|
c:identifier="GST_SEGMENT_FLAG_TRICKMODE"
|
|
glib:nick="trickmode">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="168">perform skip playback (Since: 1.6)</doc>
|
|
</member>
|
|
<member name="skip"
|
|
value="16"
|
|
c:identifier="GST_SEGMENT_FLAG_SKIP"
|
|
glib:nick="skip">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="176">Deprecated backward compatibility flag, replaced
|
|
by @GST_SEGMENT_FLAG_TRICKMODE</doc>
|
|
</member>
|
|
<member name="segment"
|
|
value="8"
|
|
c:identifier="GST_SEGMENT_FLAG_SEGMENT"
|
|
glib:nick="segment">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="169">send SEGMENT_DONE instead of EOS</doc>
|
|
</member>
|
|
<member name="trickmode_key_units"
|
|
value="128"
|
|
c:identifier="GST_SEGMENT_FLAG_TRICKMODE_KEY_UNITS"
|
|
glib:nick="trickmode-key-units">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="170">Decode only keyframes, where
|
|
possible (Since: 1.6)</doc>
|
|
</member>
|
|
<member name="trickmode_forward_predicted"
|
|
value="512"
|
|
c:identifier="GST_SEGMENT_FLAG_TRICKMODE_FORWARD_PREDICTED"
|
|
glib:nick="trickmode-forward-predicted">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="172">Decode only keyframes or forward
|
|
predicted frames, where possible (Since: 1.18)</doc>
|
|
</member>
|
|
<member name="trickmode_no_audio"
|
|
value="256"
|
|
c:identifier="GST_SEGMENT_FLAG_TRICKMODE_NO_AUDIO"
|
|
glib:nick="trickmode-no-audio">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsegment.h"
|
|
line="174">Do not decode any audio, where
|
|
possible (Since: 1.6)</doc>
|
|
</member>
|
|
</bitfield>
|
|
<class name="SharedTaskPool"
|
|
c:symbol-prefix="shared_task_pool"
|
|
c:type="GstSharedTaskPool"
|
|
version="1.20"
|
|
parent="TaskPool"
|
|
glib:type-name="GstSharedTaskPool"
|
|
glib:get-type="gst_shared_task_pool_get_type"
|
|
glib:type-struct="SharedTaskPoolClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.h"
|
|
line="133">The #GstSharedTaskPool object.</doc>
|
|
<source-position filename="gst/gsttaskpool.h" line="161"/>
|
|
<constructor name="new"
|
|
c:identifier="gst_shared_task_pool_new"
|
|
version="1.20">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="525">Create a new shared task pool. The shared task pool will queue tasks on
|
|
a maximum number of threads, 1 by default.
|
|
|
|
Do not use a #GstSharedTaskPool to manage potentially inter-dependent tasks such
|
|
as pad tasks, as having one task waiting on another to return before returning
|
|
would cause obvious deadlocks if they happen to share the same thread.</doc>
|
|
<source-position filename="gst/gsttaskpool.h" line="173"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="535">a new #GstSharedTaskPool. gst_object_unref() after usage.</doc>
|
|
<type name="TaskPool" c:type="GstTaskPool*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<method name="get_max_threads"
|
|
c:identifier="gst_shared_task_pool_get_max_threads"
|
|
version="1.20">
|
|
<source-position filename="gst/gsttaskpool.h" line="170"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="508">the maximum number of threads @pool is configured to spawn</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="506">a #GstSharedTaskPool</doc>
|
|
<type name="SharedTaskPool" c:type="GstSharedTaskPool*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_max_threads"
|
|
c:identifier="gst_shared_task_pool_set_max_threads"
|
|
version="1.20">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="474">Update the maximal number of threads the @pool may spawn. When
|
|
the maximal number of threads is reduced, existing threads are not
|
|
immediately shut down, see g_thread_pool_set_max_threads().
|
|
|
|
Setting @max_threads to 0 effectively freezes the pool.</doc>
|
|
<source-position filename="gst/gsttaskpool.h" line="167"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="476">a #GstSharedTaskPool</doc>
|
|
<type name="SharedTaskPool" c:type="GstSharedTaskPool*"/>
|
|
</instance-parameter>
|
|
<parameter name="max_threads" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="477">Maximum number of threads to spawn.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<field name="parent">
|
|
<type name="TaskPool" c:type="GstTaskPool"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="SharedTaskPoolPrivate" c:type="GstSharedTaskPoolPrivate*"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="SharedTaskPoolClass"
|
|
c:type="GstSharedTaskPoolClass"
|
|
glib:is-gtype-struct-for="SharedTaskPool"
|
|
version="1.20">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.h"
|
|
line="149">The #GstSharedTaskPoolClass object.</doc>
|
|
<source-position filename="gst/gsttaskpool.h" line="161"/>
|
|
<field name="parent_class">
|
|
<type name="TaskPoolClass" c:type="GstTaskPoolClass"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="SharedTaskPoolPrivate"
|
|
c:type="GstSharedTaskPoolPrivate"
|
|
disguised="1">
|
|
<source-position filename="gst/gsttaskpool.h" line="124"/>
|
|
</record>
|
|
<bitfield name="StackTraceFlags"
|
|
version="1.12"
|
|
glib:type-name="GstStackTraceFlags"
|
|
glib:get-type="gst_stack_trace_flags_get_type"
|
|
c:type="GstStackTraceFlags">
|
|
<member name="none"
|
|
value="0"
|
|
c:identifier="GST_STACK_TRACE_SHOW_NONE"
|
|
glib:nick="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="180">Try to retrieve the minimum information
|
|
available, which may be none on some platforms
|
|
(Since: 1.18)</doc>
|
|
</member>
|
|
<member name="full"
|
|
value="1"
|
|
c:identifier="GST_STACK_TRACE_SHOW_FULL"
|
|
glib:nick="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="183">Try to retrieve as much information as possible,
|
|
including source information when getting the
|
|
stack trace</doc>
|
|
</member>
|
|
</bitfield>
|
|
<enumeration name="State"
|
|
glib:type-name="GstState"
|
|
glib:get-type="gst_state_get_type"
|
|
c:type="GstState">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="36">The possible states an element can be in. States can be changed using
|
|
gst_element_set_state() and checked using gst_element_get_state().</doc>
|
|
<member name="void_pending"
|
|
value="0"
|
|
c:identifier="GST_STATE_VOID_PENDING"
|
|
glib:nick="void-pending">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="38">no pending state.</doc>
|
|
</member>
|
|
<member name="null"
|
|
value="1"
|
|
c:identifier="GST_STATE_NULL"
|
|
glib:nick="null">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="39">the NULL state or initial state of an element.</doc>
|
|
</member>
|
|
<member name="ready"
|
|
value="2"
|
|
c:identifier="GST_STATE_READY"
|
|
glib:nick="ready">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="40">the element is ready to go to PAUSED.</doc>
|
|
</member>
|
|
<member name="paused"
|
|
value="3"
|
|
c:identifier="GST_STATE_PAUSED"
|
|
glib:nick="paused">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="41">the element is PAUSED, it is ready to accept and
|
|
process data. Sink elements however only accept one
|
|
buffer and then block.</doc>
|
|
</member>
|
|
<member name="playing"
|
|
value="4"
|
|
c:identifier="GST_STATE_PLAYING"
|
|
glib:nick="playing">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="44">the element is PLAYING, the #GstClock is running and
|
|
the data is flowing.</doc>
|
|
</member>
|
|
</enumeration>
|
|
<enumeration name="StateChange"
|
|
glib:type-name="GstStateChange"
|
|
glib:get-type="gst_state_change_get_type"
|
|
c:type="GstStateChange">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="177">These are the different state changes an element goes through.
|
|
%GST_STATE_NULL &rArr; %GST_STATE_PLAYING is called an upwards state change
|
|
and %GST_STATE_PLAYING &rArr; %GST_STATE_NULL a downwards state change.</doc>
|
|
<member name="null_to_ready"
|
|
value="10"
|
|
c:identifier="GST_STATE_CHANGE_NULL_TO_READY"
|
|
glib:nick="null-to-ready">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="179">state change from NULL to READY.
|
|
* The element must check if the resources it needs are available. Device
|
|
sinks and -sources typically try to probe the device to constrain their
|
|
caps.
|
|
* The element opens the device (in case feature need to be probed).</doc>
|
|
</member>
|
|
<member name="ready_to_paused"
|
|
value="19"
|
|
c:identifier="GST_STATE_CHANGE_READY_TO_PAUSED"
|
|
glib:nick="ready-to-paused">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="184">state change from READY to PAUSED.
|
|
* The element pads are activated in order to receive data in PAUSED.
|
|
Streaming threads are started.
|
|
* Some elements might need to return %GST_STATE_CHANGE_ASYNC and complete
|
|
the state change when they have enough information. It is a requirement
|
|
for sinks to return %GST_STATE_CHANGE_ASYNC and complete the state change
|
|
when they receive the first buffer or %GST_EVENT_EOS (preroll).
|
|
Sinks also block the dataflow when in PAUSED.
|
|
* A pipeline resets the running_time to 0.
|
|
* Live sources return %GST_STATE_CHANGE_NO_PREROLL and don't generate data.</doc>
|
|
</member>
|
|
<member name="paused_to_playing"
|
|
value="28"
|
|
c:identifier="GST_STATE_CHANGE_PAUSED_TO_PLAYING"
|
|
glib:nick="paused-to-playing">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="194">state change from PAUSED to PLAYING.
|
|
* Most elements ignore this state change.
|
|
* The pipeline selects a #GstClock and distributes this to all the children
|
|
before setting them to PLAYING. This means that it is only allowed to
|
|
synchronize on the #GstClock in the PLAYING state.
|
|
* The pipeline uses the #GstClock and the running_time to calculate the
|
|
base_time. The base_time is distributed to all children when performing
|
|
the state change.
|
|
* Sink elements stop blocking on the preroll buffer or event and start
|
|
rendering the data.
|
|
* Sinks can post %GST_MESSAGE_EOS in the PLAYING state. It is not allowed
|
|
to post %GST_MESSAGE_EOS when not in the PLAYING state.
|
|
* While streaming in PAUSED or PLAYING elements can create and remove
|
|
sometimes pads.
|
|
* Live sources start generating data and return %GST_STATE_CHANGE_SUCCESS.</doc>
|
|
</member>
|
|
<member name="playing_to_paused"
|
|
value="35"
|
|
c:identifier="GST_STATE_CHANGE_PLAYING_TO_PAUSED"
|
|
glib:nick="playing-to-paused">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="209">state change from PLAYING to PAUSED.
|
|
* Most elements ignore this state change.
|
|
* The pipeline calculates the running_time based on the last selected
|
|
#GstClock and the base_time. It stores this information to continue
|
|
playback when going back to the PLAYING state.
|
|
* Sinks unblock any #GstClock wait calls.
|
|
* When a sink does not have a pending buffer to play, it returns
|
|
#GST_STATE_CHANGE_ASYNC from this state change and completes the state
|
|
change when it receives a new buffer or an %GST_EVENT_EOS.
|
|
* Any queued %GST_MESSAGE_EOS items are removed since they will be reposted
|
|
when going back to the PLAYING state. The EOS messages are queued in
|
|
#GstBin containers.
|
|
* Live sources stop generating data and return %GST_STATE_CHANGE_NO_PREROLL.</doc>
|
|
</member>
|
|
<member name="paused_to_ready"
|
|
value="26"
|
|
c:identifier="GST_STATE_CHANGE_PAUSED_TO_READY"
|
|
glib:nick="paused-to-ready">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="222">state change from PAUSED to READY.
|
|
* Sinks unblock any waits in the preroll.
|
|
* Elements unblock any waits on devices
|
|
* Chain or get_range functions return %GST_FLOW_FLUSHING.
|
|
* The element pads are deactivated so that streaming becomes impossible and
|
|
all streaming threads are stopped.
|
|
* The sink forgets all negotiated formats
|
|
* Elements remove all sometimes pads</doc>
|
|
</member>
|
|
<member name="ready_to_null"
|
|
value="17"
|
|
c:identifier="GST_STATE_CHANGE_READY_TO_NULL"
|
|
glib:nick="ready-to-null">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="230">state change from READY to NULL.
|
|
* Elements close devices
|
|
* Elements reset any internal state.</doc>
|
|
</member>
|
|
<member name="null_to_null"
|
|
value="9"
|
|
c:identifier="GST_STATE_CHANGE_NULL_TO_NULL"
|
|
glib:nick="null-to-null">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="233">state change from NULL to NULL. (Since: 1.14)</doc>
|
|
</member>
|
|
<member name="ready_to_ready"
|
|
value="18"
|
|
c:identifier="GST_STATE_CHANGE_READY_TO_READY"
|
|
glib:nick="ready-to-ready">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="234">state change from READY to READY,
|
|
This might happen when going to PAUSED asynchronously failed, in that case
|
|
elements should make sure they are in a proper, coherent READY state. (Since: 1.14)</doc>
|
|
</member>
|
|
<member name="paused_to_paused"
|
|
value="27"
|
|
c:identifier="GST_STATE_CHANGE_PAUSED_TO_PAUSED"
|
|
glib:nick="paused-to-paused">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="237">state change from PAUSED to PAUSED.
|
|
This might happen when elements were in PLAYING state and 'lost state',
|
|
they should make sure to go back to real 'PAUSED' state (prerolling for example). (Since: 1.14)</doc>
|
|
</member>
|
|
<member name="playing_to_playing"
|
|
value="36"
|
|
c:identifier="GST_STATE_CHANGE_PLAYING_TO_PLAYING"
|
|
glib:nick="playing-to-playing">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="240">state change from PLAYING to PLAYING. (Since: 1.14)</doc>
|
|
</member>
|
|
<function name="get_name"
|
|
c:identifier="gst_state_change_get_name"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1331">Gets a string representing the given state transition.</doc>
|
|
<source-position filename="gst/gstutils.h" line="999"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1337">a string with the name of the state
|
|
result.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="transition" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1333">a #GstStateChange to get the name of.</doc>
|
|
<type name="StateChange" c:type="GstStateChange"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</enumeration>
|
|
<enumeration name="StateChangeReturn"
|
|
glib:type-name="GstStateChangeReturn"
|
|
glib:get-type="gst_state_change_return_get_type"
|
|
c:type="GstStateChangeReturn">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="66">The possible return values from a state change function such as
|
|
gst_element_set_state(). Only @GST_STATE_CHANGE_FAILURE is a real failure.</doc>
|
|
<member name="failure"
|
|
value="0"
|
|
c:identifier="GST_STATE_CHANGE_FAILURE"
|
|
glib:nick="failure">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="68">the state change failed</doc>
|
|
</member>
|
|
<member name="success"
|
|
value="1"
|
|
c:identifier="GST_STATE_CHANGE_SUCCESS"
|
|
glib:nick="success">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="69">the state change succeeded</doc>
|
|
</member>
|
|
<member name="async"
|
|
value="2"
|
|
c:identifier="GST_STATE_CHANGE_ASYNC"
|
|
glib:nick="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="70">the state change will happen asynchronously</doc>
|
|
</member>
|
|
<member name="no_preroll"
|
|
value="3"
|
|
c:identifier="GST_STATE_CHANGE_NO_PREROLL"
|
|
glib:nick="no-preroll">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="71">the state change succeeded but the element
|
|
cannot produce data in %GST_STATE_PAUSED.
|
|
This typically happens with live sources.</doc>
|
|
</member>
|
|
</enumeration>
|
|
<record name="StaticCaps" c:type="GstStaticCaps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="336">Datastructure to initialize #GstCaps from a string description usually
|
|
used in conjunction with GST_STATIC_CAPS() and gst_static_caps_get() to
|
|
instantiate a #GstCaps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="352"/>
|
|
<field name="caps" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="338">the cached #GstCaps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</field>
|
|
<field name="string" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="339">a string describing a caps</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<method name="cleanup" c:identifier="gst_static_caps_cleanup">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="461">Clean up the cached caps contained in @static_caps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="438"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="static_caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="463">the #GstStaticCaps to clean</doc>
|
|
<type name="StaticCaps" c:type="GstStaticCaps*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get" c:identifier="gst_static_caps_get">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="396">Converts a #GstStaticCaps to a #GstCaps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="435"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="402">a pointer to the #GstCaps. Unref
|
|
after usage. Since the core holds an additional ref to the
|
|
returned caps, use gst_caps_make_writable() on the returned caps
|
|
to modify it.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="static_caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="398">the #GstStaticCaps to convert</doc>
|
|
<type name="StaticCaps" c:type="GstStaticCaps*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<record name="StaticPadTemplate" c:type="GstStaticPadTemplate">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="159">Structure describing the #GstStaticPadTemplate.</doc>
|
|
<source-position filename="gst/gstpadtemplate.h" line="173"/>
|
|
<field name="name_template" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="161">the name of the template</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</field>
|
|
<field name="direction" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="162">the direction of the template</doc>
|
|
<type name="PadDirection" c:type="GstPadDirection"/>
|
|
</field>
|
|
<field name="presence" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="163">the presence of the template</doc>
|
|
<type name="PadPresence" c:type="GstPadPresence"/>
|
|
</field>
|
|
<field name="static_caps" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.h"
|
|
line="164">the caps of the template.</doc>
|
|
<type name="StaticCaps" c:type="GstStaticCaps"/>
|
|
</field>
|
|
<method name="get" c:identifier="gst_static_pad_template_get">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="298">Converts a #GstStaticPadTemplate into a #GstPadTemplate.</doc>
|
|
<source-position filename="gst/gstpadtemplate.h" line="219"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="304">a new #GstPadTemplate.</doc>
|
|
<type name="PadTemplate" c:type="GstPadTemplate*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pad_template" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="300">the static pad template</doc>
|
|
<type name="StaticPadTemplate" c:type="GstStaticPadTemplate*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_caps" c:identifier="gst_static_pad_template_get_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="444">Gets the capabilities of the static pad template.</doc>
|
|
<source-position filename="gst/gstpadtemplate.h" line="227"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="450">the #GstCaps of the static pad template.
|
|
Unref after usage. Since the core holds an additional
|
|
ref to the returned caps, use gst_caps_make_writable()
|
|
on the returned caps to modify it.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="templ" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpadtemplate.c"
|
|
line="446">a #GstStaticPadTemplate to get capabilities of.</doc>
|
|
<type name="StaticPadTemplate" c:type="GstStaticPadTemplate*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<class name="Stream"
|
|
c:symbol-prefix="stream"
|
|
c:type="GstStream"
|
|
version="1.10"
|
|
parent="Object"
|
|
glib:type-name="GstStream"
|
|
glib:get-type="gst_stream_get_type"
|
|
glib:type-struct="StreamClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.h"
|
|
line="70">A high-level object representing a single stream. It might be backed, or
|
|
not, by an actual flow of data in a pipeline (#GstPad).
|
|
|
|
A #GstStream does not care about data changes (such as decoding, encoding,
|
|
parsing,...) as long as the underlying data flow corresponds to the same
|
|
high-level flow (ex: a certain audio track).
|
|
|
|
A #GstStream contains all the information pertinent to a stream, such as
|
|
stream-id, tags, caps, type, ...
|
|
|
|
Elements can subclass a #GstStream for internal usage (to contain information
|
|
pertinent to streams of data).</doc>
|
|
<source-position filename="gst/gststreams.h" line="113"/>
|
|
<constructor name="new" c:identifier="gst_stream_new" version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="198">Create a new #GstStream for the given @stream_id, @caps, @type
|
|
and @flags</doc>
|
|
<source-position filename="gst/gststreams.h" line="121"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="209">The new #GstStream</doc>
|
|
<type name="Stream" c:type="GstStream*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="stream_id"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="200">the id for the new stream. If %NULL,
|
|
a new one will be automatically generated</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="caps"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="202">the #GstCaps of the stream</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="203">the #GstStreamType of the stream</doc>
|
|
<type name="StreamType" c:type="GstStreamType"/>
|
|
</parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="204">the #GstStreamFlags of the stream</doc>
|
|
<type name="StreamFlags" c:type="GstStreamFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<method name="get_caps"
|
|
c:identifier="gst_stream_get_caps"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="445">Retrieve the caps for @stream, if any</doc>
|
|
<source-position filename="gst/gststreams.h" line="150"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="451">The #GstCaps for @stream</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="stream" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="447">a #GstStream</doc>
|
|
<type name="Stream" c:type="GstStream*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_stream_flags"
|
|
c:identifier="gst_stream_get_stream_flags"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="292">Retrieve the current stream flags for @stream</doc>
|
|
<source-position filename="gst/gststreams.h" line="132"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="298">The #GstStreamFlags for @stream</doc>
|
|
<type name="StreamFlags" c:type="GstStreamFlags"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="stream" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="294">a #GstStream</doc>
|
|
<type name="Stream" c:type="GstStream*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_stream_id"
|
|
c:identifier="gst_stream_get_stream_id"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="251">Returns the stream ID of @stream.</doc>
|
|
<source-position filename="gst/gststreams.h" line="126"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="257">the stream ID of @stream. Only valid
|
|
during the lifetime of @stream.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="stream" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="253">a #GstStream</doc>
|
|
<type name="Stream" c:type="GstStream*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_stream_type"
|
|
c:identifier="gst_stream_get_stream_type"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="338">Retrieve the stream type for @stream</doc>
|
|
<source-position filename="gst/gststreams.h" line="138"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="344">The #GstStreamType for @stream</doc>
|
|
<type name="StreamType" c:type="GstStreamType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="stream" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="340">a #GstStream</doc>
|
|
<type name="Stream" c:type="GstStream*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_tags"
|
|
c:identifier="gst_stream_get_tags"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="391">Retrieve the tags for @stream, if any</doc>
|
|
<source-position filename="gst/gststreams.h" line="144"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="397">The #GstTagList for @stream</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="stream" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="393">a #GstStream</doc>
|
|
<type name="Stream" c:type="GstStream*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_caps"
|
|
c:identifier="gst_stream_set_caps"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="416">Set the caps for the #GstStream</doc>
|
|
<source-position filename="gst/gststreams.h" line="147"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="stream" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="418">a #GstStream</doc>
|
|
<type name="Stream" c:type="GstStream*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="419">a #GstCaps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_stream_flags"
|
|
c:identifier="gst_stream_set_stream_flags"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="270">Set the @flags for the @stream.</doc>
|
|
<source-position filename="gst/gststreams.h" line="129"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="stream" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="272">a #GstStream</doc>
|
|
<type name="Stream" c:type="GstStream*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="273">the flags to set on @stream</doc>
|
|
<type name="StreamFlags" c:type="GstStreamFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_stream_type"
|
|
c:identifier="gst_stream_set_stream_type"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="316">Set the stream type of @stream</doc>
|
|
<source-position filename="gst/gststreams.h" line="135"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="stream" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="318">a #GstStream</doc>
|
|
<type name="Stream" c:type="GstStream*"/>
|
|
</instance-parameter>
|
|
<parameter name="stream_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="319">the type to set on @stream</doc>
|
|
<type name="StreamType" c:type="GstStreamType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_tags"
|
|
c:identifier="gst_stream_set_tags"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="362">Set the tags for the #GstStream</doc>
|
|
<source-position filename="gst/gststreams.h" line="141"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="stream" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="364">a #GstStream</doc>
|
|
<type name="Stream" c:type="GstStream*"/>
|
|
</instance-parameter>
|
|
<parameter name="tags"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="365">a #GstTagList</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="caps" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="153">The #GstCaps of the #GstStream.</doc>
|
|
<type name="Caps"/>
|
|
</property>
|
|
<property name="stream-flags"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<type name="StreamFlags"/>
|
|
</property>
|
|
<property name="stream-id"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="117">The unique identifier of the #GstStream. Can only be set at construction
|
|
time.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</property>
|
|
<property name="stream-type"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="141">The #GstStreamType of the #GstStream. Can only be set at construction time.</doc>
|
|
<type name="StreamType"/>
|
|
</property>
|
|
<property name="tags" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="164">The #GstTagList of the #GstStream.</doc>
|
|
<type name="TagList"/>
|
|
</property>
|
|
<field name="object" readable="0" private="1">
|
|
<type name="Object" c:type="GstObject"/>
|
|
</field>
|
|
<field name="stream_id">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.h"
|
|
line="72">The Stream Identifier for this #GstStream</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="StreamPrivate" c:type="GstStreamPrivate*"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="StreamClass"
|
|
c:type="GstStreamClass"
|
|
glib:is-gtype-struct-for="Stream">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.h"
|
|
line="102">GstStream class structure</doc>
|
|
<source-position filename="gst/gststreams.h" line="113"/>
|
|
<field name="parent_class">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.h"
|
|
line="104">the parent class structure</doc>
|
|
<type name="ObjectClass" c:type="GstObjectClass"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<class name="StreamCollection"
|
|
c:symbol-prefix="stream_collection"
|
|
c:type="GstStreamCollection"
|
|
version="1.10"
|
|
parent="Object"
|
|
glib:type-name="GstStreamCollection"
|
|
glib:get-type="gst_stream_collection_get_type"
|
|
glib:type-struct="StreamCollectionClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreamcollection.h"
|
|
line="47">A collection of #GstStream that are available.
|
|
|
|
A #GstStreamCollection will be provided by elements that can make those
|
|
streams available. Applications can use the collection to show the user
|
|
what streams are available by using %gst_stream_collection_get_stream()
|
|
|
|
Once posted, a #GstStreamCollection is immutable. Updates are made by sending
|
|
a new #GstStreamCollection message, which may or may not share some of
|
|
the #GstStream objects from the collection it replaces. The receiver can check
|
|
the sender of a stream collection message to know which collection is
|
|
obsoleted.
|
|
|
|
Several elements in a pipeline can provide #GstStreamCollection.
|
|
|
|
Applications can activate streams from a collection by using the
|
|
#GST_EVENT_SELECT_STREAMS event on a pipeline, bin or element.</doc>
|
|
<source-position filename="gst/gststreamcollection.h" line="94"/>
|
|
<constructor name="new"
|
|
c:identifier="gst_stream_collection_new"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreamcollection.c"
|
|
line="161">Create a new #GstStreamCollection.</doc>
|
|
<source-position filename="gst/gststreamcollection.h" line="100"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreamcollection.c"
|
|
line="167">The new #GstStreamCollection.</doc>
|
|
<type name="StreamCollection" c:type="GstStreamCollection*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="upstream_id"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreamcollection.c"
|
|
line="163">The stream id of the parent stream</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<virtual-method name="stream_notify">
|
|
<source-position filename="gst/gststreamcollection.h" line="90"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="collection" transfer-ownership="none">
|
|
<type name="StreamCollection" c:type="GstStreamCollection*"/>
|
|
</instance-parameter>
|
|
<parameter name="stream" transfer-ownership="none">
|
|
<type name="Stream" c:type="GstStream*"/>
|
|
</parameter>
|
|
<parameter name="pspec" transfer-ownership="none">
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="add_stream"
|
|
c:identifier="gst_stream_collection_add_stream"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreamcollection.c"
|
|
line="269">Add the given @stream to the @collection.</doc>
|
|
<source-position filename="gst/gststreamcollection.h" line="112"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreamcollection.c"
|
|
line="276">%TRUE if the @stream was properly added, else %FALSE</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="collection" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreamcollection.c"
|
|
line="271">a #GstStreamCollection</doc>
|
|
<type name="StreamCollection" c:type="GstStreamCollection*"/>
|
|
</instance-parameter>
|
|
<parameter name="stream" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreamcollection.c"
|
|
line="272">the #GstStream to add</doc>
|
|
<type name="Stream" c:type="GstStream*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_size"
|
|
c:identifier="gst_stream_collection_get_size"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreamcollection.c"
|
|
line="296">Get the number of streams this collection contains</doc>
|
|
<source-position filename="gst/gststreamcollection.h" line="106"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreamcollection.c"
|
|
line="302">The number of streams that @collection contains</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="collection" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreamcollection.c"
|
|
line="298">a #GstStreamCollection</doc>
|
|
<type name="StreamCollection" c:type="GstStreamCollection*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_stream"
|
|
c:identifier="gst_stream_collection_get_stream"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreamcollection.c"
|
|
line="314">Retrieve the #GstStream with index @index from the collection.
|
|
|
|
The caller should not modify the returned #GstStream</doc>
|
|
<source-position filename="gst/gststreamcollection.h" line="109"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreamcollection.c"
|
|
line="323">A #GstStream</doc>
|
|
<type name="Stream" c:type="GstStream*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="collection" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreamcollection.c"
|
|
line="316">a #GstStreamCollection</doc>
|
|
<type name="StreamCollection" c:type="GstStreamCollection*"/>
|
|
</instance-parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreamcollection.c"
|
|
line="317">Index of the stream to retrieve</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_upstream_id"
|
|
c:identifier="gst_stream_collection_get_upstream_id"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreamcollection.c"
|
|
line="201">Returns the upstream id of the @collection.</doc>
|
|
<source-position filename="gst/gststreamcollection.h" line="103"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreamcollection.c"
|
|
line="207">The upstream id</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="collection" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreamcollection.c"
|
|
line="203">a #GstStreamCollection</doc>
|
|
<type name="StreamCollection" c:type="GstStreamCollection*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="upstream-id"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</property>
|
|
<field name="object" readable="0" private="1">
|
|
<type name="Object" c:type="GstObject"/>
|
|
</field>
|
|
<field name="upstream_id" readable="0" private="1">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="StreamCollectionPrivate"
|
|
c:type="GstStreamCollectionPrivate*"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<glib:signal name="stream-notify"
|
|
when="first"
|
|
no-recurse="1"
|
|
detailed="1"
|
|
no-hooks="1">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<type name="Stream"/>
|
|
</parameter>
|
|
<parameter name="p0" transfer-ownership="none">
|
|
<type name="GObject.ParamSpec"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
</class>
|
|
<record name="StreamCollectionClass"
|
|
c:type="GstStreamCollectionClass"
|
|
glib:is-gtype-struct-for="StreamCollection">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreamcollection.h"
|
|
line="79">GstStreamCollection class structure</doc>
|
|
<source-position filename="gst/gststreamcollection.h" line="94"/>
|
|
<field name="parent_class">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreamcollection.h"
|
|
line="81">the parent class structure</doc>
|
|
<type name="ObjectClass" c:type="GstObjectClass"/>
|
|
</field>
|
|
<field name="stream_notify">
|
|
<callback name="stream_notify">
|
|
<source-position filename="gst/gststreamcollection.h" line="90"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="collection" transfer-ownership="none">
|
|
<type name="StreamCollection" c:type="GstStreamCollection*"/>
|
|
</parameter>
|
|
<parameter name="stream" transfer-ownership="none">
|
|
<type name="Stream" c:type="GstStream*"/>
|
|
</parameter>
|
|
<parameter name="pspec" transfer-ownership="none">
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="StreamCollectionPrivate"
|
|
c:type="GstStreamCollectionPrivate"
|
|
disguised="1">
|
|
<source-position filename="gst/gststreamcollection.h" line="42"/>
|
|
</record>
|
|
<enumeration name="StreamError"
|
|
glib:type-name="GstStreamError"
|
|
glib:get-type="gst_stream_error_get_type"
|
|
c:type="GstStreamError"
|
|
glib:error-domain="gst-stream-error-quark">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="156">Stream errors are for anything related to the stream being processed:
|
|
format errors, media type errors, ...
|
|
They're typically used by decoders, demuxers, converters, ...</doc>
|
|
<member name="failed"
|
|
value="1"
|
|
c:identifier="GST_STREAM_ERROR_FAILED"
|
|
glib:nick="failed">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="158">a general error which doesn't fit in any other
|
|
category. Make sure you add a custom message to the error call.</doc>
|
|
</member>
|
|
<member name="too_lazy"
|
|
value="2"
|
|
c:identifier="GST_STREAM_ERROR_TOO_LAZY"
|
|
glib:nick="too-lazy">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="160">do not use this except as a placeholder for
|
|
deciding where to go while developing code.</doc>
|
|
</member>
|
|
<member name="not_implemented"
|
|
value="3"
|
|
c:identifier="GST_STREAM_ERROR_NOT_IMPLEMENTED"
|
|
glib:nick="not-implemented">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="162">use this when you do not want to implement
|
|
this functionality yet.</doc>
|
|
</member>
|
|
<member name="type_not_found"
|
|
value="4"
|
|
c:identifier="GST_STREAM_ERROR_TYPE_NOT_FOUND"
|
|
glib:nick="type-not-found">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="164">used when the element doesn't know the
|
|
stream's type.</doc>
|
|
</member>
|
|
<member name="wrong_type"
|
|
value="5"
|
|
c:identifier="GST_STREAM_ERROR_WRONG_TYPE"
|
|
glib:nick="wrong-type">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="166">used when the element doesn't handle this type
|
|
of stream.</doc>
|
|
</member>
|
|
<member name="codec_not_found"
|
|
value="6"
|
|
c:identifier="GST_STREAM_ERROR_CODEC_NOT_FOUND"
|
|
glib:nick="codec-not-found">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="168">used when there's no codec to handle the
|
|
stream's type.</doc>
|
|
</member>
|
|
<member name="decode"
|
|
value="7"
|
|
c:identifier="GST_STREAM_ERROR_DECODE"
|
|
glib:nick="decode">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="170">used when decoding fails.</doc>
|
|
</member>
|
|
<member name="encode"
|
|
value="8"
|
|
c:identifier="GST_STREAM_ERROR_ENCODE"
|
|
glib:nick="encode">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="171">used when encoding fails.</doc>
|
|
</member>
|
|
<member name="demux"
|
|
value="9"
|
|
c:identifier="GST_STREAM_ERROR_DEMUX"
|
|
glib:nick="demux">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="172">used when demuxing fails.</doc>
|
|
</member>
|
|
<member name="mux"
|
|
value="10"
|
|
c:identifier="GST_STREAM_ERROR_MUX"
|
|
glib:nick="mux">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="173">used when muxing fails.</doc>
|
|
</member>
|
|
<member name="format"
|
|
value="11"
|
|
c:identifier="GST_STREAM_ERROR_FORMAT"
|
|
glib:nick="format">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="174">used when the stream is of the wrong format
|
|
(for example, wrong caps).</doc>
|
|
</member>
|
|
<member name="decrypt"
|
|
value="12"
|
|
c:identifier="GST_STREAM_ERROR_DECRYPT"
|
|
glib:nick="decrypt">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="176">used when the stream is encrypted and can't be
|
|
decrypted because this is not supported by the element.</doc>
|
|
</member>
|
|
<member name="decrypt_nokey"
|
|
value="13"
|
|
c:identifier="GST_STREAM_ERROR_DECRYPT_NOKEY"
|
|
glib:nick="decrypt-nokey">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="178">used when the stream is encrypted and
|
|
can't be decrypted because no suitable key is available.</doc>
|
|
</member>
|
|
<member name="num_errors"
|
|
value="14"
|
|
c:identifier="GST_STREAM_ERROR_NUM_ERRORS"
|
|
glib:nick="num-errors">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.h"
|
|
line="180">the number of stream error types.</doc>
|
|
</member>
|
|
<function name="quark" c:identifier="gst_stream_error_quark">
|
|
<attribute name="doc.skip" value="true"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
</function>
|
|
</enumeration>
|
|
<bitfield name="StreamFlags"
|
|
version="1.2"
|
|
glib:type-name="GstStreamFlags"
|
|
glib:get-type="gst_stream_flags_get_type"
|
|
c:type="GstStreamFlags">
|
|
<member name="none"
|
|
value="0"
|
|
c:identifier="GST_STREAM_FLAG_NONE"
|
|
glib:nick="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="197">This stream has no special attributes</doc>
|
|
</member>
|
|
<member name="sparse"
|
|
value="1"
|
|
c:identifier="GST_STREAM_FLAG_SPARSE"
|
|
glib:nick="sparse">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="198">This stream is a sparse stream (e.g. a subtitle
|
|
stream), data may flow only in irregular intervals with large gaps in
|
|
between.</doc>
|
|
</member>
|
|
<member name="select"
|
|
value="2"
|
|
c:identifier="GST_STREAM_FLAG_SELECT"
|
|
glib:nick="select">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="201">This stream should be selected by default. This
|
|
flag may be used by demuxers to signal that a stream should be selected
|
|
by default in a playback scenario.</doc>
|
|
</member>
|
|
<member name="unselect"
|
|
value="4"
|
|
c:identifier="GST_STREAM_FLAG_UNSELECT"
|
|
glib:nick="unselect">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="204">This stream should not be selected by default.
|
|
This flag may be used by demuxers to signal that a stream should not
|
|
be selected by default in a playback scenario, but only if explicitly
|
|
selected by the user (e.g. an audio track for the hard of hearing or
|
|
a director's commentary track).</doc>
|
|
</member>
|
|
</bitfield>
|
|
<record name="StreamPrivate" c:type="GstStreamPrivate" disguised="1">
|
|
<source-position filename="gst/gststreams.h" line="68"/>
|
|
</record>
|
|
<enumeration name="StreamStatusType"
|
|
glib:type-name="GstStreamStatusType"
|
|
glib:get-type="gst_stream_status_type_get_type"
|
|
c:type="GstStreamStatusType">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="283">The type of a %GST_MESSAGE_STREAM_STATUS. The stream status messages inform the
|
|
application of new streaming threads and their status.</doc>
|
|
<member name="create"
|
|
value="0"
|
|
c:identifier="GST_STREAM_STATUS_TYPE_CREATE"
|
|
glib:nick="create">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="285">A new thread need to be created.</doc>
|
|
</member>
|
|
<member name="enter"
|
|
value="1"
|
|
c:identifier="GST_STREAM_STATUS_TYPE_ENTER"
|
|
glib:nick="enter">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="286">a thread entered its loop function</doc>
|
|
</member>
|
|
<member name="leave"
|
|
value="2"
|
|
c:identifier="GST_STREAM_STATUS_TYPE_LEAVE"
|
|
glib:nick="leave">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="287">a thread left its loop function</doc>
|
|
</member>
|
|
<member name="destroy"
|
|
value="3"
|
|
c:identifier="GST_STREAM_STATUS_TYPE_DESTROY"
|
|
glib:nick="destroy">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="288">a thread is destroyed</doc>
|
|
</member>
|
|
<member name="start"
|
|
value="8"
|
|
c:identifier="GST_STREAM_STATUS_TYPE_START"
|
|
glib:nick="start">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="289">a thread is started</doc>
|
|
</member>
|
|
<member name="pause"
|
|
value="9"
|
|
c:identifier="GST_STREAM_STATUS_TYPE_PAUSE"
|
|
glib:nick="pause">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="290">a thread is paused</doc>
|
|
</member>
|
|
<member name="stop"
|
|
value="10"
|
|
c:identifier="GST_STREAM_STATUS_TYPE_STOP"
|
|
glib:nick="stop">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="291">a thread is stopped</doc>
|
|
</member>
|
|
</enumeration>
|
|
<bitfield name="StreamType"
|
|
version="1.10"
|
|
glib:type-name="GstStreamType"
|
|
glib:get-type="gst_stream_type_get_type"
|
|
c:type="GstStreamType">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.h"
|
|
line="40">#GstStreamType describes a high level classification set for
|
|
flows of data in #GstStream objects.
|
|
|
|
Note that this is a flag, and therefore users should not assume it
|
|
will be a single value. Do not use the equality operator for checking
|
|
whether a stream is of a certain type.</doc>
|
|
<member name="unknown"
|
|
value="1"
|
|
c:identifier="GST_STREAM_TYPE_UNKNOWN"
|
|
glib:nick="unknown">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.h"
|
|
line="42">The stream is of unknown (unclassified) type.</doc>
|
|
</member>
|
|
<member name="audio"
|
|
value="2"
|
|
c:identifier="GST_STREAM_TYPE_AUDIO"
|
|
glib:nick="audio">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.h"
|
|
line="43">The stream is of audio data</doc>
|
|
</member>
|
|
<member name="video"
|
|
value="4"
|
|
c:identifier="GST_STREAM_TYPE_VIDEO"
|
|
glib:nick="video">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.h"
|
|
line="44">The stream carries video data</doc>
|
|
</member>
|
|
<member name="container"
|
|
value="8"
|
|
c:identifier="GST_STREAM_TYPE_CONTAINER"
|
|
glib:nick="container">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.h"
|
|
line="45">The stream is a muxed container type</doc>
|
|
</member>
|
|
<member name="text"
|
|
value="16"
|
|
c:identifier="GST_STREAM_TYPE_TEXT"
|
|
glib:nick="text">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.h"
|
|
line="46">The stream contains subtitle / subpicture data.</doc>
|
|
</member>
|
|
<function name="get_name"
|
|
c:identifier="gst_stream_type_get_name"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="540">Get a descriptive string for a given #GstStreamType</doc>
|
|
<source-position filename="gst/gststreams.h" line="153"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="546">A string describing the stream type</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="stype" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="542">a #GstStreamType</doc>
|
|
<type name="StreamType" c:type="GstStreamType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</bitfield>
|
|
<record name="Structure"
|
|
c:type="GstStructure"
|
|
glib:type-name="GstStructure"
|
|
glib:get-type="gst_structure_get_type"
|
|
c:symbol-prefix="structure">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="22">A #GstStructure is a collection of key/value pairs. The keys are expressed as
|
|
GQuarks and the values can be of any GType.
|
|
|
|
In addition to the key/value pairs, a #GstStructure also has a name. The name
|
|
starts with a letter and can be filled by letters, numbers and any of
|
|
"/-_.:".
|
|
|
|
#GstStructure is used by various GStreamer subsystems to store information in
|
|
a flexible and extensible way. A #GstStructure does not have a refcount
|
|
because it usually is part of a higher level object such as #GstCaps,
|
|
#GstMessage, #GstEvent, #GstQuery. It provides a means to enforce mutability
|
|
using the refcount of the parent with the gst_structure_set_parent_refcount()
|
|
method.
|
|
|
|
A #GstStructure can be created with gst_structure_new_empty() or
|
|
gst_structure_new(), which both take a name and an optional set of key/value
|
|
pairs along with the types of the values.
|
|
|
|
Field values can be changed with gst_structure_set_value() or
|
|
gst_structure_set().
|
|
|
|
Field values can be retrieved with gst_structure_get_value() or the more
|
|
convenient gst_structure_get_*() functions.
|
|
|
|
Fields can be removed with gst_structure_remove_field() or
|
|
gst_structure_remove_fields().
|
|
|
|
Strings in structures must be ASCII or UTF-8 encoded. Other encodings are not
|
|
allowed. Strings may be %NULL however.
|
|
|
|
## The serialization format
|
|
|
|
GstStructure serialization format serialize the GstStructure name,
|
|
keys/GType/values in a comma separated list with the structure name as first
|
|
field without value followed by separated key/value pairs in the form
|
|
`key=value`, for example:
|
|
|
|
```
|
|
a-structure, key=value
|
|
````
|
|
|
|
The values type will be inferred if not explicitly specified with the
|
|
`(GTypeName)value` syntax, for example the following struct will have one
|
|
field called 'is-string' which has the string 'true' as a value:
|
|
|
|
```
|
|
a-struct, field-is-string=(string)true, field-is-boolean=true
|
|
```
|
|
|
|
*Note*: without specifying `(string), `field-is-string` type would have been
|
|
inferred as boolean.
|
|
|
|
*Note*: we specified `(string)` as a type even if `gchararray` is the actual
|
|
GType name as for convenience some well known types have been aliased or
|
|
abbreviated.
|
|
|
|
To avoid specifying the type, you can give some hints to the "type system".
|
|
For example to specify a value as a double, you should add a decimal (ie. `1`
|
|
is an `int` while `1.0` is a `double`).
|
|
|
|
*Note*: when a structure is serialized with #gst_structure_to_string, all
|
|
values are explicitly typed.
|
|
|
|
Some types have special delimiters:
|
|
|
|
- [GstValueArray](GST_TYPE_ARRAY) are inside curly brackets (`{` and `}`).
|
|
For example `a-structure, array={1, 2, 3}`
|
|
- Ranges are inside brackets (`[` and `]`). For example `a-structure,
|
|
range=[1, 6, 2]` 1 being the min value, 6 the maximum and 2 the step. To
|
|
specify a #GST_TYPE_INT64_RANGE you need to explicitly specify it like:
|
|
`a-structure, a-int64-range=(gint64) [1, 5]`
|
|
- [GstValueList](GST_TYPE_LIST) are inside "less and greater than" (`<` and
|
|
`>`). For example `a-structure, list=<1, 2, 3>
|
|
|
|
Structures are delimited either by a null character `\0` or a semicolumn `;`
|
|
the latter allowing to store multiple structures in the same string (see
|
|
#GstCaps).
|
|
|
|
Quotes are used as "default" delimiters and can be used around any types that
|
|
don't use other delimiters (for example `a-struct, i=(int)"1"`). They are use
|
|
to allow adding spaces or special characters (such as delimiters,
|
|
semicolumns, etc..) inside strings and you can use backslashes `\` to escape
|
|
characters inside them, for example:
|
|
|
|
```
|
|
a-struct, special="\"{[(;)]}\" can be used inside quotes"
|
|
```
|
|
|
|
They also allow for nested structure, such as:
|
|
|
|
```
|
|
a-struct, nested=(GstStructure)"nested-struct, nested=true"
|
|
```
|
|
|
|
> *Note*: Be aware that the current #GstCaps / #GstStructure serialization
|
|
> into string has limited support for nested #GstCaps / #GstStructure fields.
|
|
> It can only support one level of nesting. Using more levels will lead to
|
|
> unexpected behavior when using serialization features, such as
|
|
> gst_caps_to_string() or gst_value_serialize() and their counterparts.</doc>
|
|
<source-position filename="gst/gststructure.h" line="101"/>
|
|
<field name="type" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.h"
|
|
line="92">the GType of a structure</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</field>
|
|
<field name="name" readable="0" private="1">
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</field>
|
|
<constructor name="from_string" c:identifier="gst_structure_from_string">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2312">Creates a #GstStructure from a string representation.
|
|
If end is not %NULL, a pointer to the place inside the given string
|
|
where parsing ended will be returned.
|
|
|
|
Free-function: gst_structure_free</doc>
|
|
<source-position filename="gst/gststructure.h" line="335"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2323">a new #GstStructure or %NULL
|
|
when the string could not be parsed. Free with
|
|
gst_structure_free() after use.</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="string" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2314">a string representation of a #GstStructure.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="end"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none"
|
|
optional="1"
|
|
allow-none="1"
|
|
skip="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2315">pointer to store the end of the string in.</doc>
|
|
<type name="utf8" c:type="gchar**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new"
|
|
c:identifier="gst_structure_new"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="366">Creates a new #GstStructure with the given name. Parses the
|
|
list of variable arguments and sets fields to the values listed.
|
|
Variable arguments should be passed as field name, field type,
|
|
and value. Last variable argument should be %NULL.
|
|
|
|
Free-function: gst_structure_free</doc>
|
|
<source-position filename="gst/gststructure.h" line="113"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="379">a new #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="368">name of new structure</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="firstfield" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="369">name of first field to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="370">additional arguments</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_empty" c:identifier="gst_structure_new_empty">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="346">Creates a new, empty #GstStructure with the given @name.
|
|
|
|
See gst_structure_set_name() for constraints on the @name parameter.
|
|
|
|
Free-function: gst_structure_free</doc>
|
|
<source-position filename="gst/gststructure.h" line="107"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="356">a new, empty #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="348">name of new structure</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_from_string"
|
|
c:identifier="gst_structure_new_from_string"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2287">Creates a #GstStructure from a string representation.
|
|
If end is not %NULL, a pointer to the place inside the given string
|
|
where parsing ended will be returned.
|
|
|
|
The current implementation of serialization will lead to unexpected results
|
|
when there are nested #GstCaps / #GstStructure deeper than one level.
|
|
|
|
Free-function: gst_structure_free</doc>
|
|
<source-position filename="gst/gststructure.h" line="125"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2300">a new #GstStructure or %NULL
|
|
when the string could not be parsed. Free with
|
|
gst_structure_free() after use.</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="string" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2289">a string representation of a #GstStructure</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_id"
|
|
c:identifier="gst_structure_new_id"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="945">Creates a new #GstStructure with the given name as a GQuark, followed by
|
|
fieldname quark, GType, argument(s) "triplets" in the same format as
|
|
gst_structure_id_set(). Basically a convenience wrapper around
|
|
gst_structure_new_id_empty() and gst_structure_id_set().
|
|
|
|
The last variable argument must be %NULL (or 0).
|
|
|
|
Free-function: gst_structure_free</doc>
|
|
<source-position filename="gst/gststructure.h" line="121"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="960">a new #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name_quark" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="947">name of new structure</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
<parameter name="field_quark" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="948">the GQuark for the name of the field to set</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="949">variable arguments</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_id_empty"
|
|
c:identifier="gst_structure_new_id_empty">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="292">Creates a new, empty #GstStructure with the given name as a GQuark.
|
|
|
|
Free-function: gst_structure_free</doc>
|
|
<source-position filename="gst/gststructure.h" line="110"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="300">a new, empty #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="quark" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="294">name of new structure</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_valist"
|
|
c:identifier="gst_structure_new_valist"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="394">Creates a new #GstStructure with the given @name. Structure fields
|
|
are set according to the varargs in a manner similar to
|
|
gst_structure_new().
|
|
|
|
See gst_structure_set_name() for constraints on the @name parameter.
|
|
|
|
Free-function: gst_structure_free</doc>
|
|
<source-position filename="gst/gststructure.h" line="117"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="408">a new #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="396">name of new structure</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="firstfield" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="397">name of first field to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="varargs" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="398">variable argument list</doc>
|
|
<type name="va_list" c:type="va_list"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<method name="can_intersect" c:identifier="gst_structure_can_intersect">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3154">Tries intersecting @struct1 and @struct2 and reports whether the result
|
|
would not be empty.</doc>
|
|
<source-position filename="gst/gststructure.h" line="371"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3162">%TRUE if intersection would not be empty</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="struct1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3156">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="struct2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3157">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="copy" c:identifier="gst_structure_copy">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="477">Duplicates a #GstStructure and all its fields and values.
|
|
|
|
Free-function: gst_structure_free</doc>
|
|
<source-position filename="gst/gststructure.h" line="128"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="485">a new #GstStructure.</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="479">a #GstStructure to duplicate</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="filter_and_map_in_place"
|
|
c:identifier="gst_structure_filter_and_map_in_place"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1406">Calls the provided function once for each field in the #GstStructure. In
|
|
contrast to gst_structure_foreach(), the function may modify the fields.
|
|
In contrast to gst_structure_map_in_place(), the field is removed from
|
|
the structure if %FALSE is returned from the function.
|
|
The structure must be mutable.</doc>
|
|
<source-position filename="gst/gststructure.h" line="243"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1408">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="call"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1409">a function to call for each field</doc>
|
|
<type name="StructureFilterMapFunc"
|
|
c:type="GstStructureFilterMapFunc"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1410">private data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="fixate" c:identifier="gst_structure_fixate">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3243">Fixate all values in @structure using gst_value_fixate().
|
|
@structure will be modified in-place and should be writable.</doc>
|
|
<source-position filename="gst/gststructure.h" line="362"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3245">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="fixate_field" c:identifier="gst_structure_fixate_field">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2740">Fixates a #GstStructure by changing the given field with its fixated value.</doc>
|
|
<source-position filename="gst/gststructure.h" line="359"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2747">%TRUE if the structure field could be fixated</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2742">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="field_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2743">a field in @structure</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="fixate_field_boolean"
|
|
c:identifier="gst_structure_fixate_field_boolean">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2528">Fixates a #GstStructure by changing the given @field_name field to the given
|
|
@target boolean if that field is not fixed yet.</doc>
|
|
<source-position filename="gst/gststructure.h" line="346"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2537">%TRUE if the structure could be fixated</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2530">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="field_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2531">a field in @structure</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
<parameter name="target" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2532">the target value of the fixation</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="fixate_field_nearest_double"
|
|
c:identifier="gst_structure_fixate_field_nearest_double">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2463">Fixates a #GstStructure by changing the given field to the nearest
|
|
double to @target that is a subset of the existing field.</doc>
|
|
<source-position filename="gst/gststructure.h" line="342"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2472">%TRUE if the structure could be fixated</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2465">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="field_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2466">a field in @structure</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
<parameter name="target" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2467">the target value of the fixation</doc>
|
|
<type name="gdouble" c:type="double"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="fixate_field_nearest_fraction"
|
|
c:identifier="gst_structure_fixate_field_nearest_fraction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2634">Fixates a #GstStructure by changing the given field to the nearest
|
|
fraction to @target_numerator/@target_denominator that is a subset
|
|
of the existing field.</doc>
|
|
<source-position filename="gst/gststructure.h" line="354"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2645">%TRUE if the structure could be fixated</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2636">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="field_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2637">a field in @structure</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
<parameter name="target_numerator" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2638">The numerator of the target value of the fixation</doc>
|
|
<type name="gint" c:type="const gint"/>
|
|
</parameter>
|
|
<parameter name="target_denominator" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2639">The denominator of the target value of the fixation</doc>
|
|
<type name="gint" c:type="const gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="fixate_field_nearest_int"
|
|
c:identifier="gst_structure_fixate_field_nearest_int">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2393">Fixates a #GstStructure by changing the given field to the nearest
|
|
integer to @target that is a subset of the existing field.</doc>
|
|
<source-position filename="gst/gststructure.h" line="338"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2402">%TRUE if the structure could be fixated</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2395">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="field_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2396">a field in @structure</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
<parameter name="target" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2397">the target value of the fixation</doc>
|
|
<type name="gint" c:type="int"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="fixate_field_string"
|
|
c:identifier="gst_structure_fixate_field_string">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2581">Fixates a #GstStructure by changing the given @field_name field to the given
|
|
@target string if that field is not fixed yet.</doc>
|
|
<source-position filename="gst/gststructure.h" line="350"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2590">%TRUE if the structure could be fixated</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2583">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="field_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2584">a field in @structure</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
<parameter name="target" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2585">the target value of the fixation</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="foreach" c:identifier="gst_structure_foreach">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1332">Calls the provided function once for each field in the #GstStructure. The
|
|
function must not modify the fields. Also see gst_structure_map_in_place()
|
|
and gst_structure_filter_and_map_in_place().</doc>
|
|
<source-position filename="gst/gststructure.h" line="235"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1342">%TRUE if the supplied function returns %TRUE For each of the fields,
|
|
%FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1334">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="call"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1335">a function to call for each field</doc>
|
|
<type name="StructureForeachFunc"
|
|
c:type="GstStructureForeachFunc"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1336">private data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="free" c:identifier="gst_structure_free">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="514">Frees a #GstStructure and all its fields and values. The structure must not
|
|
have a parent when this function is called.</doc>
|
|
<source-position filename="gst/gststructure.h" line="134"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="516">the #GstStructure to free</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get" c:identifier="gst_structure_get" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2924">Parses the variable arguments and reads fields from @structure accordingly.
|
|
Variable arguments should be in the form field name, field type
|
|
(as a GType), pointer(s) to a variable(s) to hold the return value(s).
|
|
The last variable argument should be %NULL.
|
|
|
|
For refcounted (mini)objects you will receive a new reference which
|
|
you must release with a suitable _unref\() when no longer needed. For
|
|
strings and boxed types you will receive a copy which you will need to
|
|
release with either g_free() or the suitable function for the boxed type.</doc>
|
|
<source-position filename="gst/gststructure.h" line="200"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2940">%FALSE if there was a problem reading any of the fields (e.g.
|
|
because the field requested did not exist, or was of a type other
|
|
than the type specified), otherwise %TRUE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2926">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="first_fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2927">the name of the first field to read</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2928">variable arguments</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_array"
|
|
c:identifier="gst_structure_get_array"
|
|
version="1.12">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3285">This is useful in language bindings where unknown #GValue types are not
|
|
supported. This function will convert the %GST_TYPE_ARRAY into a newly
|
|
allocated #GValueArray and return it through @array. Be aware that this is
|
|
slower then getting the #GValue directly.</doc>
|
|
<source-position filename="gst/gststructure.h" line="324"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3296">%TRUE if the value could be set correctly. If there was no field
|
|
with @fieldname or the existing field did not contain a %GST_TYPE_ARRAY,
|
|
this function returns %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3287">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3288">the name of a field</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="array"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3289">a pointer to a #GValueArray</doc>
|
|
<type name="GObject.ValueArray" c:type="GValueArray**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_boolean" c:identifier="gst_structure_get_boolean">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1541">Sets the boolean pointed to by @value corresponding to the value of the
|
|
given field. Caller is responsible for making sure the field exists
|
|
and has the correct type.</doc>
|
|
<source-position filename="gst/gststructure.h" line="270"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1551">%TRUE if the value could be set correctly. If there was no field
|
|
with @fieldname or the existing field did not contain a boolean, this
|
|
function returns %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1543">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1544">the name of a field</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1545">a pointer to a #gboolean to set</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_clock_time"
|
|
c:identifier="gst_structure_get_clock_time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1796">Sets the clock time pointed to by @value corresponding to the clock time
|
|
of the given field. Caller is responsible for making sure the field exists
|
|
and has the correct type.</doc>
|
|
<source-position filename="gst/gststructure.h" line="302"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1806">%TRUE if the value could be set correctly. If there was no field
|
|
with @fieldname or the existing field did not contain a #GstClockTime, this
|
|
function returns %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1798">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1799">the name of a field</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1800">a pointer to a #GstClockTime to set</doc>
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_date" c:identifier="gst_structure_get_date">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1714">Sets the date pointed to by @value corresponding to the date of the
|
|
given field. Caller is responsible for making sure the field exists
|
|
and has the correct type.
|
|
|
|
On success @value will point to a newly-allocated copy of the date which
|
|
should be freed with g_date_free() when no longer needed (note: this is
|
|
inconsistent with e.g. gst_structure_get_string() which doesn't return a
|
|
copy of the string).</doc>
|
|
<source-position filename="gst/gststructure.h" line="294"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1729">%TRUE if the value could be set correctly. If there was no field
|
|
with @fieldname or the existing field did not contain a data, this function
|
|
returns %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1716">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1717">the name of a field</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1718">a pointer to a #GDate to set</doc>
|
|
<type name="GLib.Date" c:type="GDate**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_date_time" c:identifier="gst_structure_get_date_time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1754">Sets the datetime pointed to by @value corresponding to the datetime of the
|
|
given field. Caller is responsible for making sure the field exists
|
|
and has the correct type.
|
|
|
|
On success @value will point to a reference of the datetime which
|
|
should be unreffed with gst_date_time_unref() when no longer needed
|
|
(note: this is inconsistent with e.g. gst_structure_get_string()
|
|
which doesn't return a copy of the string).</doc>
|
|
<source-position filename="gst/gststructure.h" line="298"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1769">%TRUE if the value could be set correctly. If there was no field
|
|
with @fieldname or the existing field did not contain a data, this function
|
|
returns %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1756">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1757">the name of a field</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1758">a pointer to a #GstDateTime to set</doc>
|
|
<type name="DateTime" c:type="GstDateTime**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_double" c:identifier="gst_structure_get_double">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1817">Sets the double pointed to by @value corresponding to the value of the
|
|
given field. Caller is responsible for making sure the field exists
|
|
and has the correct type.</doc>
|
|
<source-position filename="gst/gststructure.h" line="290"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1827">%TRUE if the value could be set correctly. If there was no field
|
|
with @fieldname or the existing field did not contain a double, this
|
|
function returns %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1819">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1820">the name of a field</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1821">a pointer to a gdouble to set</doc>
|
|
<type name="gdouble" c:type="gdouble*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_enum" c:identifier="gst_structure_get_enum">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1883">Sets the int pointed to by @value corresponding to the value of the
|
|
given field. Caller is responsible for making sure the field exists,
|
|
has the correct type and that the enumtype is correct.</doc>
|
|
<source-position filename="gst/gststructure.h" line="309"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1894">%TRUE if the value could be set correctly. If there was no field
|
|
with @fieldname or the existing field did not contain an enum of the given
|
|
type, this function returns %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1885">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1886">the name of a field</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="enumtype" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1887">the enum type of a field</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1888">a pointer to an int to set</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_field_type"
|
|
c:identifier="gst_structure_get_field_type">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1267">Finds the field with the given name, and returns the type of the
|
|
value it contains. If the field is not found, G_TYPE_INVALID is
|
|
returned.</doc>
|
|
<source-position filename="gst/gststructure.h" line="232"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1276">the #GValue of the field</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1269">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1270">the name of the field</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_flagset"
|
|
c:identifier="gst_structure_get_flagset"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1958">Read the GstFlagSet flags and mask out of the structure into the
|
|
provided pointers.</doc>
|
|
<source-position filename="gst/gststructure.h" line="319"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1968">%TRUE if the values could be set correctly. If there was no field
|
|
with @fieldname or the existing field did not contain a GstFlagSet, this
|
|
function returns %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1960">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1961">the name of a field</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value_flags"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1962">a pointer to a guint for the flags field</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
<parameter name="value_mask"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1963">a pointer to a guint for the mask field</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_fraction" c:identifier="gst_structure_get_fraction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1921">Sets the integers pointed to by @value_numerator and @value_denominator
|
|
corresponding to the value of the given field. Caller is responsible
|
|
for making sure the field exists and has the correct type.</doc>
|
|
<source-position filename="gst/gststructure.h" line="314"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1932">%TRUE if the values could be set correctly. If there was no field
|
|
with @fieldname or the existing field did not contain a GstFraction, this
|
|
function returns %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1923">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1924">the name of a field</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value_numerator"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1925">a pointer to an int to set</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
<parameter name="value_denominator"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1926">a pointer to an int to set</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_int" c:identifier="gst_structure_get_int">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1574">Sets the int pointed to by @value corresponding to the value of the
|
|
given field. Caller is responsible for making sure the field exists
|
|
and has the correct type.</doc>
|
|
<source-position filename="gst/gststructure.h" line="274"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1584">%TRUE if the value could be set correctly. If there was no field
|
|
with @fieldname or the existing field did not contain an int, this function
|
|
returns %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1576">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1577">the name of a field</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1578">a pointer to an int to set</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_int64"
|
|
c:identifier="gst_structure_get_int64"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1642">Sets the #gint64 pointed to by @value corresponding to the value of the
|
|
given field. Caller is responsible for making sure the field exists
|
|
and has the correct type.</doc>
|
|
<source-position filename="gst/gststructure.h" line="282"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1652">%TRUE if the value could be set correctly. If there was no field
|
|
with @fieldname or the existing field did not contain a #gint64, this function
|
|
returns %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1644">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1645">the name of a field</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1646">a pointer to a #gint64 to set</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_list"
|
|
c:identifier="gst_structure_get_list"
|
|
version="1.12">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3310">This is useful in language bindings where unknown #GValue types are not
|
|
supported. This function will convert the %GST_TYPE_LIST into a newly
|
|
allocated GValueArray and return it through @array. Be aware that this is
|
|
slower then getting the #GValue directly.</doc>
|
|
<source-position filename="gst/gststructure.h" line="328"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3321">%TRUE if the value could be set correctly. If there was no field
|
|
with @fieldname or the existing field did not contain a %GST_TYPE_LIST, this
|
|
function returns %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3312">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3313">the name of a field</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="array"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3314">a pointer to a #GValueArray</doc>
|
|
<type name="GObject.ValueArray" c:type="GValueArray**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_name" c:identifier="gst_structure_get_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="614">Get the name of @structure as a string.</doc>
|
|
<source-position filename="gst/gststructure.h" line="144"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="620">the name of the structure.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="616">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_name_id" c:identifier="gst_structure_get_name_id">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="655">Get the name of @structure as a GQuark.</doc>
|
|
<source-position filename="gst/gststructure.h" line="147"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="661">the quark representing the name of the structure.</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="657">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_string" c:identifier="gst_structure_get_string">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1851">Finds the field corresponding to @fieldname, and returns the string
|
|
contained in the field's value. Caller is responsible for making
|
|
sure the field exists and has the correct type.
|
|
|
|
The string should not be modified, and remains valid until the next
|
|
call to a gst_structure_*() function with the given structure.</doc>
|
|
<source-position filename="gst/gststructure.h" line="306"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1863">a pointer to the string or %NULL when the
|
|
field did not exist or did not contain a string.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1853">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1854">the name of a field</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_uint" c:identifier="gst_structure_get_uint">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1608">Sets the uint pointed to by @value corresponding to the value of the
|
|
given field. Caller is responsible for making sure the field exists
|
|
and has the correct type.</doc>
|
|
<source-position filename="gst/gststructure.h" line="278"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1618">%TRUE if the value could be set correctly. If there was no field
|
|
with @fieldname or the existing field did not contain a uint, this function
|
|
returns %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1610">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1611">the name of a field</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1612">a pointer to a uint to set</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_uint64"
|
|
c:identifier="gst_structure_get_uint64"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1678">Sets the #guint64 pointed to by @value corresponding to the value of the
|
|
given field. Caller is responsible for making sure the field exists
|
|
and has the correct type.</doc>
|
|
<source-position filename="gst/gststructure.h" line="286"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1688">%TRUE if the value could be set correctly. If there was no field
|
|
with @fieldname or the existing field did not contain a #guint64, this function
|
|
returns %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1680">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1681">the name of a field</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1682">a pointer to a #guint64 to set</doc>
|
|
<type name="guint64" c:type="guint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_valist"
|
|
c:identifier="gst_structure_get_valist"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2789">Parses the variable arguments and reads fields from @structure accordingly.
|
|
valist-variant of gst_structure_get(). Look at the documentation of
|
|
gst_structure_get() for more details.</doc>
|
|
<source-position filename="gst/gststructure.h" line="196"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2799">%TRUE, or %FALSE if there was a problem reading any of the fields</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2791">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="first_fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2792">the name of the first field to read</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
<parameter name="args" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2793">variable arguments</doc>
|
|
<type name="va_list" c:type="va_list"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_value" c:identifier="gst_structure_get_value">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1109">Get the value of the field with name @fieldname.</doc>
|
|
<source-position filename="gst/gststructure.h" line="215"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1116">the #GValue corresponding to the field with the given
|
|
name.</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1111">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1112">the name of the field to get</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_field" c:identifier="gst_structure_has_field">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1472">Check if @structure contains a field named @fieldname.</doc>
|
|
<source-position filename="gst/gststructure.h" line="260"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1479">%TRUE if the structure contains a field with the given name</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1474">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1475">the name of a field</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_field_typed"
|
|
c:identifier="gst_structure_has_field_typed">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1518">Check if @structure contains a field named @fieldname and with GType @type.</doc>
|
|
<source-position filename="gst/gststructure.h" line="263"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1526">%TRUE if the structure contains a field with the given name and type</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1520">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1521">the name of a field</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1522">the type of a value</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_name" c:identifier="gst_structure_has_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="630">Checks if the structure has the given name</doc>
|
|
<source-position filename="gst/gststructure.h" line="150"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="637">%TRUE if @name matches the name of the structure.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="632">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="633">structure name to check for</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="id_get"
|
|
c:identifier="gst_structure_id_get"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2961">Parses the variable arguments and reads fields from @structure accordingly.
|
|
Variable arguments should be in the form field id quark, field type
|
|
(as a GType), pointer(s) to a variable(s) to hold the return value(s).
|
|
The last variable argument should be %NULL (technically it should be a
|
|
0 quark, but we require %NULL so compilers that support it can check for
|
|
the %NULL terminator and warn if it's not there).
|
|
|
|
This function is just like gst_structure_get() only that it is slightly
|
|
more efficient since it saves the string-to-quark lookup in the global
|
|
quark hashtable.
|
|
|
|
For refcounted (mini)objects you will receive a new reference which
|
|
you must release with a suitable _unref\() when no longer needed. For
|
|
strings and boxed types you will receive a copy which you will need to
|
|
release with either g_free() or the suitable function for the boxed type.</doc>
|
|
<source-position filename="gst/gststructure.h" line="208"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2983">%FALSE if there was a problem reading any of the fields (e.g.
|
|
because the field requested did not exist, or was of a type other
|
|
than the type specified), otherwise %TRUE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2963">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="first_field_id" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2964">the quark of the first field to read</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2965">variable arguments</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="id_get_valist"
|
|
c:identifier="gst_structure_id_get_valist"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2856">Parses the variable arguments and reads fields from @structure accordingly.
|
|
valist-variant of gst_structure_id_get(). Look at the documentation of
|
|
gst_structure_id_get() for more details.</doc>
|
|
<source-position filename="gst/gststructure.h" line="204"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2866">%TRUE, or %FALSE if there was a problem reading any of the fields</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2858">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="first_field_id" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2859">the quark of the first field to read</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
<parameter name="args" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2860">variable arguments</doc>
|
|
<type name="va_list" c:type="va_list"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="id_get_value" c:identifier="gst_structure_id_get_value">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1135">Get the value of the field with GQuark @field.</doc>
|
|
<source-position filename="gst/gststructure.h" line="212"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1142">the #GValue corresponding to the field with the given
|
|
name identifier.</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1137">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="field" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1138">the #GQuark of the field to get</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="id_has_field" c:identifier="gst_structure_id_has_field">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1450">Check if @structure contains a field named @field.</doc>
|
|
<source-position filename="gst/gststructure.h" line="253"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1457">%TRUE if the structure contains a field with the given name</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1452">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="field" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1453">#GQuark of the field name</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="id_has_field_typed"
|
|
c:identifier="gst_structure_id_has_field_typed">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1492">Check if @structure contains a field named @field and with GType @type.</doc>
|
|
<source-position filename="gst/gststructure.h" line="256"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1500">%TRUE if the structure contains a field with the given name and type</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1494">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="field" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1495">#GQuark of the field name</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1496">the type of a value</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="id_set"
|
|
c:identifier="gst_structure_id_set"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="903">Identical to gst_structure_set, except that field names are
|
|
passed using the GQuark for the field name. This allows more efficient
|
|
setting of the structure if the caller already knows the associated
|
|
quark values.
|
|
The last variable argument must be %NULL.</doc>
|
|
<source-position filename="gst/gststructure.h" line="188"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="905">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="906">the GQuark for the name of the field to set</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="907">variable arguments</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="id_set_valist"
|
|
c:identifier="gst_structure_id_set_valist"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="927">va_list form of gst_structure_id_set().</doc>
|
|
<source-position filename="gst/gststructure.h" line="192"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="929">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="930">the name of the field to set</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
<parameter name="varargs" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="931">variable arguments</doc>
|
|
<type name="va_list" c:type="va_list"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="id_set_value" c:identifier="gst_structure_id_set_value">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="702">Sets the field with the given GQuark @field to @value. If the field
|
|
does not exist, it is created. If the field exists, the previous
|
|
value is replaced and freed.</doc>
|
|
<source-position filename="gst/gststructure.h" line="156"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="704">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="field" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="705">a #GQuark representing a field</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="706">the new value of the field</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="id_take_value" c:identifier="gst_structure_id_take_value">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="766">Sets the field with the given GQuark @field to @value. If the field
|
|
does not exist, it is created. If the field exists, the previous
|
|
value is replaced and freed.</doc>
|
|
<source-position filename="gst/gststructure.h" line="172"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="768">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="field" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="769">a #GQuark representing a field</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="770">the new value of the field</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="intersect" c:identifier="gst_structure_intersect">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3050">Intersects @struct1 and @struct2 and returns the intersection.</doc>
|
|
<source-position filename="gst/gststructure.h" line="374"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3057">Intersection of @struct1 and @struct2</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="struct1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3052">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="struct2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3053">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_equal" c:identifier="gst_structure_is_equal">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3020">Tests if the two #GstStructure are equal.</doc>
|
|
<source-position filename="gst/gststructure.h" line="365"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3027">%TRUE if the two structures have the same name and field.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3022">a #GstStructure.</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="structure2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3023">a #GstStructure.</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_subset" c:identifier="gst_structure_is_subset">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3180">Checks if @subset is a subset of @superset, i.e. has the same
|
|
structure name and for all fields that are existing in @superset,
|
|
@subset has a value that is a subset of the value in @superset.</doc>
|
|
<source-position filename="gst/gststructure.h" line="368"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3189">%TRUE if @subset is a subset of @superset</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="subset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3182">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="superset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3183">a potentially greater #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="map_in_place" c:identifier="gst_structure_map_in_place">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1369">Calls the provided function once for each field in the #GstStructure. In
|
|
contrast to gst_structure_foreach(), the function may modify but not delete the
|
|
fields. The structure must be mutable.</doc>
|
|
<source-position filename="gst/gststructure.h" line="239"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1379">%TRUE if the supplied function returns %TRUE For each of the fields,
|
|
%FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1371">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="call"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1372">a function to call for each field</doc>
|
|
<type name="StructureMapFunc" c:type="GstStructureMapFunc"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1373">private data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="n_fields" c:identifier="gst_structure_n_fields">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1294">Get the number of fields in the structure.</doc>
|
|
<source-position filename="gst/gststructure.h" line="247"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1300">the number of fields in the structure</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1296">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="nth_field_name"
|
|
c:identifier="gst_structure_nth_field_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1310">Get the name of the given field number, counting from 0 onwards.</doc>
|
|
<source-position filename="gst/gststructure.h" line="250"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1317">the name of the given field number</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1312">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1313">the index to get the name of</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_all_fields"
|
|
c:identifier="gst_structure_remove_all_fields">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1242">Removes all fields in a GstStructure.</doc>
|
|
<source-position filename="gst/gststructure.h" line="229"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1244">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_field" c:identifier="gst_structure_remove_field">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1159">Removes the field with the given name. If the field with the given
|
|
name does not exist, the structure is unchanged.</doc>
|
|
<source-position filename="gst/gststructure.h" line="218"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1161">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1162">the name of the field to remove</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_fields"
|
|
c:identifier="gst_structure_remove_fields"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1194">Removes the fields with the given names. If a field does not exist, the
|
|
argument is ignored.</doc>
|
|
<source-position filename="gst/gststructure.h" line="221"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1196">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1197">the name of the field to remove</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1198">%NULL-terminated list of more fieldnames to remove</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_fields_valist"
|
|
c:identifier="gst_structure_remove_fields_valist"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1218">va_list form of gst_structure_remove_fields().</doc>
|
|
<source-position filename="gst/gststructure.h" line="225"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1220">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1221">the name of the field to remove</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="varargs" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="1222">%NULL-terminated list of more fieldnames to remove</doc>
|
|
<type name="va_list" c:type="va_list"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set" c:identifier="gst_structure_set" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="836">Parses the variable arguments and sets fields accordingly. Fields that
|
|
weren't already part of the structure are added as needed.
|
|
Variable arguments should be in the form field name, field type
|
|
(as a GType), value(s). The last variable argument should be %NULL.</doc>
|
|
<source-position filename="gst/gststructure.h" line="180"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="838">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="839">the name of the field to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="840">variable arguments</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_array"
|
|
c:identifier="gst_structure_set_array"
|
|
version="1.12">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3362">This is useful in language bindings where unknown GValue types are not
|
|
supported. This function will convert a @array to %GST_TYPE_ARRAY and set
|
|
the field specified by @fieldname. Be aware that this is slower then using
|
|
%GST_TYPE_ARRAY in a #GValue directly.</doc>
|
|
<source-position filename="gst/gststructure.h" line="164"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3364">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3365">the name of a field</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="array" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3366">a pointer to a #GValueArray</doc>
|
|
<type name="GObject.ValueArray" c:type="const GValueArray*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_list"
|
|
c:identifier="gst_structure_set_list"
|
|
version="1.12">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3382">This is useful in language bindings where unknown GValue types are not
|
|
supported. This function will convert a @array to %GST_TYPE_LIST and set
|
|
the field specified by @fieldname. Be aware that this is slower then using
|
|
%GST_TYPE_LIST in a #GValue directly.</doc>
|
|
<source-position filename="gst/gststructure.h" line="168"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3384">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3385">the name of a field</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="array" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="3386">a pointer to a #GValueArray</doc>
|
|
<type name="GObject.ValueArray" c:type="const GValueArray*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_name" c:identifier="gst_structure_set_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="671">Sets the name of the structure to the given @name. The string
|
|
provided is copied before being used. It must not be empty, start with a
|
|
letter and can be followed by letters, numbers and any of "/-_.:".</doc>
|
|
<source-position filename="gst/gststructure.h" line="153"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="673">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="674">the new name of the structure</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_parent_refcount"
|
|
c:identifier="gst_structure_set_parent_refcount">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="441">Sets the parent_refcount field of #GstStructure. This field is used to
|
|
determine whether a structure is mutable or not. This function should only be
|
|
called by code implementing parent objects of #GstStructure, as described in
|
|
the MT Refcounting section of the design documents.</doc>
|
|
<source-position filename="gst/gststructure.h" line="131"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="451">%TRUE if the parent refcount could be set.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="443">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="refcount" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="444">a pointer to the parent's refcount</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_valist"
|
|
c:identifier="gst_structure_set_valist"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="860">va_list form of gst_structure_set().</doc>
|
|
<source-position filename="gst/gststructure.h" line="184"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="862">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="863">the name of the field to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="varargs" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="864">variable arguments</doc>
|
|
<type name="va_list" c:type="va_list"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_value" c:identifier="gst_structure_set_value">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="724">Sets the field with the given name @field to @value. If the field
|
|
does not exist, it is created. If the field exists, the previous
|
|
value is replaced and freed.</doc>
|
|
<source-position filename="gst/gststructure.h" line="160"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="726">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="727">the name of the field to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="728">the new value of the field</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="take_value" c:identifier="gst_structure_take_value">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="787">Sets the field with the given name @field to @value. If the field
|
|
does not exist, it is created. If the field exists, the previous
|
|
value is replaced and freed. The function will take ownership of @value.</doc>
|
|
<source-position filename="gst/gststructure.h" line="176"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="789">a #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</instance-parameter>
|
|
<parameter name="fieldname" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="790">the name of the field to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="791">the new value of the field</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="to_string" c:identifier="gst_structure_to_string">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2130">Converts @structure to a human-readable string representation.
|
|
|
|
For debugging purposes its easier to do something like this:
|
|
|[<!-- language="C" -->
|
|
GST_LOG ("structure is %" GST_PTR_FORMAT, structure);
|
|
]|
|
|
This prints the structure in human readable form.
|
|
|
|
The current implementation of serialization will lead to unexpected results
|
|
when there are nested #GstCaps / #GstStructure deeper than one level.
|
|
|
|
Free-function: g_free</doc>
|
|
<source-position filename="gst/gststructure.h" line="332"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2147">a pointer to string allocated by g_malloc().
|
|
g_free() after usage.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="2132">a #GstStructure</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<function name="take" c:identifier="gst_structure_take" version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="573">Atomically modifies a pointer to point to a new structure.
|
|
The #GstStructure @oldstr_ptr is pointing to is freed and
|
|
@newstr is taken ownership over.
|
|
|
|
Either @newstr and the value pointed to by @oldstr_ptr may be %NULL.
|
|
|
|
It is a programming error if both @newstr and the value pointed to by
|
|
@oldstr_ptr refer to the same, non-%NULL structure.</doc>
|
|
<source-position filename="gst/gststructure.h" line="141"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="588">%TRUE if @newstr was different from @oldstr_ptr</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="oldstr_ptr"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="575">pointer to a place of
|
|
a #GstStructure to take</doc>
|
|
<type name="Structure" c:type="GstStructure**"/>
|
|
</parameter>
|
|
<parameter name="newstr"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="577">a new #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</record>
|
|
<enumeration name="StructureChangeType"
|
|
glib:type-name="GstStructureChangeType"
|
|
glib:get-type="gst_structure_change_type_get_type"
|
|
c:type="GstStructureChangeType">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="271">The type of a %GST_MESSAGE_STRUCTURE_CHANGE.</doc>
|
|
<member name="link"
|
|
value="0"
|
|
c:identifier="GST_STRUCTURE_CHANGE_TYPE_PAD_LINK"
|
|
glib:nick="link">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="273">Pad linking is starting or done.</doc>
|
|
</member>
|
|
<member name="unlink"
|
|
value="1"
|
|
c:identifier="GST_STRUCTURE_CHANGE_TYPE_PAD_UNLINK"
|
|
glib:nick="unlink">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="274">Pad unlinking is starting or done.</doc>
|
|
</member>
|
|
</enumeration>
|
|
<callback name="StructureFilterMapFunc" c:type="GstStructureFilterMapFunc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.h"
|
|
line="73">A function that will be called in gst_structure_filter_and_map_in_place().
|
|
The function may modify @value, and the value will be removed from
|
|
the structure if %FALSE is returned.</doc>
|
|
<source-position filename="gst/gststructure.h" line="86"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.h"
|
|
line="83">%TRUE if the field should be preserved, %FALSE if it
|
|
should be removed.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="field_id" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.h"
|
|
line="75">the #GQuark of the field name</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.h"
|
|
line="76">the #GValue of the field</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.h"
|
|
line="77">user data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="StructureForeachFunc" c:type="GstStructureForeachFunc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.h"
|
|
line="41">A function that will be called in gst_structure_foreach(). The function may
|
|
not modify @value.</doc>
|
|
<source-position filename="gst/gststructure.h" line="53"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.h"
|
|
line="50">%TRUE if the foreach operation should continue, %FALSE if
|
|
the foreach operation should stop with %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="field_id" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.h"
|
|
line="43">the #GQuark of the field name</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.h"
|
|
line="44">the #GValue of the field</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.h"
|
|
line="45">user data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="StructureMapFunc" c:type="GstStructureMapFunc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.h"
|
|
line="57">A function that will be called in gst_structure_map_in_place(). The function
|
|
may modify @value.</doc>
|
|
<source-position filename="gst/gststructure.h" line="69"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.h"
|
|
line="66">%TRUE if the map operation should continue, %FALSE if
|
|
the map operation should stop with %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="field_id" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.h"
|
|
line="59">the #GQuark of the field name</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.h"
|
|
line="60">the #GValue of the field</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.h"
|
|
line="61">user data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<class name="SystemClock"
|
|
c:symbol-prefix="system_clock"
|
|
c:type="GstSystemClock"
|
|
parent="Clock"
|
|
glib:type-name="GstSystemClock"
|
|
glib:get-type="gst_system_clock_get_type"
|
|
glib:type-struct="SystemClockClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsystemclock.c"
|
|
line="23">The GStreamer core provides a GstSystemClock based on the system time.
|
|
Asynchronous callbacks are scheduled from an internal thread.
|
|
|
|
Clock implementors are encouraged to subclass this systemclock as it
|
|
implements the async notification.
|
|
|
|
Subclasses can however override all of the important methods for sync and
|
|
async notifications to implement their own callback methods or blocking
|
|
wait operations.</doc>
|
|
<source-position filename="gst/gstsystemclock.h" line="82"/>
|
|
<function name="obtain" c:identifier="gst_system_clock_obtain">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsystemclock.c"
|
|
line="602">Get a handle to the default system clock. The refcount of the
|
|
clock will be increased so you need to unref the clock after
|
|
usage.</doc>
|
|
<source-position filename="gst/gstsystemclock.h" line="88"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsystemclock.c"
|
|
line="609">the default clock.
|
|
|
|
MT safe.</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="set_default"
|
|
c:identifier="gst_system_clock_set_default"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsystemclock.c"
|
|
line="563">Sets the default system clock that can be obtained with
|
|
gst_system_clock_obtain().
|
|
|
|
This is mostly used for testing and debugging purposes when you
|
|
want to have control over the time reported by the default system
|
|
clock.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstsystemclock.h" line="91"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="new_clock"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsystemclock.c"
|
|
line="565">a #GstClock</doc>
|
|
<type name="Clock" c:type="GstClock*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<property name="clock-type" writable="1" transfer-ownership="none">
|
|
<type name="ClockType"/>
|
|
</property>
|
|
<field name="clock">
|
|
<type name="Clock" c:type="GstClock"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="SystemClockPrivate" c:type="GstSystemClockPrivate*"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="SystemClockClass"
|
|
c:type="GstSystemClockClass"
|
|
glib:is-gtype-struct-for="SystemClock">
|
|
<source-position filename="gst/gstsystemclock.h" line="82"/>
|
|
<field name="parent_class">
|
|
<type name="ClockClass" c:type="GstClockClass"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="SystemClockPrivate"
|
|
c:type="GstSystemClockPrivate"
|
|
disguised="1">
|
|
<source-position filename="gst/gstsystemclock.h" line="43"/>
|
|
</record>
|
|
<constant name="TAG_ALBUM" value="album" c:type="GST_TAG_ALBUM">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="575">album containing this data (string)
|
|
|
|
The album name as it should be displayed, e.g. 'The Jazz Guitar'</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="582"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_ALBUM_ARTIST"
|
|
value="album-artist"
|
|
c:type="GST_TAG_ALBUM_ARTIST">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="591">The artist of the entire album, as it should be displayed.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="596"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_ALBUM_ARTIST_SORTNAME"
|
|
value="album-artist-sortname"
|
|
c:type="GST_TAG_ALBUM_ARTIST_SORTNAME">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="597">The artist of the entire album, as it should be sorted.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="602"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_ALBUM_GAIN"
|
|
value="replaygain-album-gain"
|
|
c:type="GST_TAG_ALBUM_GAIN">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="853">album gain in db (double)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="858"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_ALBUM_PEAK"
|
|
value="replaygain-album-peak"
|
|
c:type="GST_TAG_ALBUM_PEAK">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="859">peak of the album (double)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="864"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_ALBUM_SORTNAME"
|
|
value="album-sortname"
|
|
c:type="GST_TAG_ALBUM_SORTNAME">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="583">album containing this data, as used for sorting (string)
|
|
|
|
The album name as it should be sorted, e.g. 'Jazz Guitar, The'</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="590"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_ALBUM_VOLUME_COUNT"
|
|
value="album-disc-count"
|
|
c:type="GST_TAG_ALBUM_VOLUME_COUNT">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="672">count of discs inside collection this disc belongs to (unsigned integer)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="677"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_ALBUM_VOLUME_NUMBER"
|
|
value="album-disc-number"
|
|
c:type="GST_TAG_ALBUM_VOLUME_NUMBER">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="666">disc number inside a collection (unsigned integer)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="671"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_APPLICATION_DATA"
|
|
value="application-data"
|
|
c:type="GST_TAG_APPLICATION_DATA">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="1088">Arbitrary application data (sample)
|
|
|
|
Some formats allow applications to add their own arbitrary data
|
|
into files. This data is application dependent.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="1096"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_APPLICATION_NAME"
|
|
value="application-name"
|
|
c:type="GST_TAG_APPLICATION_NAME">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="1082">Name of the application used to create the media (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="1087"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_ARTIST" value="artist" c:type="GST_TAG_ARTIST">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="557">person(s) responsible for the recording (string)
|
|
|
|
The artist name as it should be displayed, e.g. 'Jimi Hendrix' or
|
|
'The Guitar Heroes'</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="565"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_ARTIST_SORTNAME"
|
|
value="artist-sortname"
|
|
c:type="GST_TAG_ARTIST_SORTNAME">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="566">person(s) responsible for the recording, as used for sorting (string)
|
|
|
|
The artist name as it should be sorted, e.g. 'Hendrix, Jimi' or
|
|
'Guitar Heroes, The'</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="574"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_ATTACHMENT"
|
|
value="attachment"
|
|
c:type="GST_TAG_ATTACHMENT">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="905">generic file attachment (sample) (sample taglist should specify the content
|
|
type and if possible set "filename" to the file name of the
|
|
attachment)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="912"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_AUDIO_CODEC"
|
|
value="audio-codec"
|
|
c:type="GST_TAG_AUDIO_CODEC">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="780">codec the audio data is stored in (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="785"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_BEATS_PER_MINUTE"
|
|
value="beats-per-minute"
|
|
c:type="GST_TAG_BEATS_PER_MINUTE">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="914">number of beats per minute in audio (double)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="919"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_BITRATE" value="bitrate" c:type="GST_TAG_BITRATE">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="798">exact or average bitrate in bits/s (unsigned integer)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="803"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_CODEC" value="codec" c:type="GST_TAG_CODEC">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="768">codec the data is stored in (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="773"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_COMMENT" value="comment" c:type="GST_TAG_COMMENT">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="635">free text commenting the data (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="640"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_COMPOSER" value="composer" c:type="GST_TAG_COMPOSER">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="603">person(s) who composed the recording (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="608"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_COMPOSER_SORTNAME"
|
|
value="composer-sortname"
|
|
c:type="GST_TAG_COMPOSER_SORTNAME">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="1049">The composer's name, used for sorting (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="1054"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_CONDUCTOR"
|
|
value="conductor"
|
|
c:type="GST_TAG_CONDUCTOR"
|
|
version="1.8">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="609">conductor/performer refinement (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="616"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_CONTACT" value="contact" c:type="GST_TAG_CONTACT">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="738">contact information (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="743"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_CONTAINER_FORMAT"
|
|
value="container-format"
|
|
c:type="GST_TAG_CONTAINER_FORMAT">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="792">container format the data is stored in (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="797"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_COPYRIGHT"
|
|
value="copyright"
|
|
c:type="GST_TAG_COPYRIGHT">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="715">copyright notice of the data (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="720"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_COPYRIGHT_URI"
|
|
value="copyright-uri"
|
|
c:type="GST_TAG_COPYRIGHT_URI">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="721">URI to location where copyright details can be found (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="726"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_DATE" value="date" c:type="GST_TAG_DATE">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="617">date the data was created (#GDate structure)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="622"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_DATE_TIME" value="datetime" c:type="GST_TAG_DATE_TIME">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="623">date and time the data was created (#GstDateTime structure)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="628"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_DESCRIPTION"
|
|
value="description"
|
|
c:type="GST_TAG_DESCRIPTION">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="691">short text describing the content of the data (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="696"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_DEVICE_MANUFACTURER"
|
|
value="device-manufacturer"
|
|
c:type="GST_TAG_DEVICE_MANUFACTURER">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="1070">Manufacturer of the device used to create the media (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="1075"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_DEVICE_MODEL"
|
|
value="device-model"
|
|
c:type="GST_TAG_DEVICE_MODEL">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="1076">Model of the device used to create the media (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="1081"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_DURATION" value="duration" c:type="GST_TAG_DURATION">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="762">length in GStreamer time units (nanoseconds) (unsigned 64-bit integer)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="767"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_ENCODED_BY"
|
|
value="encoded-by"
|
|
c:type="GST_TAG_ENCODED_BY">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="727">name of the person or organisation that encoded the file. May contain a
|
|
copyright message if the person or organisation also holds the copyright
|
|
(string)
|
|
|
|
Note: do not use this field to describe the encoding application. Use
|
|
#GST_TAG_APPLICATION_NAME or #GST_TAG_COMMENT for that.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="737"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_ENCODER" value="encoder" c:type="GST_TAG_ENCODER">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="829">encoder used to encode this stream (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="834"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_ENCODER_VERSION"
|
|
value="encoder-version"
|
|
c:type="GST_TAG_ENCODER_VERSION">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="835">version of the encoder used to encode this stream (unsigned integer)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="840"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_EXTENDED_COMMENT"
|
|
value="extended-comment"
|
|
c:type="GST_TAG_EXTENDED_COMMENT">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="641">key/value text commenting the data (string)
|
|
|
|
Must be in the form of 'key=comment' or
|
|
'key[lc]=comment' where 'lc' is an ISO-639
|
|
language code.
|
|
|
|
This tag is used for unknown Vorbis comment tags,
|
|
unknown APE tags and certain ID3v2 comment fields.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="653"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<function-macro name="TAG_FLAG_IS_VALID"
|
|
c:identifier="GST_TAG_FLAG_IS_VALID"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttaglist.h" line="95"/>
|
|
<parameters>
|
|
<parameter name="flag">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="TAG_GENRE" value="genre" c:type="GST_TAG_GENRE">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="629">genre this data belongs to (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="634"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_GEO_LOCATION_CAPTURE_DIRECTION"
|
|
value="geo-location-capture-direction"
|
|
c:type="GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="1009">Indicates the direction the device is pointing to when capturing
|
|
a media. It is represented as degrees in floating point representation,
|
|
0 means the geographic north, and increases clockwise (double from 0 to 360)
|
|
|
|
See also #GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="1018"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_GEO_LOCATION_CITY"
|
|
value="geo-location-city"
|
|
c:type="GST_TAG_GEO_LOCATION_CITY">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="967">The city (english name) where the media has been produced (string).</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="972"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_GEO_LOCATION_COUNTRY"
|
|
value="geo-location-country"
|
|
c:type="GST_TAG_GEO_LOCATION_COUNTRY">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="961">The country (english name) where the media has been produced (string).</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="966"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_GEO_LOCATION_ELEVATION"
|
|
value="geo-location-elevation"
|
|
c:type="GST_TAG_GEO_LOCATION_ELEVATION">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="954">geo elevation of where the media has been recorded or produced in meters
|
|
according to WGS84 (zero is average sea level) (double).</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="960"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_GEO_LOCATION_HORIZONTAL_ERROR"
|
|
value="geo-location-horizontal-error"
|
|
c:type="GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="983">Represents the expected error on the horizontal positioning in
|
|
meters (double).</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="989"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_GEO_LOCATION_LATITUDE"
|
|
value="geo-location-latitude"
|
|
c:type="GST_TAG_GEO_LOCATION_LATITUDE">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="936">geo latitude location of where the media has been recorded or produced in
|
|
degrees according to WGS84 (zero at the equator, negative values for southern
|
|
latitudes) (double).</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="943"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_GEO_LOCATION_LONGITUDE"
|
|
value="geo-location-longitude"
|
|
c:type="GST_TAG_GEO_LOCATION_LONGITUDE">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="945">geo longitude location of where the media has been recorded or produced in
|
|
degrees according to WGS84 (zero at the prime meridian in Greenwich/UK,
|
|
negative values for western longitudes). (double).</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="952"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_GEO_LOCATION_MOVEMENT_DIRECTION"
|
|
value="geo-location-movement-direction"
|
|
c:type="GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="999">Indicates the movement direction of the device performing the capture
|
|
of a media. It is represented as degrees in floating point representation,
|
|
0 means the geographic north, and increases clockwise (double from 0 to 360)
|
|
|
|
See also #GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="1008"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_GEO_LOCATION_MOVEMENT_SPEED"
|
|
value="geo-location-movement-speed"
|
|
c:type="GST_TAG_GEO_LOCATION_MOVEMENT_SPEED">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="990">Speed of the capturing device when performing the capture.
|
|
Represented in m/s. (double)
|
|
|
|
See also #GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="998"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_GEO_LOCATION_NAME"
|
|
value="geo-location-name"
|
|
c:type="GST_TAG_GEO_LOCATION_NAME">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="928">human readable descriptive location of where the media has been recorded or
|
|
produced. (string).</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="934"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_GEO_LOCATION_SUBLOCATION"
|
|
value="geo-location-sublocation"
|
|
c:type="GST_TAG_GEO_LOCATION_SUBLOCATION">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="973">A location 'smaller' than GST_TAG_GEO_LOCATION_CITY that specifies better
|
|
where the media has been produced. (e.g. the neighborhood) (string).
|
|
|
|
This tag has been added as this is how it is handled/named in XMP's
|
|
Iptc4xmpcore schema.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="982"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_GROUPING" value="grouping" c:type="GST_TAG_GROUPING">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="1055">Groups together media that are related and spans multiple tracks. An
|
|
example are multiple pieces of a concerto. (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="1061"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_HOMEPAGE" value="homepage" c:type="GST_TAG_HOMEPAGE">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="685">Homepage for this media (i.e. artist or movie homepage) (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="690"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_IMAGE" value="image" c:type="GST_TAG_IMAGE">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="890">image (sample) (sample taglist should specify the content type and preferably
|
|
also set "image-type" field as `GstTagImageType`)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="896"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_IMAGE_ORIENTATION"
|
|
value="image-orientation"
|
|
c:type="GST_TAG_IMAGE_ORIENTATION">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="1097">Represents the 'Orientation' tag from EXIF. Defines how the image
|
|
should be rotated and mirrored for display. (string)
|
|
|
|
This tag has a predefined set of allowed values:
|
|
"rotate-0"
|
|
"rotate-90"
|
|
"rotate-180"
|
|
"rotate-270"
|
|
"flip-rotate-0"
|
|
"flip-rotate-90"
|
|
"flip-rotate-180"
|
|
"flip-rotate-270"
|
|
|
|
The naming is adopted according to a possible transformation to perform
|
|
on the image to fix its orientation, obviously equivalent operations will
|
|
yield the same result.
|
|
|
|
Rotations indicated by the values are in clockwise direction and
|
|
'flip' means an horizontal mirroring.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="1120"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_INTERPRETED_BY"
|
|
value="interpreted-by"
|
|
c:type="GST_TAG_INTERPRETED_BY"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="1129">Information about the people behind a remix and similar
|
|
interpretations of another existing piece (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="1137"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_ISRC" value="isrc" c:type="GST_TAG_ISRC">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="703">International Standard Recording Code - see http://www.ifpi.org/isrc/ (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="708"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_KEYWORDS" value="keywords" c:type="GST_TAG_KEYWORDS">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="921">comma separated keywords describing the content (string).</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="926"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_LANGUAGE_CODE"
|
|
value="language-code"
|
|
c:type="GST_TAG_LANGUAGE_CODE">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="871">ISO-639-2 or ISO-639-1 code for the language the content is in (string)
|
|
|
|
There is utility API in libgsttag in gst-plugins-base to obtain a translated
|
|
language name from the language code: `gst_tag_get_language_name()`</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="879"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_LANGUAGE_NAME"
|
|
value="language-name"
|
|
c:type="GST_TAG_LANGUAGE_NAME">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="880">Name of the language the content is in (string)
|
|
|
|
Free-form name of the language the content is in, if a language code
|
|
is not available. This tag should not be set in addition to a language
|
|
code. It is undefined what language or locale the language name is in.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="889"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_LICENSE" value="license" c:type="GST_TAG_LICENSE">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="744">license of data (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="749"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_LICENSE_URI"
|
|
value="license-uri"
|
|
c:type="GST_TAG_LICENSE_URI">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="750">URI to location where license details can be found (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="755"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<function-macro name="TAG_LIST"
|
|
c:identifier="GST_TAG_LIST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttaglist.h" line="110"/>
|
|
<parameters>
|
|
<parameter name="x">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="TAG_LOCATION" value="location" c:type="GST_TAG_LOCATION">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="678">Origin of media as a URI (location, where the original of the file or stream
|
|
is hosted) (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="684"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_LYRICS" value="lyrics" c:type="GST_TAG_LYRICS">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="1043">The lyrics of the media (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="1048"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_MAXIMUM_BITRATE"
|
|
value="maximum-bitrate"
|
|
c:type="GST_TAG_MAXIMUM_BITRATE">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="817">maximum bitrate in bits/s (unsigned integer)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="822"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_MIDI_BASE_NOTE"
|
|
value="midi-base-note"
|
|
c:type="GST_TAG_MIDI_BASE_NOTE"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="1138">[Midi note number](http://en.wikipedia.org/wiki/Note#Note_designation_in_accordance_with_octave_name)
|
|
of the audio track. This is useful for sample instruments and in particular
|
|
for multi-samples.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="1147"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_MINIMUM_BITRATE"
|
|
value="minimum-bitrate"
|
|
c:type="GST_TAG_MINIMUM_BITRATE">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="811">minimum bitrate in bits/s (unsigned integer)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="816"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<function-macro name="TAG_MODE_IS_VALID"
|
|
c:identifier="GST_TAG_MODE_IS_VALID"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttaglist.h" line="74"/>
|
|
<parameters>
|
|
<parameter name="mode">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="TAG_NOMINAL_BITRATE"
|
|
value="nominal-bitrate"
|
|
c:type="GST_TAG_NOMINAL_BITRATE">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="804">nominal bitrate in bits/s (unsigned integer). The actual bitrate might be
|
|
different from this target bitrate.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="810"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_ORGANIZATION"
|
|
value="organization"
|
|
c:type="GST_TAG_ORGANIZATION">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="709">organization (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="714"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_PERFORMER"
|
|
value="performer"
|
|
c:type="GST_TAG_PERFORMER">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="756">person(s) performing (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="761"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_PREVIEW_IMAGE"
|
|
value="preview-image"
|
|
c:type="GST_TAG_PREVIEW_IMAGE">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="897">image that is meant for preview purposes, e.g. small icon-sized version
|
|
(sample) (sample taglist should specify the content type)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="903"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_PRIVATE_DATA"
|
|
value="private-data"
|
|
c:type="GST_TAG_PRIVATE_DATA"
|
|
version="1.8">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="1148">Any private data that may be contained in tags (sample).
|
|
|
|
It is represented by #GstSample in which #GstBuffer contains the
|
|
binary data and the sample's info #GstStructure may contain any
|
|
extra information that identifies the origin or meaning of the data.
|
|
|
|
Private frames in ID3v2 tags ('PRIV' frames) will be represented
|
|
using this tag, in which case the GstStructure will be named
|
|
"ID3PrivateFrame" and contain a field named "owner" of type string
|
|
which contains the owner-identification string from the tag.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="1164"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_PUBLISHER"
|
|
value="publisher"
|
|
c:type="GST_TAG_PUBLISHER"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="1121">Name of the label or publisher (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="1128"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_REFERENCE_LEVEL"
|
|
value="replaygain-reference-level"
|
|
c:type="GST_TAG_REFERENCE_LEVEL">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="865">reference level of track and album gain values (double)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="870"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_SERIAL" value="serial" c:type="GST_TAG_SERIAL">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="823">serial number of track (unsigned integer)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="828"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<function-macro name="TAG_SETTER"
|
|
c:identifier="GST_TAG_SETTER"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttagsetter.h" line="30"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TAG_SETTER_GET_INTERFACE"
|
|
c:identifier="GST_TAG_SETTER_GET_INTERFACE"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttagsetter.h" line="32"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="TAG_SHOW_EPISODE_NUMBER"
|
|
value="show-episode-number"
|
|
c:type="GST_TAG_SHOW_EPISODE_NUMBER">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="1031">Number of the episode within a season/show (unsigned integer)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="1036"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_SHOW_NAME"
|
|
value="show-name"
|
|
c:type="GST_TAG_SHOW_NAME">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="1019">Name of the show, used for displaying (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="1024"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_SHOW_SEASON_NUMBER"
|
|
value="show-season-number"
|
|
c:type="GST_TAG_SHOW_SEASON_NUMBER">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="1037">Number of the season of a show/series (unsigned integer)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="1042"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_SHOW_SORTNAME"
|
|
value="show-sortname"
|
|
c:type="GST_TAG_SHOW_SORTNAME">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="1025">Name of the show, used for sorting (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="1030"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_SUBTITLE_CODEC"
|
|
value="subtitle-codec"
|
|
c:type="GST_TAG_SUBTITLE_CODEC">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="786">codec/format the subtitle data is stored in (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="791"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_TITLE" value="title" c:type="GST_TAG_TITLE">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="541">commonly used title (string)
|
|
|
|
The title as it should be displayed, e.g. 'The Doll House'</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="548"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_TITLE_SORTNAME"
|
|
value="title-sortname"
|
|
c:type="GST_TAG_TITLE_SORTNAME">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="549">commonly used title, as used for sorting (string)
|
|
|
|
The title as it should be sorted, e.g. 'Doll House, The'</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="556"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_TRACK_COUNT"
|
|
value="track-count"
|
|
c:type="GST_TAG_TRACK_COUNT">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="660">count of tracks inside collection this track belongs to (unsigned integer)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="665"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_TRACK_GAIN"
|
|
value="replaygain-track-gain"
|
|
c:type="GST_TAG_TRACK_GAIN">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="841">track gain in db (double)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="846"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_TRACK_NUMBER"
|
|
value="track-number"
|
|
c:type="GST_TAG_TRACK_NUMBER">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="654">track number inside a collection (unsigned integer)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="659"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_TRACK_PEAK"
|
|
value="replaygain-track-peak"
|
|
c:type="GST_TAG_TRACK_PEAK">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="847">peak of the track (double)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="852"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_USER_RATING"
|
|
value="user-rating"
|
|
c:type="GST_TAG_USER_RATING">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="1062">Rating attributed by a person (likely the application user).
|
|
The higher the value, the more the user likes this media
|
|
(unsigned int from 0 to 100)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="1069"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_VERSION" value="version" c:type="GST_TAG_VERSION">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="697">version of this data (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="702"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="TAG_VIDEO_CODEC"
|
|
value="video-codec"
|
|
c:type="GST_TAG_VIDEO_CODEC">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="774">codec the video data is stored in (string)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="779"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<function-macro name="TASK" c:identifier="GST_TASK" introspectable="0">
|
|
<source-position filename="gst/gsttask.h" line="42"/>
|
|
<parameters>
|
|
<parameter name="task">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TASK_BROADCAST"
|
|
c:identifier="GST_TASK_BROADCAST"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="96">Send a broadcast signal to all waiting task conds</doc>
|
|
<source-position filename="gst/gsttask.h" line="102"/>
|
|
<parameters>
|
|
<parameter name="task">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="98">Task to broadcast</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TASK_CAST"
|
|
c:identifier="GST_TASK_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttask.h" line="47"/>
|
|
<parameters>
|
|
<parameter name="task">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TASK_CLASS"
|
|
c:identifier="GST_TASK_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttask.h" line="44"/>
|
|
<parameters>
|
|
<parameter name="tclass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TASK_GET_CLASS"
|
|
c:identifier="GST_TASK_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttask.h" line="46"/>
|
|
<parameters>
|
|
<parameter name="task">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TASK_GET_COND"
|
|
c:identifier="GST_TASK_GET_COND"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="75">Get access to the cond of the task.</doc>
|
|
<source-position filename="gst/gsttask.h" line="81"/>
|
|
<parameters>
|
|
<parameter name="task">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="77">Task to get the cond of</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TASK_GET_LOCK"
|
|
c:identifier="GST_TASK_GET_LOCK"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="104">Get access to the task lock.</doc>
|
|
<source-position filename="gst/gsttask.h" line="110"/>
|
|
<parameters>
|
|
<parameter name="task">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="106">Task to get the lock of</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TASK_POOL"
|
|
c:identifier="GST_TASK_POOL"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttaskpool.h" line="31"/>
|
|
<parameters>
|
|
<parameter name="pool">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TASK_POOL_CAST"
|
|
c:identifier="GST_TASK_POOL_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttaskpool.h" line="36"/>
|
|
<parameters>
|
|
<parameter name="pool">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TASK_POOL_CLASS"
|
|
c:identifier="GST_TASK_POOL_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttaskpool.h" line="33"/>
|
|
<parameters>
|
|
<parameter name="pclass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TASK_POOL_GET_CLASS"
|
|
c:identifier="GST_TASK_POOL_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttaskpool.h" line="35"/>
|
|
<parameters>
|
|
<parameter name="pool">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TASK_SIGNAL"
|
|
c:identifier="GST_TASK_SIGNAL"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="89">Signal the task cond</doc>
|
|
<source-position filename="gst/gsttask.h" line="95"/>
|
|
<parameters>
|
|
<parameter name="task">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="91">Task to signal</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TASK_STATE"
|
|
c:identifier="GST_TASK_STATE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="67">Get access to the state of the task.</doc>
|
|
<source-position filename="gst/gsttask.h" line="73"/>
|
|
<parameters>
|
|
<parameter name="task">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="69">Task to get the state of</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TASK_WAIT"
|
|
c:identifier="GST_TASK_WAIT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="82">Wait for the task cond to be signalled</doc>
|
|
<source-position filename="gst/gsttask.h" line="88"/>
|
|
<parameters>
|
|
<parameter name="task">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="84">Task to wait for</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="TIMEP_FORMAT"
|
|
value="paT"
|
|
c:type="GST_TIMEP_FORMAT"
|
|
version="1.18"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.h"
|
|
line="305">printf format type used to debug GStreamer ClockTime pointers. You can use
|
|
this in combination with GStreamer's debug logging system as well as the
|
|
functions gst_info_vasprintf(), gst_info_strdup_vprintf() and
|
|
gst_info_strdup_printf() to pretty-print #GstClockTime pointers. This can
|
|
only be used on pointers to GstClockTime values.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="316"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<function-macro name="TIMESPEC_TO_TIME"
|
|
c:identifier="GST_TIMESPEC_TO_TIME"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="192">Convert a struct timespec (see man pselect) to a #GstClockTime.</doc>
|
|
<source-position filename="gst/gstclock.h" line="198"/>
|
|
<parameters>
|
|
<parameter name="ts">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="194">the timespec to convert</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TIMEVAL_TO_TIME"
|
|
c:identifier="GST_TIMEVAL_TO_TIME"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="163">Convert a GTimeVal to a #GstClockTime.</doc>
|
|
<source-position filename="gst/gstclock.h" line="169"/>
|
|
<parameters>
|
|
<parameter name="tv">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="165">the timeval to convert</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TIME_ARGS"
|
|
c:identifier="GST_TIME_ARGS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="228">Format @t for the #GST_TIME_FORMAT format string. Note: @t will be
|
|
evaluated more than once.</doc>
|
|
<source-position filename="gst/gstclock.h" line="235"/>
|
|
<parameters>
|
|
<parameter name="t">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="230">a #GstClockTime</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TIME_AS_MSECONDS"
|
|
c:identifier="GST_TIME_AS_MSECONDS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="131">Convert a #GstClockTime to milliseconds (1/1000 of a second).</doc>
|
|
<source-position filename="gst/gstclock.h" line="137"/>
|
|
<parameters>
|
|
<parameter name="time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="133">the time</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TIME_AS_NSECONDS"
|
|
c:identifier="GST_TIME_AS_NSECONDS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="145">Convert a #GstClockTime to nanoseconds (1/1000000000 of a second).</doc>
|
|
<source-position filename="gst/gstclock.h" line="151"/>
|
|
<parameters>
|
|
<parameter name="time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="147">the time</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TIME_AS_SECONDS"
|
|
c:identifier="GST_TIME_AS_SECONDS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="124">Convert a #GstClockTime to seconds.</doc>
|
|
<source-position filename="gst/gstclock.h" line="130"/>
|
|
<parameters>
|
|
<parameter name="time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="126">the time</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TIME_AS_USECONDS"
|
|
c:identifier="GST_TIME_AS_USECONDS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="138">Convert a #GstClockTime to microseconds (1/1000000 of a second).</doc>
|
|
<source-position filename="gst/gstclock.h" line="144"/>
|
|
<parameters>
|
|
<parameter name="time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="140">the time</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="TIME_FORMAT"
|
|
value="u:%02u:%02u.%09u"
|
|
c:type="GST_TIME_FORMAT"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="215">A string that can be used in printf-like format strings to display a
|
|
#GstClockTime value in h:m:s format. Use GST_TIME_ARGS() to construct
|
|
the matching arguments.
|
|
|
|
Example:
|
|
|[<!-- language="C" -->
|
|
printf("%" GST_TIME_FORMAT "\n", GST_TIME_ARGS(ts));
|
|
]|</doc>
|
|
<source-position filename="gst/gstclock.h" line="227"/>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<function-macro name="TIME_TO_TIMESPEC"
|
|
c:identifier="GST_TIME_TO_TIMESPEC"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="199">Convert a #GstClockTime to a struct timespec (see man pselect)</doc>
|
|
<source-position filename="gst/gstclock.h" line="206"/>
|
|
<parameters>
|
|
<parameter name="t">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="201">The #GstClockTime to convert</doc>
|
|
</parameter>
|
|
<parameter name="ts">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="202">The target timespec</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TIME_TO_TIMEVAL"
|
|
c:identifier="GST_TIME_TO_TIMEVAL"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="171">Convert a #GstClockTime to a GTimeVal
|
|
|
|
> on 32-bit systems, a timeval has a range of only 2^32 - 1 seconds,
|
|
> which is about 68 years. Expect trouble if you want to schedule stuff
|
|
> in your pipeline for 2038.</doc>
|
|
<source-position filename="gst/gstclock.h" line="182"/>
|
|
<parameters>
|
|
<parameter name="t">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="173">The #GstClockTime to convert</doc>
|
|
</parameter>
|
|
<parameter name="tv">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="174">The target timeval</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TOC_ENTRY_TYPE_IS_ALTERNATIVE"
|
|
c:identifier="GST_TOC_ENTRY_TYPE_IS_ALTERNATIVE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.h"
|
|
line="85">Checks if @entry_type indicates that its #GstTocEntry is an alternative.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="91"/>
|
|
<parameters>
|
|
<parameter name="entry_type">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.h"
|
|
line="87">The #GstTocEntryType from a #GstTocEntry</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TOC_ENTRY_TYPE_IS_SEQUENCE"
|
|
c:identifier="GST_TOC_ENTRY_TYPE_IS_SEQUENCE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.h"
|
|
line="93">Checks if @entry_type indicates that its #GstTocEntry is a sequence.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="99"/>
|
|
<parameters>
|
|
<parameter name="entry_type">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.h"
|
|
line="95">The #GstTocEntryType from a #GstTocEntry</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="TOC_REPEAT_COUNT_INFINITE"
|
|
value="-1"
|
|
c:type="GST_TOC_REPEAT_COUNT_INFINITE"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.h"
|
|
line="120">Special value for the repeat_count set in gst_toc_entry_set_loop() or
|
|
returned by gst_toc_entry_set_loop() to indicate infinite looping.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="128"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<function-macro name="TOC_SETTER"
|
|
c:identifier="GST_TOC_SETTER"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttocsetter.h" line="30"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TOC_SETTER_GET_IFACE"
|
|
c:identifier="GST_TOC_SETTER_GET_IFACE"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttocsetter.h" line="32"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TRACER" c:identifier="GST_TRACER" introspectable="0">
|
|
<source-position filename="gst/gsttracer.h" line="37"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TRACER_CAST"
|
|
c:identifier="GST_TRACER_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttracer.h" line="42"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TRACER_CLASS"
|
|
c:identifier="GST_TRACER_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttracer.h" line="38"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TRACER_FACTORY"
|
|
c:identifier="GST_TRACER_FACTORY"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttracerfactory.h" line="32"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TRACER_FACTORY_CAST"
|
|
c:identifier="GST_TRACER_FACTORY_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttracerfactory.h" line="37"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TRACER_FACTORY_CLASS"
|
|
c:identifier="GST_TRACER_FACTORY_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttracerfactory.h" line="34"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TRACER_FACTORY_GET_CLASS"
|
|
c:identifier="GST_TRACER_FACTORY_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttracerfactory.h" line="36"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TRACER_GET_CLASS"
|
|
c:identifier="GST_TRACER_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttracer.h" line="41"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TRACER_RECORD"
|
|
c:identifier="GST_TRACER_RECORD"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttracerrecord.h" line="40"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TRACER_RECORD_CAST"
|
|
c:identifier="GST_TRACER_RECORD_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttracerrecord.h" line="45"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TRACER_RECORD_CLASS"
|
|
c:identifier="GST_TRACER_RECORD_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttracerrecord.h" line="41"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TRACER_RECORD_GET_CLASS"
|
|
c:identifier="GST_TRACER_RECORD_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttracerrecord.h" line="44"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TYPE_FIND_FACTORY"
|
|
c:identifier="GST_TYPE_FIND_FACTORY"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttypefindfactory.h" line="33"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TYPE_FIND_FACTORY_CLASS"
|
|
c:identifier="GST_TYPE_FIND_FACTORY_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttypefindfactory.h" line="35"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="TYPE_FIND_FACTORY_GET_CLASS"
|
|
c:identifier="GST_TYPE_FIND_FACTORY_GET_CLASS"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttypefindfactory.h" line="37"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<enumeration name="TagFlag"
|
|
glib:type-name="GstTagFlag"
|
|
glib:get-type="gst_tag_flag_get_type"
|
|
c:type="GstTagFlag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="76">Extra tag flags used when registering tags.</doc>
|
|
<member name="undefined"
|
|
value="0"
|
|
c:identifier="GST_TAG_FLAG_UNDEFINED"
|
|
glib:nick="undefined">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="78">undefined flag</doc>
|
|
</member>
|
|
<member name="meta"
|
|
value="1"
|
|
c:identifier="GST_TAG_FLAG_META"
|
|
glib:nick="meta">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="79">tag is meta data</doc>
|
|
</member>
|
|
<member name="encoded"
|
|
value="2"
|
|
c:identifier="GST_TAG_FLAG_ENCODED"
|
|
glib:nick="encoded">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="80">tag is encoded</doc>
|
|
</member>
|
|
<member name="decoded"
|
|
value="3"
|
|
c:identifier="GST_TAG_FLAG_DECODED"
|
|
glib:nick="decoded">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="81">tag is decoded</doc>
|
|
</member>
|
|
<member name="count"
|
|
value="4"
|
|
c:identifier="GST_TAG_FLAG_COUNT"
|
|
glib:nick="count">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="82">number of tag flags</doc>
|
|
</member>
|
|
</enumeration>
|
|
<callback name="TagForeachFunc" c:type="GstTagForeachFunc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="114">A function that will be called in gst_tag_list_foreach(). The function may
|
|
not modify the tag list.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="123"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="116">the #GstTagList</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="117">a name of a tag in @list</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="118">user data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<record name="TagList"
|
|
c:type="GstTagList"
|
|
glib:type-name="GstTagList"
|
|
glib:get-type="gst_tag_list_get_type"
|
|
c:symbol-prefix="tag_list">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="22">List of tags and values used to describe media metadata.
|
|
|
|
Strings in structures must be ASCII or UTF-8 encoded. Other encodings are
|
|
not allowed. Strings must not be empty or %NULL.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="106"/>
|
|
<field name="mini_object" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="99">the parent type</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject"/>
|
|
</field>
|
|
<constructor name="new"
|
|
c:identifier="gst_tag_list_new"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="761">Creates a new taglist and appends the values for the given tags. It expects
|
|
tag-value pairs like gst_tag_list_add(), and a %NULL terminator after the
|
|
last pair. The type of the values is implicit and is documented in the API
|
|
reference, but can also be queried at runtime with gst_tag_get_type(). It
|
|
is an error to pass a value of a type not matching the tag type into this
|
|
function. The tag list will make copies of any arguments passed
|
|
(e.g. strings, buffers).
|
|
|
|
After creation you might also want to set a #GstTagScope on the returned
|
|
taglist to signal if the contained tags are global or stream tags. By
|
|
default stream scope is assumes. See gst_tag_list_set_scope().
|
|
|
|
Free-function: gst_tag_list_unref</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="204"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="780">a new #GstTagList. Free with gst_tag_list_unref()
|
|
when no longer needed.</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="763">tag</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="764">%NULL-terminated list of values to set</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_empty" c:identifier="gst_tag_list_new_empty">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="741">Creates a new empty GstTagList.
|
|
|
|
Free-function: gst_tag_list_unref</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="201"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="748">An empty tag list</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<constructor name="new_from_string"
|
|
c:identifier="gst_tag_list_new_from_string">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="877">Deserializes a tag list.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="219"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="883">a new #GstTagList, or %NULL in case of an
|
|
error.</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="str" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="879">a string created with gst_tag_list_to_string()</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_valist"
|
|
c:identifier="gst_tag_list_new_valist"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="799">Just like gst_tag_list_new(), only that it takes a va_list argument.
|
|
Useful mostly for language bindings.
|
|
|
|
Free-function: gst_tag_list_unref</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="207"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="808">a new #GstTagList. Free with gst_tag_list_unref()
|
|
when no longer needed.</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="var_args" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="801">tag / value pairs to set</doc>
|
|
<type name="va_list" c:type="va_list"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<method name="add" c:identifier="gst_tag_list_add" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1214">Sets the values for the given tags using the specified mode.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="245"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1216">list to set tags in</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1217">the mode to use</doc>
|
|
<type name="TagMergeMode" c:type="GstTagMergeMode"/>
|
|
</parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1218">tag</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1219">%NULL-terminated list of values to set</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_valist"
|
|
c:identifier="gst_tag_list_add_valist"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1264">Sets the values for the given tags using the specified mode.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="255"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1266">list to set tags in</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1267">the mode to use</doc>
|
|
<type name="TagMergeMode" c:type="GstTagMergeMode"/>
|
|
</parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1268">tag</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="var_args" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1269">tag / value pairs to set</doc>
|
|
<type name="va_list" c:type="va_list"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_valist_values"
|
|
c:identifier="gst_tag_list_add_valist_values"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1318">Sets the GValues for the given tags using the specified mode.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="260"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1320">list to set tags in</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1321">the mode to use</doc>
|
|
<type name="TagMergeMode" c:type="GstTagMergeMode"/>
|
|
</parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1322">tag</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="var_args" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1323">tag / GValue pairs to set</doc>
|
|
<type name="va_list" c:type="va_list"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_value" c:identifier="gst_tag_list_add_value">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1354">Sets the GValue for a given tag using the specified mode.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="265"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1356">list to set tags in</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1357">the mode to use</doc>
|
|
<type name="TagMergeMode" c:type="GstTagMergeMode"/>
|
|
</parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1358">tag</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1359">GValue for this tag</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_values"
|
|
c:identifier="gst_tag_list_add_values"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1239">Sets the GValues for the given tags using the specified mode.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="250"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1241">list to set tags in</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1242">the mode to use</doc>
|
|
<type name="TagMergeMode" c:type="GstTagMergeMode"/>
|
|
</parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1243">tag</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1244">GValues to set</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="copy" c:identifier="gst_tag_list_copy">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="2066">Creates a new #GstTagList as a copy of the old @taglist. The new taglist
|
|
will have a refcount of 1, owned by the caller, and will be writable as
|
|
a result.
|
|
|
|
Note that this function is the semantic equivalent of a gst_tag_list_ref()
|
|
followed by a gst_tag_list_make_writable(). If you only want to hold on to a
|
|
reference to the data, you should use gst_tag_list_ref().
|
|
|
|
When you are finished with the taglist, call gst_tag_list_unref() on it.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="457"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="2080">the new #GstTagList</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="taglist" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="2068">a #GstTagList.</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="foreach" c:identifier="gst_tag_list_foreach">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1410">Calls the given function for each tag inside the tag list. Note that if there
|
|
is no tag, the function won't be called at all.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="273"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1412">list to iterate over</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="call"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1413">function to be called for each tag</doc>
|
|
<type name="TagForeachFunc" c:type="GstTagForeachFunc"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1414">user specified data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_boolean" c:identifier="gst_tag_list_get_boolean">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1564">Copies the contents for the given tag into the value, merging multiple values
|
|
into one if multiple values are associated with the tag.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="289"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1573">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
|
|
given list.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1566">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1567">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1568">location for the result</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_boolean_index"
|
|
c:identifier="gst_tag_list_get_boolean_index">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1576">Gets the value that is at the given index for the given tag in the given
|
|
list.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="293"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1586">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
|
|
given list.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1578">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1579">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1580">number of entry to read out</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1581">location for the result</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_date" c:identifier="gst_tag_list_get_date">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1865">Copies the first date for the given tag in the taglist into the variable
|
|
pointed to by @value. Free the date with g_date_free() when it is no longer
|
|
needed.
|
|
|
|
Free-function: g_date_free</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="375"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1878">%TRUE, if a date was copied, %FALSE if the tag didn't exist in the
|
|
given list or if it was %NULL.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1867">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1868">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1869">address of a GDate pointer
|
|
variable to store the result into</doc>
|
|
<type name="GLib.Date" c:type="GDate**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_date_index" c:identifier="gst_tag_list_get_date_index">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1898">Gets the date that is at the given index for the given tag in the given
|
|
list and copies it into the variable pointed to by @value. Free the date
|
|
with g_date_free() when it is no longer needed.
|
|
|
|
Free-function: g_date_free</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="379"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1911">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
|
|
given list or if it was %NULL.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1900">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1901">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1902">number of entry to read out</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1903">location for the result</doc>
|
|
<type name="GLib.Date" c:type="GDate**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_date_time" c:identifier="gst_tag_list_get_date_time">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1930">Copies the first datetime for the given tag in the taglist into the variable
|
|
pointed to by @value. Unref the date with gst_date_time_unref() when
|
|
it is no longer needed.
|
|
|
|
Free-function: gst_date_time_unref</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="384"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1943">%TRUE, if a datetime was copied, %FALSE if the tag didn't exist in
|
|
the given list or if it was %NULL.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1932">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1933">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1934">address of a #GstDateTime
|
|
pointer variable to store the result into</doc>
|
|
<type name="DateTime" c:type="GstDateTime**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_date_time_index"
|
|
c:identifier="gst_tag_list_get_date_time_index">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1964">Gets the datetime that is at the given index for the given tag in the given
|
|
list and copies it into the variable pointed to by @value. Unref the datetime
|
|
with gst_date_time_unref() when it is no longer needed.
|
|
|
|
Free-function: gst_date_time_unref</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="388"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1977">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
|
|
given list or if it was %NULL.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1966">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1967">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1968">number of entry to read out</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1969">location for the result</doc>
|
|
<type name="DateTime" c:type="GstDateTime**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_double" c:identifier="gst_tag_list_get_double">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1720">Copies the contents for the given tag into the value, merging multiple values
|
|
into one if multiple values are associated with the tag.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="343"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1729">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
|
|
given list.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1722">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1723">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1724">location for the result</doc>
|
|
<type name="gdouble" c:type="gdouble*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_double_index"
|
|
c:identifier="gst_tag_list_get_double_index">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1732">Gets the value that is at the given index for the given tag in the given
|
|
list.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="347"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1742">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
|
|
given list.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1734">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1735">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1736">number of entry to read out</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1737">location for the result</doc>
|
|
<type name="gdouble" c:type="gdouble*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_float" c:identifier="gst_tag_list_get_float">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1694">Copies the contents for the given tag into the value, merging multiple values
|
|
into one if multiple values are associated with the tag.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="334"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1703">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
|
|
given list.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1696">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1697">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1698">location for the result</doc>
|
|
<type name="gfloat" c:type="gfloat*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_float_index"
|
|
c:identifier="gst_tag_list_get_float_index">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1706">Gets the value that is at the given index for the given tag in the given
|
|
list.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="338"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1716">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
|
|
given list.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1708">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1709">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1710">number of entry to read out</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1711">location for the result</doc>
|
|
<type name="gfloat" c:type="gfloat*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_int" c:identifier="gst_tag_list_get_int">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1590">Copies the contents for the given tag into the value, merging multiple values
|
|
into one if multiple values are associated with the tag.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="298"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1599">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
|
|
given list.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1592">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1593">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1594">location for the result</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_int64" c:identifier="gst_tag_list_get_int64">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1642">Copies the contents for the given tag into the value, merging multiple values
|
|
into one if multiple values are associated with the tag.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="316"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1651">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
|
|
given list.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1644">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1645">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1646">location for the result</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_int64_index"
|
|
c:identifier="gst_tag_list_get_int64_index">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1654">Gets the value that is at the given index for the given tag in the given
|
|
list.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="320"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1664">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
|
|
given list.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1656">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1657">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1658">number of entry to read out</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1659">location for the result</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_int_index" c:identifier="gst_tag_list_get_int_index">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1602">Gets the value that is at the given index for the given tag in the given
|
|
list.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="302"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1612">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
|
|
given list.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1604">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1605">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1606">number of entry to read out</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1607">location for the result</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_pointer" c:identifier="gst_tag_list_get_pointer">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1746">Copies the contents for the given tag into the value, merging multiple values
|
|
into one if multiple values are associated with the tag.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="366"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1755">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
|
|
given list.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1748">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1749">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none"
|
|
nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1750">location for the result</doc>
|
|
<type name="gpointer" c:type="gpointer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_pointer_index"
|
|
c:identifier="gst_tag_list_get_pointer_index">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1758">Gets the value that is at the given index for the given tag in the given
|
|
list.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="370"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1768">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
|
|
given list.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1760">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1761">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1762">number of entry to read out</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none"
|
|
nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1763">location for the result</doc>
|
|
<type name="gpointer" c:type="gpointer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_sample" c:identifier="gst_tag_list_get_sample">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1996">Copies the first sample for the given tag in the taglist into the variable
|
|
pointed to by @sample. Free the sample with gst_sample_unref() when it is
|
|
no longer needed. You can retrieve the buffer from the sample using
|
|
gst_sample_get_buffer() and the associated caps (if any) with
|
|
gst_sample_get_caps().
|
|
|
|
Free-function: gst_sample_unref</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="393"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="2011">%TRUE, if a sample was returned, %FALSE if the tag didn't exist in
|
|
the given list or if it was %NULL.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1998">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1999">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="sample"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="2000">address of a GstSample
|
|
pointer variable to store the result into</doc>
|
|
<type name="Sample" c:type="GstSample**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_sample_index"
|
|
c:identifier="gst_tag_list_get_sample_index">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="2031">Gets the sample that is at the given index for the given tag in the given
|
|
list and copies it into the variable pointed to by @sample. Free the sample
|
|
with gst_sample_unref() when it is no longer needed. You can retrieve the
|
|
buffer from the sample using gst_sample_get_buffer() and the associated
|
|
caps (if any) with gst_sample_get_caps().
|
|
|
|
Free-function: gst_sample_unref</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="397"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="2047">%TRUE, if a sample was copied, %FALSE if the tag didn't exist in the
|
|
given list or if it was %NULL.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="2033">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="2034">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="2035">number of entry to read out</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="sample"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="2036">address of a GstSample
|
|
pointer variable to store the result into</doc>
|
|
<type name="Sample" c:type="GstSample**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_scope" c:identifier="gst_tag_list_get_scope">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="843">Gets the scope of @list.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="213"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="849">The scope of @list</doc>
|
|
<type name="TagScope" c:type="GstTagScope"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="845">a #GstTagList</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_string" c:identifier="gst_tag_list_get_string">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1785">Copies the contents for the given tag into the value, possibly merging
|
|
multiple values into one if multiple values are associated with the tag.
|
|
|
|
Use gst_tag_list_get_string_index (list, tag, 0, value) if you want
|
|
to retrieve the first string associated with this tag unmodified.
|
|
|
|
The resulting string in @value will be in UTF-8 encoding and should be
|
|
freed by the caller using g_free when no longer needed. The
|
|
returned string is also guaranteed to be non-%NULL and non-empty.
|
|
|
|
Free-function: g_free</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="352"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1803">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
|
|
given list.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1787">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1788">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1789">location for the result</doc>
|
|
<type name="utf8" c:type="gchar**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_string_index"
|
|
c:identifier="gst_tag_list_get_string_index">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1806">Gets the value that is at the given index for the given tag in the given
|
|
list.
|
|
|
|
The resulting string in @value will be in UTF-8 encoding and should be
|
|
freed by the caller using g_free when no longer needed. The
|
|
returned string is also guaranteed to be non-%NULL and non-empty.
|
|
|
|
Free-function: g_free</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="356"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1822">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
|
|
given list.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1808">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1809">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1810">number of entry to read out</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1811">location for the result</doc>
|
|
<type name="utf8" c:type="gchar**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_tag_size" c:identifier="gst_tag_list_get_tag_size">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1189">Checks how many value are stored in this tag list for the given tag.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="242"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1196">The number of tags stored</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1191">a taglist</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1192">the tag to query</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_uint" c:identifier="gst_tag_list_get_uint">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1616">Copies the contents for the given tag into the value, merging multiple values
|
|
into one if multiple values are associated with the tag.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="307"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1625">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
|
|
given list.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1618">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1619">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1620">location for the result</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_uint64" c:identifier="gst_tag_list_get_uint64">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1668">Copies the contents for the given tag into the value, merging multiple values
|
|
into one if multiple values are associated with the tag.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="325"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1677">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
|
|
given list.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1670">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1671">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1672">location for the result</doc>
|
|
<type name="guint64" c:type="guint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_uint64_index"
|
|
c:identifier="gst_tag_list_get_uint64_index">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1680">Gets the value that is at the given index for the given tag in the given
|
|
list.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="329"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1690">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
|
|
given list.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1682">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1683">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1684">number of entry to read out</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1685">location for the result</doc>
|
|
<type name="guint64" c:type="guint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_uint_index" c:identifier="gst_tag_list_get_uint_index">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1628">Gets the value that is at the given index for the given tag in the given
|
|
list.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="311"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1638">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
|
|
given list.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1630">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1631">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1632">number of entry to read out</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1633">location for the result</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_value_index"
|
|
c:identifier="gst_tag_list_get_value_index">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1435">Gets the value that is at the given index for the given tag in the given
|
|
list.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="278"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1444">The GValue for the specified
|
|
entry or %NULL if the tag wasn't available or the tag
|
|
doesn't have as many entries</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1437">a #GstTagList</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1438">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1439">number of entry to read out</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="insert" c:identifier="gst_tag_list_insert">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1120">Inserts the tags of the @from list into the first list using the given mode.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="234"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="into" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1122">list to merge into</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="from" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1123">list to merge from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1124">the mode to use</doc>
|
|
<type name="TagMergeMode" c:type="GstTagMergeMode"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_empty" c:identifier="gst_tag_list_is_empty">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="939">Checks if the given taglist is empty.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="228"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="945">%TRUE if the taglist is empty, otherwise %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="941">A #GstTagList.</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_equal" c:identifier="gst_tag_list_is_equal">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="988">Checks if the two given taglists are equal.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="231"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="995">%TRUE if the taglists are equal, otherwise %FALSE</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="990">a #GstTagList.</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="list2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="991">a #GstTagList.</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="merge" c:identifier="gst_tag_list_merge">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1148">Merges the two given lists into a new list. If one of the lists is %NULL, a
|
|
copy of the other is returned. If both lists are %NULL, %NULL is returned.
|
|
|
|
Free-function: gst_tag_list_unref</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="238"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1159">the new list</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list1"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1150">first list to merge</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="list2"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1151">second list to merge</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1152">the mode to use</doc>
|
|
<type name="TagMergeMode" c:type="GstTagMergeMode"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="n_tags" c:identifier="gst_tag_list_n_tags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="904">Get the number of tags in @list.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="222"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="910">The number of tags in @list.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="906">A #GstTagList.</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="nth_tag_name" c:identifier="gst_tag_list_nth_tag_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="921">Get the name of the tag in @list at @index.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="225"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="928">The name of the tag at @index.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="923">A #GstTagList.</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="924">the index</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="peek_string_index"
|
|
c:identifier="gst_tag_list_peek_string_index">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1832">Peeks at the value that is at the given index for the given tag in the given
|
|
list.
|
|
|
|
The resulting string in @value will be in UTF-8 encoding and doesn't need
|
|
to be freed by the caller. The returned string is also guaranteed to
|
|
be non-%NULL and non-empty.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="361"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1846">%TRUE, if a value was set, %FALSE if the tag didn't exist in the
|
|
given list.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1834">a #GstTagList to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1835">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1836">number of entry to read out</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1837">location for the result</doc>
|
|
<type name="utf8" c:type="const gchar**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="ref" c:identifier="gst_tag_list_ref" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="403">Add a reference to a #GstTagList mini object.
|
|
|
|
From this point on, until the caller calls gst_tag_list_unref() or
|
|
gst_tag_list_make_writable(), it is guaranteed that the taglist object will
|
|
not change. To use a #GstTagList object, you must always have a refcount on
|
|
it -- either the one made implicitly by e.g. gst_tag_list_new(), or via
|
|
taking one explicitly with this function.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="417"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="415">the same #GstTagList mini object.</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="taglist" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="405">the #GstTagList to reference</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_tag" c:identifier="gst_tag_list_remove_tag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1375">Removes the given tag from the taglist.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="270"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1377">list to remove tag from</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1378">tag to remove</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_scope" c:identifier="gst_tag_list_set_scope">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="825">Sets the scope of @list to @scope. By default the scope
|
|
of a taglist is stream scope.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="210"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="827">a #GstTagList</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</instance-parameter>
|
|
<parameter name="scope" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="828">new scope for @list</doc>
|
|
<type name="TagScope" c:type="GstTagScope"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="to_string" c:identifier="gst_tag_list_to_string">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="859">Serializes a tag list to a string.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="216"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="865">a newly-allocated string, or %NULL in case of
|
|
an error. The string must be freed with g_free() when no longer
|
|
needed.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="861">a #GstTagList</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unref"
|
|
c:identifier="gst_tag_list_unref"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="424">Unref a #GstTagList, and and free all its memory when the refcount reaches 0.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="430"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="taglist" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="426">a #GstTagList.</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<function name="copy_value" c:identifier="gst_tag_list_copy_value">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1472">Copies the contents for the given tag into the value,
|
|
merging multiple values into one if multiple values are associated
|
|
with the tag.
|
|
You must g_value_unset() the value after use.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="282"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1483">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
|
|
given list.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="dest"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1474">uninitialized #GValue to copy into</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1475">list to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1476">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</record>
|
|
<callback name="TagMergeFunc" c:type="GstTagMergeFunc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="127">A function for merging multiple values of a tag used when registering
|
|
tags.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="135"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="dest" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="129">the destination #GValue</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="130">the source #GValue</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<enumeration name="TagMergeMode"
|
|
glib:type-name="GstTagMergeMode"
|
|
glib:get-type="gst_tag_merge_mode_get_type"
|
|
c:type="GstTagMergeMode">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="33">The different tag merging modes are basically replace, overwrite and append,
|
|
but they can be seen from two directions. Given two taglists: (A) the tags
|
|
already in the element and (B) the ones that are supplied to the element (
|
|
e.g. via gst_tag_setter_merge_tags() / gst_tag_setter_add_tags() or a
|
|
%GST_EVENT_TAG), how are these tags merged?
|
|
In the table below this is shown for the cases that a tag exists in the list
|
|
(A) or does not exists (!A) and combinations thereof.
|
|
|
|
| merge mode | A + B | A + !B | !A + B | !A + !B |
|
|
| ----------- | ----- | ------ | ------ | ------- |
|
|
| REPLACE_ALL | B | ø | B | ø |
|
|
| REPLACE | B | A | B | ø |
|
|
| APPEND | A, B | A | B | ø |
|
|
| PREPEND | B, A | A | B | ø |
|
|
| KEEP | A | A | B | ø |
|
|
| KEEP_ALL | A | A | ø | ø |</doc>
|
|
<member name="undefined"
|
|
value="0"
|
|
c:identifier="GST_TAG_MERGE_UNDEFINED"
|
|
glib:nick="undefined">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="35">undefined merge mode</doc>
|
|
</member>
|
|
<member name="replace_all"
|
|
value="1"
|
|
c:identifier="GST_TAG_MERGE_REPLACE_ALL"
|
|
glib:nick="replace-all">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="36">replace all tags (clear list and append)</doc>
|
|
</member>
|
|
<member name="replace"
|
|
value="2"
|
|
c:identifier="GST_TAG_MERGE_REPLACE"
|
|
glib:nick="replace">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="37">replace tags</doc>
|
|
</member>
|
|
<member name="append"
|
|
value="3"
|
|
c:identifier="GST_TAG_MERGE_APPEND"
|
|
glib:nick="append">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="38">append tags</doc>
|
|
</member>
|
|
<member name="prepend"
|
|
value="4"
|
|
c:identifier="GST_TAG_MERGE_PREPEND"
|
|
glib:nick="prepend">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="39">prepend tags</doc>
|
|
</member>
|
|
<member name="keep"
|
|
value="5"
|
|
c:identifier="GST_TAG_MERGE_KEEP"
|
|
glib:nick="keep">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="40">keep existing tags</doc>
|
|
</member>
|
|
<member name="keep_all"
|
|
value="6"
|
|
c:identifier="GST_TAG_MERGE_KEEP_ALL"
|
|
glib:nick="keep-all">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="41">keep all existing tags</doc>
|
|
</member>
|
|
<member name="count"
|
|
value="7"
|
|
c:identifier="GST_TAG_MERGE_COUNT"
|
|
glib:nick="count">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="42">the number of merge modes</doc>
|
|
</member>
|
|
</enumeration>
|
|
<enumeration name="TagScope"
|
|
glib:type-name="GstTagScope"
|
|
glib:get-type="gst_tag_scope_get_type"
|
|
c:type="GstTagScope">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="187">GstTagScope specifies if a taglist applies to the complete
|
|
medium or only to one single stream.</doc>
|
|
<member name="stream"
|
|
value="0"
|
|
c:identifier="GST_TAG_SCOPE_STREAM"
|
|
glib:nick="stream">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="189">tags specific to this single stream</doc>
|
|
</member>
|
|
<member name="global"
|
|
value="1"
|
|
c:identifier="GST_TAG_SCOPE_GLOBAL"
|
|
glib:nick="global">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="190">global tags for the complete medium</doc>
|
|
</member>
|
|
</enumeration>
|
|
<interface name="TagSetter"
|
|
c:symbol-prefix="tag_setter"
|
|
c:type="GstTagSetter"
|
|
glib:type-name="GstTagSetter"
|
|
glib:get-type="gst_tag_setter_get_type"
|
|
glib:type-struct="TagSetterInterface">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="22">Element interface that allows setting of media metadata.
|
|
|
|
Elements that support changing a stream's metadata will implement this
|
|
interface. Examples of such elements are 'vorbisenc', 'theoraenc' and
|
|
'id3v2mux'.
|
|
|
|
If you just want to retrieve metadata in your application then all you
|
|
need to do is watch for tag messages on your pipeline's bus. This
|
|
interface is only for setting metadata, not for extracting it. To set tags
|
|
from the application, find tagsetter elements and set tags using e.g.
|
|
gst_tag_setter_merge_tags() or gst_tag_setter_add_tags(). Also consider
|
|
setting the #GstTagMergeMode that is used for tag events that arrive at the
|
|
tagsetter element (default mode is to keep existing tags).
|
|
The application should do that before the element goes to %GST_STATE_PAUSED.
|
|
|
|
Elements implementing the #GstTagSetter interface often have to merge
|
|
any tags received from upstream and the tags set by the application via
|
|
the interface. This can be done like this:
|
|
|
|
|[<!-- language="C" -->
|
|
GstTagMergeMode merge_mode;
|
|
const GstTagList *application_tags;
|
|
const GstTagList *event_tags;
|
|
GstTagSetter *tagsetter;
|
|
GstTagList *result;
|
|
|
|
tagsetter = GST_TAG_SETTER (element);
|
|
|
|
merge_mode = gst_tag_setter_get_tag_merge_mode (tagsetter);
|
|
application_tags = gst_tag_setter_get_tag_list (tagsetter);
|
|
event_tags = (const GstTagList *) element->event_tags;
|
|
|
|
GST_LOG_OBJECT (tagsetter, "merging tags, merge mode = %d", merge_mode);
|
|
GST_LOG_OBJECT (tagsetter, "event tags: %" GST_PTR_FORMAT, event_tags);
|
|
GST_LOG_OBJECT (tagsetter, "set tags: %" GST_PTR_FORMAT, application_tags);
|
|
|
|
result = gst_tag_list_merge (application_tags, event_tags, merge_mode);
|
|
|
|
GST_LOG_OBJECT (tagsetter, "final tags: %" GST_PTR_FORMAT, result);
|
|
]|</doc>
|
|
<source-position filename="gst/gsttagsetter.h" line="57"/>
|
|
<prerequisite name="Element"/>
|
|
<method name="add_tag_valist"
|
|
c:identifier="gst_tag_setter_add_tag_valist"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="244">Adds the given tag / value pairs on the setter using the given merge mode.
|
|
The list must be terminated with %NULL.</doc>
|
|
<source-position filename="gst/gsttagsetter.h" line="80"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="setter" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="246">a #GstTagSetter</doc>
|
|
<type name="TagSetter" c:type="GstTagSetter*"/>
|
|
</instance-parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="247">the mode to use</doc>
|
|
<type name="TagMergeMode" c:type="GstTagMergeMode"/>
|
|
</parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="248">tag to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="var_args" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="249">tag / value pairs to set</doc>
|
|
<type name="va_list" c:type="va_list"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_tag_valist_values"
|
|
c:identifier="gst_tag_setter_add_tag_valist_values"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="274">Adds the given tag / GValue pairs on the setter using the given merge mode.
|
|
The list must be terminated with %NULL.</doc>
|
|
<source-position filename="gst/gsttagsetter.h" line="85"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="setter" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="276">a #GstTagSetter</doc>
|
|
<type name="TagSetter" c:type="GstTagSetter*"/>
|
|
</instance-parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="277">the mode to use</doc>
|
|
<type name="TagMergeMode" c:type="GstTagMergeMode"/>
|
|
</parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="278">tag to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="var_args" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="279">tag / GValue pairs to set</doc>
|
|
<type name="va_list" c:type="va_list"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_tag_value" c:identifier="gst_tag_setter_add_tag_value">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="305">Adds the given tag / GValue pair on the setter using the given merge mode.</doc>
|
|
<source-position filename="gst/gsttagsetter.h" line="90"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="setter" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="307">a #GstTagSetter</doc>
|
|
<type name="TagSetter" c:type="GstTagSetter*"/>
|
|
</instance-parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="308">the mode to use</doc>
|
|
<type name="TagMergeMode" c:type="GstTagMergeMode"/>
|
|
</parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="309">tag to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="310">GValue to set for the tag</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_tag_values"
|
|
c:identifier="gst_tag_setter_add_tag_values"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="220">Adds the given tag / GValue pairs on the setter using the given merge mode.
|
|
The list must be terminated with %NULL.</doc>
|
|
<source-position filename="gst/gsttagsetter.h" line="75"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="setter" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="222">a #GstTagSetter</doc>
|
|
<type name="TagSetter" c:type="GstTagSetter*"/>
|
|
</instance-parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="223">the mode to use</doc>
|
|
<type name="TagMergeMode" c:type="GstTagMergeMode"/>
|
|
</parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="224">tag to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="225">more tag / GValue pairs to set</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_tags"
|
|
c:identifier="gst_tag_setter_add_tags"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="196">Adds the given tag / value pairs on the setter using the given merge mode.
|
|
The list must be terminated with %NULL.</doc>
|
|
<source-position filename="gst/gsttagsetter.h" line="70"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="setter" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="198">a #GstTagSetter</doc>
|
|
<type name="TagSetter" c:type="GstTagSetter*"/>
|
|
</instance-parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="199">the mode to use</doc>
|
|
<type name="TagMergeMode" c:type="GstTagMergeMode"/>
|
|
</parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="200">tag to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="201">more tag / value pairs to set</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_tag_list" c:identifier="gst_tag_setter_get_tag_list">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="335">Returns the current list of tags the setter uses. The list should not be
|
|
modified or freed.
|
|
|
|
This function is not thread-safe.</doc>
|
|
<source-position filename="gst/gsttagsetter.h" line="96"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="344">a current snapshot of the
|
|
taglist used in the setter or %NULL if none is used.</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="setter" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="337">a #GstTagSetter</doc>
|
|
<type name="TagSetter" c:type="GstTagSetter*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_tag_merge_mode"
|
|
c:identifier="gst_tag_setter_get_tag_merge_mode">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="379">Queries the mode by which tags inside the setter are overwritten by tags
|
|
from events</doc>
|
|
<source-position filename="gst/gsttagsetter.h" line="102"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="386">the merge mode used inside the element.</doc>
|
|
<type name="TagMergeMode" c:type="GstTagMergeMode"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="setter" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="381">a #GstTagSetter</doc>
|
|
<type name="TagSetter" c:type="GstTagSetter*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="merge_tags" c:identifier="gst_tag_setter_merge_tags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="166">Merges the given list into the setter's list using the given mode.</doc>
|
|
<source-position filename="gst/gsttagsetter.h" line="66"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="setter" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="168">a #GstTagSetter</doc>
|
|
<type name="TagSetter" c:type="GstTagSetter*"/>
|
|
</instance-parameter>
|
|
<parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="169">a tag list to merge from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="170">the mode to merge with</doc>
|
|
<type name="TagMergeMode" c:type="GstTagMergeMode"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="reset_tags" c:identifier="gst_tag_setter_reset_tags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="142">Reset the internal taglist. Elements should call this from within the
|
|
state-change handler.</doc>
|
|
<source-position filename="gst/gsttagsetter.h" line="63"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="setter" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="144">a #GstTagSetter</doc>
|
|
<type name="TagSetter" c:type="GstTagSetter*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_tag_merge_mode"
|
|
c:identifier="gst_tag_setter_set_tag_merge_mode">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="355">Sets the given merge mode that is used for adding tags from events to tags
|
|
specified by this interface. The default is #GST_TAG_MERGE_KEEP, which keeps
|
|
the tags set with this interface and discards tags from events.</doc>
|
|
<source-position filename="gst/gsttagsetter.h" line="99"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="setter" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="357">a #GstTagSetter</doc>
|
|
<type name="TagSetter" c:type="GstTagSetter*"/>
|
|
</instance-parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.c"
|
|
line="358">The mode with which tags are added</doc>
|
|
<type name="TagMergeMode" c:type="GstTagMergeMode"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
</interface>
|
|
<record name="TagSetterInterface"
|
|
c:type="GstTagSetterInterface"
|
|
glib:is-gtype-struct-for="TagSetter">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.h"
|
|
line="42">#GstTagSetterInterface interface.</doc>
|
|
<source-position filename="gst/gsttagsetter.h" line="57"/>
|
|
<field name="g_iface">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttagsetter.h"
|
|
line="44">parent interface type.</doc>
|
|
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
|
|
</field>
|
|
</record>
|
|
<class name="Task"
|
|
c:symbol-prefix="task"
|
|
c:type="GstTask"
|
|
parent="Object"
|
|
glib:type-name="GstTask"
|
|
glib:get-type="gst_task_get_type"
|
|
glib:type-struct="TaskClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="23">#GstTask is used by #GstElement and #GstPad to provide the data passing
|
|
threads in a #GstPipeline.
|
|
|
|
A #GstPad will typically start a #GstTask to push or pull data to/from the
|
|
peer pads. Most source elements start a #GstTask to push data. In some cases
|
|
a demuxer element can start a #GstTask to pull data from a peer element. This
|
|
is typically done when the demuxer can perform random access on the upstream
|
|
peer element for improved performance.
|
|
|
|
Although convenience functions exist on #GstPad to start/pause/stop tasks, it
|
|
might sometimes be needed to create a #GstTask manually if it is not related to
|
|
a #GstPad.
|
|
|
|
Before the #GstTask can be run, it needs a #GRecMutex that can be set with
|
|
gst_task_set_lock().
|
|
|
|
The task can be started, paused and stopped with gst_task_start(), gst_task_pause()
|
|
and gst_task_stop() respectively or with the gst_task_set_state() function.
|
|
|
|
A #GstTask will repeatedly call the #GstTaskFunction with the user data
|
|
that was provided when creating the task with gst_task_new(). While calling
|
|
the function it will acquire the provided lock. The provided lock is released
|
|
when the task pauses or stops.
|
|
|
|
Stopping a task with gst_task_stop() will not immediately make sure the task is
|
|
not running anymore. Use gst_task_join() to make sure the task is completely
|
|
stopped and the thread is stopped.
|
|
|
|
After creating a #GstTask, use gst_object_unref() to free its resources. This can
|
|
only be done when the task is not running anymore.
|
|
|
|
Task functions can send a #GstMessage to send out-of-band data to the
|
|
application. The application can receive messages from the #GstBus in its
|
|
mainloop.
|
|
|
|
For debugging purposes, the task will configure its object name as the thread
|
|
name on Linux. Please note that the object name should be configured before the
|
|
task is started; changing the object name after the task has been started, has
|
|
no effect on the thread name.</doc>
|
|
<source-position filename="gst/gsttask.h" line="165"/>
|
|
<constructor name="new" c:identifier="gst_task_new">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="395">Create a new Task that will repeatedly call the provided @func
|
|
with @user_data as a parameter. Typically the task will run in
|
|
a new thread.
|
|
|
|
The function cannot be changed after the task has been created. You
|
|
must create a new #GstTask to change the function.
|
|
|
|
This function will not yet create and start a thread. Use gst_task_start() or
|
|
gst_task_pause() to create and start the GThread.
|
|
|
|
Before the task can be used, a #GRecMutex must be configured using the
|
|
gst_task_set_lock() function. This lock will always be acquired while
|
|
@func is called.</doc>
|
|
<source-position filename="gst/gsttask.h" line="174"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="415">A new #GstTask.
|
|
|
|
MT safe.</doc>
|
|
<type name="Task" c:type="GstTask*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="notified"
|
|
closure="1"
|
|
destroy="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="397">The #GstTaskFunction to use</doc>
|
|
<type name="TaskFunction" c:type="GstTaskFunction"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="398">User data to pass to @func</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="notify" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="399">the function to call when @user_data is no longer needed.</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<function name="cleanup_all" c:identifier="gst_task_cleanup_all">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="367">Wait for all tasks to be stopped. This is mainly used internally
|
|
to ensure proper cleanup of internal data structures in test suites.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gsttask.h" line="168"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
</function>
|
|
<method name="get_pool" c:identifier="gst_task_get_pool">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="474">Get the #GstTaskPool that this task will use for its streaming
|
|
threads.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gsttask.h" line="180"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="483">the #GstTaskPool used by @task. gst_object_unref()
|
|
after usage.</doc>
|
|
<type name="TaskPool" c:type="GstTaskPool*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="task" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="476">a #GstTask</doc>
|
|
<type name="Task" c:type="GstTask*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_state" c:identifier="gst_task_get_state">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="612">Get the current state of the task.</doc>
|
|
<source-position filename="gst/gsttask.h" line="196"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="618">The #GstTaskState of the task
|
|
|
|
MT safe.</doc>
|
|
<type name="TaskState" c:type="GstTaskState"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="task" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="614">The #GstTask to query</doc>
|
|
<type name="Task" c:type="GstTask*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="join" c:identifier="gst_task_join">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="822">Joins @task. After this call, it is safe to unref the task
|
|
and clean up the lock set with gst_task_set_lock().
|
|
|
|
The task will automatically be stopped with this call.
|
|
|
|
This function cannot be called from within a task function as this
|
|
would cause a deadlock. The function will detect this and print a
|
|
g_warning.</doc>
|
|
<source-position filename="gst/gsttask.h" line="214"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="835">%TRUE if the task could be joined.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="task" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="824">The #GstTask to join</doc>
|
|
<type name="Task" c:type="GstTask*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="pause" c:identifier="gst_task_pause">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="777">Pauses @task. This method can also be called on a task in the
|
|
stopped state, in which case a thread will be started and will remain
|
|
in the paused state. This function does not wait for the task to complete
|
|
the paused state.</doc>
|
|
<source-position filename="gst/gsttask.h" line="208"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="786">%TRUE if the task could be paused.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="task" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="779">The #GstTask to pause</doc>
|
|
<type name="Task" c:type="GstTask*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="resume" c:identifier="gst_task_resume" version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="796">Resume @task in case it was paused. If the task was stopped, it will
|
|
remain in that state and this function will return %FALSE.</doc>
|
|
<source-position filename="gst/gsttask.h" line="211"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="803">%TRUE if the task could be resumed.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="task" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="798">The #GstTask to resume</doc>
|
|
<type name="Task" c:type="GstTask*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_enter_callback"
|
|
c:identifier="gst_task_set_enter_callback">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="536">Call @enter_func when the task function of @task is entered. @user_data will
|
|
be passed to @enter_func and @notify will be called when @user_data is no
|
|
longer referenced.</doc>
|
|
<source-position filename="gst/gsttask.h" line="186"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="task" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="538">The #GstTask to use</doc>
|
|
<type name="Task" c:type="GstTask*"/>
|
|
</instance-parameter>
|
|
<parameter name="enter_func"
|
|
transfer-ownership="none"
|
|
scope="notified"
|
|
closure="1"
|
|
destroy="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="539">a #GstTaskThreadFunc</doc>
|
|
<type name="TaskThreadFunc" c:type="GstTaskThreadFunc"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="540">user data passed to @enter_func</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="notify" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="541">called when @user_data is no longer referenced</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_leave_callback"
|
|
c:identifier="gst_task_set_leave_callback">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="574">Call @leave_func when the task function of @task is left. @user_data will
|
|
be passed to @leave_func and @notify will be called when @user_data is no
|
|
longer referenced.</doc>
|
|
<source-position filename="gst/gsttask.h" line="191"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="task" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="576">The #GstTask to use</doc>
|
|
<type name="Task" c:type="GstTask*"/>
|
|
</instance-parameter>
|
|
<parameter name="leave_func"
|
|
transfer-ownership="none"
|
|
scope="notified"
|
|
closure="1"
|
|
destroy="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="577">a #GstTaskThreadFunc</doc>
|
|
<type name="TaskThreadFunc" c:type="GstTaskThreadFunc"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="578">user data passed to @leave_func</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="notify" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="579">called when @user_data is no longer referenced</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_lock" c:identifier="gst_task_set_lock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="439">Set the mutex used by the task. The mutex will be acquired before
|
|
calling the #GstTaskFunction.
|
|
|
|
This function has to be called before calling gst_task_pause() or
|
|
gst_task_start().
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gsttask.h" line="177"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="task" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="441">The #GstTask to use</doc>
|
|
<type name="Task" c:type="GstTask*"/>
|
|
</instance-parameter>
|
|
<parameter name="mutex" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="442">The #GRecMutex to use</doc>
|
|
<type name="GLib.RecMutex" c:type="GRecMutex*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_pool" c:identifier="gst_task_set_pool">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="503">Set @pool as the new GstTaskPool for @task. Any new streaming threads that
|
|
will be created by @task will now use @pool.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gsttask.h" line="183"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="task" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="505">a #GstTask</doc>
|
|
<type name="Task" c:type="GstTask*"/>
|
|
</instance-parameter>
|
|
<parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="506">a #GstTaskPool</doc>
|
|
<type name="TaskPool" c:type="GstTaskPool*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_state" c:identifier="gst_task_set_state">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="713">Sets the state of @task to @state.
|
|
|
|
The @task must have a lock associated with it using
|
|
gst_task_set_lock() when going to GST_TASK_STARTED or GST_TASK_PAUSED or
|
|
this function will return %FALSE.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gsttask.h" line="199"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="726">%TRUE if the state could be changed.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="task" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="715">a #GstTask</doc>
|
|
<type name="Task" c:type="GstTask*"/>
|
|
</instance-parameter>
|
|
<parameter name="state" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="716">the new task state</doc>
|
|
<type name="TaskState" c:type="GstTaskState"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="start" c:identifier="gst_task_start">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="742">Starts @task. The @task must have a lock associated with it using
|
|
gst_task_set_lock() or this function will return %FALSE.</doc>
|
|
<source-position filename="gst/gsttask.h" line="202"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="749">%TRUE if the task could be started.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="task" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="744">The #GstTask to start</doc>
|
|
<type name="Task" c:type="GstTask*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="stop" c:identifier="gst_task_stop">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="759">Stops @task. This method merely schedules the task to stop and
|
|
will not wait for the task to have completely stopped. Use
|
|
gst_task_join() to stop and wait for completion.</doc>
|
|
<source-position filename="gst/gsttask.h" line="205"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="767">%TRUE if the task could be stopped.
|
|
|
|
MT safe.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="task" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.c"
|
|
line="761">The #GstTask to stop</doc>
|
|
<type name="Task" c:type="GstTask*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<field name="object">
|
|
<type name="Object" c:type="GstObject"/>
|
|
</field>
|
|
<field name="state">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="124">the state of the task</doc>
|
|
<type name="TaskState" c:type="GstTaskState"/>
|
|
</field>
|
|
<field name="cond">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="125">used to pause/resume the task</doc>
|
|
<type name="GLib.Cond" c:type="GCond"/>
|
|
</field>
|
|
<field name="lock">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="126">The lock taken when iterating the task function</doc>
|
|
<type name="GLib.RecMutex" c:type="GRecMutex*"/>
|
|
</field>
|
|
<field name="func">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="127">the function executed by this task</doc>
|
|
<type name="TaskFunction" c:type="GstTaskFunction"/>
|
|
</field>
|
|
<field name="user_data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="128">user_data passed to the task function</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</field>
|
|
<field name="notify">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="129">GDestroyNotify for @user_data</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</field>
|
|
<field name="running">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="130">a flag indicating that the task is running</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</field>
|
|
<field name="thread" readable="0" private="1">
|
|
<type name="GLib.Thread" c:type="GThread*"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="TaskPrivate" c:type="GstTaskPrivate*"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="TaskClass"
|
|
c:type="GstTaskClass"
|
|
glib:is-gtype-struct-for="Task">
|
|
<source-position filename="gst/gsttask.h" line="165"/>
|
|
<field name="parent_class">
|
|
<type name="ObjectClass" c:type="GstObjectClass"/>
|
|
</field>
|
|
<field name="pool" readable="0" private="1">
|
|
<type name="TaskPool" c:type="GstTaskPool*"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<callback name="TaskFunction" c:type="GstTaskFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="31">A function that will repeatedly be called in the thread created by
|
|
a #GstTask.</doc>
|
|
<source-position filename="gst/gsttask.h" line="38"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="33">user data passed to the function</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<class name="TaskPool"
|
|
c:symbol-prefix="task_pool"
|
|
c:type="GstTaskPool"
|
|
parent="Object"
|
|
glib:type-name="GstTaskPool"
|
|
glib:get-type="gst_task_pool_get_type"
|
|
glib:type-struct="TaskPoolClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="22">This object provides an abstraction for creating threads. The default
|
|
implementation uses a regular GThreadPool to start tasks.
|
|
|
|
Subclasses can be made to create custom threads.</doc>
|
|
<source-position filename="gst/gsttaskpool.h" line="97"/>
|
|
<constructor name="new" c:identifier="gst_task_pool_new">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="169">Create a new default task pool. The default task pool will use a regular
|
|
GThreadPool for threads.</doc>
|
|
<source-position filename="gst/gsttaskpool.h" line="103"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="175">a new #GstTaskPool. gst_object_unref() after usage.</doc>
|
|
<type name="TaskPool" c:type="GstTaskPool*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<virtual-method name="cleanup" invoker="cleanup">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="212">Wait for all tasks to be stopped. This is mainly used internally
|
|
to ensure proper cleanup of internal data structures in test suites.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gsttaskpool.h" line="78"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="214">a #GstTaskPool</doc>
|
|
<type name="TaskPool" c:type="GstTaskPool*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="dispose_handle"
|
|
invoker="dispose_handle"
|
|
version="1.20">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="297">Dispose of the handle returned by gst_task_pool_push(). This does
|
|
not need to be called with the default implementation as the default
|
|
#GstTaskPoolClass::push implementation always returns %NULL. This does not need to be
|
|
called either when calling gst_task_pool_join(), but should be called
|
|
when joining is not necessary, but gst_task_pool_push() returned a
|
|
non-%NULL value.
|
|
|
|
This method should only be called with the same @pool instance that provided
|
|
@id.</doc>
|
|
<source-position filename="gst/gsttaskpool.h" line="93"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="299">a #GstTaskPool</doc>
|
|
<type name="TaskPool" c:type="GstTaskPool*"/>
|
|
</instance-parameter>
|
|
<parameter name="id"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="300">the id</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="join" invoker="join">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="272">Join a task and/or return it to the pool. @id is the id obtained from
|
|
gst_task_pool_push(). The default implementation does nothing, as the
|
|
default #GstTaskPoolClass::push implementation always returns %NULL.
|
|
|
|
This method should only be called with the same @pool instance that provided
|
|
@id.</doc>
|
|
<source-position filename="gst/gsttaskpool.h" line="82"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="274">a #GstTaskPool</doc>
|
|
<type name="TaskPool" c:type="GstTaskPool*"/>
|
|
</instance-parameter>
|
|
<parameter name="id"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="275">the id</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="prepare" invoker="prepare" throws="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="190">Prepare the taskpool for accepting gst_task_pool_push() operations.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gsttaskpool.h" line="77"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="192">a #GstTaskPool</doc>
|
|
<type name="TaskPool" c:type="GstTaskPool*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="push" invoker="push" throws="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="234">Start the execution of a new thread from @pool.</doc>
|
|
<source-position filename="gst/gsttaskpool.h" line="80"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="243">a pointer that should be used
|
|
for the gst_task_pool_join function. This pointer can be %NULL, you
|
|
must check @error to detect errors. If the pointer is not %NULL and
|
|
gst_task_pool_join() is not used, call gst_task_pool_dispose_handle()
|
|
instead.</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="236">a #GstTaskPool</doc>
|
|
<type name="TaskPool" c:type="GstTaskPool*"/>
|
|
</instance-parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="async"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="237">the function to call</doc>
|
|
<type name="TaskPoolFunction" c:type="GstTaskPoolFunction"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="238">data to pass to @func</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="cleanup" c:identifier="gst_task_pool_cleanup">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="212">Wait for all tasks to be stopped. This is mainly used internally
|
|
to ensure proper cleanup of internal data structures in test suites.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gsttaskpool.h" line="118"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="214">a #GstTaskPool</doc>
|
|
<type name="TaskPool" c:type="GstTaskPool*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="dispose_handle"
|
|
c:identifier="gst_task_pool_dispose_handle"
|
|
version="1.20">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="297">Dispose of the handle returned by gst_task_pool_push(). This does
|
|
not need to be called with the default implementation as the default
|
|
#GstTaskPoolClass::push implementation always returns %NULL. This does not need to be
|
|
called either when calling gst_task_pool_join(), but should be called
|
|
when joining is not necessary, but gst_task_pool_push() returned a
|
|
non-%NULL value.
|
|
|
|
This method should only be called with the same @pool instance that provided
|
|
@id.</doc>
|
|
<source-position filename="gst/gsttaskpool.h" line="115"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="299">a #GstTaskPool</doc>
|
|
<type name="TaskPool" c:type="GstTaskPool*"/>
|
|
</instance-parameter>
|
|
<parameter name="id"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="300">the id</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="join" c:identifier="gst_task_pool_join">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="272">Join a task and/or return it to the pool. @id is the id obtained from
|
|
gst_task_pool_push(). The default implementation does nothing, as the
|
|
default #GstTaskPoolClass::push implementation always returns %NULL.
|
|
|
|
This method should only be called with the same @pool instance that provided
|
|
@id.</doc>
|
|
<source-position filename="gst/gsttaskpool.h" line="112"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="274">a #GstTaskPool</doc>
|
|
<type name="TaskPool" c:type="GstTaskPool*"/>
|
|
</instance-parameter>
|
|
<parameter name="id"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="275">the id</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="prepare" c:identifier="gst_task_pool_prepare" throws="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="190">Prepare the taskpool for accepting gst_task_pool_push() operations.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gsttaskpool.h" line="106"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="192">a #GstTaskPool</doc>
|
|
<type name="TaskPool" c:type="GstTaskPool*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="push" c:identifier="gst_task_pool_push" throws="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="234">Start the execution of a new thread from @pool.</doc>
|
|
<source-position filename="gst/gsttaskpool.h" line="109"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="243">a pointer that should be used
|
|
for the gst_task_pool_join function. This pointer can be %NULL, you
|
|
must check @error to detect errors. If the pointer is not %NULL and
|
|
gst_task_pool_join() is not used, call gst_task_pool_dispose_handle()
|
|
instead.</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="236">a #GstTaskPool</doc>
|
|
<type name="TaskPool" c:type="GstTaskPool*"/>
|
|
</instance-parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="async"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="237">the function to call</doc>
|
|
<type name="TaskPoolFunction" c:type="GstTaskPoolFunction"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="238">data to pass to @func</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<field name="object">
|
|
<type name="Object" c:type="GstObject"/>
|
|
</field>
|
|
<field name="pool" readable="0" private="1">
|
|
<type name="GLib.ThreadPool" c:type="GThreadPool*"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="TaskPoolClass"
|
|
c:type="GstTaskPoolClass"
|
|
glib:is-gtype-struct-for="TaskPool">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.h"
|
|
line="63">The #GstTaskPoolClass object.</doc>
|
|
<source-position filename="gst/gsttaskpool.h" line="97"/>
|
|
<field name="parent_class">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.h"
|
|
line="65">the parent class structure</doc>
|
|
<type name="ObjectClass" c:type="GstObjectClass"/>
|
|
</field>
|
|
<field name="prepare">
|
|
<callback name="prepare" throws="1">
|
|
<source-position filename="gst/gsttaskpool.h" line="77"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="192">a #GstTaskPool</doc>
|
|
<type name="TaskPool" c:type="GstTaskPool*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="cleanup">
|
|
<callback name="cleanup">
|
|
<source-position filename="gst/gsttaskpool.h" line="78"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="214">a #GstTaskPool</doc>
|
|
<type name="TaskPool" c:type="GstTaskPool*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="push">
|
|
<callback name="push" throws="1">
|
|
<source-position filename="gst/gsttaskpool.h" line="80"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="243">a pointer that should be used
|
|
for the gst_task_pool_join function. This pointer can be %NULL, you
|
|
must check @error to detect errors. If the pointer is not %NULL and
|
|
gst_task_pool_join() is not used, call gst_task_pool_dispose_handle()
|
|
instead.</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="236">a #GstTaskPool</doc>
|
|
<type name="TaskPool" c:type="GstTaskPool*"/>
|
|
</parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="async"
|
|
closure="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="237">the function to call</doc>
|
|
<type name="TaskPoolFunction" c:type="GstTaskPoolFunction"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="238">data to pass to @func</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="join">
|
|
<callback name="join">
|
|
<source-position filename="gst/gsttaskpool.h" line="82"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="274">a #GstTaskPool</doc>
|
|
<type name="TaskPool" c:type="GstTaskPool*"/>
|
|
</parameter>
|
|
<parameter name="id"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="275">the id</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="dispose_handle">
|
|
<callback name="dispose_handle">
|
|
<source-position filename="gst/gsttaskpool.h" line="93"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pool" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="299">a #GstTaskPool</doc>
|
|
<type name="TaskPool" c:type="GstTaskPool*"/>
|
|
</parameter>
|
|
<parameter name="id"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.c"
|
|
line="300">the id</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="3">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<callback name="TaskPoolFunction" c:type="GstTaskPoolFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.h"
|
|
line="41">Task function, see gst_task_pool_push().</doc>
|
|
<source-position filename="gst/gsttaskpool.h" line="47"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaskpool.h"
|
|
line="43">user data for the task function</doc>
|
|
<type name="gpointer" c:type="void*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<record name="TaskPrivate" c:type="GstTaskPrivate" disguised="1">
|
|
<source-position filename="gst/gsttask.h" line="51"/>
|
|
</record>
|
|
<enumeration name="TaskState"
|
|
glib:type-name="GstTaskState"
|
|
glib:get-type="gst_task_state_get_type"
|
|
c:type="GstTaskState">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="53">The different states a task can be in</doc>
|
|
<member name="started"
|
|
value="0"
|
|
c:identifier="GST_TASK_STARTED"
|
|
glib:nick="started">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="55">the task is started and running</doc>
|
|
</member>
|
|
<member name="stopped"
|
|
value="1"
|
|
c:identifier="GST_TASK_STOPPED"
|
|
glib:nick="stopped">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="56">the task is stopped</doc>
|
|
</member>
|
|
<member name="paused"
|
|
value="2"
|
|
c:identifier="GST_TASK_PAUSED"
|
|
glib:nick="paused">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="57">the task is paused</doc>
|
|
</member>
|
|
</enumeration>
|
|
<callback name="TaskThreadFunc" c:type="GstTaskThreadFunc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="112">Custom GstTask thread callback functions that can be installed.</doc>
|
|
<source-position filename="gst/gsttask.h" line="120"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="task" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="114">The #GstTask</doc>
|
|
<type name="Task" c:type="GstTask*"/>
|
|
</parameter>
|
|
<parameter name="thread" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="115">The #GThread</doc>
|
|
<type name="GLib.Thread" c:type="GThread*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttask.h"
|
|
line="116">user data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<record name="TimedValue" c:type="GstTimedValue">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.h"
|
|
line="52">Structure for saving a timestamp and a value.</doc>
|
|
<source-position filename="gst/gstcontrolsource.h" line="63"/>
|
|
<field name="timestamp" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.h"
|
|
line="54">timestamp of the value change</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</field>
|
|
<field name="value" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontrolsource.h"
|
|
line="55">the corresponding value</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</field>
|
|
</record>
|
|
<record name="Toc"
|
|
c:type="GstToc"
|
|
glib:type-name="GstToc"
|
|
glib:get-type="gst_toc_get_type"
|
|
c:symbol-prefix="toc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="22">#GstToc functions are used to create/free #GstToc and #GstTocEntry structures.
|
|
Also they are used to convert #GstToc into #GstStructure and vice versa.
|
|
|
|
#GstToc lets you to inform other elements in pipeline or application that playing
|
|
source has some kind of table of contents (TOC). These may be chapters, editions,
|
|
angles or other types. For example: DVD chapters, Matroska chapters or cue sheet
|
|
TOC. Such TOC will be useful for applications to display instead of just a
|
|
playlist.
|
|
|
|
Using TOC is very easy. Firstly, create #GstToc structure which represents root
|
|
contents of the source. You can also attach TOC-specific tags to it. Then fill
|
|
it with #GstTocEntry entries by appending them to the #GstToc using
|
|
gst_toc_append_entry(), and appending subentries to a #GstTocEntry using
|
|
gst_toc_entry_append_sub_entry().
|
|
|
|
Note that root level of the TOC can contain only either editions or chapters. You
|
|
should not mix them together at the same level. Otherwise you will get serialization
|
|
/deserialization errors. Make sure that no one of the entries has negative start and
|
|
stop values.
|
|
|
|
Use gst_event_new_toc() to create a new TOC #GstEvent, and gst_event_parse_toc() to
|
|
parse received TOC event. Use gst_event_new_toc_select() to create a new TOC select #GstEvent,
|
|
and gst_event_parse_toc_select() to parse received TOC select event. The same rule for
|
|
the #GstMessage: gst_message_new_toc() to create new TOC #GstMessage, and
|
|
gst_message_parse_toc() to parse received TOC message.
|
|
|
|
TOCs can have global scope or current scope. Global scope TOCs contain
|
|
all entries that can possibly be selected using a toc select event, and
|
|
are what an application is usually interested in. TOCs with current scope
|
|
only contain the parts of the TOC relevant to the currently selected/playing
|
|
stream; the current scope TOC is used by downstream elements such as muxers
|
|
to write correct TOC entries when transcoding files, for example. When
|
|
playing a DVD, the global TOC would contain a hierarchy of all titles,
|
|
chapters and angles, for example, while the current TOC would only contain
|
|
the chapters for the currently playing title if playback of a specific
|
|
title was requested.
|
|
|
|
Applications and plugins should not rely on TOCs having a certain kind of
|
|
structure, but should allow for different alternatives. For example, a
|
|
simple CUE sheet embedded in a file may be presented as a flat list of
|
|
track entries, or could have a top-level edition node (or some other
|
|
alternative type entry) with track entries underneath that node; or even
|
|
multiple top-level edition nodes (or some other alternative type entries)
|
|
each with track entries underneath, in case the source file has extracted
|
|
a track listing from different sources).</doc>
|
|
<source-position filename="gst/gsttoc.h" line="41"/>
|
|
<constructor name="new" c:identifier="gst_toc_new">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="126">Create a new #GstToc structure.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="141"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="132">newly allocated #GstToc structure, free it
|
|
with gst_toc_unref().</doc>
|
|
<type name="Toc" c:type="GstToc*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="scope" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="128">scope of this TOC</doc>
|
|
<type name="TocScope" c:type="GstTocScope"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<method name="append_entry" c:identifier="gst_toc_append_entry">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="226">Appends the #GstTocEntry @entry to @toc.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="156"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="toc" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="228">A #GstToc instance</doc>
|
|
<type name="Toc" c:type="GstToc*"/>
|
|
</instance-parameter>
|
|
<parameter name="entry" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="229">A #GstTocEntry</doc>
|
|
<type name="TocEntry" c:type="GstTocEntry*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="dump" c:identifier="gst_toc_dump">
|
|
<source-position filename="gst/gsttoc.h" line="162"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="toc" transfer-ownership="none">
|
|
<type name="Toc" c:type="GstToc*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="find_entry" c:identifier="gst_toc_find_entry">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="365">Find #GstTocEntry with given @uid in the @toc.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="180"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="372">#GstTocEntry with specified
|
|
@uid from the @toc, or %NULL if not found.</doc>
|
|
<type name="TocEntry" c:type="GstTocEntry*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="toc" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="367">#GstToc to search in.</doc>
|
|
<type name="Toc" c:type="const GstToc*"/>
|
|
</instance-parameter>
|
|
<parameter name="uid" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="368">UID to find #GstTocEntry with.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_entries" c:identifier="gst_toc_get_entries">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="251">Gets the list of #GstTocEntry of @toc.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="159"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="257">A #GList of #GstTocEntry for @entry</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="TocEntry"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="toc" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="253">A #GstToc instance</doc>
|
|
<type name="Toc" c:type="const GstToc*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_scope" c:identifier="gst_toc_get_scope">
|
|
<source-position filename="gst/gsttoc.h" line="144"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="159">scope of @toc</doc>
|
|
<type name="TocScope" c:type="GstTocScope"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="toc" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="157">a #GstToc instance</doc>
|
|
<type name="Toc" c:type="const GstToc*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_tags" c:identifier="gst_toc_get_tags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="210">Gets the tags for @toc.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="153"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="216">A #GstTagList for @entry</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="toc" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="212">A #GstToc instance</doc>
|
|
<type name="Toc" c:type="const GstToc*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="merge_tags" c:identifier="gst_toc_merge_tags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="187">Merge @tags into the existing tags of @toc using @mode.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="150"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="toc" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="189">A #GstToc instance</doc>
|
|
<type name="Toc" c:type="GstToc*"/>
|
|
</instance-parameter>
|
|
<parameter name="tags"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="190">A #GstTagList or %NULL</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="191">A #GstTagMergeMode</doc>
|
|
<type name="TagMergeMode" c:type="GstTagMergeMode"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_tags" c:identifier="gst_toc_set_tags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="169">Set a #GstTagList with tags for the complete @toc.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="147"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="toc" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="171">A #GstToc instance</doc>
|
|
<type name="Toc" c:type="GstToc*"/>
|
|
</instance-parameter>
|
|
<parameter name="tags"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="172">A #GstTagList or %NULL</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<record name="TocEntry"
|
|
c:type="GstTocEntry"
|
|
glib:type-name="GstTocEntry"
|
|
glib:get-type="gst_toc_entry_get_type"
|
|
c:symbol-prefix="toc_entry">
|
|
<source-position filename="gst/gsttoc.h" line="40"/>
|
|
<constructor name="new" c:identifier="gst_toc_entry_new">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="286">Create new #GstTocEntry structure.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="172"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="293">newly allocated #GstTocEntry structure, free it with gst_toc_entry_unref().</doc>
|
|
<type name="TocEntry" c:type="GstTocEntry*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="288">entry type.</doc>
|
|
<type name="TocEntryType" c:type="GstTocEntryType"/>
|
|
</parameter>
|
|
<parameter name="uid" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="289">unique ID (UID) in the whole TOC.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<method name="append_sub_entry"
|
|
c:identifier="gst_toc_entry_append_sub_entry">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="666">Appends the #GstTocEntry @subentry to @entry.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="189"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="entry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="668">A #GstTocEntry instance</doc>
|
|
<type name="TocEntry" c:type="GstTocEntry*"/>
|
|
</instance-parameter>
|
|
<parameter name="subentry" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="669">A #GstTocEntry</doc>
|
|
<type name="TocEntry" c:type="GstTocEntry*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_entry_type"
|
|
c:identifier="gst_toc_entry_get_entry_type">
|
|
<source-position filename="gst/gsttoc.h" line="183"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="612">@entry's entry type</doc>
|
|
<type name="TocEntryType" c:type="GstTocEntryType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="entry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="610">a #GstTocEntry</doc>
|
|
<type name="TocEntry" c:type="const GstTocEntry*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_loop"
|
|
c:identifier="gst_toc_entry_get_loop"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="543">Get @loop_type and @repeat_count values from the @entry and write them into
|
|
appropriate storages. Loops are e.g. used by sampled instruments. GStreamer
|
|
is not automatically applying the loop. The application can process this
|
|
meta data and use it e.g. to send a seek-event to loop a section.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="219"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="556">%TRUE if all non-%NULL storage pointers were filled with appropriate
|
|
values, %FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="entry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="545">#GstTocEntry to get values from.</doc>
|
|
<type name="TocEntry" c:type="const GstTocEntry*"/>
|
|
</instance-parameter>
|
|
<parameter name="loop_type"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="546">the storage for the loop_type
|
|
value, leave %NULL if not need.</doc>
|
|
<type name="TocLoopType" c:type="GstTocLoopType*"/>
|
|
</parameter>
|
|
<parameter name="repeat_count"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="548">the storage for the repeat_count
|
|
value, leave %NULL if not need.</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_parent" c:identifier="gst_toc_entry_get_parent">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="782">Gets the parent #GstTocEntry of @entry.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="225"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="788">The parent #GstTocEntry of @entry</doc>
|
|
<type name="TocEntry" c:type="GstTocEntry*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="entry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="784">A #GstTocEntry instance</doc>
|
|
<type name="TocEntry" c:type="GstTocEntry*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_start_stop_times"
|
|
c:identifier="gst_toc_entry_get_start_stop_times">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="495">Get @start and @stop values from the @entry and write them into appropriate
|
|
storages.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="213"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="506">%TRUE if all non-%NULL storage pointers were filled with appropriate
|
|
values, %FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="entry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="497">#GstTocEntry to get values from.</doc>
|
|
<type name="TocEntry" c:type="const GstTocEntry*"/>
|
|
</instance-parameter>
|
|
<parameter name="start"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="498">the storage for the start value, leave
|
|
%NULL if not need.</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
<parameter name="stop"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="500">the storage for the stop value, leave
|
|
%NULL if not need.</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_sub_entries"
|
|
c:identifier="gst_toc_entry_get_sub_entries">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="692">Gets the sub-entries of @entry.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="192"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="698">A #GList of #GstTocEntry of @entry</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="TocEntry"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="entry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="694">A #GstTocEntry instance</doc>
|
|
<type name="TocEntry" c:type="const GstTocEntry*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_tags" c:identifier="gst_toc_entry_get_tags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="750">Gets the tags for @entry.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="201"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="756">A #GstTagList for @entry</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="entry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="752">A #GstTocEntry instance</doc>
|
|
<type name="TocEntry" c:type="const GstTocEntry*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_toc" c:identifier="gst_toc_entry_get_toc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="766">Gets the parent #GstToc of @entry.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="222"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="772">The parent #GstToc of @entry</doc>
|
|
<type name="Toc" c:type="GstToc*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="entry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="768">A #GstTocEntry instance</doc>
|
|
<type name="TocEntry" c:type="GstTocEntry*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_uid" c:identifier="gst_toc_entry_get_uid">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="650">Gets the UID of @entry.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="186"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="656">The UID of @entry</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="entry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="652">A #GstTocEntry instance</doc>
|
|
<type name="TocEntry" c:type="const GstTocEntry*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_alternative"
|
|
c:identifier="gst_toc_entry_is_alternative">
|
|
<source-position filename="gst/gsttoc.h" line="204"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="626">%TRUE if @entry's type is an alternative type, otherwise %FALSE</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="entry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="624">a #GstTocEntry</doc>
|
|
<type name="TocEntry" c:type="const GstTocEntry*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_sequence" c:identifier="gst_toc_entry_is_sequence">
|
|
<source-position filename="gst/gsttoc.h" line="207"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="640">%TRUE if @entry's type is a sequence type, otherwise %FALSE</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="entry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="638">a #GstTocEntry</doc>
|
|
<type name="TocEntry" c:type="const GstTocEntry*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="merge_tags" c:identifier="gst_toc_entry_merge_tags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="726">Merge @tags into the existing tags of @entry using @mode.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="198"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="entry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="728">A #GstTocEntry instance</doc>
|
|
<type name="TocEntry" c:type="GstTocEntry*"/>
|
|
</instance-parameter>
|
|
<parameter name="tags"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="729">A #GstTagList or %NULL</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="730">A #GstTagMergeMode</doc>
|
|
<type name="TagMergeMode" c:type="GstTagMergeMode"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_loop"
|
|
c:identifier="gst_toc_entry_set_loop"
|
|
version="1.4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="523">Set @loop_type and @repeat_count values for the @entry.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="216"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="entry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="525">#GstTocEntry to set values.</doc>
|
|
<type name="TocEntry" c:type="GstTocEntry*"/>
|
|
</instance-parameter>
|
|
<parameter name="loop_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="526">loop_type value to set.</doc>
|
|
<type name="TocLoopType" c:type="GstTocLoopType"/>
|
|
</parameter>
|
|
<parameter name="repeat_count" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="527">repeat_count value to set.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_start_stop_times"
|
|
c:identifier="gst_toc_entry_set_start_stop_times">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="477">Set @start and @stop values for the @entry.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="210"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="entry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="479">#GstTocEntry to set values.</doc>
|
|
<type name="TocEntry" c:type="GstTocEntry*"/>
|
|
</instance-parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="480">start value to set.</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
<parameter name="stop" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="481">stop value to set.</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_tags" c:identifier="gst_toc_entry_set_tags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="708">Set a #GstTagList with tags for the complete @entry.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="195"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="entry" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="710">A #GstTocEntry instance</doc>
|
|
<type name="TocEntry" c:type="GstTocEntry*"/>
|
|
</instance-parameter>
|
|
<parameter name="tags"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="711">A #GstTagList or %NULL</doc>
|
|
<type name="TagList" c:type="GstTagList*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<enumeration name="TocEntryType"
|
|
glib:type-name="GstTocEntryType"
|
|
glib:get-type="gst_toc_entry_type_get_type"
|
|
c:type="GstTocEntryType">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.h"
|
|
line="61">The different types of TOC entries (see #GstTocEntry).
|
|
|
|
There are two types of TOC entries: alternatives or parts in a sequence.</doc>
|
|
<member name="angle"
|
|
value="-3"
|
|
c:identifier="GST_TOC_ENTRY_TYPE_ANGLE"
|
|
glib:nick="angle">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.h"
|
|
line="63">entry is an angle (i.e. an alternative)</doc>
|
|
</member>
|
|
<member name="version"
|
|
value="-2"
|
|
c:identifier="GST_TOC_ENTRY_TYPE_VERSION"
|
|
glib:nick="version">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.h"
|
|
line="64">entry is a version (i.e. alternative)</doc>
|
|
</member>
|
|
<member name="edition"
|
|
value="-1"
|
|
c:identifier="GST_TOC_ENTRY_TYPE_EDITION"
|
|
glib:nick="edition">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.h"
|
|
line="65">entry is an edition (i.e. alternative)</doc>
|
|
</member>
|
|
<member name="invalid"
|
|
value="0"
|
|
c:identifier="GST_TOC_ENTRY_TYPE_INVALID"
|
|
glib:nick="invalid">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.h"
|
|
line="66">invalid entry type value</doc>
|
|
</member>
|
|
<member name="title"
|
|
value="1"
|
|
c:identifier="GST_TOC_ENTRY_TYPE_TITLE"
|
|
glib:nick="title">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.h"
|
|
line="67">entry is a title (i.e. a part of a sequence)</doc>
|
|
</member>
|
|
<member name="track"
|
|
value="2"
|
|
c:identifier="GST_TOC_ENTRY_TYPE_TRACK"
|
|
glib:nick="track">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.h"
|
|
line="68">entry is a track (i.e. a part of a sequence)</doc>
|
|
</member>
|
|
<member name="chapter"
|
|
value="3"
|
|
c:identifier="GST_TOC_ENTRY_TYPE_CHAPTER"
|
|
glib:nick="chapter">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.h"
|
|
line="69">entry is a chapter (i.e. a part of a sequence)</doc>
|
|
</member>
|
|
<function name="get_nick" c:identifier="gst_toc_entry_type_get_nick">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="576">Converts @type to a string representation.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="229"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="582">Returns a human-readable string for @type. This string is
|
|
only for debugging purpose and should not be displayed in a user
|
|
interface.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="578">a #GstTocEntryType.</doc>
|
|
<type name="TocEntryType" c:type="GstTocEntryType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</enumeration>
|
|
<enumeration name="TocLoopType"
|
|
version="1.4"
|
|
glib:type-name="GstTocLoopType"
|
|
glib:get-type="gst_toc_loop_type_get_type"
|
|
c:type="GstTocLoopType">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.h"
|
|
line="101">How a #GstTocEntry should be repeated. By default, entries are played a
|
|
single time.</doc>
|
|
<member name="none"
|
|
value="0"
|
|
c:identifier="GST_TOC_LOOP_NONE"
|
|
glib:nick="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.h"
|
|
line="103">single forward playback</doc>
|
|
</member>
|
|
<member name="forward"
|
|
value="1"
|
|
c:identifier="GST_TOC_LOOP_FORWARD"
|
|
glib:nick="forward">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.h"
|
|
line="104">repeat forward</doc>
|
|
</member>
|
|
<member name="reverse"
|
|
value="2"
|
|
c:identifier="GST_TOC_LOOP_REVERSE"
|
|
glib:nick="reverse">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.h"
|
|
line="105">repeat backward</doc>
|
|
</member>
|
|
<member name="ping_pong"
|
|
value="3"
|
|
c:identifier="GST_TOC_LOOP_PING_PONG"
|
|
glib:nick="ping-pong">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.h"
|
|
line="106">repeat forward and backward</doc>
|
|
</member>
|
|
</enumeration>
|
|
<enumeration name="TocScope"
|
|
glib:type-name="GstTocScope"
|
|
glib:get-type="gst_toc_scope_get_type"
|
|
c:type="GstTocScope">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.h"
|
|
line="43">The scope of a TOC.</doc>
|
|
<member name="global"
|
|
value="1"
|
|
c:identifier="GST_TOC_SCOPE_GLOBAL"
|
|
glib:nick="global">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.h"
|
|
line="45">global TOC representing all selectable options
|
|
(this is what applications are usually interested in)</doc>
|
|
</member>
|
|
<member name="current"
|
|
value="2"
|
|
c:identifier="GST_TOC_SCOPE_CURRENT"
|
|
glib:nick="current">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.h"
|
|
line="47">TOC for the currently active/selected stream
|
|
(this is a TOC representing the current stream from start to EOS,
|
|
and is what a TOC writer / muxer is usually interested in; it will
|
|
usually be a subset of the global TOC, e.g. just the chapters of
|
|
the current title, or the chapters selected for playback from the
|
|
current title)</doc>
|
|
</member>
|
|
</enumeration>
|
|
<interface name="TocSetter"
|
|
c:symbol-prefix="toc_setter"
|
|
c:type="GstTocSetter"
|
|
glib:type-name="GstTocSetter"
|
|
glib:get-type="gst_toc_setter_get_type"
|
|
glib:type-struct="TocSetterInterface">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttocsetter.c"
|
|
line="22">Element interface that allows setting of the TOC.
|
|
|
|
Elements that support some kind of chapters or editions (or tracks like in
|
|
the FLAC cue sheet) will implement this interface.
|
|
|
|
If you just want to retrieve the TOC in your application then all you
|
|
need to do is watch for TOC messages on your pipeline's bus (or you can
|
|
perform TOC query). This interface is only for setting TOC data, not for
|
|
extracting it. To set TOC from the application, find proper tocsetter element
|
|
and set TOC using gst_toc_setter_set_toc().
|
|
|
|
Elements implementing the #GstTocSetter interface can extend existing TOC
|
|
by getting extend UID for that (you can use gst_toc_find_entry() to retrieve it)
|
|
with any TOC entries received from downstream.</doc>
|
|
<source-position filename="gst/gsttocsetter.h" line="55"/>
|
|
<prerequisite name="Element"/>
|
|
<method name="get_toc" c:identifier="gst_toc_setter_get_toc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttocsetter.c"
|
|
line="124">Return current TOC the setter uses. The TOC should not be
|
|
modified without making it writable first.</doc>
|
|
<source-position filename="gst/gsttocsetter.h" line="64"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttocsetter.c"
|
|
line="131">TOC set, or %NULL. Unref with
|
|
gst_toc_unref() when no longer needed</doc>
|
|
<type name="Toc" c:type="GstToc*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="setter" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttocsetter.c"
|
|
line="126">a #GstTocSetter.</doc>
|
|
<type name="TocSetter" c:type="GstTocSetter*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="reset" c:identifier="gst_toc_setter_reset">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttocsetter.c"
|
|
line="109">Reset the internal TOC. Elements should call this from within the
|
|
state-change handler.</doc>
|
|
<source-position filename="gst/gsttocsetter.h" line="61"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="setter" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttocsetter.c"
|
|
line="111">a #GstTocSetter.</doc>
|
|
<type name="TocSetter" c:type="GstTocSetter*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_toc" c:identifier="gst_toc_setter_set_toc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttocsetter.c"
|
|
line="153">Set the given TOC on the setter. Previously set TOC will be
|
|
unreffed before setting a new one.</doc>
|
|
<source-position filename="gst/gsttocsetter.h" line="67"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="setter" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttocsetter.c"
|
|
line="155">a #GstTocSetter.</doc>
|
|
<type name="TocSetter" c:type="GstTocSetter*"/>
|
|
</instance-parameter>
|
|
<parameter name="toc"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttocsetter.c"
|
|
line="156">a #GstToc to set.</doc>
|
|
<type name="Toc" c:type="GstToc*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
</interface>
|
|
<record name="TocSetterInterface"
|
|
c:type="GstTocSetterInterface"
|
|
glib:is-gtype-struct-for="TocSetter">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttocsetter.h"
|
|
line="41">#GstTocSetterInterface interface.</doc>
|
|
<source-position filename="gst/gsttocsetter.h" line="55"/>
|
|
<field name="g_iface">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttocsetter.h"
|
|
line="43">parent interface type.</doc>
|
|
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
|
|
</field>
|
|
</record>
|
|
<class name="Tracer"
|
|
c:symbol-prefix="tracer"
|
|
c:type="GstTracer"
|
|
version="1.8"
|
|
parent="Object"
|
|
abstract="1"
|
|
glib:type-name="GstTracer"
|
|
glib:get-type="gst_tracer_get_type"
|
|
glib:type-struct="TracerClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracer.c"
|
|
line="22">Tracing modules will subclass #GstTracer and register through
|
|
gst_tracer_register(). Modules can attach to various hook-types - see
|
|
gst_tracing_register_hook(). When invoked they receive hook specific
|
|
contextual data, which they must not modify.</doc>
|
|
<source-position filename="gst/gsttracer.h" line="61"/>
|
|
<function name="register" c:identifier="gst_tracer_register">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracer.c"
|
|
line="131">Create a new tracer-factory capable of instantiating objects of the
|
|
@type and add the factory to @plugin.</doc>
|
|
<source-position filename="gst/gsttracer.h" line="73"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracer.c"
|
|
line="140">%TRUE, if the registering succeeded, %FALSE on error</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="plugin"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracer.c"
|
|
line="133">A #GstPlugin, or %NULL for a static typefind function</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracer.c"
|
|
line="134">The name for registering</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracer.c"
|
|
line="135">GType of tracer to register</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<property name="params"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</property>
|
|
<field name="parent">
|
|
<type name="Object" c:type="GstObject"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="TracerPrivate" c:type="GstTracerPrivate*"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="TracerClass"
|
|
c:type="GstTracerClass"
|
|
glib:is-gtype-struct-for="Tracer">
|
|
<source-position filename="gst/gsttracer.h" line="61"/>
|
|
<field name="parent_class">
|
|
<type name="ObjectClass" c:type="GstObjectClass"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<class name="TracerFactory"
|
|
c:symbol-prefix="tracer_factory"
|
|
c:type="GstTracerFactory"
|
|
version="1.8"
|
|
parent="PluginFeature"
|
|
glib:type-name="GstTracerFactory"
|
|
glib:get-type="gst_tracer_factory_get_type"
|
|
glib:type-struct="TracerFactoryClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerfactory.c"
|
|
line="22">Use gst_tracer_factory_get_list() to get a list of tracer factories known to
|
|
GStreamer.</doc>
|
|
<source-position filename="gst/gsttracerfactory.h" line="47"/>
|
|
<function name="get_list"
|
|
c:identifier="gst_tracer_factory_get_list"
|
|
version="1.8">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerfactory.c"
|
|
line="59">Gets the list of all registered tracer factories. You must free the
|
|
list using gst_plugin_feature_list_free().
|
|
|
|
The returned factories are sorted by factory name.
|
|
|
|
Free-function: gst_plugin_feature_list_free</doc>
|
|
<source-position filename="gst/gsttracerfactory.h" line="55"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerfactory.c"
|
|
line="69">the list of all
|
|
registered #GstTracerFactory.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="TracerFactory"/>
|
|
</type>
|
|
</return-value>
|
|
</function>
|
|
<method name="get_tracer_type"
|
|
c:identifier="gst_tracer_factory_get_tracer_type"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerfactory.c"
|
|
line="81">Get the #GType for elements managed by this factory. The type can
|
|
only be retrieved if the element factory is loaded, which can be
|
|
assured with gst_plugin_feature_load().</doc>
|
|
<source-position filename="gst/gsttracerfactory.h" line="58"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerfactory.c"
|
|
line="89">the #GType for tracers managed by this factory or 0 if
|
|
the factory is not loaded.</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerfactory.c"
|
|
line="83">factory to get managed #GType from</doc>
|
|
<type name="TracerFactory" c:type="GstTracerFactory*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
</class>
|
|
<record name="TracerFactoryClass"
|
|
c:type="GstTracerFactoryClass"
|
|
disguised="1"
|
|
glib:is-gtype-struct-for="TracerFactory">
|
|
<source-position filename="gst/gsttracerfactory.h" line="47"/>
|
|
</record>
|
|
<record name="TracerPrivate" c:type="GstTracerPrivate" disguised="1">
|
|
<source-position filename="gst/gsttracer.h" line="33"/>
|
|
</record>
|
|
<class name="TracerRecord"
|
|
c:symbol-prefix="tracer_record"
|
|
c:type="GstTracerRecord"
|
|
version="1.8"
|
|
parent="Object"
|
|
glib:type-name="GstTracerRecord"
|
|
glib:get-type="gst_tracer_record_get_type"
|
|
glib:type-struct="TracerRecordClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerrecord.c"
|
|
line="22">Tracing modules will create instances of this class to announce the data they
|
|
will log and create a log formatter.</doc>
|
|
<source-position filename="gst/gsttracerrecord.h" line="37"/>
|
|
<constructor name="new"
|
|
c:identifier="gst_tracer_record_new"
|
|
version="1.8"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerrecord.c"
|
|
line="153">Create a new tracer record. The record instance can be used to efficiently
|
|
log entries using gst_tracer_record_log().
|
|
|
|
The @name without the ".class" suffix will be used for the log records.
|
|
There must be fields for each value that gets logged where the field name is
|
|
the value name. The field must be a #GstStructure describing the value. The
|
|
sub structure must contain a field called 'type' of %G_TYPE_GTYPE that
|
|
contains the GType of the value. The resulting #GstTracerRecord will take
|
|
ownership of the field structures.
|
|
|
|
The way to deal with optional values is to log an additional boolean before
|
|
the optional field, that if %TRUE signals that the optional field is valid
|
|
and %FALSE signals that the optional field should be ignored. One must still
|
|
log a placeholder value for the optional field though. Please also note, that
|
|
pointer type values must not be NULL - the underlying serialisation can not
|
|
handle that right now.
|
|
|
|
> Please note that this is still under discussion and subject to change.</doc>
|
|
<source-position filename="gst/gsttracerrecord.h" line="95"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerrecord.c"
|
|
line="179">a new #GstTracerRecord</doc>
|
|
<type name="TracerRecord" c:type="GstTracerRecord*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerrecord.c"
|
|
line="155">name of new record, must end on ".class".</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="firstfield" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerrecord.c"
|
|
line="156">name of first field to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerrecord.c"
|
|
line="157">additional arguments</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<method name="log"
|
|
c:identifier="gst_tracer_record_log"
|
|
version="1.8"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerrecord.c"
|
|
line="239">Serialzes the trace event into the log.
|
|
|
|
Right now this is using the gstreamer debug log with the level TRACE (7) and
|
|
the category "GST_TRACER".
|
|
|
|
> Please note that this is still under discussion and subject to change.</doc>
|
|
<source-position filename="gst/gsttracerrecord.h" line="99"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerrecord.c"
|
|
line="241">the tracer-record</doc>
|
|
<type name="TracerRecord" c:type="GstTracerRecord*"/>
|
|
</instance-parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerrecord.c"
|
|
line="242">the args as described in the spec-</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
</class>
|
|
<record name="TracerRecordClass"
|
|
c:type="GstTracerRecordClass"
|
|
disguised="1"
|
|
glib:is-gtype-struct-for="TracerRecord">
|
|
<source-position filename="gst/gsttracerrecord.h" line="37"/>
|
|
</record>
|
|
<bitfield name="TracerValueFlags"
|
|
glib:type-name="GstTracerValueFlags"
|
|
glib:get-type="gst_tracer_value_flags_get_type"
|
|
c:type="GstTracerValueFlags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerrecord.h"
|
|
line="75">Flag that describe the value. These flags help applications processing the
|
|
logs to understand the values.</doc>
|
|
<member name="none"
|
|
value="0"
|
|
c:identifier="GST_TRACER_VALUE_FLAGS_NONE"
|
|
glib:nick="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerrecord.h"
|
|
line="77">no flags</doc>
|
|
</member>
|
|
<member name="optional"
|
|
value="1"
|
|
c:identifier="GST_TRACER_VALUE_FLAGS_OPTIONAL"
|
|
glib:nick="optional">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerrecord.h"
|
|
line="78">the value is optional. When using this flag
|
|
one need to have an additional boolean arg before this value in the
|
|
var-args list passed to gst_tracer_record_log().</doc>
|
|
</member>
|
|
<member name="aggregated"
|
|
value="2"
|
|
c:identifier="GST_TRACER_VALUE_FLAGS_AGGREGATED"
|
|
glib:nick="aggregated">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerrecord.h"
|
|
line="81">the value is a combined figure, since the
|
|
start of tracing. Examples are averages or timestamps.</doc>
|
|
</member>
|
|
</bitfield>
|
|
<enumeration name="TracerValueScope"
|
|
version="1.8"
|
|
glib:type-name="GstTracerValueScope"
|
|
glib:get-type="gst_tracer_value_scope_get_type"
|
|
c:type="GstTracerValueScope">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerrecord.h"
|
|
line="52">Tracing record will contain fields that contain a measured value or extra
|
|
meta-data. One such meta data are values that tell where a measurement was
|
|
taken. This enumerating declares to which scope such a meta data field
|
|
relates to. If it is e.g. %GST_TRACER_VALUE_SCOPE_PAD, then each of the log
|
|
events may contain values for different #GstPads.</doc>
|
|
<member name="process"
|
|
value="0"
|
|
c:identifier="GST_TRACER_VALUE_SCOPE_PROCESS"
|
|
glib:nick="process">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerrecord.h"
|
|
line="54">the value is related to the process</doc>
|
|
</member>
|
|
<member name="thread"
|
|
value="1"
|
|
c:identifier="GST_TRACER_VALUE_SCOPE_THREAD"
|
|
glib:nick="thread">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerrecord.h"
|
|
line="55">the value is related to a thread</doc>
|
|
</member>
|
|
<member name="element"
|
|
value="2"
|
|
c:identifier="GST_TRACER_VALUE_SCOPE_ELEMENT"
|
|
glib:nick="element">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerrecord.h"
|
|
line="56">the value is related to an #GstElement</doc>
|
|
</member>
|
|
<member name="pad"
|
|
value="3"
|
|
c:identifier="GST_TRACER_VALUE_SCOPE_PAD"
|
|
glib:nick="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerrecord.h"
|
|
line="57">the value is related to a #GstPad</doc>
|
|
</member>
|
|
</enumeration>
|
|
<record name="TypeFind" c:type="GstTypeFind">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="22">The following functions allow you to detect the media type of an unknown
|
|
stream.</doc>
|
|
<source-position filename="gst/gsttypefind.h" line="92"/>
|
|
<field name="peek">
|
|
<callback name="peek">
|
|
<source-position filename="gst/gsttypefind.h" line="77"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="guint8" c:type="const guint8*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="data" transfer-ownership="none">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="suggest">
|
|
<callback name="suggest">
|
|
<source-position filename="gst/gsttypefind.h" line="81"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="data" transfer-ownership="none">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="probability" transfer-ownership="none">
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="caps" transfer-ownership="none">
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="data" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.h"
|
|
line="70">The data used by the caller of the typefinding function.</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</field>
|
|
<field name="get_length">
|
|
<callback name="get_length">
|
|
<source-position filename="gst/gsttypefind.h" line="88"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="guint64" c:type="guint64"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="data" transfer-ownership="none">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<method name="get_length" c:identifier="gst_type_find_get_length">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="200">Get the length of the data stream.</doc>
|
|
<source-position filename="gst/gsttypefind.h" line="116"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="206">The length of the data stream, or 0 if it is not available.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="find" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="202">The #GstTypeFind the function was called with</doc>
|
|
<type name="TypeFind" c:type="GstTypeFind*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="peek" c:identifier="gst_type_find_peek">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="106">Returns the @size bytes of the stream to identify beginning at offset. If
|
|
offset is a positive number, the offset is relative to the beginning of the
|
|
stream, if offset is a negative number the offset is relative to the end of
|
|
the stream. The returned memory is valid until the typefinding function
|
|
returns and must not be freed.</doc>
|
|
<source-position filename="gst/gsttypefind.h" line="103"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="118">the
|
|
requested data, or %NULL if that data is not available.</doc>
|
|
<array length="1" zero-terminated="0" c:type="const guint8*">
|
|
<type name="guint8" c:type="guint8"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="find" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="108">The #GstTypeFind object the function was called with</doc>
|
|
<type name="TypeFind" c:type="GstTypeFind*"/>
|
|
</instance-parameter>
|
|
<parameter name="offset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="109">The offset</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
<parameter name="size"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="110">The number of bytes to return</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="suggest" c:identifier="gst_type_find_suggest">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="129">If a #GstTypeFindFunction calls this function it suggests the caps with the
|
|
given probability. A #GstTypeFindFunction may supply different suggestions
|
|
in one call.
|
|
It is up to the caller of the #GstTypeFindFunction to interpret these values.</doc>
|
|
<source-position filename="gst/gsttypefind.h" line="107"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="find" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="131">The #GstTypeFind object the function was called with</doc>
|
|
<type name="TypeFind" c:type="GstTypeFind*"/>
|
|
</instance-parameter>
|
|
<parameter name="probability" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="132">The probability in percent that the suggestion is right</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="133">The fixed #GstCaps to suggest</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="suggest_simple"
|
|
c:identifier="gst_type_find_suggest_simple"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="151">If a #GstTypeFindFunction calls this function it suggests the caps with the
|
|
given probability. A #GstTypeFindFunction may supply different suggestions
|
|
in one call. It is up to the caller of the #GstTypeFindFunction to interpret
|
|
these values.
|
|
|
|
This function is similar to gst_type_find_suggest(), only that instead of
|
|
passing a #GstCaps argument you can create the caps on the fly in the same
|
|
way as you can with gst_caps_new_simple().
|
|
|
|
Make sure you terminate the list of arguments with a %NULL argument and that
|
|
the values passed have the correct type (in terms of width in bytes when
|
|
passed to the vararg function - this applies particularly to gdouble and
|
|
guint64 arguments).</doc>
|
|
<source-position filename="gst/gsttypefind.h" line="111"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="find" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="153">The #GstTypeFind object the function was called with</doc>
|
|
<type name="TypeFind" c:type="GstTypeFind*"/>
|
|
</instance-parameter>
|
|
<parameter name="probability" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="154">The probability in percent that the suggestion is right</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="media_type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="155">the media type of the suggested caps</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
<parameter name="fieldname"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="156">first field of the suggested caps, or %NULL</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="157">additional arguments to the suggested caps in the same format as the
|
|
arguments passed to gst_structure_new() (ie. triplets of field name,
|
|
field GType and field value)</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<function name="register" c:identifier="gst_type_find_register">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="42">Registers a new typefind function to be used for typefinding. After
|
|
registering this function will be available for typefinding.
|
|
This function is typically called during an element's plugin initialization.</doc>
|
|
<source-position filename="gst/gsttypefind.h" line="121"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="61">%TRUE on success, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="plugin"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="44">A #GstPlugin, or %NULL for a static typefind function</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="45">The name for registering</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="rank" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="46">The rank (or importance) of this typefind function</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="notified"
|
|
closure="6"
|
|
destroy="7">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="47">The #GstTypeFindFunction to use</doc>
|
|
<type name="TypeFindFunction" c:type="GstTypeFindFunction"/>
|
|
</parameter>
|
|
<parameter name="extensions"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="48">Optional comma-separated list of extensions
|
|
that could belong to this type</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="possible_caps"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="50">Optionally the caps that could be returned when typefinding
|
|
succeeds</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
<parameter name="data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="52">Optional user data. This user data must be available until the plugin
|
|
is unloaded.</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="data_notify"
|
|
transfer-ownership="none"
|
|
scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="54">a #GDestroyNotify that will be called on @data when the plugin
|
|
is unloaded.</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</record>
|
|
<class name="TypeFindFactory"
|
|
c:symbol-prefix="type_find_factory"
|
|
c:type="GstTypeFindFactory"
|
|
parent="PluginFeature"
|
|
glib:type-name="GstTypeFindFactory"
|
|
glib:get-type="gst_type_find_factory_get_type"
|
|
glib:type-struct="TypeFindFactoryClass">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefindfactory.c"
|
|
line="22">These functions allow querying information about registered typefind
|
|
functions. How to create and register these functions is described in
|
|
the section <link linkend="gstreamer-Writing-typefind-functions">
|
|
"Writing typefind functions"</link>.
|
|
|
|
The following example shows how to write a very simple typefinder that
|
|
identifies the given data. You can get quite a bit more complicated than
|
|
that though.
|
|
|[<!-- language="C" -->
|
|
typedef struct {
|
|
guint8 *data;
|
|
guint size;
|
|
guint probability;
|
|
GstCaps *data;
|
|
} MyTypeFind;
|
|
static void
|
|
my_peek (gpointer data, gint64 offset, guint size)
|
|
{
|
|
MyTypeFind *find = (MyTypeFind *) data;
|
|
if (offset &gt;= 0 &amp;&amp; offset + size &lt;= find->size) {
|
|
return find->data + offset;
|
|
}
|
|
return NULL;
|
|
}
|
|
static void
|
|
my_suggest (gpointer data, guint probability, GstCaps *caps)
|
|
{
|
|
MyTypeFind *find = (MyTypeFind *) data;
|
|
if (probability &gt; find->probability) {
|
|
find->probability = probability;
|
|
gst_caps_replace (&amp;find->caps, caps);
|
|
}
|
|
}
|
|
static GstCaps *
|
|
find_type (guint8 *data, guint size)
|
|
{
|
|
GList *walk, *type_list;
|
|
MyTypeFind find = {data, size, 0, NULL};
|
|
GstTypeFind gst_find = {my_peek, my_suggest, &amp;find, };
|
|
walk = type_list = gst_type_find_factory_get_list ();
|
|
while (walk) {
|
|
GstTypeFindFactory *factory = GST_TYPE_FIND_FACTORY (walk->data);
|
|
walk = g_list_next (walk)
|
|
gst_type_find_factory_call_function (factory, &amp;gst_find);
|
|
}
|
|
g_list_free (type_list);
|
|
return find.caps;
|
|
};
|
|
]|</doc>
|
|
<source-position filename="gst/gsttypefindfactory.h" line="45"/>
|
|
<function name="get_list" c:identifier="gst_type_find_factory_get_list">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefindfactory.c"
|
|
line="135">Gets the list of all registered typefind factories. You must free the
|
|
list using gst_plugin_feature_list_free().
|
|
|
|
The returned factories are sorted by highest rank first, and then by
|
|
factory name.
|
|
|
|
Free-function: gst_plugin_feature_list_free</doc>
|
|
<source-position filename="gst/gsttypefindfactory.h" line="53"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefindfactory.c"
|
|
line="146">the list of all
|
|
registered #GstTypeFindFactory.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="TypeFindFactory"/>
|
|
</type>
|
|
</return-value>
|
|
</function>
|
|
<method name="call_function"
|
|
c:identifier="gst_type_find_factory_call_function">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefindfactory.c"
|
|
line="192">Calls the #GstTypeFindFunction associated with this factory.</doc>
|
|
<source-position filename="gst/gsttypefindfactory.h" line="65"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefindfactory.c"
|
|
line="194">A #GstTypeFindFactory</doc>
|
|
<type name="TypeFindFactory" c:type="GstTypeFindFactory*"/>
|
|
</instance-parameter>
|
|
<parameter name="find" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefindfactory.c"
|
|
line="195">a properly setup #GstTypeFind entry. The get_data
|
|
and suggest_type members must be set.</doc>
|
|
<type name="TypeFind" c:type="GstTypeFind*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_caps" c:identifier="gst_type_find_factory_get_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefindfactory.c"
|
|
line="156">Gets the #GstCaps associated with a typefind factory.</doc>
|
|
<source-position filename="gst/gsttypefindfactory.h" line="59"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefindfactory.c"
|
|
line="162">the #GstCaps associated with this factory</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefindfactory.c"
|
|
line="158">A #GstTypeFindFactory</doc>
|
|
<type name="TypeFindFactory" c:type="GstTypeFindFactory*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_extensions"
|
|
c:identifier="gst_type_find_factory_get_extensions">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefindfactory.c"
|
|
line="172">Gets the extensions associated with a #GstTypeFindFactory. The returned
|
|
array should not be changed. If you need to change stuff in it, you should
|
|
copy it using g_strdupv(). This function may return %NULL to indicate
|
|
a 0-length list.</doc>
|
|
<source-position filename="gst/gsttypefindfactory.h" line="56"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefindfactory.c"
|
|
line="181">
|
|
a %NULL-terminated array of extensions associated with this factory</doc>
|
|
<array c:type="const gchar* const*">
|
|
<type name="utf8"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefindfactory.c"
|
|
line="174">A #GstTypeFindFactory</doc>
|
|
<type name="TypeFindFactory" c:type="GstTypeFindFactory*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="has_function"
|
|
c:identifier="gst_type_find_factory_has_function">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefindfactory.c"
|
|
line="221">Check whether the factory has a typefind function. Typefind factories
|
|
without typefind functions are a last-effort fallback mechanism to
|
|
e.g. assume a certain media type based on the file extension.</doc>
|
|
<source-position filename="gst/gsttypefindfactory.h" line="62"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefindfactory.c"
|
|
line="229">%TRUE if the factory has a typefind functions set, otherwise %FALSE</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="factory" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefindfactory.c"
|
|
line="223">A #GstTypeFindFactory</doc>
|
|
<type name="TypeFindFactory" c:type="GstTypeFindFactory*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
</class>
|
|
<record name="TypeFindFactoryClass"
|
|
c:type="GstTypeFindFactoryClass"
|
|
disguised="1"
|
|
glib:is-gtype-struct-for="TypeFindFactory">
|
|
<source-position filename="gst/gsttypefindfactory.h" line="45"/>
|
|
</record>
|
|
<callback name="TypeFindFunction" c:type="GstTypeFindFunction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.h"
|
|
line="36">A function that will be called by typefinding.</doc>
|
|
<source-position filename="gst/gsttypefind.h" line="43"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="find" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.h"
|
|
line="38">A #GstTypeFind structure</doc>
|
|
<type name="TypeFind" c:type="GstTypeFind*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.h"
|
|
line="39">optional data to pass to the function</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<enumeration name="TypeFindProbability"
|
|
glib:type-name="GstTypeFindProbability"
|
|
glib:get-type="gst_type_find_probability_get_type"
|
|
c:type="GstTypeFindProbability">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.h"
|
|
line="45">The probability of the typefind function. Higher values have more certainty
|
|
in doing a reliable typefind.</doc>
|
|
<member name="none"
|
|
value="0"
|
|
c:identifier="GST_TYPE_FIND_NONE"
|
|
glib:nick="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.h"
|
|
line="47">type undetected.</doc>
|
|
</member>
|
|
<member name="minimum"
|
|
value="1"
|
|
c:identifier="GST_TYPE_FIND_MINIMUM"
|
|
glib:nick="minimum">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.h"
|
|
line="48">unlikely typefind.</doc>
|
|
</member>
|
|
<member name="possible"
|
|
value="50"
|
|
c:identifier="GST_TYPE_FIND_POSSIBLE"
|
|
glib:nick="possible">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.h"
|
|
line="49">possible type detected.</doc>
|
|
</member>
|
|
<member name="likely"
|
|
value="80"
|
|
c:identifier="GST_TYPE_FIND_LIKELY"
|
|
glib:nick="likely">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.h"
|
|
line="50">likely a type was detected.</doc>
|
|
</member>
|
|
<member name="nearly_certain"
|
|
value="99"
|
|
c:identifier="GST_TYPE_FIND_NEARLY_CERTAIN"
|
|
glib:nick="nearly-certain">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.h"
|
|
line="51">nearly certain that a type was detected.</doc>
|
|
</member>
|
|
<member name="maximum"
|
|
value="100"
|
|
c:identifier="GST_TYPE_FIND_MAXIMUM"
|
|
glib:nick="maximum">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.h"
|
|
line="52">very certain a type was detected.</doc>
|
|
</member>
|
|
</enumeration>
|
|
<function-macro name="URI" c:identifier="GST_URI" introspectable="0">
|
|
<source-position filename="gst/gsturi.h" line="192"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<enumeration name="URIError"
|
|
glib:type-name="GstURIError"
|
|
glib:get-type="gst_uri_error_get_type"
|
|
c:type="GstURIError"
|
|
glib:error-domain="gst-uri-error-quark">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.h"
|
|
line="49">Different URI-related errors that can occur.</doc>
|
|
<member name="unsupported_protocol"
|
|
value="0"
|
|
c:identifier="GST_URI_ERROR_UNSUPPORTED_PROTOCOL"
|
|
glib:nick="unsupported-protocol">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.h"
|
|
line="51">The protocol is not supported</doc>
|
|
</member>
|
|
<member name="bad_uri"
|
|
value="1"
|
|
c:identifier="GST_URI_ERROR_BAD_URI"
|
|
glib:nick="bad-uri">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.h"
|
|
line="52">There was a problem with the URI</doc>
|
|
</member>
|
|
<member name="bad_state"
|
|
value="2"
|
|
c:identifier="GST_URI_ERROR_BAD_STATE"
|
|
glib:nick="bad-state">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.h"
|
|
line="53">Could not set or change the URI because the
|
|
URI handler was in a state where that is not possible or not permitted</doc>
|
|
</member>
|
|
<member name="bad_reference"
|
|
value="3"
|
|
c:identifier="GST_URI_ERROR_BAD_REFERENCE"
|
|
glib:nick="bad-reference">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.h"
|
|
line="55">There was a problem with the entity that
|
|
the URI references</doc>
|
|
</member>
|
|
<function name="quark" c:identifier="gst_uri_error_quark">
|
|
<attribute name="doc.skip" value="true"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
</function>
|
|
</enumeration>
|
|
<interface name="URIHandler"
|
|
c:symbol-prefix="uri_handler"
|
|
c:type="GstURIHandler"
|
|
glib:type-name="GstURIHandler"
|
|
glib:get-type="gst_uri_handler_get_type"
|
|
glib:type-struct="URIHandlerInterface">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="26">The #GstURIHandler is an interface that is implemented by Source and Sink
|
|
#GstElement to unify handling of URI.
|
|
|
|
An application can use the following functions to quickly get an element
|
|
that handles the given URI for reading or writing
|
|
(gst_element_make_from_uri()).
|
|
|
|
Source and Sink plugins should implement this interface when possible.</doc>
|
|
<source-position filename="gst/gsturi.h" line="132"/>
|
|
<virtual-method name="get_uri" invoker="get_uri">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="749">Gets the currently handled URI.</doc>
|
|
<source-position filename="gst/gsturi.h" line="128"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="755">the URI currently handled by
|
|
the @handler. Returns %NULL if there are no URI currently
|
|
handled. The returned string must be freed with g_free() when no
|
|
longer needed.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="handler" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="751">A #GstURIHandler</doc>
|
|
<type name="URIHandler" c:type="GstURIHandler*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="set_uri" invoker="set_uri" throws="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="778">Tries to set the URI of the given handler.</doc>
|
|
<source-position filename="gst/gsturi.h" line="129"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="787">%TRUE if the URI was set successfully, else %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="handler" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="780">A #GstURIHandler</doc>
|
|
<type name="URIHandler" c:type="GstURIHandler*"/>
|
|
</instance-parameter>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="781">URI to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="get_protocols"
|
|
c:identifier="gst_uri_handler_get_protocols">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="719">Gets the list of protocols supported by @handler. This list may not be
|
|
modified.</doc>
|
|
<source-position filename="gst/gsturi.h" line="175"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="726">the
|
|
supported protocols. Returns %NULL if the @handler isn't
|
|
implemented properly, or the @handler doesn't support any
|
|
protocols.</doc>
|
|
<array c:type="const gchar* const*">
|
|
<type name="utf8"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="handler" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="721">A #GstURIHandler.</doc>
|
|
<type name="URIHandler" c:type="GstURIHandler*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_uri" c:identifier="gst_uri_handler_get_uri">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="749">Gets the currently handled URI.</doc>
|
|
<source-position filename="gst/gsturi.h" line="178"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="755">the URI currently handled by
|
|
the @handler. Returns %NULL if there are no URI currently
|
|
handled. The returned string must be freed with g_free() when no
|
|
longer needed.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="handler" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="751">A #GstURIHandler</doc>
|
|
<type name="URIHandler" c:type="GstURIHandler*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_uri_type" c:identifier="gst_uri_handler_get_uri_type">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="692">Gets the type of the given URI handler</doc>
|
|
<source-position filename="gst/gsturi.h" line="172"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="698">the #GstURIType of the URI handler.
|
|
Returns #GST_URI_UNKNOWN if the @handler isn't implemented correctly.</doc>
|
|
<type name="URIType" c:type="GstURIType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="handler" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="694">A #GstURIHandler.</doc>
|
|
<type name="URIHandler" c:type="GstURIHandler*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_uri" c:identifier="gst_uri_handler_set_uri" throws="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="778">Tries to set the URI of the given handler.</doc>
|
|
<source-position filename="gst/gsturi.h" line="181"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="787">%TRUE if the URI was set successfully, else %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="handler" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="780">A #GstURIHandler</doc>
|
|
<type name="URIHandler" c:type="GstURIHandler*"/>
|
|
</instance-parameter>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="781">URI to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
</interface>
|
|
<record name="URIHandlerInterface"
|
|
c:type="GstURIHandlerInterface"
|
|
glib:is-gtype-struct-for="URIHandler">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.h"
|
|
line="108">Any #GstElement using this interface should implement these methods.</doc>
|
|
<source-position filename="gst/gsturi.h" line="132"/>
|
|
<field name="parent">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.h"
|
|
line="110">The parent interface type</doc>
|
|
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
|
|
</field>
|
|
<field name="get_type">
|
|
<callback name="get_type">
|
|
<source-position filename="gst/gsturi.h" line="124"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="URIType" c:type="GstURIType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="get_protocols">
|
|
<callback name="get_protocols">
|
|
<source-position filename="gst/gsturi.h" line="125"/>
|
|
<return-value transfer-ownership="none">
|
|
<array c:type="const gchar* const*">
|
|
<type name="utf8"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="get_uri">
|
|
<callback name="get_uri">
|
|
<source-position filename="gst/gsturi.h" line="128"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="755">the URI currently handled by
|
|
the @handler. Returns %NULL if there are no URI currently
|
|
handled. The returned string must be freed with g_free() when no
|
|
longer needed.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="handler" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="751">A #GstURIHandler</doc>
|
|
<type name="URIHandler" c:type="GstURIHandler*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="set_uri">
|
|
<callback name="set_uri" throws="1">
|
|
<source-position filename="gst/gsturi.h" line="129"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="787">%TRUE if the URI was set successfully, else %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="handler" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="780">A #GstURIHandler</doc>
|
|
<type name="URIHandler" c:type="GstURIHandler*"/>
|
|
</parameter>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="781">URI to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
</record>
|
|
<enumeration name="URIType"
|
|
glib:type-name="GstURIType"
|
|
glib:get-type="gst_uri_type_get_type"
|
|
c:type="GstURIType">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.h"
|
|
line="68">The different types of URI direction.</doc>
|
|
<member name="unknown"
|
|
value="0"
|
|
c:identifier="GST_URI_UNKNOWN"
|
|
glib:nick="unknown">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.h"
|
|
line="70">The URI direction is unknown</doc>
|
|
</member>
|
|
<member name="sink"
|
|
value="1"
|
|
c:identifier="GST_URI_SINK"
|
|
glib:nick="sink">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.h"
|
|
line="71">The URI is a consumer.</doc>
|
|
</member>
|
|
<member name="src" value="2" c:identifier="GST_URI_SRC" glib:nick="src">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.h"
|
|
line="72">The URI is a producer.</doc>
|
|
</member>
|
|
</enumeration>
|
|
<function-macro name="URI_CAST"
|
|
c:identifier="GST_URI_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsturi.h" line="190"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="URI_CONST_CAST"
|
|
c:identifier="GST_URI_CONST_CAST"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsturi.h" line="191"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="URI_HANDLER"
|
|
c:identifier="GST_URI_HANDLER"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsturi.h" line="93"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="URI_HANDLER_GET_INTERFACE"
|
|
c:identifier="GST_URI_HANDLER_GET_INTERFACE"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsturi.h" line="95"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="URI_NO_PORT" value="0" c:type="GST_URI_NO_PORT">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.h"
|
|
line="202">Value for #GstUri<!-- -->.port to indicate no port number.</doc>
|
|
<source-position filename="gst/gsturi.h" line="207"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<function-macro name="URI_TYPE_IS_VALID"
|
|
c:identifier="GST_URI_TYPE_IS_VALID"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.h"
|
|
line="83">Tests if the type direction is valid.</doc>
|
|
<source-position filename="gst/gsturi.h" line="89"/>
|
|
<parameters>
|
|
<parameter name="type">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.h"
|
|
line="85">A #GstURIType</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="USECOND" value="1000" c:type="GST_USECOND">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstclock.h"
|
|
line="110">Constant that defines one GStreamer microsecond.</doc>
|
|
<source-position filename="gst/gstclock.h" line="115"/>
|
|
<type name="ClockTimeDiff" c:type="GstClockTimeDiff"/>
|
|
</constant>
|
|
<record name="Uri"
|
|
c:type="GstUri"
|
|
glib:type-name="GstUri"
|
|
glib:get-type="gst_uri_get_type"
|
|
c:symbol-prefix="uri">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="954">A #GstUri object can be used to parse and split a URI string into its
|
|
constituent parts. Two #GstUri objects can be joined to make a new #GstUri
|
|
using the algorithm described in RFC3986.</doc>
|
|
<source-position filename="gst/gsturi.h" line="200"/>
|
|
<constructor name="new" c:identifier="gst_uri_new" version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1421">Creates a new #GstUri object with the given URI parts. The path and query
|
|
strings will be broken down into their elements. All strings should not be
|
|
escaped except where indicated.</doc>
|
|
<source-position filename="gst/gsturi.h" line="219"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1438">A new #GstUri object.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="scheme"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1423">The scheme for the new URI.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="userinfo"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1424">The user-info for the new URI.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="host"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1425">The host name for the new URI.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="port" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1426">The port number for the new URI or %GST_URI_NO_PORT.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="path"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1427">The path for the new URI with '/' separating path
|
|
elements.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="query"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1429">The query string for the new URI with '&' separating
|
|
query elements. Elements containing '&' characters
|
|
should encode them as "&percnt;26".</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="fragment"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1432">The fragment name for the new URI.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<method name="append_path"
|
|
c:identifier="gst_uri_append_path"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2470">Append a path onto the end of the path in the URI. The path is not
|
|
normalized, call #gst_uri_normalize() to normalize the path.</doc>
|
|
<source-position filename="gst/gsturi.h" line="311"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2478">%TRUE if the path was appended successfully.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2472">The #GstUri to modify.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</instance-parameter>
|
|
<parameter name="relative_path" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2473">Relative path to append to the end of the current path.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="append_path_segment"
|
|
c:identifier="gst_uri_append_path_segment"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2508">Append a single path segment onto the end of the URI path.</doc>
|
|
<source-position filename="gst/gsturi.h" line="314"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2515">%TRUE if the path was appended successfully.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2510">The #GstUri to modify.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</instance-parameter>
|
|
<parameter name="path_segment" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2511">The path segment string to append to the URI path.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="equal" c:identifier="gst_uri_equal" version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1698">Compares two #GstUri objects to see if they represent the same normalized
|
|
URI.</doc>
|
|
<source-position filename="gst/gsturi.h" line="245"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1706">%TRUE if the normalized versions of the two URI's would be equal.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="first" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1700">First #GstUri to compare.</doc>
|
|
<type name="Uri" c:type="const GstUri*"/>
|
|
</instance-parameter>
|
|
<parameter name="second" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1701">Second #GstUri to compare.</doc>
|
|
<type name="Uri" c:type="const GstUri*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="from_string_with_base"
|
|
c:identifier="gst_uri_from_string_with_base"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1672">Like gst_uri_from_string() but also joins with a base URI.</doc>
|
|
<source-position filename="gst/gsturi.h" line="242"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1679">A new #GstUri object.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="base"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1674">The base URI to join the new URI with.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</instance-parameter>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1675">The URI string to parse.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_fragment"
|
|
c:identifier="gst_uri_get_fragment"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2805">Get the fragment name from the URI or %NULL if it doesn't exist.
|
|
If @uri is %NULL then returns %NULL.</doc>
|
|
<source-position filename="gst/gsturi.h" line="346"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2812">The host name from the #GstUri object or %NULL.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2807">This #GstUri object.</doc>
|
|
<type name="Uri" c:type="const GstUri*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_host" c:identifier="gst_uri_get_host" version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2203">Get the host name from the URI or %NULL if it doesn't exist.
|
|
If @uri is %NULL then returns %NULL.</doc>
|
|
<source-position filename="gst/gsturi.h" line="281"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2210">The host name from the #GstUri object or %NULL.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2205">This #GstUri object.</doc>
|
|
<type name="Uri" c:type="const GstUri*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_media_fragment_table"
|
|
c:identifier="gst_uri_get_media_fragment_table"
|
|
version="1.12">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2847">Get the media fragment table from the URI, as defined by "Media Fragments URI 1.0".
|
|
Hash table returned by this API is a list of "key-value" pairs, and the each
|
|
pair is generated by splitting "URI fragment" per "&" sub-delims, then "key"
|
|
and "value" are split by "=" sub-delims. The "key" returned by this API may
|
|
be undefined keyword by standard.
|
|
A value may be %NULL to indicate that the key should appear in the fragment
|
|
string in the URI, but does not have a value. Free the returned #GHashTable
|
|
with #g_hash_table_unref() when it is no longer required.
|
|
Modifying this hash table does not affect the fragment in the URI.
|
|
|
|
See more about Media Fragments URI 1.0 (W3C) at https://www.w3.org/TR/media-frags/</doc>
|
|
<source-position filename="gst/gsturi.h" line="352"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2863">The
|
|
fragment hash table from the URI.</doc>
|
|
<type name="GLib.HashTable" c:type="GHashTable*">
|
|
<type name="utf8"/>
|
|
<type name="utf8"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2849">The #GstUri to get the fragment table from.</doc>
|
|
<type name="Uri" c:type="const GstUri*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_path" c:identifier="gst_uri_get_path" version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2286">Extract the path string from the URI object.</doc>
|
|
<source-position filename="gst/gsturi.h" line="293"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2292">The path from the URI. Once finished
|
|
with the string should be g_free()'d.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2288">The #GstUri to get the path from.</doc>
|
|
<type name="Uri" c:type="const GstUri*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_path_segments"
|
|
c:identifier="gst_uri_get_path_segments"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2414">Get a list of path segments from the URI.</doc>
|
|
<source-position filename="gst/gsturi.h" line="305"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2420">A #GList of path segment
|
|
strings or %NULL if no path segments are available. Free the list
|
|
when no longer needed with g_list_free_full(list, g_free).</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="utf8"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2416">The #GstUri to get the path from.</doc>
|
|
<type name="Uri" c:type="const GstUri*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_path_string"
|
|
c:identifier="gst_uri_get_path_string"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2349">Extract the path string from the URI object as a percent encoded URI path.</doc>
|
|
<source-position filename="gst/gsturi.h" line="299"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2355">The path from the URI. Once finished
|
|
with the string should be g_free()'d.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2351">The #GstUri to get the path from.</doc>
|
|
<type name="Uri" c:type="const GstUri*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_port" c:identifier="gst_uri_get_port" version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2245">Get the port number from the URI or %GST_URI_NO_PORT if it doesn't exist.
|
|
If @uri is %NULL then returns %GST_URI_NO_PORT.</doc>
|
|
<source-position filename="gst/gsturi.h" line="287"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2252">The port number from the #GstUri object or %GST_URI_NO_PORT.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2247">This #GstUri object.</doc>
|
|
<type name="Uri" c:type="const GstUri*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_query_keys"
|
|
c:identifier="gst_uri_get_query_keys"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2782">Get a list of the query keys from the URI.</doc>
|
|
<source-position filename="gst/gsturi.h" line="343"/>
|
|
<return-value transfer-ownership="container">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2788">A list of keys from
|
|
the URI query. Free the list with g_list_free().</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="utf8"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2784">The #GstUri to examine.</doc>
|
|
<type name="Uri" c:type="const GstUri*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_query_string"
|
|
c:identifier="gst_uri_get_query_string"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2536">Get a percent encoded URI query string from the @uri.</doc>
|
|
<source-position filename="gst/gsturi.h" line="317"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2542">A percent encoded query string. Use
|
|
g_free() when no longer needed.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2538">The #GstUri to get the query string from.</doc>
|
|
<type name="Uri" c:type="const GstUri*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_query_table"
|
|
c:identifier="gst_uri_get_query_table"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2607">Get the query table from the URI. Keys and values in the table are freed
|
|
with g_free when they are deleted. A value may be %NULL to indicate that
|
|
the key should appear in the query string in the URI, but does not have a
|
|
value. Free the returned #GHashTable with #g_hash_table_unref() when it is
|
|
no longer required. Modifying this hash table will modify the query in the
|
|
URI.</doc>
|
|
<source-position filename="gst/gsturi.h" line="323"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2618">The query
|
|
hash table from the URI.</doc>
|
|
<type name="GLib.HashTable" c:type="GHashTable*">
|
|
<type name="utf8"/>
|
|
<type name="utf8"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2609">The #GstUri to get the query table from.</doc>
|
|
<type name="Uri" c:type="const GstUri*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_query_value"
|
|
c:identifier="gst_uri_get_query_value"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2755">Get the value associated with the @query_key key. Will return %NULL if the
|
|
key has no value or if the key does not exist in the URI query table. Because
|
|
%NULL is returned for both missing keys and keys with no value, you should
|
|
use gst_uri_query_has_key() to determine if a key is present in the URI
|
|
query.</doc>
|
|
<source-position filename="gst/gsturi.h" line="339"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2766">The value for the given key, or %NULL if not found.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2757">The #GstUri to examine.</doc>
|
|
<type name="Uri" c:type="const GstUri*"/>
|
|
</instance-parameter>
|
|
<parameter name="query_key" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2758">The key to lookup.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_scheme" c:identifier="gst_uri_get_scheme">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2121">Get the scheme name from the URI or %NULL if it doesn't exist.
|
|
If @uri is %NULL then returns %NULL.</doc>
|
|
<source-position filename="gst/gsturi.h" line="269"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2128">The scheme from the #GstUri object or %NULL.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2123">This #GstUri object.</doc>
|
|
<type name="Uri" c:type="const GstUri*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_userinfo"
|
|
c:identifier="gst_uri_get_userinfo"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2161">Get the userinfo (usually in the form "username:password") from the URI
|
|
or %NULL if it doesn't exist. If @uri is %NULL then returns %NULL.</doc>
|
|
<source-position filename="gst/gsturi.h" line="275"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2168">The userinfo from the #GstUri object or %NULL.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2163">This #GstUri object.</doc>
|
|
<type name="Uri" c:type="const GstUri*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_normalized"
|
|
c:identifier="gst_uri_is_normalized"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2046">Tests the @uri to see if it is normalized. A %NULL @uri is considered to be
|
|
normalized.</doc>
|
|
<source-position filename="gst/gsturi.h" line="263"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2053">TRUE if the URI is normalized or is %NULL.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2048">The #GstUri to test to see if it is normalized.</doc>
|
|
<type name="Uri" c:type="const GstUri*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_writable"
|
|
c:identifier="gst_uri_is_writable"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1926">Check if it is safe to write to this #GstUri.
|
|
|
|
Check if the refcount of @uri is exactly 1, meaning that no other
|
|
reference exists to the #GstUri and that the #GstUri is therefore writable.
|
|
|
|
Modification of a #GstUri should only be done after verifying that it is
|
|
writable.</doc>
|
|
<source-position filename="gst/gsturi.h" line="254"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1938">%TRUE if it is safe to write to the object.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1928">The #GstUri object to test.</doc>
|
|
<type name="Uri" c:type="const GstUri*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="join" c:identifier="gst_uri_join" version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1809">Join a reference URI onto a base URI using the method from RFC 3986.
|
|
If either URI is %NULL then the other URI will be returned with the ref count
|
|
increased.</doc>
|
|
<source-position filename="gst/gsturi.h" line="248"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1819">A #GstUri which represents the base
|
|
with the reference URI joined on.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="base_uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1811">The base URI to join another to.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</instance-parameter>
|
|
<parameter name="ref_uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1812">The reference URI to join onto the
|
|
base URI.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="make_writable"
|
|
c:identifier="gst_uri_make_writable"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1949">Make the #GstUri writable.
|
|
|
|
Checks if @uri is writable, and if so the original object is returned. If
|
|
not, then a writable copy is made and returned. This gives away the
|
|
reference to @uri and returns a reference to the new #GstUri.
|
|
If @uri is %NULL then %NULL is returned.</doc>
|
|
<source-position filename="gst/gsturi.h" line="257"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1960">A writable version of @uri.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1951">The #GstUri object to make writable.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="new_with_base"
|
|
c:identifier="gst_uri_new_with_base"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1462">Like gst_uri_new(), but joins the new URI onto a base URI.</doc>
|
|
<source-position filename="gst/gsturi.h" line="227"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1478">The new URI joined onto @base.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="base"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1464">The base URI to join the new URI to.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</instance-parameter>
|
|
<parameter name="scheme"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1465">The scheme for the new URI.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="userinfo"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1466">The user-info for the new URI.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="host"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1467">The host name for the new URI.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="port" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1468">The port number for the new URI or %GST_URI_NO_PORT.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="path"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1469">The path for the new URI with '/' separating path
|
|
elements.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="query"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1471">The query string for the new URI with '&' separating
|
|
query elements. Elements containing '&' characters
|
|
should encode them as "&percnt;26".</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="fragment"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1474">The fragment name for the new URI.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="normalize" c:identifier="gst_uri_normalize" version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2093">Normalization will remove extra path segments ("." and "..") from the URI. It
|
|
will also convert the scheme and host name to lower case and any
|
|
percent-encoded values to uppercase.
|
|
|
|
The #GstUri object must be writable. Check with gst_uri_is_writable() or use
|
|
gst_uri_make_writable() first.</doc>
|
|
<source-position filename="gst/gsturi.h" line="266"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2104">TRUE if the URI was modified.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2095">The #GstUri to normalize.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="query_has_key"
|
|
c:identifier="gst_uri_query_has_key"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2732">Check if there is a query table entry for the @query_key key.</doc>
|
|
<source-position filename="gst/gsturi.h" line="335"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2739">%TRUE if @query_key exists in the URI query table.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2734">The #GstUri to examine.</doc>
|
|
<type name="Uri" c:type="const GstUri*"/>
|
|
</instance-parameter>
|
|
<parameter name="query_key" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2735">The key to lookup.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_query_key"
|
|
c:identifier="gst_uri_remove_query_key"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2701">Remove an entry from the query table by key.</doc>
|
|
<source-position filename="gst/gsturi.h" line="332"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2708">%TRUE if the key existed in the table and was removed.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2703">The #GstUri to modify.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</instance-parameter>
|
|
<parameter name="query_key" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2704">The key to remove.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_fragment"
|
|
c:identifier="gst_uri_set_fragment"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2823">Sets the fragment string in the URI. Use a value of %NULL in @fragment to
|
|
unset the fragment string.</doc>
|
|
<source-position filename="gst/gsturi.h" line="349"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2831">%TRUE if the fragment was set/unset successfully.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2825">The #GstUri to modify.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</instance-parameter>
|
|
<parameter name="fragment"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2826">The fragment string to set.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_host" c:identifier="gst_uri_set_host" version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2221">Set or unset the host for the URI.</doc>
|
|
<source-position filename="gst/gsturi.h" line="284"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2228">%TRUE if the host was set/unset successfully.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2223">The #GstUri to modify.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</instance-parameter>
|
|
<parameter name="host" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2224">The new host string to set or %NULL to unset.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_path" c:identifier="gst_uri_set_path" version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2324">Sets or unsets the path in the URI.</doc>
|
|
<source-position filename="gst/gsturi.h" line="296"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2332">%TRUE if the path was set successfully.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2326">The #GstUri to modify.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</instance-parameter>
|
|
<parameter name="path" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2327">The new path to set with path segments separated by '/', or use %NULL
|
|
to unset the path.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_path_segments"
|
|
c:identifier="gst_uri_set_path_segments"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2440">Replace the path segments list in the URI.</doc>
|
|
<source-position filename="gst/gsturi.h" line="308"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2448">%TRUE if the path segments were set successfully.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2442">The #GstUri to modify.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</instance-parameter>
|
|
<parameter name="path_segments"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2443">The new
|
|
path list to set.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="utf8"/>
|
|
</type>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_path_string"
|
|
c:identifier="gst_uri_set_path_string"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2390">Sets or unsets the path in the URI.</doc>
|
|
<source-position filename="gst/gsturi.h" line="302"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2398">%TRUE if the path was set successfully.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2392">The #GstUri to modify.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</instance-parameter>
|
|
<parameter name="path" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2393">The new percent encoded path to set with path segments separated by
|
|
'/', or use %NULL to unset the path.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_port" c:identifier="gst_uri_set_port" version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2263">Set or unset the port number for the URI.</doc>
|
|
<source-position filename="gst/gsturi.h" line="290"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2270">%TRUE if the port number was set/unset successfully.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2265">The #GstUri to modify.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</instance-parameter>
|
|
<parameter name="port" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2266">The new port number to set or %GST_URI_NO_PORT to unset.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_query_string"
|
|
c:identifier="gst_uri_set_query_string"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2580">Sets or unsets the query table in the URI.</doc>
|
|
<source-position filename="gst/gsturi.h" line="320"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2588">%TRUE if the query table was set successfully.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2582">The #GstUri to modify.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</instance-parameter>
|
|
<parameter name="query" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2583">The new percent encoded query string to use to populate the query
|
|
table, or use %NULL to unset the query table.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_query_table"
|
|
c:identifier="gst_uri_set_query_table"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2635">Set the query table to use in the URI. The old table is unreferenced and a
|
|
reference to the new one is used instead. A value if %NULL for @query_table
|
|
will remove the query string from the URI.</doc>
|
|
<source-position filename="gst/gsturi.h" line="326"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2645">%TRUE if the new table was successfully used for the query table.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2637">The #GstUri to modify.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</instance-parameter>
|
|
<parameter name="query_table"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2638">The new
|
|
query table to use.</doc>
|
|
<type name="GLib.HashTable" c:type="GHashTable*">
|
|
<type name="utf8"/>
|
|
<type name="utf8"/>
|
|
</type>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_query_value"
|
|
c:identifier="gst_uri_set_query_value"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2669">This inserts or replaces a key in the query table. A @query_value of %NULL
|
|
indicates that the key has no associated value, but will still be present in
|
|
the query string.</doc>
|
|
<source-position filename="gst/gsturi.h" line="329"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2679">%TRUE if the query table was successfully updated.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2671">The #GstUri to modify.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</instance-parameter>
|
|
<parameter name="query_key" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2672">The key for the query entry.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="query_value"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2673">The value for the key.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_scheme"
|
|
c:identifier="gst_uri_set_scheme"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2137">Set or unset the scheme for the URI.</doc>
|
|
<source-position filename="gst/gsturi.h" line="272"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2144">%TRUE if the scheme was set/unset successfully.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2139">The #GstUri to modify.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</instance-parameter>
|
|
<parameter name="scheme" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2140">The new scheme to set or %NULL to unset the scheme.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_userinfo"
|
|
c:identifier="gst_uri_set_userinfo"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2179">Set or unset the user information for the URI.</doc>
|
|
<source-position filename="gst/gsturi.h" line="278"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2186">%TRUE if the user information was set/unset successfully.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2181">The #GstUri to modify.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</instance-parameter>
|
|
<parameter name="userinfo" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="2182">The new user-information string to set or %NULL to unset.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="to_string" c:identifier="gst_uri_to_string" version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1972">Convert the URI to a string.
|
|
|
|
Returns the URI as held in this object as a #gchar* nul-terminated string.
|
|
The caller should g_free() the string once they are finished with it.
|
|
The string is put together as described in RFC 3986.</doc>
|
|
<source-position filename="gst/gsturi.h" line="260"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1982">The string version of the URI.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1974">This #GstUri to convert to a string.</doc>
|
|
<type name="Uri" c:type="const GstUri*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<function name="construct"
|
|
c:identifier="gst_uri_construct"
|
|
deprecated="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="490">Constructs a URI for a given valid protocol and location.
|
|
|
|
Free-function: g_free</doc>
|
|
<doc-deprecated xml:space="preserve">Use GstURI instead.</doc-deprecated>
|
|
<source-position filename="gst/gsturi.h" line="155"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="499">a new string for this URI. Returns %NULL if the
|
|
given URI protocol is not valid, or the given location is %NULL.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="protocol" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="492">Protocol for URI</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="location" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="493">Location for URI</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="from_string"
|
|
c:identifier="gst_uri_from_string"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1627">Parses a URI string into a new #GstUri object. Will return NULL if the URI
|
|
cannot be parsed.</doc>
|
|
<source-position filename="gst/gsturi.h" line="236"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1634">A new #GstUri object, or NULL.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1629">The URI string to parse.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="from_string_escaped"
|
|
c:identifier="gst_uri_from_string_escaped"
|
|
version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1644">Parses a URI string into a new #GstUri object. Will return NULL if the URI
|
|
cannot be parsed. This is identical to gst_uri_from_string() except that
|
|
the userinfo and fragment components of the URI will not be unescaped while
|
|
parsing.
|
|
|
|
Use this when you need to extract a username and password from the userinfo
|
|
such as https://user:password@example.com since either may contain
|
|
a URI-escaped ':' character. gst_uri_from_string() will unescape the entire
|
|
userinfo component, which will make it impossible to know which ':'
|
|
delineates the username and password.
|
|
|
|
The same applies to the fragment component of the URI, such as
|
|
https://example.com/path#fragment which may contain a URI-escaped '#'.</doc>
|
|
<source-position filename="gst/gsturi.h" line="239"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1662">A new #GstUri object, or NULL.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1646">The URI string to parse.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="get_location" c:identifier="gst_uri_get_location">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="441">Extracts the location out of a given valid URI, ie. the protocol and "://"
|
|
are stripped from the URI, which means that the location returned includes
|
|
the hostname if one is specified. The returned string must be freed using
|
|
g_free().
|
|
|
|
Free-function: g_free</doc>
|
|
<source-position filename="gst/gsturi.h" line="152"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="452">the location for this URI. Returns
|
|
%NULL if the URI isn't valid. If the URI does not contain a location, an
|
|
empty string is returned.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="443">A URI string</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="get_protocol" c:identifier="gst_uri_get_protocol">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="393">Extracts the protocol out of a given valid URI. The returned string must be
|
|
freed using g_free().</doc>
|
|
<source-position filename="gst/gsturi.h" line="146"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="400">The protocol for this URI.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="395">A URI string</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="has_protocol" c:identifier="gst_uri_has_protocol">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="415">Checks if the protocol of a given valid URI matches @protocol.</doc>
|
|
<source-position filename="gst/gsturi.h" line="149"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="422">%TRUE if the protocol matches.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="417">a URI string</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="protocol" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="418">a protocol string (e.g. "http")</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="is_valid" c:identifier="gst_uri_is_valid">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="372">Tests if the given string is a valid URI identifier. URIs start with a valid
|
|
scheme followed by ":" and maybe a string identifying the location.</doc>
|
|
<source-position filename="gst/gsturi.h" line="143"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="379">%TRUE if the string is a valid URI</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="374">A URI string</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="join_strings"
|
|
c:identifier="gst_uri_join_strings"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1898">This is a convenience function to join two URI strings and return the result.
|
|
The returned string should be g_free()'d after use.</doc>
|
|
<source-position filename="gst/gsturi.h" line="251"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1906">A string representing the percent-encoded join of
|
|
the two URIs.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="base_uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1900">The percent-encoded base URI.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="ref_uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1901">The percent-encoded reference URI to join to the @base_uri.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="protocol_is_supported"
|
|
c:identifier="gst_uri_protocol_is_supported">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="585">Checks if an element exists that supports the given URI protocol. Note
|
|
that a positive return value does not imply that a subsequent call to
|
|
gst_element_make_from_uri() is guaranteed to work.</doc>
|
|
<source-position filename="gst/gsturi.h" line="140"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="594">%TRUE</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="587">Whether to check for a source or a sink</doc>
|
|
<type name="URIType" c:type="const GstURIType"/>
|
|
</parameter>
|
|
<parameter name="protocol" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="588">Protocol that should be checked for (e.g. "http" or "smb")</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="protocol_is_valid"
|
|
c:identifier="gst_uri_protocol_is_valid">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="350">Tests if the given string is a valid protocol identifier. Protocols
|
|
must consist of alphanumeric characters, '+', '-' and '.' and must
|
|
start with a alphabetic character. See RFC 3986 Section 3.1.</doc>
|
|
<source-position filename="gst/gsturi.h" line="137"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="358">%TRUE if the string is a valid protocol identifier, %FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="protocol" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="352">A string</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</record>
|
|
<constant name="VALUE_EQUAL" value="0" c:type="GST_VALUE_EQUAL">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="414">Indicates that the first value provided to a comparison function
|
|
(gst_value_compare()) is equal to the second one.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="420"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<constant name="VALUE_GREATER_THAN"
|
|
value="1"
|
|
c:type="GST_VALUE_GREATER_THAN">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="422">Indicates that the first value provided to a comparison function
|
|
(gst_value_compare()) is greater than the second one.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="428"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<function-macro name="VALUE_HOLDS_ARRAY"
|
|
c:identifier="GST_VALUE_HOLDS_ARRAY"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="132">Checks if the given #GValue contains a #GST_TYPE_ARRAY value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="138"/>
|
|
<parameters>
|
|
<parameter name="x">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="134">the #GValue to check</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="VALUE_HOLDS_BITMASK"
|
|
c:identifier="GST_VALUE_HOLDS_BITMASK"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="196">Checks if the given #GValue contains a #GST_TYPE_BITMASK value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="202"/>
|
|
<parameters>
|
|
<parameter name="x">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="198">the #GValue to check</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="VALUE_HOLDS_BUFFER"
|
|
c:identifier="GST_VALUE_HOLDS_BUFFER"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="164">Checks if the given #GValue contains a #GST_TYPE_BUFFER value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="170"/>
|
|
<parameters>
|
|
<parameter name="x">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="166">the #GValue to check</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="VALUE_HOLDS_CAPS"
|
|
c:identifier="GST_VALUE_HOLDS_CAPS"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="140">Checks if the given #GValue contains a #GST_TYPE_CAPS value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="146"/>
|
|
<parameters>
|
|
<parameter name="x">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="142">the #GValue to check</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="VALUE_HOLDS_CAPS_FEATURES"
|
|
c:identifier="GST_VALUE_HOLDS_CAPS_FEATURES"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="156">Checks if the given #GValue contains a #GST_TYPE_CAPS_FEATURES value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="162"/>
|
|
<parameters>
|
|
<parameter name="x">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="158">the #GValue to check</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="VALUE_HOLDS_DATE_TIME"
|
|
c:identifier="GST_VALUE_HOLDS_DATE_TIME"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="188">Checks if the given #GValue contains a #GST_TYPE_DATE_TIME value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="194"/>
|
|
<parameters>
|
|
<parameter name="x">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="190">the #GValue to check</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="VALUE_HOLDS_DOUBLE_RANGE"
|
|
c:identifier="GST_VALUE_HOLDS_DOUBLE_RANGE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="108">Checks if the given #GValue contains a #GST_TYPE_DOUBLE_RANGE value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="114"/>
|
|
<parameters>
|
|
<parameter name="x">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="110">the #GValue to check</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="VALUE_HOLDS_FLAG_SET"
|
|
c:identifier="GST_VALUE_HOLDS_FLAG_SET"
|
|
version="1.6"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="204">Checks if the given #GValue contains a #GST_TYPE_FLAG_SET value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="212"/>
|
|
<parameters>
|
|
<parameter name="x">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="206">the #GValue to check</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="VALUE_HOLDS_FRACTION"
|
|
c:identifier="GST_VALUE_HOLDS_FRACTION"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="180">Checks if the given #GValue contains a #GST_TYPE_FRACTION value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="186"/>
|
|
<parameters>
|
|
<parameter name="x">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="182">the #GValue to check</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="VALUE_HOLDS_FRACTION_RANGE"
|
|
c:identifier="GST_VALUE_HOLDS_FRACTION_RANGE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="116">Checks if the given #GValue contains a #GST_TYPE_FRACTION_RANGE value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="122"/>
|
|
<parameters>
|
|
<parameter name="x">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="118">the #GValue to check</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="VALUE_HOLDS_INT64_RANGE"
|
|
c:identifier="GST_VALUE_HOLDS_INT64_RANGE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="100">Checks if the given #GValue contains a #GST_TYPE_INT64_RANGE value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="106"/>
|
|
<parameters>
|
|
<parameter name="x">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="102">the #GValue to check</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="VALUE_HOLDS_INT_RANGE"
|
|
c:identifier="GST_VALUE_HOLDS_INT_RANGE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="92">Checks if the given #GValue contains a #GST_TYPE_INT_RANGE value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="98"/>
|
|
<parameters>
|
|
<parameter name="x">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="94">the #GValue to check</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="VALUE_HOLDS_LIST"
|
|
c:identifier="GST_VALUE_HOLDS_LIST"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="124">Checks if the given #GValue contains a #GST_TYPE_LIST value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="130"/>
|
|
<parameters>
|
|
<parameter name="x">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="126">the #GValue to check</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="VALUE_HOLDS_SAMPLE"
|
|
c:identifier="GST_VALUE_HOLDS_SAMPLE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="172">Checks if the given #GValue contains a #GST_TYPE_SAMPLE value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="178"/>
|
|
<parameters>
|
|
<parameter name="x">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="174">the #GValue to check</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="VALUE_HOLDS_STRUCTURE"
|
|
c:identifier="GST_VALUE_HOLDS_STRUCTURE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="148">Checks if the given #GValue contains a #GST_TYPE_STRUCTURE value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="154"/>
|
|
<parameters>
|
|
<parameter name="x">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="150">the #GValue to check</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<constant name="VALUE_LESS_THAN" value="-1" c:type="GST_VALUE_LESS_THAN">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="406">Indicates that the first value provided to a comparison function
|
|
(gst_value_compare()) is lesser than the second one.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="412"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<constant name="VALUE_UNORDERED" value="2" c:type="GST_VALUE_UNORDERED">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="430">Indicates that the comparison function (gst_value_compare()) can not
|
|
determine a order for the two provided values.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="436"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<constant name="VERSION_MAJOR" value="1" c:type="GST_VERSION_MAJOR">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstversion.h"
|
|
line="46">The major version of GStreamer at compile time:</doc>
|
|
<source-position filename="gst/gstversion.h" line="51"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<constant name="VERSION_MICRO" value="0" c:type="GST_VERSION_MICRO">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstversion.h"
|
|
line="58">The micro version of GStreamer at compile time:</doc>
|
|
<source-position filename="gst/gstversion.h" line="63"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<constant name="VERSION_MINOR" value="19" c:type="GST_VERSION_MINOR">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstversion.h"
|
|
line="52">The minor version of GStreamer at compile time:</doc>
|
|
<source-position filename="gst/gstversion.h" line="57"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<constant name="VERSION_NANO" value="1" c:type="GST_VERSION_NANO">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstversion.h"
|
|
line="64">The nano version of GStreamer at compile time:
|
|
Actual releases have 0, GIT versions have 1, prerelease versions have 2-...</doc>
|
|
<source-position filename="gst/gstversion.h" line="70"/>
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<class name="ValueArray"
|
|
c:symbol-prefix="value_array"
|
|
c:type="GstValueArray"
|
|
glib:type-name="GstValueArray"
|
|
glib:get-type="gst_value_array_get_type"
|
|
glib:fundamental="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="316">A fundamental type that describes an ordered list of #GValue</doc>
|
|
<function name="append_and_take_value"
|
|
c:identifier="gst_value_array_append_and_take_value"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="992">Appends @append_value to the GstValueArray in @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="607"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="994">a #GValue of type #GST_TYPE_ARRAY</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="append_value" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="995">the value to append</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="append_value"
|
|
c:identifier="gst_value_array_append_value">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="964">Appends @append_value to the GstValueArray in @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="604"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="966">a #GValue of type #GST_TYPE_ARRAY</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="append_value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="967">the value to append</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="get_size" c:identifier="gst_value_array_get_size">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1033">Gets the number of values contained in @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="613"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1039">the number of values</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1035">a #GValue of type #GST_TYPE_ARRAY</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="get_value" c:identifier="gst_value_array_get_value">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1049">Gets the value that is a member of the array contained in @value and
|
|
has the index @index.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="616"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1057">the value at the given index</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1051">a #GValue of type #GST_TYPE_ARRAY</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1052">index of value to get from the array</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="init" c:identifier="gst_value_array_init" version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="323">Initializes and pre-allocates a #GValue of type #GST_VALUE_ARRAY.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="619"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="330">The #GValue structure that has been passed in</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="325">A zero-filled (uninitialized) #GValue structure</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="prealloc" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="326">The number of entries to pre-allocate in the array</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="prepend_value"
|
|
c:identifier="gst_value_array_prepend_value">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1012">Prepends @prepend_value to the GstValueArray in @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="610"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1014">a #GValue of type #GST_TYPE_ARRAY</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="prepend_value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1015">the value to prepend</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</class>
|
|
<callback name="ValueCompareFunc" c:type="GstValueCompareFunc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="438">Used together with gst_value_compare() to compare #GValue items.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="448"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="445">one of GST_VALUE_LESS_THAN, GST_VALUE_EQUAL, GST_VALUE_GREATER_THAN
|
|
or GST_VALUE_UNORDERED</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="440">first value for comparison</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
<parameter name="value2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="441">second value for comparison</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="ValueDeserializeFunc" c:type="GstValueDeserializeFunc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="463">Used by gst_value_deserialize() to parse a non-binary form into the #GValue.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="472"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="470">%TRUE for success</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="dest" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="465">a #GValue</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="s" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="466">a string</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="ValueDeserializeWithPSpecFunc"
|
|
c:type="GstValueDeserializeWithPSpecFunc"
|
|
version="1.20">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="475">Used by gst_value_deserialize_with_pspec() to parse a non-binary form into the #GValue.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="486"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="483">%TRUE for success</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="dest" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="477">a #GValue</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="s" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="478">a string</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="pspec" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="479">a #GParamSpec describing the expected value</doc>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<class name="ValueList"
|
|
c:symbol-prefix="value_list"
|
|
glib:type-name="GstValueList"
|
|
glib:get-type="gst_value_list_get_type"
|
|
glib:fundamental="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="295">A fundamental type that describes an unordered list of #GValue</doc>
|
|
<function name="append_and_take_value"
|
|
c:identifier="gst_value_list_append_and_take_value"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="663">Appends @append_value to the GstValueList in @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="578"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="665">a #GValue of type #GST_TYPE_LIST</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="append_value" transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="666">the value to append</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="append_value" c:identifier="gst_value_list_append_value">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="683">Appends @append_value to the GstValueList in @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="575"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="685">a #GValue of type #GST_TYPE_LIST</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="append_value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="686">the value to append</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="concat" c:identifier="gst_value_list_concat">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="725">Concatenates copies of @value1 and @value2 into a list. Values that are not
|
|
of type #GST_TYPE_LIST are treated as if they were lists of length 1.
|
|
@dest will be initialized to the type #GST_TYPE_LIST.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="584"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="dest"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="727">an uninitialized #GValue to take the result</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="value1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="728">a #GValue</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
<parameter name="value2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="729">a #GValue</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="get_size" c:identifier="gst_value_list_get_size">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="929">Gets the number of values contained in @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="592"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="935">the number of values</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="931">a #GValue of type #GST_TYPE_LIST</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="get_value" c:identifier="gst_value_list_get_value">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="945">Gets the value that is a member of the list contained in @value and
|
|
has the index @index.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="595"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="953">the value at the given index</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="947">a #GValue of type #GST_TYPE_LIST</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
<parameter name="index" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="948">index of value to get from the list</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="init" c:identifier="gst_value_list_init" version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="292">Initializes and pre-allocates a #GValue of type #GST_VALUE_LIST.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="599"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="299">The #GValue structure that has been passed in</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="294">A zero-filled (uninitialized) #GValue structure</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="prealloc" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="295">The number of entries to pre-allocate in the list</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="merge" c:identifier="gst_value_list_merge">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="828">Merges copies of @value1 and @value2. Values that are not
|
|
of type #GST_TYPE_LIST are treated as if they were lists of length 1.
|
|
|
|
The result will be put into @dest and will either be a list that will not
|
|
contain any duplicates, or a non-list type (if @value1 and @value2
|
|
were equal).</doc>
|
|
<source-position filename="gst/gstvalue.h" line="588"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="dest"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="830">an uninitialized #GValue to take the result</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="value1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="831">a #GValue</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
<parameter name="value2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="832">a #GValue</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="prepend_value"
|
|
c:identifier="gst_value_list_prepend_value">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="704">Prepends @prepend_value to the GstValueList in @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="581"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="706">a #GValue of type #GST_TYPE_LIST</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="prepend_value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="707">the value to prepend</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</class>
|
|
<callback name="ValueSerializeFunc" c:type="GstValueSerializeFunc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="451">Used by gst_value_serialize() to obtain a non-binary form of the #GValue.
|
|
|
|
Free-function: g_free</doc>
|
|
<source-position filename="gst/gstvalue.h" line="461"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="459">the string representation of the value</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="453">a #GValue</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<record name="ValueTable" c:type="GstValueTable">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="492">VTable for the #GValue @type.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="519"/>
|
|
<field name="type" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="494">a #GType</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</field>
|
|
<field name="compare" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="495">a #GstValueCompareFunc</doc>
|
|
<type name="ValueCompareFunc" c:type="GstValueCompareFunc"/>
|
|
</field>
|
|
<field name="serialize" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="496">a #GstValueSerializeFunc</doc>
|
|
<type name="ValueSerializeFunc" c:type="GstValueSerializeFunc"/>
|
|
</field>
|
|
<field name="deserialize" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="497">a #GstValueDeserializeFunc</doc>
|
|
<type name="ValueDeserializeFunc" c:type="GstValueDeserializeFunc"/>
|
|
</field>
|
|
<field name="deserialize_with_pspec" version="1.20" writable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.h"
|
|
line="508">a #GstValueDeserializeWithPSpecFunc</doc>
|
|
<type name="ValueDeserializeWithPSpecFunc"
|
|
c:type="GstValueDeserializeWithPSpecFunc"/>
|
|
</field>
|
|
<field name="_gst_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" fixed-size="3">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<function-macro name="WRITE_UINT16_BE"
|
|
c:identifier="GST_WRITE_UINT16_BE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="507">Store a 16 bit unsigned integer value in big endian format into the memory buffer.</doc>
|
|
<source-position filename="gst/gstutils.h" line="523"/>
|
|
<parameters>
|
|
<parameter name="data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="509">memory location</doc>
|
|
</parameter>
|
|
<parameter name="val">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="510">value to store</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="WRITE_UINT16_LE"
|
|
c:identifier="GST_WRITE_UINT16_LE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="514">Store a 16 bit unsigned integer value in little endian format into the memory buffer.</doc>
|
|
<source-position filename="gst/gstutils.h" line="524"/>
|
|
<parameters>
|
|
<parameter name="data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="516">memory location</doc>
|
|
</parameter>
|
|
<parameter name="val">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="517">value to store</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="WRITE_UINT24_BE"
|
|
c:identifier="GST_WRITE_UINT24_BE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="477">Store a 24 bit unsigned integer value in big endian format into the memory buffer.</doc>
|
|
<source-position filename="gst/gstutils.h" line="484"/>
|
|
<parameters>
|
|
<parameter name="data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="479">memory location</doc>
|
|
</parameter>
|
|
<parameter name="num">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="480">value to store</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="WRITE_UINT24_LE"
|
|
c:identifier="GST_WRITE_UINT24_LE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="492">Store a 24 bit unsigned integer value in little endian format into the memory buffer.</doc>
|
|
<source-position filename="gst/gstutils.h" line="499"/>
|
|
<parameters>
|
|
<parameter name="data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="494">memory location</doc>
|
|
</parameter>
|
|
<parameter name="num">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="495">value to store</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="WRITE_UINT32_BE"
|
|
c:identifier="GST_WRITE_UINT32_BE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="435">Store a 32 bit unsigned integer value in big endian format into the memory buffer.</doc>
|
|
<source-position filename="gst/gstutils.h" line="451"/>
|
|
<parameters>
|
|
<parameter name="data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="437">memory location</doc>
|
|
</parameter>
|
|
<parameter name="val">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="438">value to store</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="WRITE_UINT32_LE"
|
|
c:identifier="GST_WRITE_UINT32_LE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="442">Store a 32 bit unsigned integer value in little endian format into the memory buffer.</doc>
|
|
<source-position filename="gst/gstutils.h" line="452"/>
|
|
<parameters>
|
|
<parameter name="data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="444">memory location</doc>
|
|
</parameter>
|
|
<parameter name="val">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="445">value to store</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="WRITE_UINT64_BE"
|
|
c:identifier="GST_WRITE_UINT64_BE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="385">Store a 64 bit unsigned integer value in big endian format into the memory buffer.</doc>
|
|
<source-position filename="gst/gstutils.h" line="401"/>
|
|
<parameters>
|
|
<parameter name="data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="387">memory location</doc>
|
|
</parameter>
|
|
<parameter name="val">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="388">value to store</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="WRITE_UINT64_LE"
|
|
c:identifier="GST_WRITE_UINT64_LE"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="392">Store a 64 bit unsigned integer value in little endian format into the memory buffer.</doc>
|
|
<source-position filename="gst/gstutils.h" line="402"/>
|
|
<parameters>
|
|
<parameter name="data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="394">memory location</doc>
|
|
</parameter>
|
|
<parameter name="val">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="395">value to store</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="WRITE_UINT8"
|
|
c:identifier="GST_WRITE_UINT8"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="545">Store an 8 bit unsigned integer value into the memory buffer.</doc>
|
|
<source-position filename="gst/gstutils.h" line="552"/>
|
|
<parameters>
|
|
<parameter name="data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="547">memory location</doc>
|
|
</parameter>
|
|
<parameter name="num">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="548">value to store</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function name="buffer_get_max_memory"
|
|
c:identifier="gst_buffer_get_max_memory"
|
|
moved-to="Buffer.get_max_memory"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="500">Get the maximum amount of memory blocks that a buffer can hold. This is a
|
|
compile time constant that can be queried with the function.
|
|
|
|
When more memory blocks are added, existing memory blocks will be merged
|
|
together to make room for the new block.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="284"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="509">the maximum amount of memory blocks that a buffer can hold.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
</function>
|
|
<function-macro name="buffer_get_parent_buffer_meta"
|
|
c:identifier="gst_buffer_get_parent_buffer_meta"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="736">Find and return a #GstParentBufferMeta if one exists on the
|
|
buffer</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="742"/>
|
|
<parameters>
|
|
<parameter name="b">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="738">a #GstBuffer</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="buffer_get_protection_meta"
|
|
c:identifier="gst_buffer_get_protection_meta"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstprotection.h" line="81"/>
|
|
<parameters>
|
|
<parameter name="b">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="buffer_is_writable"
|
|
c:identifier="gst_buffer_is_writable"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="545">Tests if you can safely write to a buffer's metadata or its memory array.
|
|
It is only safe to change buffer metadata when the current reference is
|
|
writable, i.e. nobody can see the modifications you will make.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="552"/>
|
|
<parameters>
|
|
<parameter name="buf">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="547">a #GstBuffer</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="buffer_list_add"
|
|
c:identifier="gst_buffer_list_add"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="402">Append @b at the end of @l.</doc>
|
|
<source-position filename="gst/gstbufferlist.h" line="239"/>
|
|
<parameters>
|
|
<parameter name="l">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="404">a #GstBufferList</doc>
|
|
</parameter>
|
|
<parameter name="b">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.c"
|
|
line="405">a #GstBuffer</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="buffer_list_is_writable"
|
|
c:identifier="gst_buffer_list_is_writable"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.h"
|
|
line="182">Tests if you can safely add buffers and groups into a buffer list.</doc>
|
|
<source-position filename="gst/gstbufferlist.h" line="188"/>
|
|
<parameters>
|
|
<parameter name="list">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.h"
|
|
line="184">a #GstBufferList</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="buffer_list_make_writable"
|
|
c:identifier="gst_buffer_list_make_writable"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.h"
|
|
line="190">Makes a writable buffer list from the given buffer list. If the source buffer
|
|
list is already writable, this will simply return the same buffer list. A
|
|
copy will otherwise be made using gst_buffer_list_copy().</doc>
|
|
<source-position filename="gst/gstbufferlist.h" line="201"/>
|
|
<parameters>
|
|
<parameter name="list">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbufferlist.h"
|
|
line="192">a #GstBufferList</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="buffer_make_writable"
|
|
c:identifier="gst_buffer_make_writable"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="554">Returns a writable copy of @buf. If the source buffer is
|
|
already writable, this will simply return the same buffer.
|
|
|
|
Use this function to ensure that a buffer can be safely modified before
|
|
making changes to it, including changing the metadata such as PTS/DTS.
|
|
|
|
If the reference count of the source buffer @buf is exactly one, the caller
|
|
is the sole owner and this function will return the buffer object unchanged.
|
|
|
|
If there is more than one reference on the object, a copy will be made using
|
|
gst_buffer_copy(). The passed-in @buf will be unreffed in that case, and the
|
|
caller will now own a reference to the new returned buffer object. Note
|
|
that this just copies the buffer structure itself, the underlying memory is
|
|
not copied if it can be shared amongst multiple buffers.
|
|
|
|
In short, this function unrefs the buf in the argument and refs the buffer
|
|
that it returns. Don't access the argument after calling this function unless
|
|
you have an additional reference to it.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="579"/>
|
|
<parameters>
|
|
<parameter name="buf">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="556">a #GstBuffer</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="buffer_new_and_alloc"
|
|
c:identifier="gst_buffer_new_and_alloc"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcompat.h" line="42"/>
|
|
<parameters>
|
|
<parameter name="s">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function name="buffer_replace"
|
|
c:identifier="gst_buffer_replace"
|
|
moved-to="Buffer.replace"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="582">Modifies a pointer to a #GstBuffer to point to a different #GstBuffer. The
|
|
modification is done atomically (so this is useful for ensuring thread safety
|
|
in some cases), and the reference counts are updated appropriately (the old
|
|
buffer is unreffed, the new is reffed).
|
|
|
|
Either @nbuf or the #GstBuffer pointed to by @obuf may be %NULL.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="598"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="596">%TRUE when @obuf was different from @nbuf.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="obuf"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="584">pointer to a pointer to
|
|
a #GstBuffer to be replaced.</doc>
|
|
<type name="Buffer" c:type="GstBuffer**"/>
|
|
</parameter>
|
|
<parameter name="nbuf"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="586">pointer to a #GstBuffer that will
|
|
replace the buffer pointed to by @obuf.</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="calculate_linear_regression"
|
|
c:identifier="gst_calculate_linear_regression"
|
|
version="1.12"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4278">Calculates the linear regression of the values @xy and places the
|
|
result in @m_num, @m_denom, @b and @xbase, representing the function
|
|
y(x) = m_num/m_denom * (x - xbase) + b
|
|
that has the least-square distance from all points @x and @y.
|
|
|
|
@r_squared will contain the remaining error.
|
|
|
|
If @temp is not %NULL, it will be used as temporary space for the function,
|
|
in which case the function works without any allocation at all. If @temp is
|
|
%NULL, an allocation will take place. @temp should have at least the same
|
|
amount of memory allocated as @xy, i.e. 2*n*sizeof(GstClockTime).
|
|
|
|
> This function assumes (x,y) values with reasonable large differences
|
|
> between them. It will not calculate the exact results if the differences
|
|
> between neighbouring values are too small due to not being able to
|
|
> represent sub-integer values during the calculations.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1216"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4306">%TRUE if the linear regression was successfully calculated</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="xy" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4280">Pairs of (x,y) values</doc>
|
|
<type name="ClockTime" c:type="const GstClockTime*"/>
|
|
</parameter>
|
|
<parameter name="temp" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4281">Temporary scratch space used by the function</doc>
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
<parameter name="n" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4282">number of (x,y) pairs</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="m_num"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4283">numerator of calculated slope</doc>
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
<parameter name="m_denom"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4284">denominator of calculated slope</doc>
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
<parameter name="b"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4285">Offset at Y-axis</doc>
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
<parameter name="xbase"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4286">Offset at X-axis</doc>
|
|
<type name="ClockTime" c:type="GstClockTime*"/>
|
|
</parameter>
|
|
<parameter name="r_squared"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4287">R-squared</doc>
|
|
<type name="gdouble" c:type="gdouble*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="caps_features_from_string"
|
|
c:identifier="gst_caps_features_from_string"
|
|
moved-to="CapsFeatures.from_string"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="486">Creates a #GstCapsFeatures from a string representation.
|
|
|
|
Free-function: gst_caps_features_free</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="85"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="494">a new #GstCapsFeatures or
|
|
%NULL when the string could not be parsed. Free with
|
|
gst_caps_features_free() after use.</doc>
|
|
<type name="CapsFeatures" c:type="GstCapsFeatures*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="features" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="488">a string representation of a #GstCapsFeatures.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="caps_from_string"
|
|
c:identifier="gst_caps_from_string"
|
|
moved-to="Caps.from_string">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2476">Converts @caps from a string representation.
|
|
|
|
The current implementation of serialization will lead to unexpected results
|
|
when there are nested #GstCaps / #GstStructure deeper than one level.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="581"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2485">a newly allocated #GstCaps</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="string" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.c"
|
|
line="2478">a string to convert to #GstCaps</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function-macro name="caps_is_writable"
|
|
c:identifier="gst_caps_is_writable"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="253">Tests if you can safely modify @caps. It is only safe to modify caps when
|
|
there is only one owner of the caps - ie, the object is writable.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="260"/>
|
|
<parameters>
|
|
<parameter name="caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="255">a #GstCaps</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="caps_make_writable"
|
|
c:identifier="gst_caps_make_writable"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="262">Returns a writable copy of @caps.
|
|
|
|
If there is only one reference count on @caps, the caller must be the owner,
|
|
and so this function will return the caps object unchanged. If on the other
|
|
hand there is more than one reference on the object, a new caps object will
|
|
be returned. The caller's reference on @caps will be removed, and instead the
|
|
caller will own a reference to the returned object.
|
|
|
|
In short, this function unrefs the caps in the argument and refs the caps
|
|
that it returns. Don't access the argument after calling this function. See
|
|
also: gst_caps_ref().</doc>
|
|
<source-position filename="gst/gstcaps.h" line="281"/>
|
|
<parameters>
|
|
<parameter name="caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="264">a #GstCaps</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function name="caps_replace"
|
|
c:identifier="gst_caps_replace"
|
|
moved-to="Caps.replace"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="283">Modifies a pointer to a #GstCaps to point to a different #GstCaps. The
|
|
modification is done atomically (so this is useful for ensuring thread safety
|
|
in some cases), and the reference counts are updated appropriately (the old
|
|
caps is unreffed, the new is reffed).
|
|
|
|
Either @new_caps or the #GstCaps pointed to by @old_caps may be %NULL.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="299"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="297">%TRUE if @new_caps was different from @old_caps</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="old_caps"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="285">pointer to a pointer
|
|
to a #GstCaps to be replaced.</doc>
|
|
<type name="Caps" c:type="GstCaps**"/>
|
|
</parameter>
|
|
<parameter name="new_caps"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="287">pointer to a #GstCaps that will
|
|
replace the caps pointed to by @old_caps.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="caps_take"
|
|
c:identifier="gst_caps_take"
|
|
moved-to="Caps.take"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="306">Modifies a pointer to a #GstCaps to point to a different #GstCaps. This
|
|
function is similar to gst_caps_replace() except that it takes ownership
|
|
of @new_caps.</doc>
|
|
<source-position filename="gst/gstcaps.h" line="319"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="317">%TRUE if @new_caps was different from @old_caps</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="old_caps"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="308">pointer to a pointer to a #GstCaps to be
|
|
replaced.</doc>
|
|
<type name="Caps" c:type="GstCaps**"/>
|
|
</parameter>
|
|
<parameter name="new_caps"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcaps.h"
|
|
line="310">pointer to a #GstCaps that will
|
|
replace the caps pointed to by @old_caps.</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="clear_mini_object"
|
|
c:identifier="gst_clear_mini_object"
|
|
version="1.16"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="676">Clears a reference to a #GstMiniObject.
|
|
|
|
@object_ptr must not be %NULL.
|
|
|
|
If the reference is %NULL then this function does nothing.
|
|
Otherwise, the reference count of the object is decreased using
|
|
gst_mini_object_unref() and the pointer is set to %NULL.
|
|
|
|
A macro is also included that allows this function to be used without
|
|
pointer casts.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="238"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="object_ptr" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="678">a pointer to a #GstMiniObject reference</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="clear_object"
|
|
c:identifier="gst_clear_object"
|
|
version="1.16"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="299">Clears a reference to a #GstObject.
|
|
|
|
@object_ptr must not be %NULL.
|
|
|
|
If the reference is %NULL then this function does nothing.
|
|
Otherwise, the reference count of the object is decreased using
|
|
gst_object_unref() and the pointer is set to %NULL.
|
|
|
|
A macro is also included that allows this function to be used without
|
|
pointer casts.</doc>
|
|
<source-position filename="gst/gstobject.h" line="258"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="object_ptr" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstobject.c"
|
|
line="301">a pointer to a #GstObject reference</doc>
|
|
<type name="Object" c:type="GstObject**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="clear_structure"
|
|
c:identifier="gst_clear_structure"
|
|
version="1.16"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="549">Clears a reference to a #GstStructure.
|
|
|
|
@structure_ptr must not be %NULL.
|
|
|
|
If the reference is %NULL then this function does nothing.
|
|
Otherwise, the structure is free'd using gst_structure_free() and the
|
|
pointer is set to %NULL.
|
|
|
|
A macro is also included that allows this function to be used without
|
|
pointer casts.</doc>
|
|
<source-position filename="gst/gststructure.h" line="137"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="structure_ptr" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="551">a pointer to a #GstStructure reference</doc>
|
|
<type name="Structure" c:type="GstStructure**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function-macro name="context_is_writable"
|
|
c:identifier="gst_context_is_writable"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.h"
|
|
line="94">Tests if you can safely write into a context's structure or validly
|
|
modify the seqnum and timestamp fields.</doc>
|
|
<source-position filename="gst/gstcontext.h" line="101"/>
|
|
<parameters>
|
|
<parameter name="context">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.h"
|
|
line="96">a #GstContext</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="context_make_writable"
|
|
c:identifier="gst_context_make_writable"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.h"
|
|
line="102">Checks if a context is writable. If not, a writable copy is made and
|
|
returned.</doc>
|
|
<source-position filename="gst/gstcontext.h" line="113"/>
|
|
<parameters>
|
|
<parameter name="context">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcontext.h"
|
|
line="104">the context to make writable</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function name="core_error_quark"
|
|
c:identifier="gst_core_error_quark"
|
|
moved-to="CoreError.quark">
|
|
<attribute name="doc.skip" value="true"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="debug_add_log_function"
|
|
c:identifier="gst_debug_add_log_function">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1374">Adds the logging function to the list of logging functions.
|
|
Be sure to use #G_GNUC_NO_INSTRUMENT on that function, it is needed.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="440"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="notified"
|
|
closure="1"
|
|
destroy="2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1376">the function to use</doc>
|
|
<type name="LogFunction" c:type="GstLogFunction"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1377">user data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="notify" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1378">called when @user_data is not used anymore</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="debug_add_ring_buffer_logger"
|
|
c:identifier="gst_debug_add_ring_buffer_logger"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="3365">Adds a memory ringbuffer based debug logger that stores up to
|
|
@max_size_per_thread bytes of logs per thread and times out threads after
|
|
@thread_timeout seconds of inactivity.
|
|
|
|
Logs can be fetched with gst_debug_ring_buffer_logger_get_logs() and the
|
|
logger can be removed again with gst_debug_remove_ring_buffer_logger().
|
|
Only one logger at a time is possible.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="1794"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="max_size_per_thread" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="3367">Maximum size of log per thread in bytes</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="thread_timeout" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="3368">Timeout for threads in seconds</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="debug_bin_to_dot_data"
|
|
c:identifier="gst_debug_bin_to_dot_data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.c"
|
|
line="796">To aid debugging applications one can use this method to obtain the whole
|
|
network of gstreamer elements that form the pipeline into an dot file.
|
|
This data can be processed with graphviz to get an image.</doc>
|
|
<source-position filename="gst/gstdebugutils.h" line="65"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.c"
|
|
line="805">a string containing the pipeline in graphviz
|
|
dot format.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="bin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.c"
|
|
line="798">the top-level pipeline that should be analyzed</doc>
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</parameter>
|
|
<parameter name="details" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.c"
|
|
line="799">type of #GstDebugGraphDetails to use</doc>
|
|
<type name="DebugGraphDetails" c:type="GstDebugGraphDetails"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="debug_bin_to_dot_file"
|
|
c:identifier="gst_debug_bin_to_dot_file">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.c"
|
|
line="824">To aid debugging applications one can use this method to write out the whole
|
|
network of gstreamer elements that form the pipeline into an dot file.
|
|
This file can be processed with graphviz to get an image.
|
|
|
|
``` shell
|
|
dot -Tpng -oimage.png graph_lowlevel.dot
|
|
```</doc>
|
|
<source-position filename="gst/gstdebugutils.h" line="68"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="bin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.c"
|
|
line="826">the top-level pipeline that should be analyzed</doc>
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</parameter>
|
|
<parameter name="details" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.c"
|
|
line="827">type of #GstDebugGraphDetails to use</doc>
|
|
<type name="DebugGraphDetails" c:type="GstDebugGraphDetails"/>
|
|
</parameter>
|
|
<parameter name="file_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.c"
|
|
line="828">output base filename (e.g. "myplayer")</doc>
|
|
<type name="filename" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="debug_bin_to_dot_file_with_ts"
|
|
c:identifier="gst_debug_bin_to_dot_file_with_ts">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.c"
|
|
line="876">This works like gst_debug_bin_to_dot_file(), but adds the current timestamp
|
|
to the filename, so that it can be used to take multiple snapshots.</doc>
|
|
<source-position filename="gst/gstdebugutils.h" line="71"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="bin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.c"
|
|
line="878">the top-level pipeline that should be analyzed</doc>
|
|
<type name="Bin" c:type="GstBin*"/>
|
|
</parameter>
|
|
<parameter name="details" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.c"
|
|
line="879">type of #GstDebugGraphDetails to use</doc>
|
|
<type name="DebugGraphDetails" c:type="GstDebugGraphDetails"/>
|
|
</parameter>
|
|
<parameter name="file_name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdebugutils.c"
|
|
line="880">output base filename (e.g. "myplayer")</doc>
|
|
<type name="filename" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="debug_construct_term_color"
|
|
c:identifier="gst_debug_construct_term_color">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="955">Constructs a string that can be used for getting the desired color in color
|
|
terminals.
|
|
You need to free the string after use.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="512"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="963">a string containing the color
|
|
definition</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="colorinfo" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="957">the color info</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="debug_construct_win_color"
|
|
c:identifier="gst_debug_construct_win_color">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="991">Constructs an integer that can be used for getting the desired color in
|
|
windows' terminals (cmd.exe). As there is no mean to underline, we simply
|
|
ignore this attribute.
|
|
|
|
This function returns 0 on non-windows machines.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="515"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1001">an integer containing the color definition</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="colorinfo" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="993">the color info</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="debug_get_all_categories"
|
|
c:identifier="gst_debug_get_all_categories">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1937">Returns a snapshot of a all categories that are currently in use . This list
|
|
may change anytime.
|
|
The caller has to free the list after use.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="508"/>
|
|
<return-value transfer-ownership="container">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1944">the list of
|
|
debug categories</doc>
|
|
<type name="GLib.SList" c:type="GSList*">
|
|
<type name="DebugCategory"/>
|
|
</type>
|
|
</return-value>
|
|
</function>
|
|
<function name="debug_get_color_mode"
|
|
c:identifier="gst_debug_get_color_mode"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1597">Changes the coloring mode for debug output.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="468"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1602">see @GstDebugColorMode for possible values.</doc>
|
|
<type name="DebugColorMode" c:type="GstDebugColorMode"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="debug_get_default_threshold"
|
|
c:identifier="gst_debug_get_default_threshold">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1661">Returns the default threshold that is used for new categories.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="474"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1666">the default threshold level</doc>
|
|
<type name="DebugLevel" c:type="GstDebugLevel"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="debug_get_stack_trace"
|
|
c:identifier="gst_debug_get_stack_trace"
|
|
version="1.12">
|
|
<source-position filename="gst/gstinfo.h" line="1791"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="3097">a stack trace, if libunwind or glibc backtrace are
|
|
present, else %NULL.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="3094">A set of #GstStackTraceFlags to determine how the stack trace should
|
|
look like. Pass #GST_STACK_TRACE_SHOW_NONE to retrieve a minimal backtrace.</doc>
|
|
<type name="StackTraceFlags" c:type="GstStackTraceFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="debug_is_active" c:identifier="gst_debug_is_active">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1632">Checks if debugging output is activated.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="453"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1637">%TRUE, if debugging is activated</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="debug_is_colored" c:identifier="gst_debug_is_colored">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1583">Checks if the debugging output should be colored.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="465"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1588">%TRUE, if the debug output should be colored.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="debug_level_get_name"
|
|
c:identifier="gst_debug_level_get_name"
|
|
moved-to="DebugLevel.get_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1338">Get the string representation of a debugging level</doc>
|
|
<source-position filename="gst/gstinfo.h" line="437"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1344">the name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="level" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1340">the level to get the name for</doc>
|
|
<type name="DebugLevel" c:type="GstDebugLevel"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="debug_log" c:identifier="gst_debug_log" introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="458">Logs the given message using the currently registered debugging handlers.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="358"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="category" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="460">category to log</doc>
|
|
<type name="DebugCategory" c:type="GstDebugCategory*"/>
|
|
</parameter>
|
|
<parameter name="level" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="461">level of the message is in</doc>
|
|
<type name="DebugLevel" c:type="GstDebugLevel"/>
|
|
</parameter>
|
|
<parameter name="file" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="462">the file that emitted the message, usually the __FILE__ identifier</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="function" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="463">the function that emitted the message</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="line" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="464">the line from that the message was emitted, usually __LINE__</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="object"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="465">the object this message relates to,
|
|
or %NULL if none</doc>
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="467">a printf style format string</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="468">optional arguments for the format</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="debug_log_default" c:identifier="gst_debug_log_default">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1217">The default logging handler used by GStreamer. Logging functions get called
|
|
whenever a macro like GST_DEBUG or similar is used. By default this function
|
|
is setup to output the message and additional info to stderr (or the log file
|
|
specified via the GST_DEBUG_FILE environment variable) as received via
|
|
@user_data.
|
|
|
|
You can add other handlers by using gst_debug_add_log_function().
|
|
And you can remove this handler by calling
|
|
gst_debug_remove_log_function(gst_debug_log_default);</doc>
|
|
<source-position filename="gst/gstinfo.h" line="427"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="category" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1219">category to log</doc>
|
|
<type name="DebugCategory" c:type="GstDebugCategory*"/>
|
|
</parameter>
|
|
<parameter name="level" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1220">level of the message</doc>
|
|
<type name="DebugLevel" c:type="GstDebugLevel"/>
|
|
</parameter>
|
|
<parameter name="file" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1221">the file that emitted the message, usually the __FILE__ identifier</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="function" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1222">the function that emitted the message</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="line" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1223">the line from that the message was emitted, usually __LINE__</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="object"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1225">the object this message relates to,
|
|
or %NULL if none</doc>
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</parameter>
|
|
<parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1224">the actual message</doc>
|
|
<type name="DebugMessage" c:type="GstDebugMessage*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1227">the FILE* to log to</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="debug_log_get_line"
|
|
c:identifier="gst_debug_log_get_line"
|
|
version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1139">Returns the string representation for the specified debug log message
|
|
formatted in the same way as gst_debug_log_default() (the default handler),
|
|
without color. The purpose is to make it easy for custom log output
|
|
handlers to get a log output that is identical to what the default handler
|
|
would write out.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="418"/>
|
|
<return-value transfer-ownership="full">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="category" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1141">category to log</doc>
|
|
<type name="DebugCategory" c:type="GstDebugCategory*"/>
|
|
</parameter>
|
|
<parameter name="level" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1142">level of the message</doc>
|
|
<type name="DebugLevel" c:type="GstDebugLevel"/>
|
|
</parameter>
|
|
<parameter name="file" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1143">the file that emitted the message, usually the __FILE__ identifier</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="function" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1144">the function that emitted the message</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="line" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1145">the line from that the message was emitted, usually __LINE__</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="object"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1146">the object this message relates to,
|
|
or %NULL if none</doc>
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</parameter>
|
|
<parameter name="message" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1148">the actual message</doc>
|
|
<type name="DebugMessage" c:type="GstDebugMessage*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="debug_log_valist"
|
|
c:identifier="gst_debug_log_valist"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="508">Logs the given message using the currently registered debugging handlers.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="367"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="category" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="510">category to log</doc>
|
|
<type name="DebugCategory" c:type="GstDebugCategory*"/>
|
|
</parameter>
|
|
<parameter name="level" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="511">level of the message is in</doc>
|
|
<type name="DebugLevel" c:type="GstDebugLevel"/>
|
|
</parameter>
|
|
<parameter name="file" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="512">the file that emitted the message, usually the __FILE__ identifier</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="function" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="513">the function that emitted the message</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="line" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="514">the line from that the message was emitted, usually __LINE__</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="object"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="515">the object this message relates to,
|
|
or %NULL if none</doc>
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="517">a printf style format string</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="args" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="518">optional arguments for the format</doc>
|
|
<type name="va_list" c:type="va_list"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="debug_print_stack_trace"
|
|
c:identifier="gst_debug_print_stack_trace">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="3127">If libunwind, glibc backtrace or DbgHelp are present
|
|
a stack trace is printed.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="1788"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="debug_remove_log_function"
|
|
c:identifier="gst_debug_remove_log_function">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1466">Removes all registered instances of the given logging functions.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="444"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1473">How many instances of the function were removed</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
scope="call">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1468">the log function to remove, or %NULL to
|
|
remove the default log function</doc>
|
|
<type name="LogFunction" c:type="GstLogFunction"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="debug_remove_log_function_by_data"
|
|
c:identifier="gst_debug_remove_log_function_by_data">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1502">Removes all registered instances of log functions with the given user data.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="447"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1508">How many instances of the function were removed</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1504">user data of the log function to remove</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="debug_remove_ring_buffer_logger"
|
|
c:identifier="gst_debug_remove_ring_buffer_logger"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="3406">Removes any previously added ring buffer logger with
|
|
gst_debug_add_ring_buffer_logger().</doc>
|
|
<source-position filename="gst/gstinfo.h" line="1796"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="debug_ring_buffer_logger_get_logs"
|
|
c:identifier="gst_debug_ring_buffer_logger_get_logs"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="3299">Fetches the current logs per thread from the ring buffer logger. See
|
|
gst_debug_add_ring_buffer_logger() for details.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="1798"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="3305">NULL-terminated array of
|
|
strings with the debug output per thread</doc>
|
|
<array c:type="gchar**">
|
|
<type name="utf8"/>
|
|
</array>
|
|
</return-value>
|
|
</function>
|
|
<function name="debug_set_active" c:identifier="gst_debug_set_active">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1612">If activated, debugging messages are sent to the debugging
|
|
handlers.
|
|
It makes sense to deactivate it for speed issues.
|
|
> This function is not threadsafe. It makes sense to only call it
|
|
during initialization.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="450"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="active" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1614">Whether to use debugging output or not</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="debug_set_color_mode"
|
|
c:identifier="gst_debug_set_color_mode"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1545">Changes the coloring mode for debug output.
|
|
|
|
This function may be called before gst_init().</doc>
|
|
<source-position filename="gst/gstinfo.h" line="459"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1547">The coloring mode for debug output. See @GstDebugColorMode.</doc>
|
|
<type name="DebugColorMode" c:type="GstDebugColorMode"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="debug_set_color_mode_from_string"
|
|
c:identifier="gst_debug_set_color_mode_from_string"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1561">Changes the coloring mode for debug output.
|
|
|
|
This function may be called before gst_init().</doc>
|
|
<source-position filename="gst/gstinfo.h" line="462"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1563">The coloring mode for debug output. One of the following:
|
|
"on", "auto", "off", "disable", "unix".</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="debug_set_colored" c:identifier="gst_debug_set_colored">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1527">Sets or unsets the use of coloured debugging output.
|
|
Same as gst_debug_set_color_mode () with the argument being
|
|
being GST_DEBUG_COLOR_MODE_ON or GST_DEBUG_COLOR_MODE_OFF.
|
|
|
|
This function may be called before gst_init().</doc>
|
|
<source-position filename="gst/gstinfo.h" line="456"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="colored" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1529">Whether to use colored output or not</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="debug_set_default_threshold"
|
|
c:identifier="gst_debug_set_default_threshold">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1645">Sets the default threshold to the given level and updates all categories to
|
|
use this threshold.
|
|
|
|
This function may be called before gst_init().</doc>
|
|
<source-position filename="gst/gstinfo.h" line="471"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="level" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1647">level to set</doc>
|
|
<type name="DebugLevel" c:type="GstDebugLevel"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="debug_set_threshold_for_name"
|
|
c:identifier="gst_debug_set_threshold_for_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1724">Sets all categories which match the given glob style pattern to the given
|
|
level.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="477"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1726">name of the categories to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="level" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1727">level to set them to</doc>
|
|
<type name="DebugLevel" c:type="GstDebugLevel"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="debug_set_threshold_from_string"
|
|
c:identifier="gst_debug_set_threshold_from_string"
|
|
version="1.2">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2043">Sets the debug logging wanted in the same form as with the GST_DEBUG
|
|
environment variable. You can use wildcards such as '*', but note that
|
|
the order matters when you use wild cards, e.g. "foosrc:6,*src:3,*:2" sets
|
|
everything to log level 2.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="480"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2045">comma-separated list of "category:level" pairs to be used
|
|
as debug logging levels</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="reset" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2047">%TRUE to clear all previously-set debug levels before setting
|
|
new thresholds
|
|
%FALSE if adding the threshold described by @list to the one already set.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="debug_unset_threshold_for_name"
|
|
c:identifier="gst_debug_unset_threshold_for_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1752">Resets all categories with the given name back to the default level.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="483"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="1754">name of the categories to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="deinit" c:identifier="gst_deinit">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="1086">Clean up any resources created by GStreamer in gst_init().
|
|
|
|
It is normally not needed to call this function in a normal application
|
|
as the resources will automatically be freed when the program terminates.
|
|
This function is therefore mostly used by testsuites and other memory
|
|
profiling tools.
|
|
|
|
After this call GStreamer (including this method) should not be used anymore.</doc>
|
|
<source-position filename="gst/gst.h" line="113"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="dynamic_type_register"
|
|
c:identifier="gst_dynamic_type_register"
|
|
version="1.12">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdynamictypefactory.c"
|
|
line="144">Registers a new #GstDynamicTypeFactory in the registry</doc>
|
|
<source-position filename="gst/gstdynamictypefactory.h" line="57"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="plugin" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdynamictypefactory.c"
|
|
line="146">The #GstPlugin to register @dyn_type for</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstdynamictypefactory.c"
|
|
line="147">The #GType to register dynamically</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function-macro name="element_factory_get_author"
|
|
c:identifier="gst_element_factory_get_author"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcompat.h" line="75"/>
|
|
<parameters>
|
|
<parameter name="f">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="element_factory_get_description"
|
|
c:identifier="gst_element_factory_get_description"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcompat.h" line="74"/>
|
|
<parameters>
|
|
<parameter name="f">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="element_factory_get_documentation_uri"
|
|
c:identifier="gst_element_factory_get_documentation_uri"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcompat.h" line="76"/>
|
|
<parameters>
|
|
<parameter name="f">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="element_factory_get_icon_name"
|
|
c:identifier="gst_element_factory_get_icon_name"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcompat.h" line="77"/>
|
|
<parameters>
|
|
<parameter name="f">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="element_factory_get_klass"
|
|
c:identifier="gst_element_factory_get_klass"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcompat.h" line="73"/>
|
|
<parameters>
|
|
<parameter name="f">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="element_factory_get_longname"
|
|
c:identifier="gst_element_factory_get_longname"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcompat.h" line="72"/>
|
|
<parameters>
|
|
<parameter name="f">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="element_get_name"
|
|
c:identifier="gst_element_get_name"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="797">Returns a copy of the name of @elem.
|
|
Caller should g_free() the return value after usage.
|
|
For a nameless element, this returns %NULL, which you can safely g_free()
|
|
as well.</doc>
|
|
<source-position filename="gst/gstelement.h" line="810"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="799">a #GstElement to get the name of @elem.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="element_get_parent"
|
|
c:identifier="gst_element_get_parent"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="821">Get the parent of an element.</doc>
|
|
<source-position filename="gst/gstelement.h" line="829"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="823">a #GstElement to get the parent of.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="element_set_name"
|
|
c:identifier="gst_element_set_name"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="812">Sets the name of the element, getting rid of the old name if there was one.</doc>
|
|
<source-position filename="gst/gstelement.h" line="819"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="814">a #GstElement to set the name of.</doc>
|
|
</parameter>
|
|
<parameter name="name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="815">the new name</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="element_set_parent"
|
|
c:identifier="gst_element_set_parent"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="831">Sets the parent of an element.</doc>
|
|
<source-position filename="gst/gstelement.h" line="838"/>
|
|
<parameters>
|
|
<parameter name="elem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="833">a #GstElement to set the parent of.</doc>
|
|
</parameter>
|
|
<parameter name="parent">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.h"
|
|
line="834">the new parent #GstObject of the element.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function name="error_get_message" c:identifier="gst_error_get_message">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.c"
|
|
line="286">Get a string describing the error message in the current locale.</doc>
|
|
<source-position filename="gst/gsterror.h" line="246"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.c"
|
|
line="293">a newly allocated string describing
|
|
the error message (in UTF-8 encoding)</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="domain" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.c"
|
|
line="288">the GStreamer error domain this error belongs to.</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
<parameter name="code" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.c"
|
|
line="289">the error code belonging to the domain.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function-macro name="event_is_writable"
|
|
c:identifier="gst_event_is_writable"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="304">Tests if you can safely write data into a event's structure or validly
|
|
modify the seqnum and timestamp field.</doc>
|
|
<source-position filename="gst/gstevent.h" line="310"/>
|
|
<parameters>
|
|
<parameter name="ev">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="306">a #GstEvent</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="event_make_writable"
|
|
c:identifier="gst_event_make_writable"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="312">Makes a writable event from the given event. If the source event is
|
|
already writable, this will simply return the same event. A copy will
|
|
otherwise be made using gst_event_copy().</doc>
|
|
<source-position filename="gst/gstevent.h" line="322"/>
|
|
<parameters>
|
|
<parameter name="ev">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="314">a #GstEvent</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function name="event_replace"
|
|
c:identifier="gst_event_replace"
|
|
moved-to="Event.replace"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="324">Modifies a pointer to a #GstEvent to point to a different #GstEvent. The
|
|
modification is done atomically (so this is useful for ensuring thread safety
|
|
in some cases), and the reference counts are updated appropriately (the old
|
|
event is unreffed, the new one is reffed).
|
|
|
|
Either @new_event or the #GstEvent pointed to by @old_event may be %NULL.</doc>
|
|
<source-position filename="gst/gstevent.h" line="340"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="338">%TRUE if @new_event was different from @old_event</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="old_event"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="326">pointer to a
|
|
pointer to a #GstEvent to be replaced.</doc>
|
|
<type name="Event" c:type="GstEvent**"/>
|
|
</parameter>
|
|
<parameter name="new_event"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="328">pointer to a #GstEvent that will
|
|
replace the event pointed to by @old_event.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="event_steal"
|
|
c:identifier="gst_event_steal"
|
|
moved-to="Event.steal"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="347">Atomically replace the #GstEvent pointed to by @old_event with %NULL and
|
|
return the original event.</doc>
|
|
<source-position filename="gst/gstevent.h" line="357"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="355">the #GstEvent that was in @old_event</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="old_event"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="349">pointer to a
|
|
pointer to a #GstEvent to be stolen.</doc>
|
|
<type name="Event" c:type="GstEvent**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="event_take"
|
|
c:identifier="gst_event_take"
|
|
moved-to="Event.take"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="364">Modifies a pointer to a #GstEvent to point to a different #GstEvent. This
|
|
function is similar to gst_event_replace() except that it takes ownership of
|
|
@new_event.
|
|
|
|
Either @new_event or the #GstEvent pointed to by @old_event may be %NULL.</doc>
|
|
<source-position filename="gst/gstevent.h" line="379"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="377">%TRUE if @new_event was different from @old_event</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="old_event"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="366">pointer to a
|
|
pointer to a #GstEvent to be stolen.</doc>
|
|
<type name="Event" c:type="GstEvent**"/>
|
|
</parameter>
|
|
<parameter name="new_event"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.h"
|
|
line="368">pointer to a #GstEvent that will
|
|
replace the event pointed to by @old_event.</doc>
|
|
<type name="Event" c:type="GstEvent*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="event_type_get_flags"
|
|
c:identifier="gst_event_type_get_flags"
|
|
moved-to="EventType.get_flags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="198">Gets the #GstEventTypeFlags associated with @type.</doc>
|
|
<source-position filename="gst/gstevent.h" line="448"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="204">a #GstEventTypeFlags.</doc>
|
|
<type name="EventTypeFlags" c:type="GstEventTypeFlags"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="200">a #GstEventType</doc>
|
|
<type name="EventType" c:type="GstEventType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="event_type_get_name"
|
|
c:identifier="gst_event_type_get_name"
|
|
moved-to="EventType.get_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="158">Get a printable name for the given event type. Do not modify or free.</doc>
|
|
<source-position filename="gst/gstevent.h" line="441"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="164">a reference to the static name of the event.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="160">the event type</doc>
|
|
<type name="EventType" c:type="GstEventType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="event_type_to_quark"
|
|
c:identifier="gst_event_type_to_quark"
|
|
moved-to="EventType.to_quark">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="178">Get the unique quark for the given event type.</doc>
|
|
<source-position filename="gst/gstevent.h" line="444"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="184">the quark associated with the event type</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstevent.c"
|
|
line="180">the event type</doc>
|
|
<type name="EventType" c:type="GstEventType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="filename_to_uri"
|
|
c:identifier="gst_filename_to_uri"
|
|
throws="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="893">Similar to g_filename_to_uri(), but attempts to handle relative file paths
|
|
as well. Before converting @filename into an URI, it will be prefixed by
|
|
the current working directory if it is a relative path, and then the path
|
|
will be canonicalised so that it doesn't contain any './' or '../' segments.
|
|
|
|
On Windows @filename should be in UTF-8 encoding.</doc>
|
|
<source-position filename="gst/gsturi.h" line="158"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="905">newly-allocated URI string, or NULL on error. The caller must
|
|
free the URI string with g_free() when no longer needed.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="filename" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="895">absolute or relative file name path</doc>
|
|
<type name="filename" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="flow_get_name" c:identifier="gst_flow_get_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="226">Gets a string representing the given flow return.</doc>
|
|
<source-position filename="gst/gstpad.h" line="186"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="232">a static string with the name of the flow return.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="ret" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="228">a #GstFlowReturn to get the name of.</doc>
|
|
<type name="FlowReturn" c:type="GstFlowReturn"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="flow_to_quark" c:identifier="gst_flow_to_quark">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="248">Get the unique quark for the given GstFlowReturn.</doc>
|
|
<source-position filename="gst/gstpad.h" line="189"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="254">the quark associated with the flow return or 0 if an
|
|
invalid return was specified.</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="ret" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="250">a #GstFlowReturn to get the quark of.</doc>
|
|
<type name="FlowReturn" c:type="GstFlowReturn"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="format_get_by_nick"
|
|
c:identifier="gst_format_get_by_nick"
|
|
moved-to="Format.get_by_nick">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="172">Return the format registered with the given nick.</doc>
|
|
<source-position filename="gst/gstformat.h" line="108"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="178">The format with @nick or GST_FORMAT_UNDEFINED
|
|
if the format was not registered.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="nick" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="174">The nick of the format</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="format_get_details"
|
|
c:identifier="gst_format_get_details"
|
|
moved-to="Format.get_details">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="223">Get details about the given format.</doc>
|
|
<source-position filename="gst/gstformat.h" line="119"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="229">The #GstFormatDefinition for @format or %NULL
|
|
on failure.
|
|
|
|
MT safe.</doc>
|
|
<type name="FormatDefinition" c:type="const GstFormatDefinition*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="225">The format to get details of</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="format_get_name"
|
|
c:identifier="gst_format_get_name"
|
|
moved-to="Format.get_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="83">Get a printable name for the given format. Do not modify or free.</doc>
|
|
<source-position filename="gst/gstformat.h" line="96"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="89">a reference to the static name of the format
|
|
or %NULL if the format is unknown.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="85">a #GstFormat</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="format_iterate_definitions"
|
|
c:identifier="gst_format_iterate_definitions"
|
|
moved-to="Format.iterate_definitions">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="246">Iterate all the registered formats. The format definition is read
|
|
only.</doc>
|
|
<source-position filename="gst/gstformat.h" line="122"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="252">a GstIterator of #GstFormatDefinition.</doc>
|
|
<type name="Iterator" c:type="GstIterator*"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="format_register"
|
|
c:identifier="gst_format_register"
|
|
moved-to="Format.register">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="129">Create a new GstFormat based on the nick or return an
|
|
already registered format with that nick.</doc>
|
|
<source-position filename="gst/gstformat.h" line="104"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="137">A new GstFormat or an already registered format
|
|
with the same nick.
|
|
|
|
MT safe.</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="nick" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="131">The nick of the new format</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="description" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="132">The description of the new format</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="format_to_quark"
|
|
c:identifier="gst_format_to_quark"
|
|
moved-to="Format.to_quark">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="106">Get the unique quark for the given format.</doc>
|
|
<source-position filename="gst/gstformat.h" line="99"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="112">the quark associated with the format or 0 if the format
|
|
is unknown.</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="108">a #GstFormat</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="formats_contains" c:identifier="gst_formats_contains">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="198">See if the given format is inside the format array.</doc>
|
|
<source-position filename="gst/gstformat.h" line="113"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="205">%TRUE if the format is found inside the array</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="formats" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="200">The format array to search</doc>
|
|
<array c:type="const GstFormat*">
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</array>
|
|
</parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="201">the format to find</doc>
|
|
<type name="Format" c:type="GstFormat"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function-macro name="gdouble_to_guint64"
|
|
c:identifier="gst_gdouble_to_guint64"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="68">Convert @value to a guint64.</doc>
|
|
<source-position filename="gst/gstutils.h" line="77"/>
|
|
<parameters>
|
|
<parameter name="value">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="70">the #gdouble value to convert</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function name="get_main_executable_path"
|
|
c:identifier="gst_get_main_executable_path"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="367">This helper is mostly helpful for plugins that need to
|
|
inspect the folder of the main executable to determine
|
|
their set of features.
|
|
|
|
When a plugin is initialized from the gst-plugin-scanner
|
|
external process, the returned path will be the same as from the
|
|
parent process.</doc>
|
|
<source-position filename="gst/gst.h" line="137"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="378">The path of the executable that
|
|
initialized GStreamer, or %NULL if it could not be determined.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
</function>
|
|
<docsection name="gst">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="23">GStreamer is a framework for constructing graphs of various filters
|
|
(termed elements here) that will handle streaming media. Any discrete
|
|
(packetizable) media type is supported, with provisions for automatically
|
|
determining source type. Formatting/framing information is provided with
|
|
a powerful negotiation framework. Plugins are heavily used to provide for
|
|
all elements, allowing one to construct plugins outside of the GST
|
|
library, even released binary-only if license require (please don't).
|
|
GStreamer covers a wide range of use cases including: playback, recording,
|
|
editing, serving streams, voice over ip and video calls.
|
|
|
|
The `GStreamer` library should be initialized with
|
|
gst_init() before it can be used. You should pass pointers to the main argc
|
|
and argv variables so that GStreamer can process its own command line
|
|
options, as shown in the following example.
|
|
|
|
## Initializing the gstreamer library
|
|
|
|
|[ <!-- language="C" -->
|
|
int
|
|
main (int argc, char *argv[])
|
|
{
|
|
// initialize the GStreamer library
|
|
gst_init (&amp;argc, &amp;argv);
|
|
...
|
|
}
|
|
]|
|
|
|
|
It's allowed to pass two %NULL pointers to gst_init() in case you don't want
|
|
to pass the command line args to GStreamer.
|
|
|
|
You can also use GOption to initialize your own parameters as shown in
|
|
the next code fragment:
|
|
|
|
## Initializing own parameters when initializing gstreamer
|
|
|[ <!-- language="C" -->
|
|
static gboolean stats = FALSE;
|
|
...
|
|
int
|
|
main (int argc, char *argv[])
|
|
{
|
|
GOptionEntry options[] = {
|
|
{"tags", 't', 0, G_OPTION_ARG_NONE, &amp;tags,
|
|
N_("Output tags (also known as metadata)"), NULL},
|
|
{NULL}
|
|
};
|
|
ctx = g_option_context_new ("[ADDITIONAL ARGUMENTS]");
|
|
g_option_context_add_main_entries (ctx, options, GETTEXT_PACKAGE);
|
|
g_option_context_add_group (ctx, gst_init_get_option_group ());
|
|
if (!g_option_context_parse (ctx, &amp;argc, &amp;argv, &amp;err)) {
|
|
g_print ("Error initializing: &percnt;s\n", GST_STR_NULL (err->message));
|
|
exit (1);
|
|
}
|
|
g_option_context_free (ctx);
|
|
...
|
|
}
|
|
]|
|
|
|
|
Use gst_version() to query the library version at runtime or use the
|
|
GST_VERSION_* macros to find the version at compile time. Optionally
|
|
gst_version_string() returns a printable string.
|
|
|
|
The gst_deinit() call is used to clean up all internal resources used
|
|
by GStreamer. It is mostly used in unit tests to check for leaks.</doc>
|
|
</docsection>
|
|
<docsection name="gstcompat">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcompat.h"
|
|
line="26">Please do not use these in new code.
|
|
These symbols are only available by defining GST_DISABLE_DEPRECATED.
|
|
This can be done in CFLAGS for compiling old code.</doc>
|
|
</docsection>
|
|
<docsection name="gsterror">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsterror.c"
|
|
line="20">GStreamer elements can throw non-fatal warnings and fatal errors.
|
|
Higher-level elements and applications can programmatically filter
|
|
the ones they are interested in or can recover from,
|
|
and have a default handler handle the rest of them.
|
|
|
|
The rest of this section will use the term "error"
|
|
to mean both (non-fatal) warnings and (fatal) errors; they are treated
|
|
similarly.
|
|
|
|
Errors from elements are the combination of a #GError and a debug string.
|
|
The #GError contains:
|
|
- a domain type: CORE, LIBRARY, RESOURCE or STREAM
|
|
- a code: an enum value specific to the domain
|
|
- a translated, human-readable message
|
|
- a non-translated additional debug string, which also contains
|
|
- file and line information
|
|
|
|
Elements do not have the context required to decide what to do with
|
|
errors. As such, they should only inform about errors, and stop their
|
|
processing. In short, an element doesn't know what it is being used for.
|
|
|
|
It is the application or compound element using the given element that
|
|
has more context about the use of the element. Errors can be received by
|
|
listening to the #GstBus of the element/pipeline for #GstMessage objects with
|
|
the type %GST_MESSAGE_ERROR or %GST_MESSAGE_WARNING. The thrown errors should
|
|
be inspected, and filtered if appropriate.
|
|
|
|
An application is expected to, by default, present the user with a
|
|
dialog box (or an equivalent) showing the error message. The dialog
|
|
should also allow a way to get at the additional debug information,
|
|
so the user can provide bug reporting information.
|
|
|
|
A compound element is expected to forward errors by default higher up
|
|
the hierarchy; this is done by default in the same way as for other types
|
|
of #GstMessage.
|
|
|
|
When applications or compound elements trigger errors that they can
|
|
recover from, they can filter out these errors and take appropriate action.
|
|
For example, an application that gets an error from xvimagesink
|
|
that indicates all XVideo ports are taken, the application can attempt
|
|
to use another sink instead.
|
|
|
|
Elements throw errors using the #GST_ELEMENT_ERROR convenience macro:
|
|
|
|
## Throwing an error
|
|
|
|
|[
|
|
GST_ELEMENT_ERROR (src, RESOURCE, NOT_FOUND,
|
|
(_("No file name specified for reading.")), (NULL));
|
|
]|
|
|
|
|
Things to keep in mind:
|
|
|
|
* Don't go off inventing new error codes. The ones
|
|
currently provided should be enough. If you find your type of error
|
|
does not fit the current codes, you should use FAILED.
|
|
* Don't provide a message if the default one suffices.
|
|
this keeps messages more uniform. Use (%NULL) - not forgetting the
|
|
parentheses.
|
|
* If you do supply a custom message, it should be
|
|
marked for translation. The message should start with a capital
|
|
and end with a period. The message should describe the error in short,
|
|
in a human-readable form, and without any complex technical terms.
|
|
A user interface will present this message as the first thing a user
|
|
sees. Details, technical info, ... should go in the debug string.
|
|
|
|
* The debug string can be as you like. Again, use (%NULL)
|
|
if there's nothing to add - file and line number will still be
|
|
passed. #GST_ERROR_SYSTEM can be used as a shortcut to give
|
|
debug information on a system call error.</doc>
|
|
</docsection>
|
|
<docsection name="gstformat">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstformat.c"
|
|
line="24">GstFormats functions are used to register a new format to the gstreamer
|
|
core. Formats can be used to perform seeking or conversions/query
|
|
operations.</doc>
|
|
</docsection>
|
|
<docsection name="gstinfo">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="25">GStreamer's debugging subsystem is an easy way to get information about what
|
|
the application is doing. It is not meant for programming errors. Use GLib
|
|
methods (g_warning and friends) for that.
|
|
|
|
The debugging subsystem works only after GStreamer has been initialized
|
|
- for example by calling gst_init().
|
|
|
|
The debugging subsystem is used to log informational messages while the
|
|
application runs. Each messages has some properties attached to it. Among
|
|
these properties are the debugging category, the severity (called "level"
|
|
here) and an optional #GObject it belongs to. Each of these messages is sent
|
|
to all registered debugging handlers, which then handle the messages.
|
|
GStreamer attaches a default handler on startup, which outputs requested
|
|
messages to stderr.
|
|
|
|
Messages are output by using shortcut macros like #GST_DEBUG,
|
|
#GST_CAT_ERROR_OBJECT or similar. These all expand to calling gst_debug_log()
|
|
with the right parameters.
|
|
The only thing a developer will probably want to do is define his own
|
|
categories. This is easily done with 3 lines. At the top of your code,
|
|
declare
|
|
the variables and set the default category.
|
|
|[<!-- language="C" -->
|
|
GST_DEBUG_CATEGORY_STATIC (my_category); // define category (statically)
|
|
#define GST_CAT_DEFAULT my_category // set as default
|
|
]|
|
|
After that you only need to initialize the category.
|
|
|[<!-- language="C" -->
|
|
GST_DEBUG_CATEGORY_INIT (my_category, "my category",
|
|
0, "This is my very own");
|
|
]|
|
|
Initialization must be done before the category is used first.
|
|
Plugins do this
|
|
in their plugin_init function, libraries and applications should do that
|
|
during their initialization.
|
|
|
|
The whole debugging subsystem can be disabled at build time with passing the
|
|
--disable-gst-debug switch to configure. If this is done, every function,
|
|
macro and even structs described in this file evaluate to default values or
|
|
nothing at all.
|
|
So don't take addresses of these functions or use other tricks.
|
|
If you must do that for some reason, there is still an option.
|
|
If the debugging
|
|
subsystem was compiled out, GST_DISABLE_GST_DEBUG is defined in
|
|
&lt;gst/gst.h&gt;,
|
|
so you can check that before doing your trick.
|
|
Disabling the debugging subsystem will give you a slight (read: unnoticeable)
|
|
speed increase and will reduce the size of your compiled code. The GStreamer
|
|
library itself becomes around 10% smaller.
|
|
|
|
Please note that there are naming conventions for the names of debugging
|
|
categories. These are explained at GST_DEBUG_CATEGORY_INIT().</doc>
|
|
</docsection>
|
|
<docsection name="gstparamspec">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.c"
|
|
line="19">GParamSpec implementations specific to GStreamer.</doc>
|
|
</docsection>
|
|
<docsection name="gstparse">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="25">These function allow to create a pipeline based on the syntax used in the
|
|
gst-launch-1.0 utility (see man-page for syntax documentation).
|
|
|
|
Please note that these functions take several measures to create
|
|
somewhat dynamic pipelines. Due to that such pipelines are not always
|
|
reusable (set the state to NULL and back to PLAYING).</doc>
|
|
</docsection>
|
|
<docsection name="gstprotection">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstprotection.c"
|
|
line="20">The GstProtectionMeta class enables the information needed to decrypt a
|
|
#GstBuffer to be attached to that buffer.
|
|
|
|
Typically, a demuxer element would attach GstProtectionMeta objects
|
|
to the buffers that it pushes downstream. The demuxer would parse the
|
|
protection information for a video/audio frame from its input data and use
|
|
this information to populate the #GstStructure @info field,
|
|
which is then encapsulated in a GstProtectionMeta object and attached to
|
|
the corresponding output buffer using the gst_buffer_add_protection_meta()
|
|
function. The information in this attached GstProtectionMeta would be
|
|
used by a downstream decrypter element to recover the original unencrypted
|
|
frame.</doc>
|
|
</docsection>
|
|
<docsection name="gststreams">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="27">A #GstStream is a high-level object defining a stream of data which is, or
|
|
can be, present in a #GstPipeline.
|
|
|
|
It is defined by a unique identifier, a "Stream ID". A #GstStream does not
|
|
automatically imply the stream is present within a pipeline or element.
|
|
|
|
Any element that can introduce new streams in a pipeline should create the
|
|
appropriate #GstStream object, and can convey that object via the
|
|
%GST_EVENT_STREAM_START event and/or the #GstStreamCollection.
|
|
|
|
Elements that do not modify the nature of the stream can add extra information
|
|
on it (such as enrich the #GstCaps, or #GstTagList). This is typically done
|
|
by parsing elements.</doc>
|
|
</docsection>
|
|
<docsection name="gstvalue">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="20">GValue implementations specific to GStreamer.
|
|
|
|
Note that operations on the same #GValue from multiple threads may lead to
|
|
undefined behaviour.</doc>
|
|
</docsection>
|
|
<docsection name="gstversion">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstversion.h"
|
|
line="28">Use the GST_VERSION_* macros e.g. when defining own plugins. The GStreamer
|
|
runtime checks if these plugin and core version match and refuses to use a
|
|
plugin compiled against a different version of GStreamer.
|
|
You can also use the macros to keep the GStreamer version information in
|
|
your application.
|
|
|
|
Use the gst_version() function if you want to know which version of
|
|
GStreamer you are currently linked against.
|
|
|
|
The version macros get defined by including "gst/gst.h".</doc>
|
|
</docsection>
|
|
<function-macro name="guint64_to_gdouble"
|
|
c:identifier="gst_guint64_to_gdouble"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="59">Convert @value to a gdouble.</doc>
|
|
<source-position filename="gst/gstutils.h" line="78"/>
|
|
<parameters>
|
|
<parameter name="value">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.h"
|
|
line="61">the #guint64 value to convert</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function name="info_strdup_printf"
|
|
c:identifier="gst_info_strdup_printf"
|
|
version="1.8"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2578">Allocates, fills and returns a 0-terminated string from the printf style
|
|
@format string and corresponding arguments.
|
|
|
|
See gst_info_vasprintf() for when this function is required.
|
|
|
|
Free with g_free().</doc>
|
|
<source-position filename="gst/gstinfo.h" line="525"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2590">a newly allocated null terminated string or %NULL on any error</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2580">a printf style format string</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2581">the printf arguments for @format</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="info_strdup_vprintf"
|
|
c:identifier="gst_info_strdup_vprintf"
|
|
version="1.8"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2551">Allocates, fills and returns a null terminated string from the printf style
|
|
@format string and @args.
|
|
|
|
See gst_info_vasprintf() for when this function is required.
|
|
|
|
Free with g_free().</doc>
|
|
<source-position filename="gst/gstinfo.h" line="522"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2563">a newly allocated null terminated string or %NULL on any error</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2553">a printf style format string</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="args" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2554">the va_list of printf arguments for @format</doc>
|
|
<type name="va_list" c:type="va_list"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="info_vasprintf"
|
|
c:identifier="gst_info_vasprintf"
|
|
version="1.8"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2522">Allocates and fills a string large enough (including the terminating null
|
|
byte) to hold the specified printf style @format and @args.
|
|
|
|
This function deals with the GStreamer specific printf specifiers
|
|
#GST_PTR_FORMAT and #GST_SEGMENT_FORMAT. If you do not have these specifiers
|
|
in your @format string, you do not need to use this function and can use
|
|
alternatives such as g_vasprintf().
|
|
|
|
Free @result with g_free().</doc>
|
|
<source-position filename="gst/gstinfo.h" line="518"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2538">the length of the string allocated into @result or -1 on any error</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="result"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2524">the resulting string</doc>
|
|
<type name="utf8" c:type="gchar**"/>
|
|
</parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2525">a printf style format string</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="args" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2526">the va_list of printf arguments for @format</doc>
|
|
<type name="va_list" c:type="va_list"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="init" c:identifier="gst_init">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="442">Initializes the GStreamer library, setting up internal path lists,
|
|
registering built-in elements, and loading standard plugins.
|
|
|
|
Unless the plugin registry is disabled at compile time, the registry will be
|
|
loaded. By default this will also check if the registry cache needs to be
|
|
updated and rescan all plugins if needed. See gst_update_registry() for
|
|
details and section
|
|
<link linkend="gst-running">Running GStreamer Applications</link>
|
|
for how to disable automatic registry updates.
|
|
|
|
> 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.</doc>
|
|
<source-position filename="gst/gst.h" line="101"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="argc"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="444">pointer to application's argc</doc>
|
|
<type name="gint" c:type="int*"/>
|
|
</parameter>
|
|
<parameter name="argv"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="445">pointer to application's argv</doc>
|
|
<array length="0" zero-terminated="0" c:type="char***">
|
|
<type name="utf8" c:type="char**"/>
|
|
</array>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="init_check" c:identifier="gst_init_check" throws="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="389">Initializes the GStreamer library, setting up internal path lists,
|
|
registering built-in elements, and loading standard plugins.
|
|
|
|
This function will return %FALSE if GStreamer could not be initialized
|
|
for some reason. If you want your program to fail fatally,
|
|
use gst_init() instead.</doc>
|
|
<source-position filename="gst/gst.h" line="104"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="402">%TRUE if GStreamer could be initialized.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="argc"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="391">pointer to application's argc</doc>
|
|
<type name="gint" c:type="int*"/>
|
|
</parameter>
|
|
<parameter name="argv"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="392">pointer to application's argv</doc>
|
|
<array length="0" zero-terminated="0" c:type="char***">
|
|
<type name="utf8" c:type="char**"/>
|
|
</array>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="init_get_option_group"
|
|
c:identifier="gst_init_get_option_group"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="225">Returns a #GOptionGroup with GStreamer's argument specifications. The
|
|
group is set up to use standard GOption callbacks, so when using this
|
|
group in combination with GOption parsing methods, all argument parsing
|
|
and initialization is automated.
|
|
|
|
This function is useful if you want to integrate GStreamer with other
|
|
libraries that use GOption (see g_option_context_add_group() ).
|
|
|
|
If you use this function, you should make sure you initialise the GLib
|
|
threading system as one of the very first things in your program
|
|
(see the example at the beginning of this section).</doc>
|
|
<source-position filename="gst/gst.h" line="110"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="240">a pointer to GStreamer's option group.</doc>
|
|
<type name="GLib.OptionGroup" c:type="GOptionGroup*"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="is_caps_features" c:identifier="gst_is_caps_features">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="121">Checks if @obj is a #GstCapsFeatures</doc>
|
|
<source-position filename="gst/gstcapsfeatures.h" line="52"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstcapsfeatures.c"
|
|
line="126">%TRUE if @obj is a #GstCapsFeatures %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="obj"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<type name="gpointer" c:type="gconstpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="is_initialized" c:identifier="gst_is_initialized">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="481">Use this function to check if GStreamer has been initialized with gst_init()
|
|
or gst_init_check().</doc>
|
|
<source-position filename="gst/gst.h" line="107"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="487">%TRUE if initialization has been done, %FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="library_error_quark"
|
|
c:identifier="gst_library_error_quark"
|
|
moved-to="LibraryError.quark">
|
|
<attribute name="doc.skip" value="true"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="make_element_message_details"
|
|
c:identifier="gst_make_element_message_details"
|
|
version="1.10"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3843">Create a #GstStructure to be used with #gst_element_message_full_with_details</doc>
|
|
<source-position filename="gst/gstelement.h" line="351"/>
|
|
<return-value transfer-ownership="full">
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3845">Name of the first field to set</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstelement.c"
|
|
line="3846">variable arguments in the same form as #GstStructure</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function-macro name="memory_is_writable"
|
|
c:identifier="gst_memory_is_writable"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstmemory.h" line="365"/>
|
|
<parameters>
|
|
<parameter name="m">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="memory_lock"
|
|
c:identifier="gst_memory_lock"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstmemory.h" line="363"/>
|
|
<parameters>
|
|
<parameter name="m">
|
|
</parameter>
|
|
<parameter name="f">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="memory_make_writable"
|
|
c:identifier="gst_memory_make_writable"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstmemory.h" line="366"/>
|
|
<parameters>
|
|
<parameter name="m">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="memory_unlock"
|
|
c:identifier="gst_memory_unlock"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstmemory.h" line="364"/>
|
|
<parameters>
|
|
<parameter name="m">
|
|
</parameter>
|
|
<parameter name="f">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="message_is_writable"
|
|
c:identifier="gst_message_is_writable"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="430">Tests if you can safely write into a message's structure or validly
|
|
modify the seqnum and timestamp fields.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="437"/>
|
|
<parameters>
|
|
<parameter name="msg">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="432">a #GstMessage</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="message_make_writable"
|
|
c:identifier="gst_message_make_writable"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="438">Checks if a message is writable. If not, a writable copy is made and
|
|
returned.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="449"/>
|
|
<parameters>
|
|
<parameter name="msg">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="440">the message to make writable</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="message_new_duration"
|
|
c:identifier="gst_message_new_duration"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcompat.h" line="87"/>
|
|
<parameters>
|
|
<parameter name="src">
|
|
</parameter>
|
|
<parameter name="fmt">
|
|
</parameter>
|
|
<parameter name="dur">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="message_parse_duration"
|
|
c:identifier="gst_message_parse_duration"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcompat.h" line="89"/>
|
|
<parameters>
|
|
<parameter name="msg">
|
|
</parameter>
|
|
<parameter name="fmt">
|
|
</parameter>
|
|
<parameter name="dur">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function name="message_replace"
|
|
c:identifier="gst_message_replace"
|
|
moved-to="Message.replace"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="450">Modifies a pointer to a #GstMessage to point to a different #GstMessage. The
|
|
modification is done atomically (so this is useful for ensuring thread safety
|
|
in some cases), and the reference counts are updated appropriately (the old
|
|
message is unreffed, the new one is reffed).
|
|
|
|
Either @new_message or the #GstMessage pointed to by @old_message may be %NULL.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="466"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="464">%TRUE if @new_message was different from @old_message</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="old_message"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="452">pointer to a
|
|
pointer to a #GstMessage to be replaced.</doc>
|
|
<type name="Message" c:type="GstMessage**"/>
|
|
</parameter>
|
|
<parameter name="new_message"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.h"
|
|
line="454">pointer to a #GstMessage that will
|
|
replace the message pointed to by @old_message.</doc>
|
|
<type name="Message" c:type="GstMessage*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="message_type_get_name"
|
|
c:identifier="gst_message_type_get_name"
|
|
moved-to="MessageType.get_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="140">Get a printable name for the given message type. Do not modify or free.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="358"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="146">a reference to the static name of the message.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="142">the message type</doc>
|
|
<type name="MessageType" c:type="GstMessageType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="message_type_to_quark"
|
|
c:identifier="gst_message_type_to_quark"
|
|
moved-to="MessageType.to_quark">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="160">Get the unique quark for the given message type.</doc>
|
|
<source-position filename="gst/gstmessage.h" line="361"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="166">the quark associated with the message type</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmessage.c"
|
|
line="162">the message type</doc>
|
|
<type name="MessageType" c:type="GstMessageType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="meta_api_type_get_tags"
|
|
c:identifier="gst_meta_api_type_get_tags"
|
|
moved-to="Meta.api_type_get_tags"
|
|
version="1.2">
|
|
<source-position filename="gst/gstmeta.h" line="273"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="335">an array of tags as strings.</doc>
|
|
<array c:type="const gchar* const*">
|
|
<type name="utf8"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="api" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="333">an API</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="meta_api_type_has_tag"
|
|
c:identifier="gst_meta_api_type_has_tag"
|
|
moved-to="Meta.api_type_has_tag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="313">Check if @api was registered with @tag.</doc>
|
|
<source-position filename="gst/gstmeta.h" line="246"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="320">%TRUE if @api was registered with @tag.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="api" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="315">an API</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="316">the tag to check</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="meta_api_type_register"
|
|
c:identifier="gst_meta_api_type_register"
|
|
moved-to="Meta.api_type_register">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="115">Register and return a GType for the @api and associate it with
|
|
@tags.</doc>
|
|
<source-position filename="gst/gstmeta.h" line="243"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="123">a unique GType for @api.</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="api" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="117">an API to register</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="tags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="118">tags for @api</doc>
|
|
<array c:type="const gchar**">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</array>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="meta_get_info"
|
|
c:identifier="gst_meta_get_info"
|
|
moved-to="Meta.get_info">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="415">Lookup a previously registered meta info structure by its implementation name
|
|
@impl.</doc>
|
|
<source-position filename="gst/gstmeta.h" line="270"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="422">a #GstMetaInfo with @impl, or
|
|
%NULL when no such metainfo exists.</doc>
|
|
<type name="MetaInfo" c:type="const GstMetaInfo*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="impl" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="417">the name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="meta_register"
|
|
c:identifier="gst_meta_register"
|
|
moved-to="Meta.register">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="353">Register a new #GstMeta implementation.
|
|
|
|
The same @info can be retrieved later with gst_meta_get_info() by using
|
|
@impl as the key.</doc>
|
|
<source-position filename="gst/gstmeta.h" line="249"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="367">a #GstMetaInfo that can be used to
|
|
access metadata.</doc>
|
|
<type name="MetaInfo" c:type="const GstMetaInfo*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="api" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="355">the type of the #GstMeta API</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
<parameter name="impl" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="356">the name of the #GstMeta implementation</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="357">the size of the #GstMeta structure</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="init_func" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="358">a #GstMetaInitFunction</doc>
|
|
<type name="MetaInitFunction" c:type="GstMetaInitFunction"/>
|
|
</parameter>
|
|
<parameter name="free_func" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="359">a #GstMetaFreeFunction</doc>
|
|
<type name="MetaFreeFunction" c:type="GstMetaFreeFunction"/>
|
|
</parameter>
|
|
<parameter name="transform_func"
|
|
transfer-ownership="none"
|
|
scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="360">a #GstMetaTransformFunction</doc>
|
|
<type name="MetaTransformFunction"
|
|
c:type="GstMetaTransformFunction"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="meta_register_custom"
|
|
c:identifier="gst_meta_register_custom"
|
|
moved-to="Meta.register_custom"
|
|
version="1.20">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="236">Register a new custom #GstMeta implementation, backed by an opaque
|
|
structure holding a #GstStructure.
|
|
|
|
The registered info can be retrieved later with gst_meta_get_info() by using
|
|
@name as the key.
|
|
|
|
The backing #GstStructure can be retrieved with
|
|
gst_custom_meta_get_structure(), its mutability is conditioned by the
|
|
writability of the buffer the meta is attached to.
|
|
|
|
When @transform_func is %NULL, the meta and its backing #GstStructure
|
|
will always be copied when the transform operation is copy, other operations
|
|
are discarded, copy regions are ignored.</doc>
|
|
<source-position filename="gst/gstmeta.h" line="256"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="258">a #GstMetaInfo that can be used to
|
|
access metadata.</doc>
|
|
<type name="MetaInfo" c:type="const GstMetaInfo*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="238">the name of the #GstMeta implementation</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="tags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="239">tags for @api</doc>
|
|
<array c:type="const gchar**">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</array>
|
|
</parameter>
|
|
<parameter name="transform_func"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
scope="notified"
|
|
closure="3"
|
|
destroy="4">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="240">a #GstMetaTransformFunction</doc>
|
|
<type name="CustomMetaTransformFunction"
|
|
c:type="GstCustomMetaTransformFunction"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="241">user data passed to @transform_func</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="destroy_data" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstmeta.c"
|
|
line="242">#GDestroyNotify for user_data</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="mini_object_replace"
|
|
c:identifier="gst_mini_object_replace"
|
|
moved-to="MiniObject.replace">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="700">Atomically modifies a pointer to point to a new mini-object.
|
|
The reference count of @olddata is decreased and the reference count of
|
|
@newdata is increased.
|
|
|
|
Either @newdata and the value pointed to by @olddata may be %NULL.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="285"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="712">%TRUE if @newdata was different from @olddata</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="olddata"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="702">pointer to a pointer to a
|
|
mini-object to be replaced</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject**"/>
|
|
</parameter>
|
|
<parameter name="newdata"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="704">pointer to new mini-object</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="mini_object_steal"
|
|
c:identifier="gst_mini_object_steal"
|
|
moved-to="MiniObject.steal"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="746">Replace the current #GstMiniObject pointer to by @olddata with %NULL and
|
|
return the old value.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="291"/>
|
|
<return-value nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="754">the #GstMiniObject at @oldata</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="olddata"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="748">pointer to a pointer to a mini-object to
|
|
be stolen</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="mini_object_take"
|
|
c:identifier="gst_mini_object_take"
|
|
moved-to="MiniObject.take">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="776">Modifies a pointer to point to a new mini-object. The modification
|
|
is done atomically. This version is similar to gst_mini_object_replace()
|
|
except that it does not increase the refcount of @newdata and thus
|
|
takes ownership of @newdata.
|
|
|
|
Either @newdata and the value pointed to by @olddata may be %NULL.</doc>
|
|
<source-position filename="gst/gstminiobject.h" line="288"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="789">%TRUE if @newdata was different from @olddata</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="olddata"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="778">pointer to a pointer to a mini-object to
|
|
be replaced</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject**"/>
|
|
</parameter>
|
|
<parameter name="newdata" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstminiobject.c"
|
|
line="780">pointer to new mini-object</doc>
|
|
<type name="MiniObject" c:type="GstMiniObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function-macro name="pad_get_caps_reffed"
|
|
c:identifier="gst_pad_get_caps_reffed"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcompat.h" line="79"/>
|
|
<parameters>
|
|
<parameter name="p">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="pad_get_name"
|
|
c:identifier="gst_pad_get_name"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1294">Get a copy of the name of the pad. g_free() after usage.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1302"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1296">the pad to get the name from</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="pad_get_parent"
|
|
c:identifier="gst_pad_get_parent"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1303">Get the parent of @pad. This function increases the refcount
|
|
of the parent object so you should gst_object_unref() it after usage.
|
|
Can return %NULL if the pad did not have a parent.
|
|
|
|
MT safe.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1315"/>
|
|
<parameters>
|
|
<parameter name="pad">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.h"
|
|
line="1305">the pad to get the parent of</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function name="pad_mode_get_name"
|
|
c:identifier="gst_pad_mode_get_name"
|
|
moved-to="PadMode.get_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="944">Return the name of a pad mode, for use in debug messages mostly.</doc>
|
|
<source-position filename="gst/gstpad.h" line="67"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="950">short mnemonic for pad mode @mode</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="946">the pad mode</doc>
|
|
<type name="PadMode" c:type="GstPadMode"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function-macro name="pad_peer_get_caps_reffed"
|
|
c:identifier="gst_pad_peer_get_caps_reffed"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcompat.h" line="80"/>
|
|
<parameters>
|
|
<parameter name="p">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="pad_set_activate_function"
|
|
c:identifier="gst_pad_set_activate_function"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1698">Calls gst_pad_set_activate_function_full() with %NULL for the user_data and
|
|
notify.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1412"/>
|
|
<parameters>
|
|
<parameter name="p">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1700">a #GstPad.</doc>
|
|
</parameter>
|
|
<parameter name="f">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1701">the #GstPadActivateFunction to set.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="pad_set_activatemode_function"
|
|
c:identifier="gst_pad_set_activatemode_function"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1735">Calls gst_pad_set_activatemode_function_full() with %NULL for the user_data and
|
|
notify.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1413"/>
|
|
<parameters>
|
|
<parameter name="p">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1737">a #GstPad.</doc>
|
|
</parameter>
|
|
<parameter name="f">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1738">the #GstPadActivateModeFunction to set.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="pad_set_chain_function"
|
|
c:identifier="gst_pad_set_chain_function"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1770">Calls gst_pad_set_chain_function_full() with %NULL for the user_data and
|
|
notify.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1414"/>
|
|
<parameters>
|
|
<parameter name="p">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1772">a sink #GstPad.</doc>
|
|
</parameter>
|
|
<parameter name="f">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1773">the #GstPadChainFunction to set.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="pad_set_chain_list_function"
|
|
c:identifier="gst_pad_set_chain_list_function"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1805">Calls gst_pad_set_chain_list_function_full() with %NULL for the user_data and
|
|
notify.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1415"/>
|
|
<parameters>
|
|
<parameter name="p">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1807">a sink #GstPad.</doc>
|
|
</parameter>
|
|
<parameter name="f">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1808">the #GstPadChainListFunction to set.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="pad_set_event_full_function"
|
|
c:identifier="gst_pad_set_event_full_function"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1922">Calls gst_pad_set_event_full_function_full() with %NULL for the user_data and
|
|
notify.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1418"/>
|
|
<parameters>
|
|
<parameter name="p">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1924">a #GstPad of either direction.</doc>
|
|
</parameter>
|
|
<parameter name="f">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1925">the #GstPadEventFullFunction to set.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="pad_set_event_function"
|
|
c:identifier="gst_pad_set_event_function"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1878">Calls gst_pad_set_event_function_full() with %NULL for the user_data and
|
|
notify.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1417"/>
|
|
<parameters>
|
|
<parameter name="p">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1880">a #GstPad of either direction.</doc>
|
|
</parameter>
|
|
<parameter name="f">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1881">the #GstPadEventFunction to set.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="pad_set_getrange_function"
|
|
c:identifier="gst_pad_set_getrange_function"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1842">Calls gst_pad_set_getrange_function_full() with %NULL for the user_data and
|
|
notify.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1416"/>
|
|
<parameters>
|
|
<parameter name="p">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1844">a source #GstPad.</doc>
|
|
</parameter>
|
|
<parameter name="f">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1845">the #GstPadGetRangeFunction to set.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="pad_set_iterate_internal_links_function"
|
|
c:identifier="gst_pad_set_iterate_internal_links_function"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1991">Calls gst_pad_set_iterate_internal_links_function_full() with %NULL
|
|
for the user_data and notify.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1540"/>
|
|
<parameters>
|
|
<parameter name="p">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1993">a #GstPad of either direction.</doc>
|
|
</parameter>
|
|
<parameter name="f">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1994">the #GstPadIterIntLinkFunction to set.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="pad_set_link_function"
|
|
c:identifier="gst_pad_set_link_function"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2025">Calls gst_pad_set_link_function_full() with %NULL
|
|
for the user_data and notify.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1433"/>
|
|
<parameters>
|
|
<parameter name="p">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2027">a #GstPad.</doc>
|
|
</parameter>
|
|
<parameter name="f">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2028">the #GstPadLinkFunction to set.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="pad_set_query_function"
|
|
c:identifier="gst_pad_set_query_function"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1958">Calls gst_pad_set_query_function_full() with %NULL for the user_data and
|
|
notify.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1561"/>
|
|
<parameters>
|
|
<parameter name="p">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1960">a #GstPad of either direction.</doc>
|
|
</parameter>
|
|
<parameter name="f">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="1961">the #GstPadQueryFunction to set.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="pad_set_unlink_function"
|
|
c:identifier="gst_pad_set_unlink_function"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2068">Calls gst_pad_set_unlink_function_full() with %NULL
|
|
for the user_data and notify.</doc>
|
|
<source-position filename="gst/gstpad.h" line="1434"/>
|
|
<parameters>
|
|
<parameter name="p">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2070">a #GstPad.</doc>
|
|
</parameter>
|
|
<parameter name="f">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpad.c"
|
|
line="2071">the #GstPadUnlinkFunction to set.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function name="param_spec_array"
|
|
c:identifier="gst_param_spec_array"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.c"
|
|
line="330">This function creates a GstArray GParamSpec for use by objects/elements
|
|
that want to expose properties of GstArray type. This function is
|
|
typically * used in connection with g_object_class_install_property() in a
|
|
GObjects's instance_init function.</doc>
|
|
<source-position filename="gst/gstparamspecs.h" line="181"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.c"
|
|
line="343">a newly created parameter specification</doc>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.c"
|
|
line="332">canonical name of the property specified</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="nick" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.c"
|
|
line="333">nick name for the property specified</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="blurb" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.c"
|
|
line="334">description of the property specified</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="element_spec" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.c"
|
|
line="335">GParamSpec of the array</doc>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
|
|
</parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.c"
|
|
line="336">flags for the property specified</doc>
|
|
<type name="GObject.ParamFlags" c:type="GParamFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="param_spec_fraction"
|
|
c:identifier="gst_param_spec_fraction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.c"
|
|
line="149">This function creates a fraction GParamSpec for use by objects/elements
|
|
that want to expose properties of fraction type. This function is typically
|
|
used in connection with g_object_class_install_property() in a GObjects's
|
|
instance_init function.</doc>
|
|
<source-position filename="gst/gstparamspecs.h" line="173"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.c"
|
|
line="167">a newly created parameter specification</doc>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.c"
|
|
line="151">canonical name of the property specified</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="nick" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.c"
|
|
line="152">nick name for the property specified</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="blurb" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.c"
|
|
line="153">description of the property specified</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="min_num" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.c"
|
|
line="154">minimum value (fraction numerator)</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="min_denom" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.c"
|
|
line="155">minimum value (fraction denominator)</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="max_num" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.c"
|
|
line="156">maximum value (fraction numerator)</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="max_denom" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.c"
|
|
line="157">maximum value (fraction denominator)</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="default_num" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.c"
|
|
line="158">default value (fraction numerator)</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="default_denom" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.c"
|
|
line="159">default value (fraction denominator)</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparamspecs.c"
|
|
line="160">flags for the property specified</doc>
|
|
<type name="GObject.ParamFlags" c:type="GParamFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="parent_buffer_meta_api_get_type"
|
|
c:identifier="gst_parent_buffer_meta_api_get_type">
|
|
<attribute name="doc.skip" value="true"/>
|
|
<source-position filename="gst/gstbuffer.h" line="730"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="GType" c:type="GType"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="parent_buffer_meta_get_info"
|
|
c:identifier="gst_parent_buffer_meta_get_info"
|
|
moved-to="ParentBufferMeta.get_info"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2675">Get the global #GstMetaInfo describing the #GstParentBufferMeta meta.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="747"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2680">The #GstMetaInfo</doc>
|
|
<type name="MetaInfo" c:type="const GstMetaInfo*"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="parse_bin_from_description"
|
|
c:identifier="gst_parse_bin_from_description"
|
|
throws="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3393">This is a convenience wrapper around gst_parse_launch() to create a
|
|
#GstBin from a gst-launch-style pipeline description. See
|
|
gst_parse_launch() and the gst-launch man page for details about the
|
|
syntax. Ghost pads on the bin for unlinked source or sink pads
|
|
within the bin can automatically be created (but only a maximum of
|
|
one ghost pad for each direction will be created; if you expect
|
|
multiple unlinked source pads or multiple unlinked sink pads
|
|
and want them all ghosted, you will have to create the ghost pads
|
|
yourself).</doc>
|
|
<source-position filename="gst/gstutils.h" line="1148"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3410">a
|
|
newly-created bin, or %NULL if an error occurred.</doc>
|
|
<type name="Bin" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="bin_description" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3395">command line describing the bin</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="ghost_unlinked_pads" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3396">whether to automatically create ghost pads
|
|
for unlinked source or sink pads within the bin</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="parse_bin_from_description_full"
|
|
c:identifier="gst_parse_bin_from_description_full"
|
|
throws="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3421">This is a convenience wrapper around gst_parse_launch() to create a
|
|
#GstBin from a gst-launch-style pipeline description. See
|
|
gst_parse_launch() and the gst-launch man page for details about the
|
|
syntax. Ghost pads on the bin for unlinked source or sink pads
|
|
within the bin can automatically be created (but only a maximum of
|
|
one ghost pad for each direction will be created; if you expect
|
|
multiple unlinked source pads or multiple unlinked sink pads
|
|
and want them all ghosted, you will have to create the ghost pads
|
|
yourself).</doc>
|
|
<source-position filename="gst/gstutils.h" line="1152"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3441">a newly-created
|
|
element, which is guaranteed to be a bin unless
|
|
#GST_PARSE_FLAG_NO_SINGLE_ELEMENT_BINS was passed, or %NULL if an error
|
|
occurred.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="bin_description" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3423">command line describing the bin</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="ghost_unlinked_pads" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3424">whether to automatically create ghost pads
|
|
for unlinked source or sink pads within the bin</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
<parameter name="context"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3426">a parse context allocated with
|
|
gst_parse_context_new(), or %NULL</doc>
|
|
<type name="ParseContext" c:type="GstParseContext*"/>
|
|
</parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3428">parsing options, or #GST_PARSE_FLAG_NONE</doc>
|
|
<type name="ParseFlags" c:type="GstParseFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="parse_error_quark"
|
|
c:identifier="gst_parse_error_quark"
|
|
moved-to="ParseError.quark">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="52">Get the error quark used by the parsing subsystem.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="57">the quark of the parse errors.</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="parse_launch" c:identifier="gst_parse_launch" throws="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="286">Create a new pipeline based on command line syntax.
|
|
Please note that you might get a return value that is not %NULL even though
|
|
the @error is set. In this case there was a recoverable parsing error and you
|
|
can try to play the pipeline.
|
|
|
|
To create a sub-pipeline (bin) for embedding into an existing pipeline
|
|
use gst_parse_bin_from_description().</doc>
|
|
<source-position filename="gst/gstparse.h" line="118"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="299">a new element on success, %NULL on
|
|
failure. If more than one toplevel element is specified by the
|
|
@pipeline_description, all elements are put into a #GstPipeline, which
|
|
than is returned.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pipeline_description" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="288">the command line describing the pipeline</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="parse_launch_full"
|
|
c:identifier="gst_parse_launch_full"
|
|
throws="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="311">Create a new pipeline based on command line syntax.
|
|
Please note that you might get a return value that is not %NULL even though
|
|
the @error is set. In this case there was a recoverable parsing error and you
|
|
can try to play the pipeline.
|
|
|
|
To create a sub-pipeline (bin) for embedding into an existing pipeline
|
|
use gst_parse_bin_from_description_full().</doc>
|
|
<source-position filename="gst/gstparse.h" line="124"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="327">a new element on success, %NULL on
|
|
failure. If more than one toplevel element is specified by the
|
|
@pipeline_description, all elements are put into a #GstPipeline, which
|
|
then is returned (unless the GST_PARSE_FLAG_PLACE_IN_BIN flag is set, in
|
|
which case they are put in a #GstBin instead).</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="pipeline_description" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="313">the command line describing the pipeline</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="context"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="314">a parse context allocated with
|
|
gst_parse_context_new(), or %NULL</doc>
|
|
<type name="ParseContext" c:type="GstParseContext*"/>
|
|
</parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="316">parsing options, or #GST_PARSE_FLAG_NONE</doc>
|
|
<type name="ParseFlags" c:type="GstParseFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="parse_launchv" c:identifier="gst_parse_launchv" throws="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="212">Create a new element based on command line syntax.
|
|
@error will contain an error message if an erroneous pipeline is specified.
|
|
An error does not mean that the pipeline could not be constructed.</doc>
|
|
<source-position filename="gst/gstparse.h" line="121"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="221">a new element on success and %NULL
|
|
on failure.</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="argv" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="214">null-terminated array of arguments</doc>
|
|
<array c:type="const gchar**">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</array>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="parse_launchv_full"
|
|
c:identifier="gst_parse_launchv_full"
|
|
throws="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="230">Create a new element based on command line syntax.
|
|
@error will contain an error message if an erroneous pipeline is specified.
|
|
An error does not mean that the pipeline could not be constructed.</doc>
|
|
<source-position filename="gst/gstparse.h" line="129"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="242">a new element on success; on
|
|
failure, either %NULL or a partially-constructed bin or element will be
|
|
returned and @error will be set (unless you passed
|
|
#GST_PARSE_FLAG_FATAL_ERRORS in @flags, then %NULL will always be returned
|
|
on failure)</doc>
|
|
<type name="Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="argv" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="232">null-terminated array of arguments</doc>
|
|
<array c:type="const gchar**">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</array>
|
|
</parameter>
|
|
<parameter name="context"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="233">a parse context allocated with
|
|
gst_parse_context_new(), or %NULL</doc>
|
|
<type name="ParseContext" c:type="GstParseContext*"/>
|
|
</parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstparse.c"
|
|
line="235">parsing options, or #GST_PARSE_FLAG_NONE</doc>
|
|
<type name="ParseFlags" c:type="GstParseFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="plugin_error_quark"
|
|
c:identifier="gst_plugin_error_quark"
|
|
moved-to="PluginError.quark">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="44">Get the error quark.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstplugin.h"
|
|
line="49">The error quark used in GError messages</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
</function>
|
|
<function-macro name="plugin_feature_get_name"
|
|
c:identifier="gst_plugin_feature_get_name"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.h"
|
|
line="71">Returns the name of @feature.
|
|
For a nameless plugin feature, this returns %NULL.</doc>
|
|
<source-position filename="gst/gstpluginfeature.h" line="81"/>
|
|
<parameters>
|
|
<parameter name="feature">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.h"
|
|
line="73">a #GstPluginFeature to get the name of @feature.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="plugin_feature_set_name"
|
|
c:identifier="gst_plugin_feature_set_name"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.h"
|
|
line="83">Sets the name of the plugin feature, getting rid of the old name if there was one.</doc>
|
|
<source-position filename="gst/gstpluginfeature.h" line="90"/>
|
|
<parameters>
|
|
<parameter name="feature">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.h"
|
|
line="85">a #GstPluginFeature to set the name of.</doc>
|
|
</parameter>
|
|
<parameter name="name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpluginfeature.h"
|
|
line="86">the new name</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function name="poll_new"
|
|
c:identifier="gst_poll_new"
|
|
moved-to="Poll.new"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="662">Create a new file descriptor set. If @controllable, it
|
|
is possible to restart or flush a call to gst_poll_wait() with
|
|
gst_poll_restart() and gst_poll_set_flushing() respectively.
|
|
|
|
Free-function: gst_poll_free</doc>
|
|
<source-position filename="gst/gstpoll.h" line="65"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="672">a new #GstPoll, or %NULL in
|
|
case of an error. Free with gst_poll_free().</doc>
|
|
<type name="Poll" c:type="GstPoll*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="controllable" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="664">whether it should be possible to control a wait.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="poll_new_timer"
|
|
c:identifier="gst_poll_new_timer"
|
|
moved-to="Poll.new_timer"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="731">Create a new poll object that can be used for scheduling cancellable
|
|
timeouts.
|
|
|
|
A timeout is performed with gst_poll_wait(). Multiple timeouts can be
|
|
performed from different threads.
|
|
|
|
Free-function: gst_poll_free</doc>
|
|
<source-position filename="gst/gstpoll.h" line="68"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpoll.c"
|
|
line="742">a new #GstPoll, or %NULL in
|
|
case of an error. Free with gst_poll_free().</doc>
|
|
<type name="Poll" c:type="GstPoll*"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="preset_get_app_dir"
|
|
c:identifier="gst_preset_get_app_dir"
|
|
moved-to="Preset.get_app_dir">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1234">Gets the directory for application specific presets if set by the
|
|
application.</doc>
|
|
<source-position filename="gst/gstpreset.h" line="111"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1240">the directory or %NULL, don't free or modify
|
|
the string</doc>
|
|
<type name="filename" c:type="const gchar*"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="preset_set_app_dir"
|
|
c:identifier="gst_preset_set_app_dir"
|
|
moved-to="Preset.set_app_dir">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1212">Sets an extra directory as an absolute path that should be considered when
|
|
looking for presets. Any presets in the application dir will shadow the
|
|
system presets.</doc>
|
|
<source-position filename="gst/gstpreset.h" line="108"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1220">%TRUE for success, %FALSE if the dir already has been set</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="app_dir" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstpreset.c"
|
|
line="1214">the application specific preset dir</doc>
|
|
<type name="filename" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="print"
|
|
c:identifier="gst_print"
|
|
version="1.12"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2607">Outputs a formatted message via the GLib print handler. The default print
|
|
handler simply outputs the message to stdout.
|
|
|
|
This function will not append a new-line character at the end, unlike
|
|
gst_println() which will.
|
|
|
|
All strings must be in ASCII or UTF-8 encoding.
|
|
|
|
This function differs from g_print() in that it supports all the additional
|
|
printf specifiers that are supported by GStreamer's debug logging system,
|
|
such as #GST_PTR_FORMAT and #GST_SEGMENT_FORMAT.
|
|
|
|
This function is primarily for printing debug output.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="528"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2609">a printf style format string</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2610">the printf arguments for @format</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="printerr"
|
|
c:identifier="gst_printerr"
|
|
version="1.12"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2693">Outputs a formatted message via the GLib error message handler. The default
|
|
handler simply outputs the message to stderr.
|
|
|
|
This function will not append a new-line character at the end, unlike
|
|
gst_printerrln() which will.
|
|
|
|
All strings must be in ASCII or UTF-8 encoding.
|
|
|
|
This function differs from g_printerr() in that it supports the additional
|
|
printf specifiers that are supported by GStreamer's debug logging system,
|
|
such as #GST_PTR_FORMAT and #GST_SEGMENT_FORMAT.
|
|
|
|
This function is primarily for printing debug output.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="534"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2695">a printf style format string</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2696">the printf arguments for @format</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="printerrln"
|
|
c:identifier="gst_printerrln"
|
|
version="1.12"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2736">Outputs a formatted message via the GLib error message handler. The default
|
|
handler simply outputs the message to stderr.
|
|
|
|
This function will append a new-line character at the end, unlike
|
|
gst_printerr() which will not.
|
|
|
|
All strings must be in ASCII or UTF-8 encoding.
|
|
|
|
This function differs from g_printerr() in that it supports the additional
|
|
printf specifiers that are supported by GStreamer's debug logging system,
|
|
such as #GST_PTR_FORMAT and #GST_SEGMENT_FORMAT.
|
|
|
|
This function is primarily for printing debug output.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="537"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2738">a printf style format string</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2739">the printf arguments for @format</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="println"
|
|
c:identifier="gst_println"
|
|
version="1.12"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2650">Outputs a formatted message via the GLib print handler. The default print
|
|
handler simply outputs the message to stdout.
|
|
|
|
This function will append a new-line character at the end, unlike
|
|
gst_print() which will not.
|
|
|
|
All strings must be in ASCII or UTF-8 encoding.
|
|
|
|
This function differs from g_print() in that it supports all the additional
|
|
printf specifiers that are supported by GStreamer's debug logging system,
|
|
such as #GST_PTR_FORMAT and #GST_SEGMENT_FORMAT.
|
|
|
|
This function is primarily for printing debug output.</doc>
|
|
<source-position filename="gst/gstinfo.h" line="531"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2652">a printf style format string</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="..." transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstinfo.c"
|
|
line="2653">the printf arguments for @format</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="protection_filter_systems_by_available_decryptors"
|
|
c:identifier="gst_protection_filter_systems_by_available_decryptors"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstprotection.c"
|
|
line="197">Iterates the supplied list of UUIDs and checks the GstRegistry for
|
|
all the decryptors supporting one of the supplied UUIDs.</doc>
|
|
<source-position filename="gst/gstprotection.h" line="96"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstprotection.c"
|
|
line="206">
|
|
A null terminated array containing all
|
|
the @system_identifiers supported by the set of available decryptors, or
|
|
%NULL if no matches were found.</doc>
|
|
<array c:type="gchar**">
|
|
<type name="utf8"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="system_identifiers" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstprotection.c"
|
|
line="199">
|
|
A null terminated array of strings that contains the UUID values of each
|
|
protection system that is to be checked.</doc>
|
|
<array c:type="const gchar**">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</array>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="protection_meta_api_get_type"
|
|
c:identifier="gst_protection_meta_api_get_type">
|
|
<attribute name="doc.skip" value="true"/>
|
|
<source-position filename="gst/gstprotection.h" line="77"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="GType" c:type="GType"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="protection_meta_get_info"
|
|
c:identifier="gst_protection_meta_get_info"
|
|
moved-to="ProtectionMeta.get_info">
|
|
<source-position filename="gst/gstprotection.h" line="87"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="MetaInfo" c:type="const GstMetaInfo*"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="protection_select_system"
|
|
c:identifier="gst_protection_select_system"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstprotection.c"
|
|
line="159">Iterates the supplied list of UUIDs and checks the GstRegistry for
|
|
an element that supports one of the supplied UUIDs. If more than one
|
|
element matches, the system ID of the highest ranked element is selected.</doc>
|
|
<source-position filename="gst/gstprotection.h" line="93"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstprotection.c"
|
|
line="169">One of the strings from
|
|
@system_identifiers that indicates the highest ranked element that
|
|
implements the protection system indicated by that system ID, or %NULL if no
|
|
element has been found.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="system_identifiers" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstprotection.c"
|
|
line="161">A null terminated array of strings
|
|
that contains the UUID values of each protection system that is to be
|
|
checked.</doc>
|
|
<array c:type="const gchar**">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</array>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function-macro name="query_is_writable"
|
|
c:identifier="gst_query_is_writable"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="297">Tests if you can safely write data into a query's structure.</doc>
|
|
<source-position filename="gst/gstquery.h" line="302"/>
|
|
<parameters>
|
|
<parameter name="q">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="299">a #GstQuery</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="query_make_writable"
|
|
c:identifier="gst_query_make_writable"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="304">Makes a writable query from the given query.</doc>
|
|
<source-position filename="gst/gstquery.h" line="311"/>
|
|
<parameters>
|
|
<parameter name="q">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="306">a #GstQuery to make writable</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function name="query_replace"
|
|
c:identifier="gst_query_replace"
|
|
moved-to="Query.replace"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="313">Modifies a pointer to a #GstQuery to point to a different #GstQuery. The
|
|
modification is done atomically (so this is useful for ensuring thread safety
|
|
in some cases), and the reference counts are updated appropriately (the old
|
|
query is unreffed, the new one is reffed).
|
|
|
|
Either @new_query or the #GstQuery pointed to by @old_query may be %NULL.</doc>
|
|
<source-position filename="gst/gstquery.h" line="329"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="327">%TRUE if @new_query was different from @old_query</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="old_query"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="315">pointer to a pointer to a
|
|
#GstQuery to be replaced.</doc>
|
|
<type name="Query" c:type="GstQuery**"/>
|
|
</parameter>
|
|
<parameter name="new_query"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.h"
|
|
line="317">pointer to a #GstQuery that will
|
|
replace the query pointed to by @old_query.</doc>
|
|
<type name="Query" c:type="GstQuery*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="query_type_get_flags"
|
|
c:identifier="gst_query_type_get_flags"
|
|
moved-to="QueryType.get_flags">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="169">Gets the #GstQueryTypeFlags associated with @type.</doc>
|
|
<source-position filename="gst/gstquery.h" line="225"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="175">a #GstQueryTypeFlags.</doc>
|
|
<type name="QueryTypeFlags" c:type="GstQueryTypeFlags"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="171">a #GstQueryType</doc>
|
|
<type name="QueryType" c:type="GstQueryType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="query_type_get_name"
|
|
c:identifier="gst_query_type_get_name"
|
|
moved-to="QueryType.get_name">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="129">Get a printable name for the given query type. Do not modify or free.</doc>
|
|
<source-position filename="gst/gstquery.h" line="218"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="135">a reference to the static name of the query.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="131">the query type</doc>
|
|
<type name="QueryType" c:type="GstQueryType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="query_type_to_quark"
|
|
c:identifier="gst_query_type_to_quark"
|
|
moved-to="QueryType.to_quark">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="149">Get the unique quark for the given query type.</doc>
|
|
<source-position filename="gst/gstquery.h" line="221"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="155">the quark associated with the query type</doc>
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstquery.c"
|
|
line="151">the query type</doc>
|
|
<type name="QueryType" c:type="GstQueryType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="reference_timestamp_meta_api_get_type"
|
|
c:identifier="gst_reference_timestamp_meta_api_get_type">
|
|
<attribute name="doc.skip" value="true"/>
|
|
<source-position filename="gst/gstbuffer.h" line="788"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="GType" c:type="GType"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="reference_timestamp_meta_get_info"
|
|
c:identifier="gst_reference_timestamp_meta_get_info"
|
|
moved-to="ReferenceTimestampMeta.get_info"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2847">Get the global #GstMetaInfo describing the #GstReferenceTimestampMeta meta.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="792"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.c"
|
|
line="2852">The #GstMetaInfo</doc>
|
|
<type name="MetaInfo" c:type="const GstMetaInfo*"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="resource_error_quark"
|
|
c:identifier="gst_resource_error_quark"
|
|
moved-to="ResourceError.quark">
|
|
<attribute name="doc.skip" value="true"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
</function>
|
|
<function-macro name="sample_is_writable"
|
|
c:identifier="gst_sample_is_writable"
|
|
version="1.16"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.h"
|
|
line="121">Tests if you can safely set the buffer and / or buffer list of @sample.</doc>
|
|
<source-position filename="gst/gstsample.h" line="129"/>
|
|
<parameters>
|
|
<parameter name="sample">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.h"
|
|
line="123">A #GstSample</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="sample_make_writable"
|
|
c:identifier="gst_sample_make_writable"
|
|
version="1.16"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.h"
|
|
line="131">Returns a writable copy of @sample. If the source sample is
|
|
already writable, this will simply return the same sample.
|
|
|
|
Use this function to ensure that a sample can be safely modified before
|
|
making changes to it, for example before calling gst_sample_set_buffer()
|
|
|
|
If the reference count of the source sample @sample is exactly one, the caller
|
|
is the sole owner and this function will return the sample object unchanged.
|
|
|
|
If there is more than one reference on the object, a copy will be made using
|
|
gst_sample_copy(). The passed-in @sample will be unreffed in that case, and the
|
|
caller will now own a reference to the new returned sample object.
|
|
|
|
In short, this function unrefs the sample in the argument and refs the sample
|
|
that it returns. Don't access the argument after calling this function unless
|
|
you have an additional reference to it.</doc>
|
|
<source-position filename="gst/gstsample.h" line="157"/>
|
|
<parameters>
|
|
<parameter name="sample">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.h"
|
|
line="133">A #GstSample</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function name="segtrap_is_enabled" c:identifier="gst_segtrap_is_enabled">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="1312">Some functions in the GStreamer core might install a custom SIGSEGV handler
|
|
to better catch and report errors to the application. Currently this feature
|
|
is enabled by default when loading plugins.
|
|
|
|
Applications might want to disable this behaviour with the
|
|
gst_segtrap_set_enabled() function. This is typically done if the application
|
|
wants to install its own handler without GStreamer interfering.</doc>
|
|
<source-position filename="gst/gst.h" line="122"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="1323">%TRUE if GStreamer is allowed to install a custom SIGSEGV handler.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="segtrap_set_enabled"
|
|
c:identifier="gst_segtrap_set_enabled">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="1332">Applications might want to disable/enable the SIGSEGV handling of
|
|
the GStreamer core. See gst_segtrap_is_enabled() for more information.</doc>
|
|
<source-position filename="gst/gst.h" line="125"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="enabled" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="1334">whether a custom SIGSEGV handler should be installed.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="state_change_get_name"
|
|
c:identifier="gst_state_change_get_name"
|
|
moved-to="StateChange.get_name"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1331">Gets a string representing the given state transition.</doc>
|
|
<source-position filename="gst/gstutils.h" line="999"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1337">a string with the name of the state
|
|
result.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="transition" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="1333">a #GstStateChange to get the name of.</doc>
|
|
<type name="StateChange" c:type="GstStateChange"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="static_caps_get_type"
|
|
c:identifier="gst_static_caps_get_type">
|
|
<attribute name="doc.skip" value="true"/>
|
|
<source-position filename="gst/gstcaps.h" line="432"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="GType" c:type="GType"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="static_pad_template_get_type"
|
|
c:identifier="gst_static_pad_template_get_type">
|
|
<attribute name="doc.skip" value="true"/>
|
|
<source-position filename="gst/gstpadtemplate.h" line="208"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="GType" c:type="GType"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="stream_error_quark"
|
|
c:identifier="gst_stream_error_quark"
|
|
moved-to="StreamError.quark">
|
|
<attribute name="doc.skip" value="true"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="stream_type_get_name"
|
|
c:identifier="gst_stream_type_get_name"
|
|
moved-to="StreamType.get_name"
|
|
version="1.10">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="540">Get a descriptive string for a given #GstStreamType</doc>
|
|
<source-position filename="gst/gststreams.h" line="153"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="546">A string describing the stream type</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="stype" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststreams.c"
|
|
line="542">a #GstStreamType</doc>
|
|
<type name="StreamType" c:type="GstStreamType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="structure_take"
|
|
c:identifier="gst_structure_take"
|
|
moved-to="Structure.take"
|
|
version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="573">Atomically modifies a pointer to point to a new structure.
|
|
The #GstStructure @oldstr_ptr is pointing to is freed and
|
|
@newstr is taken ownership over.
|
|
|
|
Either @newstr and the value pointed to by @oldstr_ptr may be %NULL.
|
|
|
|
It is a programming error if both @newstr and the value pointed to by
|
|
@oldstr_ptr refer to the same, non-%NULL structure.</doc>
|
|
<source-position filename="gst/gststructure.h" line="141"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="588">%TRUE if @newstr was different from @oldstr_ptr</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="oldstr_ptr"
|
|
direction="inout"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="575">pointer to a place of
|
|
a #GstStructure to take</doc>
|
|
<type name="Structure" c:type="GstStructure**"/>
|
|
</parameter>
|
|
<parameter name="newstr"
|
|
transfer-ownership="full"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gststructure.c"
|
|
line="577">a new #GstStructure</doc>
|
|
<type name="Structure" c:type="GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="tag_exists" c:identifier="gst_tag_exists">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="564">Checks if the given type is already registered.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="168"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="570">%TRUE if the type is already registered</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="566">name of the tag</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="tag_get_description"
|
|
c:identifier="gst_tag_get_description">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="625">Returns the human-readable description of this tag, You must not change or
|
|
free this string.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="177"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="632">the human-readable description of this tag</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="627">the tag</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="tag_get_flag" c:identifier="gst_tag_get_flag">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="646">Gets the flag of @tag.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="180"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="652">the flag of this tag.</doc>
|
|
<type name="TagFlag" c:type="GstTagFlag"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="648">the tag</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="tag_get_nick" c:identifier="gst_tag_get_nick">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="600">Returns the human-readable name of this tag, You must not change or free
|
|
this string.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="174"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="607">the human-readable name of this tag</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="602">the tag</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="tag_get_type" c:identifier="gst_tag_get_type">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="580">Gets the #GType used for this tag.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="171"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="586">the #GType of this tag</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="582">the tag</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="tag_is_fixed" c:identifier="gst_tag_is_fixed">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="666">Checks if the given tag is fixed. A fixed tag can only contain one value.
|
|
Unfixed tags can contain lists of values.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="183"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="673">%TRUE, if the given tag is fixed.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="668">tag to check</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="tag_list_copy_value"
|
|
c:identifier="gst_tag_list_copy_value"
|
|
moved-to="TagList.copy_value">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1472">Copies the contents for the given tag into the value,
|
|
merging multiple values into one if multiple values are associated
|
|
with the tag.
|
|
You must g_value_unset() the value after use.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="282"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1483">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
|
|
given list.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="dest"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1474">uninitialized #GValue to copy into</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="list" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1475">list to get the tag from</doc>
|
|
<type name="TagList" c:type="const GstTagList*"/>
|
|
</parameter>
|
|
<parameter name="tag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="1476">tag to read out</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function-macro name="tag_list_free"
|
|
c:identifier="gst_tag_list_free"
|
|
introspectable="0">
|
|
<source-position filename="gst/gstcompat.h" line="84"/>
|
|
<parameters>
|
|
<parameter name="taglist">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="tag_list_is_writable"
|
|
c:identifier="gst_tag_list_is_writable"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="509">Tests if you can safely modify @taglist. It is only safe to modify taglist
|
|
when there is only one owner of the taglist - ie, the refcount is 1.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="516"/>
|
|
<parameters>
|
|
<parameter name="taglist">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="511">a #GstTagList</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="tag_list_make_writable"
|
|
c:identifier="gst_tag_list_make_writable"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="518">Returns a writable copy of @taglist.
|
|
|
|
If there is only one reference count on @taglist, the caller must be the
|
|
owner, and so this function will return the taglist object unchanged. If on
|
|
the other hand there is more than one reference on the object, a new taglist
|
|
object will be returned (which will be a copy of @taglist). The caller's
|
|
reference on @taglist will be removed, and instead the caller will own a
|
|
reference to the returned object.
|
|
|
|
In short, this function unrefs the taglist in the argument and refs the
|
|
taglist that it returns. Don't access the argument after calling this
|
|
function. See also: gst_tag_list_ref().</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="538"/>
|
|
<parameters>
|
|
<parameter name="taglist">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.h"
|
|
line="520">a #GstTagList</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function name="tag_merge_strings_with_comma"
|
|
c:identifier="gst_tag_merge_strings_with_comma">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="432">This is a convenience function for the func argument of gst_tag_register().
|
|
It concatenates all given strings using a comma. The tag must be registered
|
|
as a G_TYPE_STRING or this function will fail.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="163"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="dest"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="434">uninitialized GValue to store result in</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="435">GValue to copy from</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="tag_merge_use_first"
|
|
c:identifier="gst_tag_merge_use_first">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="415">This is a convenience function for the func argument of gst_tag_register().
|
|
It creates a copy of the first value from the list.</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="160"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="dest"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="417">uninitialized GValue to store result in</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="418">GValue to copy from</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="tag_register"
|
|
c:identifier="gst_tag_register"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="473">Registers a new tag type for the use with GStreamer's type system. If a type
|
|
with that name is already registered, that one is used.
|
|
The old registration may have used a different type however. So don't rely
|
|
on your supplied values.
|
|
|
|
Important: if you do not supply a merge function the implication will be
|
|
that there can only be one single value for this tag in a tag list and
|
|
any additional values will silently be discarded when being added (unless
|
|
#GST_TAG_MERGE_REPLACE, #GST_TAG_MERGE_REPLACE_ALL, or
|
|
#GST_TAG_MERGE_PREPEND is used as merge mode, in which case the new
|
|
value will replace the old one in the list).
|
|
|
|
The merge function will be called from gst_tag_list_copy_value() when
|
|
it is required that one or more values for a tag be condensed into
|
|
one single value. This may happen from gst_tag_list_get_string(),
|
|
gst_tag_list_get_int(), gst_tag_list_get_double() etc. What will happen
|
|
exactly in that case depends on how the tag was registered and if a
|
|
merge function was supplied and if so which one.
|
|
|
|
Two default merge functions are provided: gst_tag_merge_use_first() and
|
|
gst_tag_merge_strings_with_comma().</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="143"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="475">the name or identifier string</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="flag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="476">a flag describing the type of tag info</doc>
|
|
<type name="TagFlag" c:type="GstTagFlag"/>
|
|
</parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="477">the type this data is in</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
<parameter name="nick" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="478">human-readable name</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="blurb" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="479">a human-readable description about this tag</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="480">function for merging multiple values of this tag, or %NULL</doc>
|
|
<type name="TagMergeFunc" c:type="GstTagMergeFunc"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="tag_register_static"
|
|
c:identifier="gst_tag_register_static"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="517">Registers a new tag type for the use with GStreamer's type system.
|
|
|
|
Same as gst_tag_register(), but @name, @nick, and @blurb must be
|
|
static strings or inlined strings, as they will not be copied. (GStreamer
|
|
plugins will be made resident once loaded, so this function can be used
|
|
even from dynamically loaded plugins.)</doc>
|
|
<source-position filename="gst/gsttaglist.h" line="150"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="519">the name or identifier string (string constant)</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="flag" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="520">a flag describing the type of tag info</doc>
|
|
<type name="TagFlag" c:type="GstTagFlag"/>
|
|
</parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="521">the type this data is in</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
<parameter name="nick" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="522">human-readable name or short description (string constant)</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="blurb" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="523">a human-readable description for this tag (string constant)</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttaglist.c"
|
|
line="524">function for merging multiple values of this tag, or %NULL</doc>
|
|
<type name="TagMergeFunc" c:type="GstTagMergeFunc"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function-macro name="toc_copy"
|
|
c:identifier="gst_toc_copy"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="447">Copy #GstToc with all subentries (deep copy).</doc>
|
|
<source-position filename="gst/gsttoc.h" line="166"/>
|
|
<parameters>
|
|
<parameter name="toc">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="449">#GstToc to copy.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="toc_entry_copy"
|
|
c:identifier="gst_toc_entry_copy"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="412">Copy #GstTocEntry with all subentries (deep copy).</doc>
|
|
<source-position filename="gst/gsttoc.h" line="176"/>
|
|
<parameters>
|
|
<parameter name="entry">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="414">#GstTocEntry to copy.</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="toc_entry_make_writable"
|
|
c:identifier="gst_toc_entry_make_writable"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttoc.h" line="177"/>
|
|
<parameters>
|
|
<parameter name="entry">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="toc_entry_ref"
|
|
c:identifier="gst_toc_entry_ref"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttoc.h" line="174"/>
|
|
<parameters>
|
|
<parameter name="entry">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function name="toc_entry_type_get_nick"
|
|
c:identifier="gst_toc_entry_type_get_nick"
|
|
moved-to="TocEntryType.get_nick">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="576">Converts @type to a string representation.</doc>
|
|
<source-position filename="gst/gsttoc.h" line="229"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="582">Returns a human-readable string for @type. This string is
|
|
only for debugging purpose and should not be displayed in a user
|
|
interface.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttoc.c"
|
|
line="578">a #GstTocEntryType.</doc>
|
|
<type name="TocEntryType" c:type="GstTocEntryType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function-macro name="toc_entry_unref"
|
|
c:identifier="gst_toc_entry_unref"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttoc.h" line="175"/>
|
|
<parameters>
|
|
<parameter name="entry">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="toc_make_writable"
|
|
c:identifier="gst_toc_make_writable"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttoc.h" line="167"/>
|
|
<parameters>
|
|
<parameter name="toc">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="toc_ref"
|
|
c:identifier="gst_toc_ref"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttoc.h" line="164"/>
|
|
<parameters>
|
|
<parameter name="toc">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="toc_unref"
|
|
c:identifier="gst_toc_unref"
|
|
introspectable="0">
|
|
<source-position filename="gst/gsttoc.h" line="165"/>
|
|
<parameters>
|
|
<parameter name="toc">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function name="tracing_get_active_tracers"
|
|
c:identifier="gst_tracing_get_active_tracers"
|
|
version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerutils.c"
|
|
line="199">Get a list of all active tracer objects owned by the tracing framework for
|
|
the entirety of the run-time of the process or till gst_deinit() is called.</doc>
|
|
<source-position filename="gst/gsttracer.h" line="76"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerutils.c"
|
|
line="205">A #GList of
|
|
#GstTracer objects</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Tracer"/>
|
|
</type>
|
|
</return-value>
|
|
</function>
|
|
<function name="tracing_register_hook"
|
|
c:identifier="gst_tracing_register_hook"
|
|
version="1.8">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerutils.c"
|
|
line="181">Register @func to be called when the trace hook @detail is getting invoked.
|
|
Use %NULL for @detail to register to all hooks.</doc>
|
|
<source-position filename="gst/gsttracer.h" line="67"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="tracer" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerutils.c"
|
|
line="183">the tracer</doc>
|
|
<type name="Tracer" c:type="GstTracer*"/>
|
|
</parameter>
|
|
<parameter name="detail" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerutils.c"
|
|
line="184">the detailed hook</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="func" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttracerutils.c"
|
|
line="185">the callback</doc>
|
|
<type name="GObject.Callback" c:type="GCallback"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="type_find_get_type" c:identifier="gst_type_find_get_type">
|
|
<attribute name="doc.skip" value="true"/>
|
|
<source-position filename="gst/gsttypefind.h" line="98"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="GType" c:type="GType"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="type_find_register"
|
|
c:identifier="gst_type_find_register"
|
|
moved-to="TypeFind.register">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="42">Registers a new typefind function to be used for typefinding. After
|
|
registering this function will be available for typefinding.
|
|
This function is typically called during an element's plugin initialization.</doc>
|
|
<source-position filename="gst/gsttypefind.h" line="121"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="61">%TRUE on success, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="plugin"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="44">A #GstPlugin, or %NULL for a static typefind function</doc>
|
|
<type name="Plugin" c:type="GstPlugin*"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="45">The name for registering</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="rank" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="46">The rank (or importance) of this typefind function</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="notified"
|
|
closure="6"
|
|
destroy="7">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="47">The #GstTypeFindFunction to use</doc>
|
|
<type name="TypeFindFunction" c:type="GstTypeFindFunction"/>
|
|
</parameter>
|
|
<parameter name="extensions"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="48">Optional comma-separated list of extensions
|
|
that could belong to this type</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="possible_caps"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="50">Optionally the caps that could be returned when typefinding
|
|
succeeds</doc>
|
|
<type name="Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
<parameter name="data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="52">Optional user data. This user data must be available until the plugin
|
|
is unloaded.</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="data_notify" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsttypefind.c"
|
|
line="54">a #GDestroyNotify that will be called on @data when the plugin
|
|
is unloaded.</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="type_is_plugin_api"
|
|
c:identifier="gst_type_is_plugin_api"
|
|
version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4547">Checks if @type is plugin API. See gst_type_mark_as_plugin_api() for
|
|
details.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1226"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4555">%TRUE if @type is plugin API or %FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4549">a GType</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
<parameter name="flags"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4550">What #GstPluginAPIFlags the plugin was marked with</doc>
|
|
<type name="PluginAPIFlags" c:type="GstPluginAPIFlags*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="type_mark_as_plugin_api"
|
|
c:identifier="gst_type_mark_as_plugin_api"
|
|
version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4521">Marks @type as plugin API. This should be called in `class_init` of
|
|
elements that expose new types (i.e. enums, flags or internal GObjects) via
|
|
properties, signals or pad templates.
|
|
|
|
Types exposed by plugins are not automatically added to the documentation
|
|
as they might originate from another library and should in that case be
|
|
documented via that library instead.
|
|
|
|
By marking a type as plugin API it will be included in the documentation of
|
|
the plugin that defines it.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1223"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4523">a GType</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4524">a set of #GstPluginAPIFlags to further inform cache generation.</doc>
|
|
<type name="PluginAPIFlags" c:type="GstPluginAPIFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="update_registry" c:identifier="gst_update_registry">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1829">Forces GStreamer to re-scan its plugin paths and update the default
|
|
plugin registry.
|
|
|
|
Applications will almost never need to call this function, it is only
|
|
useful if the application knows new plugins have been installed (or old
|
|
ones removed) since the start of the application (or, to be precise, the
|
|
first call to gst_init()) and the application wants to make use of any
|
|
newly-installed plugins without restarting the application.
|
|
|
|
Applications should assume that the registry update is neither atomic nor
|
|
thread-safe and should therefore not have any dynamic pipelines running
|
|
(including the playbin and decodebin elements) and should also not create
|
|
any elements or access the GStreamer registry while the update is in
|
|
progress.
|
|
|
|
Note that this function may block for a significant amount of time.</doc>
|
|
<source-position filename="gst/gst.h" line="134"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstregistry.c"
|
|
line="1849">%TRUE if the registry has been updated successfully (does not
|
|
imply that there were changes), otherwise %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="uri_construct"
|
|
c:identifier="gst_uri_construct"
|
|
moved-to="Uri.construct"
|
|
deprecated="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="490">Constructs a URI for a given valid protocol and location.
|
|
|
|
Free-function: g_free</doc>
|
|
<doc-deprecated xml:space="preserve">Use GstURI instead.</doc-deprecated>
|
|
<source-position filename="gst/gsturi.h" line="155"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="499">a new string for this URI. Returns %NULL if the
|
|
given URI protocol is not valid, or the given location is %NULL.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="protocol" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="492">Protocol for URI</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="location" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="493">Location for URI</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="uri_error_quark"
|
|
c:identifier="gst_uri_error_quark"
|
|
moved-to="URIError.quark">
|
|
<attribute name="doc.skip" value="true"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="GLib.Quark" c:type="GQuark"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="uri_from_string"
|
|
c:identifier="gst_uri_from_string"
|
|
moved-to="Uri.from_string"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1627">Parses a URI string into a new #GstUri object. Will return NULL if the URI
|
|
cannot be parsed.</doc>
|
|
<source-position filename="gst/gsturi.h" line="236"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1634">A new #GstUri object, or NULL.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1629">The URI string to parse.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="uri_from_string_escaped"
|
|
c:identifier="gst_uri_from_string_escaped"
|
|
moved-to="Uri.from_string_escaped"
|
|
version="1.18">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1644">Parses a URI string into a new #GstUri object. Will return NULL if the URI
|
|
cannot be parsed. This is identical to gst_uri_from_string() except that
|
|
the userinfo and fragment components of the URI will not be unescaped while
|
|
parsing.
|
|
|
|
Use this when you need to extract a username and password from the userinfo
|
|
such as https://user:password@example.com since either may contain
|
|
a URI-escaped ':' character. gst_uri_from_string() will unescape the entire
|
|
userinfo component, which will make it impossible to know which ':'
|
|
delineates the username and password.
|
|
|
|
The same applies to the fragment component of the URI, such as
|
|
https://example.com/path#fragment which may contain a URI-escaped '#'.</doc>
|
|
<source-position filename="gst/gsturi.h" line="239"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1662">A new #GstUri object, or NULL.</doc>
|
|
<type name="Uri" c:type="GstUri*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1646">The URI string to parse.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="uri_get_location"
|
|
c:identifier="gst_uri_get_location"
|
|
moved-to="Uri.get_location">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="441">Extracts the location out of a given valid URI, ie. the protocol and "://"
|
|
are stripped from the URI, which means that the location returned includes
|
|
the hostname if one is specified. The returned string must be freed using
|
|
g_free().
|
|
|
|
Free-function: g_free</doc>
|
|
<source-position filename="gst/gsturi.h" line="152"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="452">the location for this URI. Returns
|
|
%NULL if the URI isn't valid. If the URI does not contain a location, an
|
|
empty string is returned.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="443">A URI string</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="uri_get_protocol"
|
|
c:identifier="gst_uri_get_protocol"
|
|
moved-to="Uri.get_protocol">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="393">Extracts the protocol out of a given valid URI. The returned string must be
|
|
freed using g_free().</doc>
|
|
<source-position filename="gst/gsturi.h" line="146"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="400">The protocol for this URI.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="395">A URI string</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="uri_has_protocol"
|
|
c:identifier="gst_uri_has_protocol"
|
|
moved-to="Uri.has_protocol">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="415">Checks if the protocol of a given valid URI matches @protocol.</doc>
|
|
<source-position filename="gst/gsturi.h" line="149"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="422">%TRUE if the protocol matches.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="417">a URI string</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="protocol" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="418">a protocol string (e.g. "http")</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="uri_is_valid"
|
|
c:identifier="gst_uri_is_valid"
|
|
moved-to="Uri.is_valid">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="372">Tests if the given string is a valid URI identifier. URIs start with a valid
|
|
scheme followed by ":" and maybe a string identifying the location.</doc>
|
|
<source-position filename="gst/gsturi.h" line="143"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="379">%TRUE if the string is a valid URI</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="374">A URI string</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="uri_join_strings"
|
|
c:identifier="gst_uri_join_strings"
|
|
moved-to="Uri.join_strings"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1898">This is a convenience function to join two URI strings and return the result.
|
|
The returned string should be g_free()'d after use.</doc>
|
|
<source-position filename="gst/gsturi.h" line="251"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1906">A string representing the percent-encoded join of
|
|
the two URIs.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="base_uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1900">The percent-encoded base URI.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="ref_uri" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="1901">The percent-encoded reference URI to join to the @base_uri.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="uri_protocol_is_supported"
|
|
c:identifier="gst_uri_protocol_is_supported"
|
|
moved-to="Uri.protocol_is_supported">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="585">Checks if an element exists that supports the given URI protocol. Note
|
|
that a positive return value does not imply that a subsequent call to
|
|
gst_element_make_from_uri() is guaranteed to work.</doc>
|
|
<source-position filename="gst/gsturi.h" line="140"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="594">%TRUE</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="587">Whether to check for a source or a sink</doc>
|
|
<type name="URIType" c:type="const GstURIType"/>
|
|
</parameter>
|
|
<parameter name="protocol" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="588">Protocol that should be checked for (e.g. "http" or "smb")</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="uri_protocol_is_valid"
|
|
c:identifier="gst_uri_protocol_is_valid"
|
|
moved-to="Uri.protocol_is_valid">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="350">Tests if the given string is a valid protocol identifier. Protocols
|
|
must consist of alphanumeric characters, '+', '-' and '.' and must
|
|
start with a alphabetic character. See RFC 3986 Section 3.1.</doc>
|
|
<source-position filename="gst/gsturi.h" line="137"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="358">%TRUE if the string is a valid protocol identifier, %FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="protocol" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gsturi.c"
|
|
line="352">A string</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="util_array_binary_search"
|
|
c:identifier="gst_util_array_binary_search">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3531">Searches inside @array for @search_data by using the comparison function
|
|
@search_func. @array must be sorted ascending.
|
|
|
|
As @search_data is always passed as second argument to @search_func it's
|
|
not required that @search_data has the same type as the array elements.
|
|
|
|
The complexity of this search function is O(log (num_elements)).</doc>
|
|
<source-position filename="gst/gstutils.h" line="1187"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3549">The address of the found
|
|
element or %NULL if nothing was found</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="array"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3533">the sorted input array</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="num_elements" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3534">number of elements in the array</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="element_size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3535">size of every element in bytes</doc>
|
|
<type name="gsize" c:type="gsize"/>
|
|
</parameter>
|
|
<parameter name="search_func"
|
|
transfer-ownership="none"
|
|
scope="call"
|
|
closure="6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3536">function to compare two elements, @search_data will always be passed as second argument</doc>
|
|
<type name="GLib.CompareDataFunc" c:type="GCompareDataFunc"/>
|
|
</parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3537">search mode that should be used</doc>
|
|
<type name="SearchMode" c:type="GstSearchMode"/>
|
|
</parameter>
|
|
<parameter name="search_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3538">element that should be found</doc>
|
|
<type name="gpointer" c:type="gconstpointer"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3539">data to pass to @search_func</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="util_double_to_fraction"
|
|
c:identifier="gst_util_double_to_fraction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3695">Transforms a #gdouble to a fraction and simplifies
|
|
the result.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1204"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3697">#gdouble to transform</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
<parameter name="dest_n"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3698">pointer to a #gint to hold the result numerator</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
<parameter name="dest_d"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3699">pointer to a #gint to hold the result denominator</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="util_dump_buffer"
|
|
c:identifier="gst_util_dump_buffer"
|
|
version="1.14">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="97">Dumps the buffer memory into a hex representation. Useful for debugging.</doc>
|
|
<source-position filename="gst/gstutils.h" line="51"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="buf" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="99">a #GstBuffer whose memory to dump</doc>
|
|
<type name="Buffer" c:type="GstBuffer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="util_dump_mem" c:identifier="gst_util_dump_mem">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="84">Dumps the memory block into a hex representation. Useful for debugging.</doc>
|
|
<source-position filename="gst/gstutils.h" line="48"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="mem" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="86">a pointer to the memory to dump</doc>
|
|
<array length="1" zero-terminated="0" c:type="const guchar*">
|
|
<type name="guint8" c:type="guchar"/>
|
|
</array>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="87">the size of the memory block to dump</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="util_fraction_add" c:identifier="gst_util_fraction_add">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3853">Adds the fractions @a_n/@a_d and @b_n/@b_d and stores
|
|
the result in @res_n and @res_d.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1210"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3865">%FALSE on overflow, %TRUE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="a_n" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3855">Numerator of first value</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="a_d" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3856">Denominator of first value</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="b_n" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3857">Numerator of second value</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="b_d" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3858">Denominator of second value</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="res_n"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3859">Pointer to #gint to hold the result numerator</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
<parameter name="res_d"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3860">Pointer to #gint to hold the result denominator</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="util_fraction_compare"
|
|
c:identifier="gst_util_fraction_compare">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3918">Compares the fractions @a_n/@a_d and @b_n/@b_d and returns
|
|
-1 if a < b, 0 if a = b and 1 if a > b.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1213"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3928">-1 if a < b; 0 if a = b; 1 if a > b.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="a_n" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3920">Numerator of first value</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="a_d" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3921">Denominator of first value</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="b_n" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3922">Numerator of second value</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="b_d" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3923">Denominator of second value</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="util_fraction_multiply"
|
|
c:identifier="gst_util_fraction_multiply">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3789">Multiplies the fractions @a_n/@a_d and @b_n/@b_d and stores
|
|
the result in @res_n and @res_d.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1207"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3801">%FALSE on overflow, %TRUE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="a_n" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3791">Numerator of first value</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="a_d" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3792">Denominator of first value</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="b_n" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3793">Numerator of second value</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="b_d" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3794">Denominator of second value</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="res_n"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3795">Pointer to #gint to hold the result numerator</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
<parameter name="res_d"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3796">Pointer to #gint to hold the result denominator</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="util_fraction_to_double"
|
|
c:identifier="gst_util_fraction_to_double">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3669">Transforms a fraction to a #gdouble.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1201"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="src_n" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3671">Fraction numerator as #gint</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="src_d" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3672">Fraction denominator #gint</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="dest"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3673">pointer to a #gdouble for the result</doc>
|
|
<type name="gdouble" c:type="gdouble*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="util_gdouble_to_guint64"
|
|
c:identifier="gst_util_gdouble_to_guint64">
|
|
<source-position filename="gst/gstutils.h" line="54"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="320">@value casted to #guint64</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="318">The #gdouble value to convert guint64 double</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="util_get_object_array"
|
|
c:identifier="gst_util_get_object_array"
|
|
version="1.12">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="260">Get a property of type %GST_TYPE_ARRAY and transform it into a
|
|
#GValueArray. This allow language bindings to get GST_TYPE_ARRAY
|
|
properties which are otherwise not an accessible type.</doc>
|
|
<source-position filename="gst/gstutils.h" line="45"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="262">the object to set the array to</doc>
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="263">the name of the property to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="array"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="264">a return #GValueArray</doc>
|
|
<type name="GObject.ValueArray" c:type="GValueArray**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="util_get_timestamp" c:identifier="gst_util_get_timestamp">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3509">Get a timestamp as GstClockTime to be used for interval measurements.
|
|
The timestamp should not be interpreted in any other way.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1158"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3515">the timestamp</doc>
|
|
<type name="ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="util_greatest_common_divisor"
|
|
c:identifier="gst_util_greatest_common_divisor">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3622">Calculates the greatest common divisor of @a
|
|
and @b.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1195"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3630">Greatest common divisor of @a and @b</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="a" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3624">First value as #gint</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="b" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3625">Second value as #gint</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="util_greatest_common_divisor_int64"
|
|
c:identifier="gst_util_greatest_common_divisor_int64">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3645">Calculates the greatest common divisor of @a
|
|
and @b.</doc>
|
|
<source-position filename="gst/gstutils.h" line="1198"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3653">Greatest common divisor of @a and @b</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="a" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3647">First value as #gint64</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
<parameter name="b" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="3648">Second value as #gint64</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="util_group_id_next" c:identifier="gst_util_group_id_next">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4232">Return a constantly incrementing group id.
|
|
|
|
This function is used to generate a new group-id for the
|
|
stream-start event.
|
|
|
|
This function never returns %GST_GROUP_ID_INVALID (which is 0)</doc>
|
|
<source-position filename="gst/gstutils.h" line="133"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="4242">A constantly incrementing unsigned integer, which might
|
|
overflow back to 0 at some point.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="util_guint64_to_gdouble"
|
|
c:identifier="gst_util_guint64_to_gdouble">
|
|
<source-position filename="gst/gstutils.h" line="57"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="305">@value casted to #gdouble</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="303">The #guint64 value to convert to double</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="util_seqnum_compare"
|
|
c:identifier="gst_util_seqnum_compare">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="855">Compare two sequence numbers, handling wraparound.
|
|
|
|
The current implementation just returns (gint32)(@s1 - @s2).</doc>
|
|
<source-position filename="gst/gstutils.h" line="118"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="864">A negative number if @s1 is before @s2, 0 if they are equal, or a
|
|
positive number if @s1 is after @s2.</doc>
|
|
<type name="gint32" c:type="gint32"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="s1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="857">A sequence number.</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</parameter>
|
|
<parameter name="s2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="858">Another sequence number.</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="util_seqnum_next" c:identifier="gst_util_seqnum_next">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="826">Return a constantly incrementing sequence number.
|
|
|
|
This function is used internally to GStreamer to be able to determine which
|
|
events and messages are "the same". For example, elements may set the seqnum
|
|
on a segment-done message to be the same as that of the last seek event, to
|
|
indicate that event and the message correspond to the same segment.
|
|
|
|
This function never returns %GST_SEQNUM_INVALID (which is 0).</doc>
|
|
<source-position filename="gst/gstutils.h" line="115"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="838">A constantly incrementing 32-bit unsigned integer, which might
|
|
overflow at some point. Use gst_util_seqnum_compare() to make sure
|
|
you handle wraparound correctly.</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="util_set_object_arg"
|
|
c:identifier="gst_util_set_object_arg">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="172">Converts the string value to the type of the objects argument and
|
|
sets the argument with it.
|
|
|
|
Note that this function silently returns if @object has no property named
|
|
@name or when @value cannot be converted to the type of the property.</doc>
|
|
<source-position filename="gst/gstutils.h" line="39"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="174">the object to set the argument of</doc>
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="175">the name of the argument to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="176">the string value to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="util_set_object_array"
|
|
c:identifier="gst_util_set_object_array"
|
|
version="1.12">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="225">Transfer a #GValueArray to %GST_TYPE_ARRAY and set this value on the
|
|
specified property name. This allow language bindings to set GST_TYPE_ARRAY
|
|
properties which are otherwise not an accessible type.</doc>
|
|
<source-position filename="gst/gstutils.h" line="42"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="227">the object to set the array to</doc>
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="228">the name of the property to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="array" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="229">a #GValueArray containing the values</doc>
|
|
<type name="GObject.ValueArray" c:type="const GValueArray*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="util_set_value_from_string"
|
|
c:identifier="gst_util_set_value_from_string">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="141">Converts the string to the type of the value and
|
|
sets the value with it.
|
|
|
|
Note that this function is dangerous as it does not return any indication
|
|
if the conversion worked or not.</doc>
|
|
<source-position filename="gst/gstutils.h" line="36"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="143">the value to set</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="value_str" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="144">the string to get the value from</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="util_uint64_scale" c:identifier="gst_util_uint64_scale">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="646">Scale @val by the rational number @num / @denom, avoiding overflows and
|
|
underflows and without loss of precision.
|
|
|
|
This function can potentially be very slow if val and num are both
|
|
greater than G_MAXUINT32.</doc>
|
|
<source-position filename="gst/gstutils.h" line="85"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="658">@val * @num / @denom. In the case of an overflow, this
|
|
function returns G_MAXUINT64. If the result is not exactly
|
|
representable as an integer it is truncated. See also
|
|
gst_util_uint64_scale_round(), gst_util_uint64_scale_ceil(),
|
|
gst_util_uint64_scale_int(), gst_util_uint64_scale_int_round(),
|
|
gst_util_uint64_scale_int_ceil().</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="val" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="648">the number to scale</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="num" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="649">the numerator of the scale ratio</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="denom" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="650">the denominator of the scale ratio</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="util_uint64_scale_ceil"
|
|
c:identifier="gst_util_uint64_scale_ceil">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="696">Scale @val by the rational number @num / @denom, avoiding overflows and
|
|
underflows and without loss of precision.
|
|
|
|
This function can potentially be very slow if val and num are both
|
|
greater than G_MAXUINT32.</doc>
|
|
<source-position filename="gst/gstutils.h" line="91"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="708">@val * @num / @denom. In the case of an overflow, this
|
|
function returns G_MAXUINT64. If the result is not exactly
|
|
representable as an integer, it is rounded up. See also
|
|
gst_util_uint64_scale(), gst_util_uint64_scale_round(),
|
|
gst_util_uint64_scale_int(), gst_util_uint64_scale_int_round(),
|
|
gst_util_uint64_scale_int_ceil().</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="val" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="698">the number to scale</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="num" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="699">the numerator of the scale ratio</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="denom" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="700">the denominator of the scale ratio</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="util_uint64_scale_int"
|
|
c:identifier="gst_util_uint64_scale_int">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="755">Scale @val by the rational number @num / @denom, avoiding overflows and
|
|
underflows and without loss of precision. @num must be non-negative and
|
|
@denom must be positive.</doc>
|
|
<source-position filename="gst/gstutils.h" line="94"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="765">@val * @num / @denom. In the case of an overflow, this
|
|
function returns G_MAXUINT64. If the result is not exactly
|
|
representable as an integer, it is truncated. See also
|
|
gst_util_uint64_scale_int_round(), gst_util_uint64_scale_int_ceil(),
|
|
gst_util_uint64_scale(), gst_util_uint64_scale_round(),
|
|
gst_util_uint64_scale_ceil().</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="val" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="757">guint64 (such as a #GstClockTime) to scale.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="num" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="758">numerator of the scale factor.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="denom" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="759">denominator of the scale factor.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="util_uint64_scale_int_ceil"
|
|
c:identifier="gst_util_uint64_scale_int_ceil">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="803">Scale @val by the rational number @num / @denom, avoiding overflows and
|
|
underflows and without loss of precision. @num must be non-negative and
|
|
@denom must be positive.</doc>
|
|
<source-position filename="gst/gstutils.h" line="100"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="813">@val * @num / @denom. In the case of an overflow, this
|
|
function returns G_MAXUINT64. If the result is not exactly
|
|
representable as an integer, it is rounded up. See also
|
|
gst_util_uint64_scale_int(), gst_util_uint64_scale_int_round(),
|
|
gst_util_uint64_scale(), gst_util_uint64_scale_round(),
|
|
gst_util_uint64_scale_ceil().</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="val" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="805">guint64 (such as a #GstClockTime) to scale.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="num" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="806">numerator of the scale factor.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="denom" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="807">denominator of the scale factor.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="util_uint64_scale_int_round"
|
|
c:identifier="gst_util_uint64_scale_int_round">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="778">Scale @val by the rational number @num / @denom, avoiding overflows and
|
|
underflows and without loss of precision. @num must be non-negative and
|
|
@denom must be positive.</doc>
|
|
<source-position filename="gst/gstutils.h" line="97"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="788">@val * @num / @denom. In the case of an overflow, this
|
|
function returns G_MAXUINT64. If the result is not exactly
|
|
representable as an integer, it is rounded to the nearest integer
|
|
(half-way cases are rounded up). See also gst_util_uint64_scale_int(),
|
|
gst_util_uint64_scale_int_ceil(), gst_util_uint64_scale(),
|
|
gst_util_uint64_scale_round(), gst_util_uint64_scale_ceil().</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="val" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="780">guint64 (such as a #GstClockTime) to scale.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="num" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="781">numerator of the scale factor.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="denom" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="782">denominator of the scale factor.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="util_uint64_scale_round"
|
|
c:identifier="gst_util_uint64_scale_round">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="671">Scale @val by the rational number @num / @denom, avoiding overflows and
|
|
underflows and without loss of precision.
|
|
|
|
This function can potentially be very slow if val and num are both
|
|
greater than G_MAXUINT32.</doc>
|
|
<source-position filename="gst/gstutils.h" line="88"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="683">@val * @num / @denom. In the case of an overflow, this
|
|
function returns G_MAXUINT64. If the result is not exactly
|
|
representable as an integer, it is rounded to the nearest integer
|
|
(half-way cases are rounded up). See also gst_util_uint64_scale(),
|
|
gst_util_uint64_scale_ceil(), gst_util_uint64_scale_int(),
|
|
gst_util_uint64_scale_int_round(), gst_util_uint64_scale_int_ceil().</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="val" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="673">the number to scale</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="num" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="674">the numerator of the scale ratio</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
<parameter name="denom" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstutils.c"
|
|
line="675">the denominator of the scale ratio</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_can_compare" c:identifier="gst_value_can_compare">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="5720">Determines if @value1 and @value2 can be compared.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="767"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="5727">%TRUE if the values can be compared</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="5722">a value to compare</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
<parameter name="value2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="5723">another value to compare</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_can_intersect"
|
|
c:identifier="gst_value_can_intersect">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6002">Determines if intersecting two values will produce a valid result.
|
|
Two values will produce a valid intersection if they have the same
|
|
type.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="790"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6011">%TRUE if the values can intersect</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6004">a value to intersect</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
<parameter name="value2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6005">another value to intersect</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_can_subtract" c:identifier="gst_value_can_subtract">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6242">Checks if it's possible to subtract @subtrahend from @minuend.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="800"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6249">%TRUE if a subtraction is possible</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="minuend" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6244">the value to subtract from</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
<parameter name="subtrahend" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6245">the value to subtract</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_can_union" c:identifier="gst_value_can_union">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="5895">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.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="780"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="5908">%TRUE if there is a function allowing the two values to
|
|
be unioned.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="5897">a value to union</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
<parameter name="value2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="5898">another value to union</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_compare" c:identifier="gst_value_compare">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="5814">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_THAN is returned.
|
|
If @value1 is less than @value2, GST_VALUE_LESS_THAN is returned.
|
|
If the values are equal, GST_VALUE_EQUAL is returned.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="764"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="5825">comparison result</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="5816">a value to compare</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
<parameter name="value2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="5817">another value to compare</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_deserialize" c:identifier="gst_value_deserialize">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6428">Tries to deserialize a string into the type specified by the given GValue.
|
|
If the operation succeeds, %TRUE is returned, %FALSE otherwise.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="564"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6437">%TRUE on success</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="dest"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6430">#GValue to fill with contents of
|
|
deserialization</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6432">string to deserialize</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_deserialize_with_pspec"
|
|
c:identifier="gst_value_deserialize_with_pspec"
|
|
version="1.20">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6475">Tries to deserialize a string into the type specified by the given GValue.
|
|
@pspec may be used to guide the deserializing of nested members.
|
|
If the operation succeeds, %TRUE is returned, %FALSE otherwise.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="568"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6486">%TRUE on success</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="dest"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6477">#GValue to fill with contents of
|
|
deserialization</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6479">string to deserialize</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="pspec"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6480">the #GParamSpec describing the expected value</doc>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_fixate" c:identifier="gst_value_fixate">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6585">Fixate @src into a new value @dest.
|
|
For ranges, the first element is taken. For lists and arrays, the
|
|
first item is fixated and returned.
|
|
If @src is already fixed, this function returns %FALSE.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="809"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6595">%TRUE if @dest contains a fixated version of @src.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="dest" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6587">the #GValue destination</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6588">the #GValue to fixate</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_fraction_multiply"
|
|
c:identifier="gst_value_fraction_multiply">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6811">Multiplies the two #GValue items containing a #GST_TYPE_FRACTION and sets
|
|
@product to the product of the two fractions.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="716"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6820">%FALSE in case of an error (like integer overflow), %TRUE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="product" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6813">a GValue initialized to #GST_TYPE_FRACTION</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="factor1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6814">a GValue initialized to #GST_TYPE_FRACTION</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
<parameter name="factor2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6815">a GValue initialized to #GST_TYPE_FRACTION</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_fraction_subtract"
|
|
c:identifier="gst_value_fraction_subtract">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6846">Subtracts the @subtrahend from the @minuend and sets @dest to the result.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="720"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6854">%FALSE in case of an error (like integer overflow), %TRUE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="dest" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6848">a GValue initialized to #GST_TYPE_FRACTION</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="minuend" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6849">a GValue initialized to #GST_TYPE_FRACTION</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
<parameter name="subtrahend" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6850">a GValue initialized to #GST_TYPE_FRACTION</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_get_bitmask" c:identifier="gst_value_get_bitmask">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="7222">Gets the bitmask specified by @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="745"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="7228">the bitmask.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="7224">a GValue initialized to #GST_TYPE_BITMASK</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function-macro name="value_get_buffer"
|
|
c:identifier="gst_value_get_buffer"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="691">Receives a #GstBuffer as the value of @v. Does not return a reference to
|
|
the buffer, so the pointer is only valid for as long as the caller owns
|
|
a reference to @v.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="700"/>
|
|
<parameters>
|
|
<parameter name="v">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="693">a #GValue to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function name="value_get_caps" c:identifier="gst_value_get_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2197">Gets the contents of @value. The reference count of the returned
|
|
#GstCaps will not be modified, therefore the caller must take one
|
|
before getting rid of the @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="677"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2205">the contents of @value</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2199">a GValue initialized to GST_TYPE_CAPS</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_get_caps_features"
|
|
c:identifier="gst_value_get_caps_features">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2932">Gets the contents of @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="697"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2938">the contents of @value</doc>
|
|
<type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2934">a GValue initialized to GST_TYPE_CAPS_FEATURES</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_get_double_range_max"
|
|
c:identifier="gst_value_get_double_range_max">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1831">Gets the maximum of the range specified by @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="672"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1837">the maximum of the range</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1833">a GValue initialized to GST_TYPE_DOUBLE_RANGE</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_get_double_range_min"
|
|
c:identifier="gst_value_get_double_range_min">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1815">Gets the minimum of the range specified by @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="669"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1821">the minimum of the range</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1817">a GValue initialized to GST_TYPE_DOUBLE_RANGE</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_get_flagset_flags"
|
|
c:identifier="gst_value_get_flagset_flags"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="7381">Retrieve the flags field of a GstFlagSet @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="756"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="7387">the flags field of the flagset instance.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="7383">a GValue initialized to #GST_TYPE_FLAG_SET</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_get_flagset_mask"
|
|
c:identifier="gst_value_get_flagset_mask"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="7399">Retrieve the mask field of a GstFlagSet @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="759"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="7405">the mask field of the flagset instance.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="7401">a GValue initialized to #GST_TYPE_FLAG_SET</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_get_fraction_denominator"
|
|
c:identifier="gst_value_get_fraction_denominator">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6795">Gets the denominator of the fraction specified by @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="713"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6801">the denominator of the fraction.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6797">a GValue initialized to #GST_TYPE_FRACTION</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_get_fraction_numerator"
|
|
c:identifier="gst_value_get_fraction_numerator">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6779">Gets the numerator of the fraction specified by @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="710"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6785">the numerator of the fraction.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6781">a GValue initialized to #GST_TYPE_FRACTION</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_get_fraction_range_max"
|
|
c:identifier="gst_value_get_fraction_range_max">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2095">Gets the maximum of the range specified by @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="740"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2101">the maximum of the range</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2097">a GValue initialized to GST_TYPE_FRACTION_RANGE</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_get_fraction_range_min"
|
|
c:identifier="gst_value_get_fraction_range_min">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2072">Gets the minimum of the range specified by @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="737"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2078">the minimum of the range</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2074">a GValue initialized to GST_TYPE_FRACTION_RANGE</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_get_int64_range_max"
|
|
c:identifier="gst_value_get_int64_range_max">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1652">Gets the maximum of the range specified by @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="657"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1658">the maximum of the range</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1654">a GValue initialized to GST_TYPE_INT64_RANGE</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_get_int64_range_min"
|
|
c:identifier="gst_value_get_int64_range_min">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1636">Gets the minimum of the range specified by @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="654"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1642">the minimum of the range</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1638">a GValue initialized to GST_TYPE_INT64_RANGE</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_get_int64_range_step"
|
|
c:identifier="gst_value_get_int64_range_step">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1668">Gets the step of the range specified by @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="660"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1674">the step of the range</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1670">a GValue initialized to GST_TYPE_INT64_RANGE</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_get_int_range_max"
|
|
c:identifier="gst_value_get_int_range_max">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1406">Gets the maximum of the range specified by @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="637"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1412">the maximum of the range</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1408">a GValue initialized to GST_TYPE_INT_RANGE</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_get_int_range_min"
|
|
c:identifier="gst_value_get_int_range_min">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1390">Gets the minimum of the range specified by @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="634"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1396">the minimum of the range</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1392">a GValue initialized to GST_TYPE_INT_RANGE</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_get_int_range_step"
|
|
c:identifier="gst_value_get_int_range_step">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1422">Gets the step of the range specified by @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="640"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1428">the step of the range</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1424">a GValue initialized to GST_TYPE_INT_RANGE</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function-macro name="value_get_sample"
|
|
c:identifier="gst_value_get_sample"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.h"
|
|
line="195">Receives a #GstSample as the value of @v. Does not return a reference to
|
|
the sample, so the pointer is only valid for as long as the caller owns
|
|
a reference to @v.</doc>
|
|
<source-position filename="gst/gstsample.h" line="205"/>
|
|
<parameters>
|
|
<parameter name="v">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.h"
|
|
line="197">a #GValue to query</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function name="value_get_structure"
|
|
c:identifier="gst_value_get_structure">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2844">Gets the contents of @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="687"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2850">the contents of @value</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2846">a GValue initialized to GST_TYPE_STRUCTURE</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_init_and_copy"
|
|
c:identifier="gst_value_init_and_copy">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6333">Initialises the target value to be of the same type as source and then copies
|
|
the contents from source to target.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="558"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="dest"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6335">the target value</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="src" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6336">the source value</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_intersect" c:identifier="gst_value_intersect">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6061">Calculates the intersection of two values. If the values have
|
|
a non-empty intersection, the value representing the intersection
|
|
is placed in @dest, unless %NULL. If the intersection is non-empty,
|
|
@dest is not modified.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="786"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6075">%TRUE if the intersection is non-empty</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="dest"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6063">
|
|
a uninitialized #GValue that will hold the calculated
|
|
intersection value. May be %NULL if the resulting set if not
|
|
needed.</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="value1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6067">a value to intersect</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
<parameter name="value2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6068">another value to intersect</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_is_fixed" c:identifier="gst_value_is_fixed">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6537">Tests if the given GValue, if available in a GstStructure (or any other
|
|
container) contains a "fixed" (which means: one value) or an "unfixed"
|
|
(which means: multiple possible values, such as data lists or data
|
|
ranges) value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="806"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6546">true if the value is "fixed".</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6539">the #GValue to check</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_is_subset" c:identifier="gst_value_is_subset">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="4313">Check that @value1 is a subset of @value2.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="770"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="4320">%TRUE is @value1 is a subset of @value2</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="4315">a #GValue</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
<parameter name="value2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="4316">a #GValue</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_register" c:identifier="gst_value_register">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6308">Registers functions to perform calculations on #GValue items of a given
|
|
type. Each type can only be added once.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="555"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="table" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6310">structure containing functions to register</doc>
|
|
<type name="ValueTable" c:type="const GstValueTable*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_serialize" c:identifier="gst_value_serialize">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6376">tries to transform the given @value into a string representation that allows
|
|
getting back this string later on using gst_value_deserialize().
|
|
|
|
Free-function: g_free</doc>
|
|
<source-position filename="gst/gstvalue.h" line="561"/>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6385">the serialization for @value
|
|
or %NULL if none exists</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6378">a #GValue to serialize</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_set_bitmask" c:identifier="gst_value_set_bitmask">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="7207">Sets @value to the bitmask specified by @bitmask.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="748"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="7209">a GValue initialized to #GST_TYPE_BITMASK</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="bitmask" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="7210">the bitmask</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function-macro name="value_set_buffer"
|
|
c:identifier="gst_value_set_buffer"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="675">Sets @b as the value of @v. Caller retains reference to buffer.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="681"/>
|
|
<parameters>
|
|
<parameter name="v">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="677">a #GValue to receive the data</doc>
|
|
</parameter>
|
|
<parameter name="b">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="678">a #GstBuffer to assign to the GstValue</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function name="value_set_caps" c:identifier="gst_value_set_caps">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2179">Sets the contents of @value to @caps. A reference to the
|
|
provided @caps will be taken by the @value.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="680"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2181">a GValue initialized to GST_TYPE_CAPS</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2182">the caps to set the value to</doc>
|
|
<type name="Caps" c:type="const GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_set_caps_features"
|
|
c:identifier="gst_value_set_caps_features">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2915">Sets the contents of @value to @features.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="700"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2917">a GValue initialized to GST_TYPE_CAPS_FEATURES</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="features" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2918">the features to set the value to</doc>
|
|
<type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_set_double_range"
|
|
c:identifier="gst_value_set_double_range">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1797">Sets @value to the range specified by @start and @end.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="665"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1799">a GValue initialized to GST_TYPE_DOUBLE_RANGE</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1800">the start of the range</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
<parameter name="end" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1801">the end of the range</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_set_flagset"
|
|
c:identifier="gst_value_set_flagset"
|
|
version="1.6">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="7359">Sets @value to the flags and mask values provided in @flags and @mask.
|
|
The @flags value indicates the values of flags, the @mask represents
|
|
which bits in the flag value have been set, and which are "don't care"</doc>
|
|
<source-position filename="gst/gstvalue.h" line="753"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="7361">a GValue initialized to %GST_TYPE_FLAG_SET</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="7362">The value of the flags set or unset</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
<parameter name="mask" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="7363">The mask indicate which flags bits must match for comparisons</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_set_fraction" c:identifier="gst_value_set_fraction">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6740">Sets @value to the fraction specified by @numerator over @denominator.
|
|
The fraction gets reduced to the smallest numerator and denominator,
|
|
and if necessary the sign is moved to the numerator.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="706"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6742">a GValue initialized to #GST_TYPE_FRACTION</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="numerator" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6743">the numerator of the fraction</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="denominator" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6744">the denominator of the fraction</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_set_fraction_range"
|
|
c:identifier="gst_value_set_fraction_range">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1997">Sets @value to the range specified by @start and @end.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="727"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1999">a GValue initialized to GST_TYPE_FRACTION_RANGE</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2000">the start of the range (a GST_TYPE_FRACTION GValue)</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
<parameter name="end" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2001">the end of the range (a GST_TYPE_FRACTION GValue)</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_set_fraction_range_full"
|
|
c:identifier="gst_value_set_fraction_range_full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2026">Sets @value to the range specified by @numerator_start/@denominator_start
|
|
and @numerator_end/@denominator_end.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="731"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2028">a GValue initialized to GST_TYPE_FRACTION_RANGE</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="numerator_start" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2029">the numerator start of the range</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="denominator_start" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2030">the denominator start of the range</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="numerator_end" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2031">the numerator end of the range</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="denominator_end" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2032">the denominator end of the range</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_set_int64_range"
|
|
c:identifier="gst_value_set_int64_range">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1622">Sets @value to the range specified by @start and @end.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="645"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1624">a GValue initialized to GST_TYPE_INT64_RANGE</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1625">the start of the range</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
<parameter name="end" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1626">the end of the range</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_set_int64_range_step"
|
|
c:identifier="gst_value_set_int64_range_step">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1598">Sets @value to the range specified by @start, @end and @step.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="649"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1600">a GValue initialized to GST_TYPE_INT64_RANGE</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1601">the start of the range</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
<parameter name="end" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1602">the end of the range</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
<parameter name="step" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1603">the step of the range</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_set_int_range"
|
|
c:identifier="gst_value_set_int_range">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1376">Sets @value to the range specified by @start and @end.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="625"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1378">a GValue initialized to GST_TYPE_INT_RANGE</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1379">the start of the range</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="end" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1380">the end of the range</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_set_int_range_step"
|
|
c:identifier="gst_value_set_int_range_step">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1350">Sets @value to the range specified by @start, @end and @step.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="629"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1352">a GValue initialized to GST_TYPE_INT_RANGE</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1353">the start of the range</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="end" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1354">the end of the range</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="step" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="1355">the step of the range</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function-macro name="value_set_sample"
|
|
c:identifier="gst_value_set_sample"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.h"
|
|
line="179">Sets @b as the value of @v. Caller retains reference to sample.</doc>
|
|
<source-position filename="gst/gstsample.h" line="186"/>
|
|
<parameters>
|
|
<parameter name="v">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.h"
|
|
line="181">a #GValue to receive the data</doc>
|
|
</parameter>
|
|
<parameter name="b">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.h"
|
|
line="182">a #GstSample to assign to the GstValue</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function name="value_set_structure"
|
|
c:identifier="gst_value_set_structure">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2827">Sets the contents of @value to @structure.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="690"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2829">a GValue initialized to GST_TYPE_STRUCTURE</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="structure" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="2830">the structure to set the value to</doc>
|
|
<type name="Structure" c:type="const GstStructure*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="value_subtract" c:identifier="gst_value_subtract">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6177">Subtracts @subtrahend from @minuend and stores the result in @dest.
|
|
Note that this means subtraction as in sets, not as in mathematics.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="796"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6189">%TRUE if the subtraction is not empty</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="dest"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6179">the destination value
|
|
for the result if the subtraction is not empty. May be %NULL,
|
|
in which case the resulting set will not be computed, which can
|
|
give a fair speedup.</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="minuend" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6183">the value to subtract from</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
<parameter name="subtrahend" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="6184">the value to subtract</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function-macro name="value_take_buffer"
|
|
c:identifier="gst_value_take_buffer"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="683">Sets @b as the value of @v. Caller gives away reference to buffer.</doc>
|
|
<source-position filename="gst/gstbuffer.h" line="689"/>
|
|
<parameters>
|
|
<parameter name="v">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="685">a #GValue to receive the data</doc>
|
|
</parameter>
|
|
<parameter name="b">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstbuffer.h"
|
|
line="686">a #GstBuffer to assign to the GstValue</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="value_take_sample"
|
|
c:identifier="gst_value_take_sample"
|
|
introspectable="0">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.h"
|
|
line="187">Sets @b as the value of @v. Caller gives away reference to sample.</doc>
|
|
<source-position filename="gst/gstsample.h" line="194"/>
|
|
<parameters>
|
|
<parameter name="v">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.h"
|
|
line="189">a #GValue to receive the data</doc>
|
|
</parameter>
|
|
<parameter name="b">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstsample.h"
|
|
line="190">a #GstSample to assign to the GstValue</doc>
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function name="value_union" c:identifier="gst_value_union">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="5935">Creates a GValue corresponding to the union of @value1 and @value2.</doc>
|
|
<source-position filename="gst/gstvalue.h" line="776"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="5943">%TRUE if the union succeeded.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="dest"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="5937">the destination value</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
<parameter name="value1" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="5938">a value to union</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
<parameter name="value2" transfer-ownership="none">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gstvalue.c"
|
|
line="5939">another value to union</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="version" c:identifier="gst_version">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="1264">Gets the version number of the GStreamer library.</doc>
|
|
<source-position filename="gst/gst.h" line="116"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="major"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="1266">pointer to a guint to store the major version number</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
<parameter name="minor"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="1267">pointer to a guint to store the minor version number</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
<parameter name="micro"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="1268">pointer to a guint to store the micro version number</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
<parameter name="nano"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="1269">pointer to a guint to store the nano version number</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="version_string" c:identifier="gst_version_string">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="1287">This function returns a string that is useful for describing this version
|
|
of GStreamer to the outside world: user agent strings, logging, ...</doc>
|
|
<source-position filename="gst/gst.h" line="119"/>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve"
|
|
filename="gst/gst.c"
|
|
line="1293">a newly allocated string describing this version
|
|
of GStreamer.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
</function>
|
|
</namespace>
|
|
</repository>
|