mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-23 16:40:35 +00:00
13394 lines
609 KiB
XML
13394 lines
609 KiB
XML
<?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="Gio" version="2.0"/>
|
|
<include name="Gst" version="1.0"/>
|
|
<include name="GstPbutils" version="1.0"/>
|
|
<include name="GstVideo" version="1.0"/>
|
|
<package name="gst-editing-services-1.0"/>
|
|
<c:include name="ges/ges.h"/>
|
|
<namespace name="GES"
|
|
version="1.0"
|
|
shared-library="libges-1.0.so.0"
|
|
c:identifier-prefixes="GES"
|
|
c:symbol-prefixes="ges">
|
|
<class name="Asset"
|
|
c:symbol-prefix="asset"
|
|
c:type="GESAsset"
|
|
parent="GObject.Object"
|
|
glib:type-name="GESAsset"
|
|
glib:get-type="ges_asset_get_type"
|
|
glib:type-struct="AssetClass">
|
|
<doc xml:space="preserve">The Assets in the GStreamer Editing Services represent the resources
|
|
that can be used. You can create assets for any type that implements the #GESExtractable
|
|
interface, for example #GESClips, #GESFormatter, and #GESTrackElement do implement it.
|
|
This means that assets will represent for example a #GESUriClips, #GESBaseEffect etc,
|
|
and then you can extract objects of those types with the appropriate parameters from the asset
|
|
using the #ges_asset_extract method:
|
|
|
|
|[
|
|
GESAsset *effect_asset;
|
|
GESEffect *effect;
|
|
|
|
// You create an asset for an effect
|
|
effect_asset = ges_asset_request (GES_TYPE_EFFECT, "agingtv", NULL);
|
|
|
|
// And now you can extract an instance of GESEffect from that asset
|
|
effect = GES_EFFECT (ges_asset_extract (effect_asset));
|
|
|
|
]|
|
|
|
|
In that example, the advantages of having a #GESAsset are that you can know what effects
|
|
you are working with and let your user know about the avalaible ones, you can add metadata
|
|
to the #GESAsset through the #GESMetaContainer interface and you have a model for your
|
|
custom effects. Note that #GESAsset management is making easier thanks to the #GESProject class.
|
|
|
|
Each asset is represented by a pair of @extractable_type and @id (string). Actually the @extractable_type
|
|
is the type that implements the #GESExtractable interface, that means that for example for a #GESUriClip,
|
|
the type that implements the #GESExtractable interface is #GESClip.
|
|
The identifier represents different things depending on the @extractable_type and you should check
|
|
the documentation of each type to know what the ID of #GESAsset actually represents for that type. By default,
|
|
we only have one #GESAsset per type, and the @id is the name of the type, but this behaviour is overriden
|
|
to be more useful. For example, for GESTransitionClips, the ID is the vtype of the transition
|
|
you will extract from it (ie crossfade, box-wipe-rc etc..) For #GESEffect the ID is the
|
|
@bin-description property of the extracted objects (ie the gst-launch style description of the bin that
|
|
will be used).
|
|
|
|
Each and every #GESAsset is cached into GES, and you can query those with the #ges_list_assets function.
|
|
Also the system will automatically register #GESAssets for #GESFormatters and #GESTransitionClips
|
|
and standard effects (actually not implemented yet) and you can simply query those calling:
|
|
|[
|
|
GList *formatter_assets, *tmp;
|
|
|
|
// List all the transitions
|
|
formatter_assets = ges_list_assets (GES_TYPE_FORMATTER);
|
|
|
|
// Print some infos about the formatter GESAsset
|
|
for (tmp = formatter_assets; tmp; tmp = tmp->next) {
|
|
g_print ("Name of the formatter: %s, file extension it produces: %s",
|
|
ges_meta_container_get_string (GES_META_CONTAINER (tmp->data), GES_META_FORMATTER_NAME),
|
|
ges_meta_container_get_string (GES_META_CONTAINER (tmp->data), GES_META_FORMATTER_EXTENSION));
|
|
}
|
|
|
|
g_list_free (transition_assets);
|
|
|
|
]|
|
|
|
|
You can request the creation of #GESAssets using either ges_asset_request() or
|
|
ges_asset_request_async(). All the #GESAssets are cached and thus any asset that has already
|
|
been created can be requested again without overhead.</doc>
|
|
<implements name="MetaContainer"/>
|
|
<implements name="Gio.AsyncInitable"/>
|
|
<implements name="Gio.Initable"/>
|
|
<function name="needs_reload" c:identifier="ges_asset_needs_reload">
|
|
<doc xml:space="preserve">Sets an asset from the internal cache as needing reload. An asset needs reload
|
|
in the case where, for example, we were missing a GstPlugin to use it and that
|
|
plugin has been installed, or, that particular asset content as changed
|
|
meanwhile (in the case of the usage of proxies).
|
|
|
|
Once an asset has been set as "needs reload", requesting that asset again
|
|
will lead to it being re discovered, and reloaded as if it was not in the
|
|
cache before.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the asset was in the cache and could be set as needing reload,
|
|
%FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="extractable_type" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GType of the object that can be extracted from the
|
|
asset to be reloaded.</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
<parameter name="id" transfer-ownership="none">
|
|
<doc xml:space="preserve">The identifier of the asset to mark as needing reload</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="request" c:identifier="ges_asset_request" throws="1">
|
|
<doc xml:space="preserve">Create a #GESAsset in the most simple cases, you should look at the @extractable_type
|
|
documentation to see if that constructor can be called for this particular type
|
|
|
|
As it is recommanded not to instanciate assets for GESUriClip synchronously,
|
|
it will not work with this method, but you can instead use the specific
|
|
#ges_uri_clip_asset_request_sync method if you really want to.</doc>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve">A reference to the wanted #GESAsset or %NULL</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="extractable_type" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GType of the object that can be extracted from the new asset.</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
<parameter name="id"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">The Identifier or %NULL</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="request_async" c:identifier="ges_asset_request_async">
|
|
<doc xml:space="preserve">The @callback will be called from a running #GMainLoop which is iterating a #GMainContext.
|
|
Note that, users should ensure the #GMainContext, since this method will notify
|
|
@callback from the thread which was associated with a thread default
|
|
#GMainContext at calling ges_init().
|
|
For example, if a user wants non-default #GMainContext to be associated
|
|
with @callback, ges_init() must be called after g_main_context_push_thread_default ()
|
|
with custom #GMainContext.
|
|
|
|
Request a new #GESAsset asyncronously, @callback will be called when the materail is
|
|
ready to be used or if an error occured.
|
|
|
|
Example of request of a GESAsset async:
|
|
|[
|
|
// The request callback
|
|
static void
|
|
asset_loaded_cb (GESAsset * source, GAsyncResult * res, gpointer user_data)
|
|
{
|
|
GESAsset *asset;
|
|
GError *error = NULL;
|
|
|
|
asset = ges_asset_request_finish (res, &error);
|
|
if (asset) {
|
|
g_print ("The file: %s is usable as a FileSource",
|
|
ges_asset_get_id (asset));
|
|
} else {
|
|
g_print ("The file: %s is *not* usable as a FileSource because: %s",
|
|
ges_asset_get_id (source), error->message);
|
|
}
|
|
|
|
gst_object_unref (mfs);
|
|
}
|
|
|
|
// The request:
|
|
ges_asset_request_async (GES_TYPE_URI_CLIP, some_uri, NULL,
|
|
(GAsyncReadyCallback) asset_loaded_cb, user_data);
|
|
]|</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="extractable_type" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GType of the object that can be extracted from the
|
|
new asset. The class must implement the #GESExtractable interface.</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
<parameter name="id" transfer-ownership="none">
|
|
<doc xml:space="preserve">The Identifier of the asset we want to create. This identifier depends of the extractable,
|
|
type you want. By default it is the name of the class itself (or %NULL), but for example for a
|
|
GESEffect, it will be the pipeline description, for a GESUriClip it
|
|
will be the name of the file, etc... You should refer to the documentation of the #GESExtractable
|
|
type you want to create a #GESAsset for.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="cancellable"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">optional %GCancellable object, %NULL to ignore.</doc>
|
|
<type name="Gio.Cancellable" c:type="GCancellable*"/>
|
|
</parameter>
|
|
<parameter name="callback"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
scope="async"
|
|
closure="4">
|
|
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the initialization is finished,
|
|
Note that the @source of the callback will be the #GESAsset, but you need to
|
|
make sure that the asset is properly loaded using the #ges_asset_request_finish
|
|
method. This asset can not be used as is.</doc>
|
|
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">The user data to pass when @callback is called</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="request_finish"
|
|
c:identifier="ges_asset_request_finish"
|
|
throws="1">
|
|
<doc xml:space="preserve">Finalize the request of an async #GESAsset</doc>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve">The #GESAsset previously requested</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="res" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GAsyncResult from which to get the newly created #GESAsset</doc>
|
|
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<virtual-method name="extract" invoker="extract" throws="1">
|
|
<doc xml:space="preserve">Extracts a new #GObject from @asset. The type of the object is
|
|
defined by the extractable-type of @asset, you can check what
|
|
type will be extracted from @asset using
|
|
#ges_asset_get_extractable_type</doc>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">A newly created #GESExtractable</doc>
|
|
<type name="Extractable" c:type="GESExtractable*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESAsset to get extract an object from</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="inform_proxy">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</instance-parameter>
|
|
<parameter name="proxy_id" transfer-ownership="none">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="proxied">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</instance-parameter>
|
|
<parameter name="proxy" transfer-ownership="none">
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="request_id_update">
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</instance-parameter>
|
|
<parameter name="proposed_new_id" transfer-ownership="none">
|
|
<type name="utf8" c:type="gchar**"/>
|
|
</parameter>
|
|
<parameter name="error" transfer-ownership="none">
|
|
<type name="GLib.Error" c:type="GError*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="start_loading" throws="1">
|
|
<return-value transfer-ownership="none">
|
|
<type name="AssetLoadingReturn" c:type="GESAssetLoadingReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="extract" c:identifier="ges_asset_extract" throws="1">
|
|
<doc xml:space="preserve">Extracts a new #GObject from @asset. The type of the object is
|
|
defined by the extractable-type of @asset, you can check what
|
|
type will be extracted from @asset using
|
|
#ges_asset_get_extractable_type</doc>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">A newly created #GESExtractable</doc>
|
|
<type name="Extractable" c:type="GESExtractable*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESAsset to get extract an object from</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_error"
|
|
c:identifier="ges_asset_get_error"
|
|
version="1.8">
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">The #GError of the asset or %NULL if
|
|
the asset was loaded without issue</doc>
|
|
<type name="GLib.Error" c:type="GError*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The asset to retrieve the error from</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_extractable_type"
|
|
c:identifier="ges_asset_get_extractable_type">
|
|
<doc xml:space="preserve">Gets the type of object that can be extracted from @self</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">the type of object that can be extracted from @self</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESAsset</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_id" c:identifier="ges_asset_get_id">
|
|
<doc xml:space="preserve">Gets the ID of a #GESAsset</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The ID of @self</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESAsset to get ID from</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_proxy" c:identifier="ges_asset_get_proxy">
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">The proxy in use for @asset</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="asset" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESAsset to get currenlty used proxy</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_proxy_target"
|
|
c:identifier="ges_asset_get_proxy_target">
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">The #GESAsset that is proxied by @proxy</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="proxy" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESAsset from which to get the the asset it proxies.</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="list_proxies" c:identifier="ges_asset_list_proxies">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The list of proxies @asset has. Note that the default asset to be
|
|
used is always the first in that list.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Asset"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="asset" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESAsset to get proxies from</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_proxy" c:identifier="ges_asset_set_proxy">
|
|
<doc xml:space="preserve">A proxying asset is an asset that can substitue the real @asset. For example if you
|
|
have a full HD #GESUriClipAsset you might want to set a lower resolution (HD version
|
|
of the same file) as proxy. Note that when an asset is proxied, calling
|
|
#ges_asset_request will actually return the proxy asset.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @proxy has been set on @asset, %FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="asset" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESAsset to set proxy on</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</instance-parameter>
|
|
<parameter name="proxy"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">The #GESAsset that should be used as default proxy for @asset or
|
|
%NULL if you want to use the currently set proxy. Note that an asset can proxy one and only
|
|
one other asset.</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unproxy" c:identifier="ges_asset_unproxy">
|
|
<doc xml:space="preserve">Removes @proxy from the list of known proxies for @asset.
|
|
If @proxy was the current proxy for @asset, stop using it.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @proxy was a known proxy for @asset, %FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="asset" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESAsset to stop proxying with @proxy</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</instance-parameter>
|
|
<parameter name="proxy" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESAsset to stop considering as a proxy for @asset</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="extractable-type"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<type name="GType" c:type="GType"/>
|
|
</property>
|
|
<property name="id"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</property>
|
|
<property name="proxy" writable="1" transfer-ownership="none">
|
|
<type name="Asset"/>
|
|
</property>
|
|
<property name="proxy-target" writable="1" transfer-ownership="none">
|
|
<type name="Asset"/>
|
|
</property>
|
|
<field name="parent">
|
|
<type name="GObject.Object" c:type="GObject"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="AssetPrivate" c:type="GESAssetPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="AssetClass"
|
|
c:type="GESAssetClass"
|
|
glib:is-gtype-struct-for="Asset">
|
|
<field name="parent">
|
|
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
|
|
</field>
|
|
<field name="start_loading">
|
|
<callback name="start_loading" throws="1">
|
|
<return-value transfer-ownership="none">
|
|
<type name="AssetLoadingReturn" c:type="GESAssetLoadingReturn"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="extract">
|
|
<callback name="extract" throws="1">
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">A newly created #GESExtractable</doc>
|
|
<type name="Extractable" c:type="GESExtractable*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESAsset to get extract an object from</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="inform_proxy">
|
|
<callback name="inform_proxy">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
<parameter name="proxy_id" transfer-ownership="none">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="proxied">
|
|
<callback name="proxied">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
<parameter name="proxy" transfer-ownership="none">
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="request_id_update">
|
|
<callback name="request_id_update">
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
<parameter name="proposed_new_id" transfer-ownership="none">
|
|
<type name="utf8" c:type="gchar**"/>
|
|
</parameter>
|
|
<parameter name="error" transfer-ownership="none">
|
|
<type name="GLib.Error" c:type="GError*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_ges_reserved">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<enumeration name="AssetLoadingReturn" c:type="GESAssetLoadingReturn">
|
|
<member name="error" value="0" c:identifier="GES_ASSET_LOADING_ERROR">
|
|
</member>
|
|
<member name="async" value="1" c:identifier="GES_ASSET_LOADING_ASYNC">
|
|
</member>
|
|
<member name="ok" value="2" c:identifier="GES_ASSET_LOADING_OK">
|
|
</member>
|
|
</enumeration>
|
|
<record name="AssetPrivate" c:type="GESAssetPrivate" disguised="1">
|
|
</record>
|
|
<class name="AudioSource"
|
|
c:symbol-prefix="audio_source"
|
|
c:type="GESAudioSource"
|
|
parent="Source"
|
|
abstract="1"
|
|
glib:type-name="GESAudioSource"
|
|
glib:get-type="ges_audio_source_get_type"
|
|
glib:type-struct="AudioSourceClass">
|
|
<doc xml:space="preserve">## Children Properties
|
|
|
|
You can use the following children properties through the
|
|
#ges_track_element_set_child_property and alike set of methods:
|
|
|
|
<informaltable frame="none">
|
|
<tgroup cols="3">
|
|
<colspec colname="properties_type" colwidth="150px"/>
|
|
<colspec colname="properties_name" colwidth="200px"/>
|
|
<colspec colname="properties_flags" colwidth="400px"/>
|
|
<tbody>
|
|
<row>
|
|
<entry role="property_type"><link linkend="gdouble"><type>double</type></link></entry>
|
|
<entry role="property_name"><link linkend="GESAudioSource--volume">volume</link></entry>
|
|
<entry>volume factor, 1.0=100%.</entry>
|
|
</row>
|
|
<row>
|
|
<entry role="property_type"><link linkend="gboolean"><type>gboolean</type></link></entry>
|
|
<entry role="property_name"><link linkend="GESAudioSource--mute">mute</link></entry>
|
|
<entry>mute channel.</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</informaltable></doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<field name="parent" readable="0" private="1">
|
|
<type name="Source" c:type="GESSource"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="AudioSourcePrivate" c:type="GESAudioSourcePrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="AudioSourceClass"
|
|
c:type="GESAudioSourceClass"
|
|
glib:is-gtype-struct-for="AudioSource">
|
|
<field name="parent_class" readable="0" private="1">
|
|
<type name="SourceClass" c:type="GESSourceClass"/>
|
|
</field>
|
|
<field name="create_source" introspectable="0">
|
|
<callback name="create_source" introspectable="0">
|
|
<return-value>
|
|
<type name="Gst.Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="AudioSourcePrivate"
|
|
c:type="GESAudioSourcePrivate"
|
|
disguised="1">
|
|
</record>
|
|
<class name="AudioTestSource"
|
|
c:symbol-prefix="audio_test_source"
|
|
c:type="GESAudioTestSource"
|
|
parent="AudioSource"
|
|
glib:type-name="GESAudioTestSource"
|
|
glib:get-type="ges_audio_test_source_get_type"
|
|
glib:type-struct="AudioTestSourceClass">
|
|
<doc xml:space="preserve">Outputs a test audio stream using audiotestsrc. The default property values
|
|
output silence. Useful for testing pipelines, or to fill gaps in an audio
|
|
track.</doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<method name="get_freq" c:identifier="ges_audio_test_source_get_freq">
|
|
<doc xml:space="preserve">Get the current frequency of @self.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The current frequency of @self.</doc>
|
|
<type name="gdouble" c:type="double"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESAudioTestSource</doc>
|
|
<type name="AudioTestSource" c:type="GESAudioTestSource*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_volume"
|
|
c:identifier="ges_audio_test_source_get_volume">
|
|
<doc xml:space="preserve">Get the current volume of @self.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The current volume of @self</doc>
|
|
<type name="gdouble" c:type="double"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESAudioTestSource</doc>
|
|
<type name="AudioTestSource" c:type="GESAudioTestSource*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_freq" c:identifier="ges_audio_test_source_set_freq">
|
|
<doc xml:space="preserve">Lets you set the frequency applied on the track element</doc>
|
|
<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">a #GESAudioTestSource</doc>
|
|
<type name="AudioTestSource" c:type="GESAudioTestSource*"/>
|
|
</instance-parameter>
|
|
<parameter name="freq" transfer-ownership="none">
|
|
<doc xml:space="preserve">The frequency you want to apply on @self</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_volume"
|
|
c:identifier="ges_audio_test_source_set_volume">
|
|
<doc xml:space="preserve">Sets the volume of the test audio signal.</doc>
|
|
<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">a #GESAudioTestSource</doc>
|
|
<type name="AudioTestSource" c:type="GESAudioTestSource*"/>
|
|
</instance-parameter>
|
|
<parameter name="volume" transfer-ownership="none">
|
|
<doc xml:space="preserve">The volume you want to apply on @self</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<field name="parent">
|
|
<type name="AudioSource" c:type="GESAudioSource"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="AudioTestSourcePrivate"
|
|
c:type="GESAudioTestSourcePrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="AudioTestSourceClass"
|
|
c:type="GESAudioTestSourceClass"
|
|
glib:is-gtype-struct-for="AudioTestSource">
|
|
<field name="parent_class" readable="0" private="1">
|
|
<type name="AudioSourceClass" c:type="GESAudioSourceClass"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="AudioTestSourcePrivate"
|
|
c:type="GESAudioTestSourcePrivate"
|
|
disguised="1">
|
|
</record>
|
|
<class name="AudioTrack"
|
|
c:symbol-prefix="audio_track"
|
|
c:type="GESAudioTrack"
|
|
parent="Track"
|
|
glib:type-name="GESAudioTrack"
|
|
glib:get-type="ges_audio_track_get_type"
|
|
glib:type-struct="AudioTrackClass">
|
|
<doc xml:space="preserve">Sane default properties to specify and fixate the output stream are
|
|
set as restriction-caps.
|
|
It is advised, to modify these properties, to use
|
|
#ges_track_update_restriction_caps, setting them directly is
|
|
possible through #ges_track_set_restriction_caps, but not specifying
|
|
one of them can lead to negotiation issues, only use that function
|
|
if you actually know what you're doing :)
|
|
|
|
The default properties are:
|
|
- format: S32LE
|
|
- channels: 2
|
|
- rate: 44100
|
|
- layout: interleaved</doc>
|
|
<implements name="MetaContainer"/>
|
|
<implements name="Gst.ChildProxy"/>
|
|
<constructor name="new" c:identifier="ges_audio_track_new">
|
|
<doc xml:space="preserve">Creates a new #GESAudioTrack of type #GES_TRACK_TYPE_AUDIO and with generic
|
|
raw audio caps ("audio/x-raw");</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">A new #GESTrack</doc>
|
|
<type name="AudioTrack" c:type="GESAudioTrack*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<field name="parent_instance">
|
|
<type name="Track" c:type="GESTrack"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="AudioTrackPrivate" c:type="GESAudioTrackPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="AudioTrackClass"
|
|
c:type="GESAudioTrackClass"
|
|
glib:is-gtype-struct-for="AudioTrack">
|
|
<field name="parent_class">
|
|
<type name="TrackClass" c:type="GESTrackClass"/>
|
|
</field>
|
|
<field name="_ges_reserved">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="AudioTrackPrivate"
|
|
c:type="GESAudioTrackPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<class name="AudioTransition"
|
|
c:symbol-prefix="audio_transition"
|
|
c:type="GESAudioTransition"
|
|
parent="Transition"
|
|
glib:type-name="GESAudioTransition"
|
|
glib:get-type="ges_audio_transition_get_type"
|
|
glib:type-struct="AudioTransitionClass">
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<constructor name="new" c:identifier="ges_audio_transition_new">
|
|
<doc xml:space="preserve">Creates a new #GESAudioTransition.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The newly created #GESAudioTransition.</doc>
|
|
<type name="AudioTransition" c:type="GESAudioTransition*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<field name="parent">
|
|
<type name="Transition" c:type="GESTransition"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="AudioTransitionPrivate"
|
|
c:type="GESAudioTransitionPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="AudioTransitionClass"
|
|
c:type="GESAudioTransitionClass"
|
|
glib:is-gtype-struct-for="AudioTransition">
|
|
<field name="parent_class">
|
|
<type name="TransitionClass" c:type="GESTransitionClass"/>
|
|
</field>
|
|
<field name="_ges_reserved">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="AudioTransitionPrivate"
|
|
c:type="GESAudioTransitionPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<class name="AudioUriSource"
|
|
c:symbol-prefix="audio_uri_source"
|
|
c:type="GESAudioUriSource"
|
|
parent="AudioSource"
|
|
glib:type-name="GESAudioUriSource"
|
|
glib:get-type="ges_audio_uri_source_get_type"
|
|
glib:type-struct="AudioUriSourceClass">
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<property name="uri"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The location of the file/resource to use.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</property>
|
|
<field name="parent" readable="0" private="1">
|
|
<type name="AudioSource" c:type="GESAudioSource"/>
|
|
</field>
|
|
<field name="uri" readable="0" private="1">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="AudioUriSourcePrivate" c:type="GESAudioUriSourcePrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="AudioUriSourceClass"
|
|
c:type="GESAudioUriSourceClass"
|
|
glib:is-gtype-struct-for="AudioUriSource">
|
|
<field name="parent_class" readable="0" private="1">
|
|
<type name="AudioSourceClass" c:type="GESAudioSourceClass"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="AudioUriSourcePrivate"
|
|
c:type="GESAudioUriSourcePrivate"
|
|
disguised="1">
|
|
</record>
|
|
<class name="BaseEffect"
|
|
c:symbol-prefix="base_effect"
|
|
c:type="GESBaseEffect"
|
|
parent="Operation"
|
|
abstract="1"
|
|
glib:type-name="GESBaseEffect"
|
|
glib:get-type="ges_base_effect_get_type"
|
|
glib:type-struct="BaseEffectClass">
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<field name="parent" readable="0" private="1">
|
|
<type name="Operation" c:type="GESOperation"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="BaseEffectPrivate" c:type="GESBaseEffectPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="BaseEffectClass"
|
|
c:type="GESBaseEffectClass"
|
|
glib:is-gtype-struct-for="BaseEffect">
|
|
<field name="parent_class" readable="0" private="1">
|
|
<doc xml:space="preserve">parent class</doc>
|
|
<type name="OperationClass" c:type="GESOperationClass"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<class name="BaseEffectClip"
|
|
c:symbol-prefix="base_effect_clip"
|
|
c:type="GESBaseEffectClip"
|
|
parent="OperationClip"
|
|
abstract="1"
|
|
glib:type-name="GESBaseEffectClip"
|
|
glib:get-type="ges_base_effect_clip_get_type"
|
|
glib:type-struct="BaseEffectClipClass">
|
|
<doc xml:space="preserve">The effect will be applied on the sources that have lower priorities
|
|
(higher number) between the inpoint and the end of it.</doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<field name="parent" readable="0" private="1">
|
|
<type name="OperationClip" c:type="GESOperationClip"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="BaseEffectClipPrivate" c:type="GESBaseEffectClipPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="BaseEffectClipClass"
|
|
c:type="GESBaseEffectClipClass"
|
|
glib:is-gtype-struct-for="BaseEffectClip">
|
|
<field name="parent_class" readable="0" private="1">
|
|
<type name="OperationClipClass" c:type="GESOperationClipClass"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="BaseEffectClipPrivate"
|
|
c:type="GESBaseEffectClipPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<record name="BaseEffectPrivate"
|
|
c:type="GESBaseEffectPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<class name="BaseTransitionClip"
|
|
c:symbol-prefix="base_transition_clip"
|
|
c:type="GESBaseTransitionClip"
|
|
parent="OperationClip"
|
|
abstract="1"
|
|
glib:type-name="GESBaseTransitionClip"
|
|
glib:get-type="ges_base_transition_clip_get_type"
|
|
glib:type-struct="BaseTransitionClipClass">
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<field name="parent" readable="0" private="1">
|
|
<type name="OperationClip" c:type="GESOperationClip"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="BaseTransitionClipPrivate"
|
|
c:type="GESBaseTransitionClipPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="BaseTransitionClipClass"
|
|
c:type="GESBaseTransitionClipClass"
|
|
glib:is-gtype-struct-for="BaseTransitionClip">
|
|
<field name="parent_class" readable="0" private="1">
|
|
<type name="OperationClipClass" c:type="GESOperationClipClass"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="BaseTransitionClipPrivate"
|
|
c:type="GESBaseTransitionClipPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<class name="BaseXmlFormatter"
|
|
c:symbol-prefix="base_xml_formatter"
|
|
c:type="GESBaseXmlFormatter"
|
|
parent="Formatter"
|
|
abstract="1"
|
|
glib:type-name="GESBaseXmlFormatter"
|
|
glib:get-type="ges_base_xml_formatter_get_type"
|
|
glib:type-struct="BaseXmlFormatterClass">
|
|
<implements name="Extractable"/>
|
|
<field name="parent">
|
|
<type name="Formatter" c:type="GESFormatter"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="BaseXmlFormatterPrivate"
|
|
c:type="GESBaseXmlFormatterPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="BaseXmlFormatterClass"
|
|
c:type="GESBaseXmlFormatterClass"
|
|
glib:is-gtype-struct-for="BaseXmlFormatter">
|
|
<field name="parent">
|
|
<type name="FormatterClass" c:type="GESFormatterClass"/>
|
|
</field>
|
|
<field name="content_parser">
|
|
<type name="GLib.MarkupParser" c:type="GMarkupParser"/>
|
|
</field>
|
|
<field name="save">
|
|
<callback name="save" throws="1">
|
|
<return-value transfer-ownership="full">
|
|
<type name="GLib.String" c:type="GString*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="formatter" transfer-ownership="none">
|
|
<type name="Formatter" c:type="GESFormatter*"/>
|
|
</parameter>
|
|
<parameter name="timeline" transfer-ownership="none">
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_ges_reserved">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="BaseXmlFormatterPrivate"
|
|
c:type="GESBaseXmlFormatterPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<enumeration name="ChildrenControlMode" c:type="GESChildrenControlMode">
|
|
<member name="update" value="0" c:identifier="GES_CHILDREN_UPDATE">
|
|
</member>
|
|
<member name="ignore_notifies"
|
|
value="1"
|
|
c:identifier="GES_CHILDREN_IGNORE_NOTIFIES">
|
|
</member>
|
|
<member name="update_offsets"
|
|
value="2"
|
|
c:identifier="GES_CHILDREN_UPDATE_OFFSETS">
|
|
</member>
|
|
<member name="update_all_values"
|
|
value="3"
|
|
c:identifier="GES_CHILDREN_UPDATE_ALL_VALUES">
|
|
</member>
|
|
<member name="last" value="4" c:identifier="GES_CHILDREN_LAST">
|
|
</member>
|
|
</enumeration>
|
|
<class name="Clip"
|
|
c:symbol-prefix="clip"
|
|
c:type="GESClip"
|
|
parent="Container"
|
|
abstract="1"
|
|
glib:type-name="GESClip"
|
|
glib:get-type="ges_clip_get_type"
|
|
glib:type-struct="ClipClass">
|
|
<doc xml:space="preserve">A #GESClip is a 'natural' object which controls one or more
|
|
#GESTrackElement(s) in one or more #GESTrack(s).
|
|
|
|
Keeps a reference to the #GESTrackElement(s) it created and
|
|
sets/updates their properties.</doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<virtual-method name="create_track_element" introspectable="0">
|
|
<return-value>
|
|
<doc xml:space="preserve">the #GESTrackElement to be used, or %NULL if it can't provide one
|
|
for the given @track.</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clip" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESClip</doc>
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTrackType</doc>
|
|
<type name="TrackType" c:type="GESTrackType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="create_track_elements" introspectable="0">
|
|
<return-value>
|
|
<doc xml:space="preserve">%TRUE on success %FALSE on failure.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clip" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESClip</doc>
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTrackType</doc>
|
|
<type name="TrackType" c:type="GESTrackType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="add_asset" c:identifier="ges_clip_add_asset">
|
|
<doc xml:space="preserve">Extracts a #GESTrackElement from @asset and adds it to the @clip.
|
|
Should only be called in order to add operations to a #GESClip,
|
|
ni other cases TrackElement are added automatically when adding the
|
|
#GESClip/#GESAsset to a layer.
|
|
|
|
Takes a reference on @track_element.</doc>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">Created #GESTrackElement or NULL
|
|
if an error happened</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clip" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESClip</doc>
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="asset" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESAsset with #GES_TYPE_TRACK_ELEMENT as extractable_type</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="find_track_element"
|
|
c:identifier="ges_clip_find_track_element">
|
|
<doc xml:space="preserve">Finds the #GESTrackElement controlled by @clip that is used in @track. You
|
|
may optionally specify a GType to further narrow search criteria.
|
|
|
|
Note: If many objects match, then the one with the highest priority will be
|
|
returned.</doc>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve">The #GESTrackElement used by @track,
|
|
else %NULL. Unref after usage</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clip" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESClip</doc>
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="track"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">a #GESTrack or NULL</doc>
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GType indicating the type of track element you are looking
|
|
for or %G_TYPE_NONE if you do not care about the track type.</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="find_track_elements"
|
|
c:identifier="ges_clip_find_track_elements">
|
|
<doc xml:space="preserve">Finds all the #GESTrackElement controlled by @clip that is used in @track. You
|
|
may optionally specify a GType to further narrow search criteria.</doc>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">a #GList of the
|
|
#GESTrackElement contained in @clip.
|
|
The refcount of the objects will be increased. The user will have to
|
|
unref each #GESTrackElement and free the #GList.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="TrackElement"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clip" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESClip</doc>
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="track"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">a #GESTrack or NULL</doc>
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</parameter>
|
|
<parameter name="track_type" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTrackType indicating the type of tracks in which elements
|
|
should be searched.</doc>
|
|
<type name="TrackType" c:type="GESTrackType"/>
|
|
</parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GType indicating the type of track element you are looking
|
|
for or %G_TYPE_NONE if you do not care about the track type.</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_layer" c:identifier="ges_clip_get_layer">
|
|
<doc xml:space="preserve">Get the #GESLayer to which this clip belongs.</doc>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve">The #GESLayer where this @clip is being
|
|
used, or %NULL if it is not used on any layer. The caller should unref it
|
|
usage.</doc>
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clip" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESClip</doc>
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_supported_formats"
|
|
c:identifier="ges_clip_get_supported_formats">
|
|
<doc xml:space="preserve">Get the formats supported by @clip.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The formats supported by @clip.</doc>
|
|
<type name="TrackType" c:type="GESTrackType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clip" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESClip</doc>
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_top_effect_index"
|
|
c:identifier="ges_clip_get_top_effect_index">
|
|
<doc xml:space="preserve">Gets the index position of an effect.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The top index of the effect, -1 if something went wrong.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clip" transfer-ownership="none">
|
|
<doc xml:space="preserve">The origin #GESClip</doc>
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="effect" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESBaseEffect we want to get the top index from</doc>
|
|
<type name="BaseEffect" c:type="GESBaseEffect*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_top_effect_position"
|
|
c:identifier="ges_clip_get_top_effect_position">
|
|
<return-value transfer-ownership="none">
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clip" transfer-ownership="none">
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="effect" transfer-ownership="none">
|
|
<type name="BaseEffect" c:type="GESBaseEffect*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_top_effects" c:identifier="ges_clip_get_top_effects">
|
|
<doc xml:space="preserve">Get effects applied on @clip</doc>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">a #GList of the
|
|
#GESBaseEffect that are applied on @clip order by ascendant priorities.
|
|
The refcount of the objects will be increased. The user will have to
|
|
unref each #GESBaseEffect and free the #GList.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="TrackElement"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clip" transfer-ownership="none">
|
|
<doc xml:space="preserve">The origin #GESClip</doc>
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="move_to_layer" c:identifier="ges_clip_move_to_layer">
|
|
<doc xml:space="preserve">Moves @clip to @layer. If @clip is not in any layer, it adds it to
|
|
@layer, else, it removes it from its current layer, and adds it to @layer.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @clip could be moved %FALSE otherwize</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clip" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESClip</doc>
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="layer" transfer-ownership="none">
|
|
<doc xml:space="preserve">the new #GESLayer</doc>
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_supported_formats"
|
|
c:identifier="ges_clip_set_supported_formats">
|
|
<doc xml:space="preserve">Sets the formats supported by the file.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clip" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESClip to set supported formats on</doc>
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="supportedformats" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESTrackType defining formats supported by @clip</doc>
|
|
<type name="TrackType" c:type="GESTrackType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_top_effect_index"
|
|
c:identifier="ges_clip_set_top_effect_index">
|
|
<doc xml:space="preserve">This is a convenience method that lets you set the index of a top effect.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @effect was successfuly moved, %FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clip" transfer-ownership="none">
|
|
<doc xml:space="preserve">The origin #GESClip</doc>
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="effect" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESBaseEffect to move</doc>
|
|
<type name="BaseEffect" c:type="GESBaseEffect*"/>
|
|
</parameter>
|
|
<parameter name="newindex" transfer-ownership="none">
|
|
<doc xml:space="preserve">the new index at which to move the @effect inside this
|
|
#GESClip</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_top_effect_priority"
|
|
c:identifier="ges_clip_set_top_effect_priority">
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clip" transfer-ownership="none">
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="effect" transfer-ownership="none">
|
|
<type name="BaseEffect" c:type="GESBaseEffect*"/>
|
|
</parameter>
|
|
<parameter name="newpriority" transfer-ownership="none">
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="split" c:identifier="ges_clip_split">
|
|
<doc xml:space="preserve">The function modifies @clip, and creates another #GESClip so we have two
|
|
clips at the end, splitted at the time specified by @position, as a position
|
|
in the timeline (not in the clip to be split). For example, if
|
|
ges_clip_split is called on a 4-second clip playing from 0:01.00 until
|
|
0:05.00, with a split position of 0:02.00, this will result in one clip of 1
|
|
second and one clip of 3 seconds, not in two clips of 2 seconds.
|
|
|
|
The newly created clip will be added to the same layer as @clip is in. This
|
|
implies that @clip must be in a #GESLayer for the operation to be possible.
|
|
|
|
This method supports clips playing at a different tempo than one second per
|
|
second. For example, splitting a clip with a #GESEffect 'pitch tempo=1.5'
|
|
four seconds after it starts, will set the inpoint of the new clip to six
|
|
seconds after that of the clip to split. For this, the rate-changing
|
|
property must be registered using @ges_effect_class_register_rate_property;
|
|
for the 'pitch' plugin, this is already done.</doc>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">The newly created #GESClip resulting
|
|
from the splitting or %NULL if the clip can't be split.</doc>
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="clip" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESClip to split</doc>
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="position" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GstClockTime representing the timeline position at which to split</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="layer" transfer-ownership="none">
|
|
<doc xml:space="preserve">The GESLayer where this clip is being used. If you want to connect to its
|
|
notify signal you should connect to it with g_signal_connect_after as the
|
|
signal emission can be stop in the first fase.</doc>
|
|
<type name="Layer"/>
|
|
</property>
|
|
<property name="supported-formats"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The formats supported by the clip.</doc>
|
|
<type name="TrackType"/>
|
|
</property>
|
|
<field name="parent">
|
|
<type name="Container" c:type="GESContainer"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="ClipPrivate" c:type="GESClipPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="20">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<class name="ClipAsset"
|
|
c:symbol-prefix="clip_asset"
|
|
c:type="GESClipAsset"
|
|
parent="Asset"
|
|
glib:type-name="GESClipAsset"
|
|
glib:get-type="ges_clip_asset_get_type"
|
|
glib:type-struct="ClipAssetClass">
|
|
<doc xml:space="preserve">The #GESUriClipAsset is a special #GESAsset specilized in #GESClip.
|
|
it is mostly used to get information about the #GESTrackType-s the objects extracted
|
|
from it can potentialy create #GESTrackElement for.</doc>
|
|
<implements name="MetaContainer"/>
|
|
<implements name="Gio.AsyncInitable"/>
|
|
<implements name="Gio.Initable"/>
|
|
<method name="get_supported_formats"
|
|
c:identifier="ges_clip_asset_get_supported_formats">
|
|
<doc xml:space="preserve">Gets track types for which objects extracted from @self can create #GESTrackElement</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The track types on which @self will create TrackElement when added to
|
|
a layer</doc>
|
|
<type name="TrackType" c:type="GESTrackType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESClipAsset</doc>
|
|
<type name="ClipAsset" c:type="GESClipAsset*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_supported_formats"
|
|
c:identifier="ges_clip_asset_set_supported_formats">
|
|
<doc xml:space="preserve">Sets track types for which objects extracted from @self can create #GESTrackElement</doc>
|
|
<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">a #GESClipAsset</doc>
|
|
<type name="ClipAsset" c:type="GESClipAsset*"/>
|
|
</instance-parameter>
|
|
<parameter name="supportedformats" transfer-ownership="none">
|
|
<doc xml:space="preserve">The track types supported by the GESClipAsset</doc>
|
|
<type name="TrackType" c:type="GESTrackType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="supported-formats"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The formats supported by the asset.</doc>
|
|
<type name="TrackType"/>
|
|
</property>
|
|
<field name="parent">
|
|
<type name="Asset" c:type="GESAsset"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="ClipAssetPrivate" c:type="GESClipAssetPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="ClipAssetClass"
|
|
c:type="GESClipAssetClass"
|
|
glib:is-gtype-struct-for="ClipAsset">
|
|
<field name="parent">
|
|
<type name="AssetClass" c:type="GESAssetClass"/>
|
|
</field>
|
|
<field name="_ges_reserved">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="ClipAssetPrivate" c:type="GESClipAssetPrivate" disguised="1">
|
|
</record>
|
|
<record name="ClipClass"
|
|
c:type="GESClipClass"
|
|
glib:is-gtype-struct-for="Clip">
|
|
<doc xml:space="preserve">Subclasses can override the @create_track_element.</doc>
|
|
<field name="parent_class" readable="0" private="1">
|
|
<type name="ContainerClass" c:type="GESContainerClass"/>
|
|
</field>
|
|
<field name="create_track_element" introspectable="0">
|
|
<doc xml:space="preserve">method to create a single #GESTrackElement for a given #GESTrack.</doc>
|
|
<type name="CreateTrackElementFunc"
|
|
c:type="GESCreateTrackElementFunc"/>
|
|
</field>
|
|
<field name="create_track_elements" introspectable="0">
|
|
<doc xml:space="preserve">method to create multiple #GESTrackElements for a
|
|
#GESTrack.</doc>
|
|
<type name="CreateTrackElementsFunc"
|
|
c:type="GESCreateTrackElementsFunc"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="20">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="ClipPrivate" c:type="GESClipPrivate" disguised="1">
|
|
</record>
|
|
<class name="CommandLineFormatter"
|
|
c:symbol-prefix="command_line_formatter"
|
|
c:type="GESCommandLineFormatter"
|
|
parent="Formatter"
|
|
glib:type-name="GESCommandLineFormatter"
|
|
glib:get-type="ges_command_line_formatter_get_type"
|
|
glib:type-struct="CommandLineFormatterClass">
|
|
<implements name="Extractable"/>
|
|
<function name="get_help"
|
|
c:identifier="ges_command_line_formatter_get_help">
|
|
<return-value transfer-ownership="full">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="nargs" transfer-ownership="none">
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="commands" transfer-ownership="none">
|
|
<type name="utf8" c:type="gchar**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<field name="parent_instance">
|
|
<type name="Formatter" c:type="GESFormatter"/>
|
|
</field>
|
|
<field name="priv">
|
|
<type name="CommandLineFormatterPrivate"
|
|
c:type="GESCommandLineFormatterPrivate*"/>
|
|
</field>
|
|
</class>
|
|
<record name="CommandLineFormatterClass"
|
|
c:type="GESCommandLineFormatterClass"
|
|
glib:is-gtype-struct-for="CommandLineFormatter">
|
|
<field name="parent_class">
|
|
<type name="FormatterClass" c:type="GESFormatterClass"/>
|
|
</field>
|
|
</record>
|
|
<record name="CommandLineFormatterPrivate"
|
|
c:type="GESCommandLineFormatterPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<class name="Container"
|
|
c:symbol-prefix="container"
|
|
c:type="GESContainer"
|
|
parent="TimelineElement"
|
|
abstract="1"
|
|
glib:type-name="GESContainer"
|
|
glib:get-type="ges_container_get_type"
|
|
glib:type-struct="ContainerClass">
|
|
<doc xml:space="preserve">The #GESContainer base class.</doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<function name="group" c:identifier="ges_container_group">
|
|
<doc xml:space="preserve">Groups the #GESContainer-s provided in @containers. It creates a subclass
|
|
of #GESContainer, depending on the containers provided in @containers.
|
|
Basically, if all the containers in @containers should be contained in a same
|
|
clip (all the #GESTrackElement they contain have the exact same
|
|
start/inpoint/duration and are in the same layer), it will create a #GESClip
|
|
otherwise a #GESGroup will be created</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESContainer (subclass) resulting of the
|
|
grouping</doc>
|
|
<type name="Container" c:type="GESContainer*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="containers"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">The
|
|
#GESContainer to group, they must all be in a same #GESTimeline</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Container"/>
|
|
</type>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<virtual-method name="add_child">
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<type name="Container" c:type="GESContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="child_added">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<type name="Container" c:type="GESContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="child_removed">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<type name="Container" c:type="GESContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="edit" invoker="edit">
|
|
<doc xml:space="preserve">Edit @container in the different exisiting #GESEditMode modes. In the case of
|
|
slide, and roll, you need to specify a #GESEdge</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the container as been edited properly, %FALSE if an error
|
|
occured</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESClip to edit</doc>
|
|
<type name="Container" c:type="GESContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="layers" transfer-ownership="none">
|
|
<doc xml:space="preserve">The layers you want the edit to
|
|
happen in, %NULL means that the edition is done in all the
|
|
#GESLayers contained in the current timeline.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Layer"/>
|
|
</type>
|
|
</parameter>
|
|
<parameter name="new_layer_priority" transfer-ownership="none">
|
|
<doc xml:space="preserve">The priority of the layer @container should land in.
|
|
If the layer you're trying to move the container to doesn't exist, it will
|
|
be created automatically. -1 means no move.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESEditMode in which the editition will happen.</doc>
|
|
<type name="EditMode" c:type="GESEditMode"/>
|
|
</parameter>
|
|
<parameter name="edge" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESEdge the edit should happen on.</doc>
|
|
<type name="Edge" c:type="GESEdge"/>
|
|
</parameter>
|
|
<parameter name="position" transfer-ownership="none">
|
|
<doc xml:space="preserve">The position at which to edit @container (in nanosecond)</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="remove_child">
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<type name="Container" c:type="GESContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="ungroup" invoker="ungroup">
|
|
<doc xml:space="preserve">Ungroups the #GESTimelineElement contained in this GESContainer,
|
|
creating new #GESContainer containing those #GESTimelineElement
|
|
apropriately.</doc>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">The list of
|
|
#GESContainer resulting from the ungrouping operation
|
|
The user is responsible for unreffing the contained objects
|
|
and freeing the list.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Container"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="full">
|
|
<doc xml:space="preserve">The #GESContainer to ungroup</doc>
|
|
<type name="Container" c:type="GESContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="recursive" transfer-ownership="none">
|
|
<doc xml:space="preserve">Wether to recursively ungroup @container</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="add" c:identifier="ges_container_add">
|
|
<doc xml:space="preserve">Add the #GESTimelineElement to the container.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE on success, %FALSE on failure.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESContainer</doc>
|
|
<type name="Container" c:type="GESContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="child" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="edit" c:identifier="ges_container_edit">
|
|
<doc xml:space="preserve">Edit @container in the different exisiting #GESEditMode modes. In the case of
|
|
slide, and roll, you need to specify a #GESEdge</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the container as been edited properly, %FALSE if an error
|
|
occured</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESClip to edit</doc>
|
|
<type name="Container" c:type="GESContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="layers" transfer-ownership="none">
|
|
<doc xml:space="preserve">The layers you want the edit to
|
|
happen in, %NULL means that the edition is done in all the
|
|
#GESLayers contained in the current timeline.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Layer"/>
|
|
</type>
|
|
</parameter>
|
|
<parameter name="new_layer_priority" transfer-ownership="none">
|
|
<doc xml:space="preserve">The priority of the layer @container should land in.
|
|
If the layer you're trying to move the container to doesn't exist, it will
|
|
be created automatically. -1 means no move.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESEditMode in which the editition will happen.</doc>
|
|
<type name="EditMode" c:type="GESEditMode"/>
|
|
</parameter>
|
|
<parameter name="edge" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESEdge the edit should happen on.</doc>
|
|
<type name="Edge" c:type="GESEdge"/>
|
|
</parameter>
|
|
<parameter name="position" transfer-ownership="none">
|
|
<doc xml:space="preserve">The position at which to edit @container (in nanosecond)</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_children" c:identifier="ges_container_get_children">
|
|
<doc xml:space="preserve">Get the list of #GESTimelineElement contained in @container
|
|
The user is responsible for unreffing the contained objects
|
|
and freeing the list.</doc>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">The list of
|
|
timeline element contained in @container.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="TimelineElement"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESContainer</doc>
|
|
<type name="Container" c:type="GESContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="recursive" transfer-ownership="none">
|
|
<doc xml:space="preserve">Whether to recursively get children in @container</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove" c:identifier="ges_container_remove">
|
|
<doc xml:space="preserve">Release the @child from the control of @container.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the @child was properly released, else %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESContainer</doc>
|
|
<type name="Container" c:type="GESContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="child" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESTimelineElement to release</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="ungroup" c:identifier="ges_container_ungroup">
|
|
<doc xml:space="preserve">Ungroups the #GESTimelineElement contained in this GESContainer,
|
|
creating new #GESContainer containing those #GESTimelineElement
|
|
apropriately.</doc>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">The list of
|
|
#GESContainer resulting from the ungrouping operation
|
|
The user is responsible for unreffing the contained objects
|
|
and freeing the list.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Container"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="full">
|
|
<doc xml:space="preserve">The #GESContainer to ungroup</doc>
|
|
<type name="Container" c:type="GESContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="recursive" transfer-ownership="none">
|
|
<doc xml:space="preserve">Wether to recursively ungroup @container</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="height" transfer-ownership="none">
|
|
<doc xml:space="preserve">The span of priorities which this container occupies.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</property>
|
|
<field name="parent">
|
|
<type name="TimelineElement" c:type="GESTimelineElement"/>
|
|
</field>
|
|
<field name="children">
|
|
<doc xml:space="preserve">A list of TimelineElement
|
|
controlled by this Container. NOTE: Do not modify.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="TimelineElement"/>
|
|
</type>
|
|
</field>
|
|
<field name="height">
|
|
<doc xml:space="preserve">The span of priorities this container occupies</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</field>
|
|
<field name="children_control_mode">
|
|
<type name="ChildrenControlMode" c:type="GESChildrenControlMode"/>
|
|
</field>
|
|
<field name="initiated_move">
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="ContainerPrivate" c:type="GESContainerPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="20">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<glib:signal name="child-added" when="first">
|
|
<doc xml:space="preserve">Will be emitted after a child was added to @container.
|
|
Usually you should connect with #g_signal_connect_after
|
|
as in the first emission stage, the signal emission might
|
|
get stopped internally.</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">the #GESTimelineElement that was added.</doc>
|
|
<type name="TimelineElement"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="child-removed" when="last">
|
|
<doc xml:space="preserve">Will be emitted after a child was removed from @container.</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">the #GESTimelineElement that was removed.</doc>
|
|
<type name="TimelineElement"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
</class>
|
|
<record name="ContainerClass"
|
|
c:type="GESContainerClass"
|
|
glib:is-gtype-struct-for="Container">
|
|
<field name="parent_class" readable="0" private="1">
|
|
<type name="TimelineElementClass" c:type="GESTimelineElementClass"/>
|
|
</field>
|
|
<field name="child_added">
|
|
<callback name="child_added">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="container" transfer-ownership="none">
|
|
<type name="Container" c:type="GESContainer*"/>
|
|
</parameter>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="child_removed">
|
|
<callback name="child_removed">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="container" transfer-ownership="none">
|
|
<type name="Container" c:type="GESContainer*"/>
|
|
</parameter>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="add_child">
|
|
<callback name="add_child">
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="container" transfer-ownership="none">
|
|
<type name="Container" c:type="GESContainer*"/>
|
|
</parameter>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="remove_child">
|
|
<callback name="remove_child">
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="container" transfer-ownership="none">
|
|
<type name="Container" c:type="GESContainer*"/>
|
|
</parameter>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="ungroup">
|
|
<callback name="ungroup">
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">The list of
|
|
#GESContainer resulting from the ungrouping operation
|
|
The user is responsible for unreffing the contained objects
|
|
and freeing the list.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Container"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="container" transfer-ownership="full">
|
|
<doc xml:space="preserve">The #GESContainer to ungroup</doc>
|
|
<type name="Container" c:type="GESContainer*"/>
|
|
</parameter>
|
|
<parameter name="recursive" transfer-ownership="none">
|
|
<doc xml:space="preserve">Wether to recursively ungroup @container</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="group" introspectable="0">
|
|
<callback name="group" introspectable="0">
|
|
<return-value>
|
|
<type name="Container" c:type="GESContainer*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="containers" transfer-ownership="none">
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</type>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="edit">
|
|
<callback name="edit">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the container as been edited properly, %FALSE if an error
|
|
occured</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESClip to edit</doc>
|
|
<type name="Container" c:type="GESContainer*"/>
|
|
</parameter>
|
|
<parameter name="layers" transfer-ownership="none">
|
|
<doc xml:space="preserve">The layers you want the edit to
|
|
happen in, %NULL means that the edition is done in all the
|
|
#GESLayers contained in the current timeline.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Layer"/>
|
|
</type>
|
|
</parameter>
|
|
<parameter name="new_layer_priority" transfer-ownership="none">
|
|
<doc xml:space="preserve">The priority of the layer @container should land in.
|
|
If the layer you're trying to move the container to doesn't exist, it will
|
|
be created automatically. -1 means no move.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESEditMode in which the editition will happen.</doc>
|
|
<type name="EditMode" c:type="GESEditMode"/>
|
|
</parameter>
|
|
<parameter name="edge" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESEdge the edit should happen on.</doc>
|
|
<type name="Edge" c:type="GESEdge"/>
|
|
</parameter>
|
|
<parameter name="position" transfer-ownership="none">
|
|
<doc xml:space="preserve">The position at which to edit @container (in nanosecond)</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="grouping_priority" readable="0" private="1">
|
|
<type name="guint" c:type="guint"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="20">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="ContainerPrivate" c:type="GESContainerPrivate" disguised="1">
|
|
</record>
|
|
<callback name="CreateElementForGapFunc"
|
|
c:type="GESCreateElementForGapFunc"
|
|
introspectable="0">
|
|
<doc xml:space="preserve">A function that will be called to create the #GstElement that will be used
|
|
as a source to fill the gaps in @track.</doc>
|
|
<return-value>
|
|
<doc xml:space="preserve">A #GstElement (must be a source) that will be used to
|
|
fill the gaps (periods of time in @track that containes no source).</doc>
|
|
<type name="Gst.Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="track" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESTrack</doc>
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="CreateTrackElementFunc"
|
|
c:type="GESCreateTrackElementFunc"
|
|
introspectable="0">
|
|
<doc xml:space="preserve">Creates the 'primary' track element for this @clip.
|
|
|
|
Subclasses should implement this method if they only provide a
|
|
single #GESTrackElement per track.
|
|
|
|
If the subclass needs to create more than one #GESTrackElement for a
|
|
given track, then it should implement the 'create_track_elements'
|
|
method instead.
|
|
|
|
The implementer of this function shall return the proper #GESTrackElement
|
|
that should be controlled by @clip for the given @track.
|
|
|
|
The returned #GESTrackElement will be automatically added to the list
|
|
of objects controlled by the #GESClip.</doc>
|
|
<return-value>
|
|
<doc xml:space="preserve">the #GESTrackElement to be used, or %NULL if it can't provide one
|
|
for the given @track.</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="clip" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESClip</doc>
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTrackType</doc>
|
|
<type name="TrackType" c:type="GESTrackType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<callback name="CreateTrackElementsFunc"
|
|
c:type="GESCreateTrackElementsFunc"
|
|
introspectable="0">
|
|
<doc xml:space="preserve">Create all track elements this clip handles for this type of track.
|
|
|
|
Subclasses should implement this method if they potentially need to
|
|
return more than one #GESTrackElement(s) for a given #GESTrack.</doc>
|
|
<return-value>
|
|
<doc xml:space="preserve">%TRUE on success %FALSE on failure.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="clip" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESClip</doc>
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTrackType</doc>
|
|
<type name="TrackType" c:type="GESTrackType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<enumeration name="Edge"
|
|
glib:type-name="GESEdge"
|
|
glib:get-type="ges_edge_get_type"
|
|
c:type="GESEdge">
|
|
<doc xml:space="preserve">The edges of an object contain in a #GESTimeline or #GESTrack</doc>
|
|
<member name="edge_start"
|
|
value="0"
|
|
c:identifier="GES_EDGE_START"
|
|
glib:nick="edge_start">
|
|
<doc xml:space="preserve">Represents the start of an object.</doc>
|
|
</member>
|
|
<member name="edge_end"
|
|
value="1"
|
|
c:identifier="GES_EDGE_END"
|
|
glib:nick="edge_end">
|
|
<doc xml:space="preserve">Represents the end of an object.</doc>
|
|
</member>
|
|
<member name="edge_none"
|
|
value="2"
|
|
c:identifier="GES_EDGE_NONE"
|
|
glib:nick="edge_none">
|
|
<doc xml:space="preserve">Represent the fact we are not workin with any edge of an
|
|
object.</doc>
|
|
</member>
|
|
<function name="name" c:identifier="ges_edge_name">
|
|
<return-value transfer-ownership="none">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="edge" transfer-ownership="none">
|
|
<type name="Edge" c:type="GESEdge"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</enumeration>
|
|
<enumeration name="EditMode"
|
|
glib:type-name="GESEditMode"
|
|
glib:get-type="ges_edit_mode_get_type"
|
|
c:type="GESEditMode">
|
|
<doc xml:space="preserve">You can also find more explanation about the behaviour of those modes at:
|
|
<ulink url="http://pitivi.org/manual/trimming.html"> trim, ripple and roll</ulink>
|
|
and <ulink url="http://pitivi.org/manual/usingclips.html">clip management</ulink>.</doc>
|
|
<member name="edit_normal"
|
|
value="0"
|
|
c:identifier="GES_EDIT_MODE_NORMAL"
|
|
glib:nick="edit_normal">
|
|
<doc xml:space="preserve">The object is edited the normal way (default).</doc>
|
|
</member>
|
|
<member name="edit_ripple"
|
|
value="1"
|
|
c:identifier="GES_EDIT_MODE_RIPPLE"
|
|
glib:nick="edit_ripple">
|
|
<doc xml:space="preserve">The objects are edited in ripple mode.
|
|
The Ripple mode allows you to modify the beginning/end of a clip
|
|
and move the neighbours accordingly. This will change the overall
|
|
timeline duration. In the case of ripple end, the duration of the
|
|
clip being rippled can't be superior to its max_duration - inpoint
|
|
otherwise the action won't be executed.</doc>
|
|
</member>
|
|
<member name="edit_roll"
|
|
value="2"
|
|
c:identifier="GES_EDIT_MODE_ROLL"
|
|
glib:nick="edit_roll">
|
|
<doc xml:space="preserve">The object is edited in roll mode.
|
|
The Roll mode allows you to modify the position of an editing point
|
|
between two clips without modifying the inpoint of the first clip
|
|
nor the out-point of the second clip. This will not change the
|
|
overall timeline duration.</doc>
|
|
</member>
|
|
<member name="edit_trim"
|
|
value="3"
|
|
c:identifier="GES_EDIT_MODE_TRIM"
|
|
glib:nick="edit_trim">
|
|
<doc xml:space="preserve">The object is edited in trim mode.
|
|
The Trim mode allows you to modify the in-point/duration of a clip
|
|
without modifying its position in the timeline.</doc>
|
|
</member>
|
|
<member name="edit_slide"
|
|
value="4"
|
|
c:identifier="GES_EDIT_MODE_SLIDE"
|
|
glib:nick="edit_slide">
|
|
<doc xml:space="preserve">The object is edited in slide mode.
|
|
The Slide mode allows you to modify the position of a clip in a
|
|
timeline without modifying its duration or its in-point, but will
|
|
modify the duration of the previous clip and in-point of the
|
|
following clip so does not modify the overall timeline duration.
|
|
(not implemented yet)</doc>
|
|
</member>
|
|
</enumeration>
|
|
<class name="Effect"
|
|
c:symbol-prefix="effect"
|
|
c:type="GESEffect"
|
|
parent="BaseEffect"
|
|
glib:type-name="GESEffect"
|
|
glib:get-type="ges_effect_get_type"
|
|
glib:type-struct="EffectClass">
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<constructor name="new" c:identifier="ges_effect_new">
|
|
<doc xml:space="preserve">Creates a new #GESEffect from the description of the bin. It should be
|
|
possible to determine the type of the effect through the element
|
|
'klass' metadata of the GstElements that will be created.
|
|
In that corner case, you should use:
|
|
#ges_asset_request (GES_TYPE_EFFECT, "audio your ! bin ! description", NULL);
|
|
and extract that asset to be in full control.</doc>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">a newly created #GESEffect, or %NULL if something went
|
|
wrong.</doc>
|
|
<type name="Effect" c:type="GESEffect*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="bin_description" transfer-ownership="none">
|
|
<doc xml:space="preserve">The gst-launch like bin description of the effect</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<property name="bin-description"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The description of the effect bin with a gst-launch-style
|
|
pipeline description.
|
|
|
|
Example: "videobalance saturation=1.5 hue=+0.5"</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</property>
|
|
<field name="parent" readable="0" private="1">
|
|
<type name="BaseEffect" c:type="GESBaseEffect"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="EffectPrivate" c:type="GESEffectPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<class name="EffectAsset"
|
|
c:symbol-prefix="effect_asset"
|
|
c:type="GESEffectAsset"
|
|
parent="TrackElementAsset"
|
|
glib:type-name="GESEffectAsset"
|
|
glib:get-type="ges_effect_asset_get_type"
|
|
glib:type-struct="EffectAssetClass">
|
|
<implements name="MetaContainer"/>
|
|
<implements name="Gio.AsyncInitable"/>
|
|
<implements name="Gio.Initable"/>
|
|
<field name="parent_instance">
|
|
<type name="TrackElementAsset" c:type="GESTrackElementAsset"/>
|
|
</field>
|
|
<field name="priv">
|
|
<type name="EffectAssetPrivate" c:type="GESEffectAssetPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="EffectAssetClass"
|
|
c:type="GESEffectAssetClass"
|
|
glib:is-gtype-struct-for="EffectAsset">
|
|
<field name="parent_class">
|
|
<type name="TrackElementAssetClass"
|
|
c:type="GESTrackElementAssetClass"/>
|
|
</field>
|
|
<field name="_ges_reserved">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="EffectAssetPrivate"
|
|
c:type="GESEffectAssetPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<record name="EffectClass"
|
|
c:type="GESEffectClass"
|
|
glib:is-gtype-struct-for="Effect">
|
|
<field name="parent_class" readable="0" private="1">
|
|
<doc xml:space="preserve">parent class</doc>
|
|
<type name="BaseEffectClass" c:type="GESBaseEffectClass"/>
|
|
</field>
|
|
<field name="rate_properties" readable="0" private="1">
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</type>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<method name="register_rate_property"
|
|
c:identifier="ges_effect_class_register_rate_property">
|
|
<doc xml:space="preserve">Register an element that can change the rate at which media is playing. The
|
|
property type must be float or double, and must be a factor of the rate,
|
|
i.e. a value of 2.0 must mean that the media plays twice as fast. For
|
|
example, this is true for the properties 'rate' and 'tempo' of the element
|
|
'pitch', which is already registered by default. By registering the element,
|
|
timeline duration can be correctly converted into media duration, allowing
|
|
the right segment seeks to be sent to the sources.
|
|
|
|
A reference to the GESEffectClass can be obtained as follows:
|
|
GES_EFFECT_CLASS (g_type_class_ref (GES_TYPE_EFFECT));</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">whether the rate property was succesfully registered. When this
|
|
method returns false, a warning is emitted with more information.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="klass" transfer-ownership="none">
|
|
<doc xml:space="preserve">Instance of the GESEffectClass</doc>
|
|
<type name="EffectClass" c:type="GESEffectClass*"/>
|
|
</instance-parameter>
|
|
<parameter name="element_name" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the GstElement that changes the rate</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the property that changes the rate</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<class name="EffectClip"
|
|
c:symbol-prefix="effect_clip"
|
|
c:type="GESEffectClip"
|
|
parent="BaseEffectClip"
|
|
glib:type-name="GESEffectClip"
|
|
glib:get-type="ges_effect_clip_get_type"
|
|
glib:type-struct="EffectClipClass">
|
|
<doc xml:space="preserve">The effect will be applied on the sources that have lower priorities
|
|
(higher number) between the inpoint and the end of it.</doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<constructor name="new" c:identifier="ges_effect_clip_new">
|
|
<doc xml:space="preserve">Creates a new #GESEffectClip from the description of the bin.</doc>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">a newly created #GESEffectClip, or
|
|
%NULL if something went wrong.</doc>
|
|
<type name="EffectClip" c:type="GESEffectClip*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="video_bin_description" transfer-ownership="none">
|
|
<doc xml:space="preserve">The gst-launch like bin description of the effect</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="audio_bin_description" transfer-ownership="none">
|
|
<doc xml:space="preserve">The gst-launch like bin description of the effect</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<property name="audio-bin-description"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The description of the audio track of the effect bin with a gst-launch-style
|
|
pipeline description. This should be used for test purposes.
|
|
|
|
Example: "audiopanorama panorama=1.0"</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</property>
|
|
<property name="video-bin-description"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The description of the video track of the effect bin with a gst-launch-style
|
|
pipeline description. This should be used for test purposes.
|
|
|
|
Example: "videobalance saturation=1.5 hue=+0.5"</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</property>
|
|
<field name="parent" readable="0" private="1">
|
|
<type name="BaseEffectClip" c:type="GESBaseEffectClip"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="EffectClipPrivate" c:type="GESEffectClipPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="EffectClipClass"
|
|
c:type="GESEffectClipClass"
|
|
glib:is-gtype-struct-for="EffectClip">
|
|
<field name="parent_class" readable="0" private="1">
|
|
<type name="BaseEffectClipClass" c:type="GESBaseEffectClipClass"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="EffectClipPrivate"
|
|
c:type="GESEffectClipPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<record name="EffectPrivate" c:type="GESEffectPrivate" disguised="1">
|
|
</record>
|
|
<enumeration name="Error" c:type="GESError">
|
|
<member name="asset_wrong_id"
|
|
value="0"
|
|
c:identifier="GES_ERROR_ASSET_WRONG_ID">
|
|
<doc xml:space="preserve">The ID passed is malformed</doc>
|
|
</member>
|
|
<member name="asset_loading"
|
|
value="1"
|
|
c:identifier="GES_ERROR_ASSET_LOADING">
|
|
<doc xml:space="preserve">An error happened while loading the asset</doc>
|
|
</member>
|
|
<member name="formatter_malformed_input_file"
|
|
value="2"
|
|
c:identifier="GES_ERROR_FORMATTER_MALFORMED_INPUT_FILE">
|
|
<doc xml:space="preserve">The formatted files was malformed</doc>
|
|
</member>
|
|
</enumeration>
|
|
<interface name="Extractable"
|
|
c:symbol-prefix="extractable"
|
|
c:type="GESExtractable"
|
|
glib:type-name="GESExtractable"
|
|
glib:get-type="ges_extractable_get_type"
|
|
glib:type-struct="ExtractableInterface">
|
|
<doc xml:space="preserve">FIXME: Long description needed</doc>
|
|
<prerequisite name="GObject.InitiallyUnowned"/>
|
|
<virtual-method name="get_id" invoker="get_id">
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">The #id of the associated #GESAsset, free with #g_free</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESExtractable</doc>
|
|
<type name="Extractable" c:type="GESExtractable*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="set_asset">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<type name="Extractable" c:type="GESExtractable*"/>
|
|
</instance-parameter>
|
|
<parameter name="asset" transfer-ownership="none">
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="set_asset_full">
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<type name="Extractable" c:type="GESExtractable*"/>
|
|
</instance-parameter>
|
|
<parameter name="asset" transfer-ownership="none">
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="get_asset" c:identifier="ges_extractable_get_asset">
|
|
<doc xml:space="preserve">Method for getting an asset from a #GESExtractable</doc>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">The #GESAsset or %NULL if none has
|
|
been set</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESExtractable from which to retrieve a #GESAsset</doc>
|
|
<type name="Extractable" c:type="GESExtractable*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_id" c:identifier="ges_extractable_get_id">
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">The #id of the associated #GESAsset, free with #g_free</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESExtractable</doc>
|
|
<type name="Extractable" c:type="GESExtractable*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_asset" c:identifier="ges_extractable_set_asset">
|
|
<doc xml:space="preserve">Method to set the asset which instantiated the specified object</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @asset could be set %FALSE otherwize</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target object</doc>
|
|
<type name="Extractable" c:type="GESExtractable*"/>
|
|
</instance-parameter>
|
|
<parameter name="asset" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESAsset to set</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
</interface>
|
|
<callback name="ExtractableCheckId"
|
|
c:type="GESExtractableCheckId"
|
|
throws="1">
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">The ID to use for the asset or %NULL if @id is not valid</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GType to check @id for:</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
<parameter name="id" transfer-ownership="none">
|
|
<doc xml:space="preserve">The id to check</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<record name="ExtractableInterface"
|
|
c:type="GESExtractableInterface"
|
|
glib:is-gtype-struct-for="Extractable">
|
|
<field name="parent">
|
|
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
|
|
</field>
|
|
<field name="asset_type">
|
|
<type name="GType" c:type="GType"/>
|
|
</field>
|
|
<field name="check_id">
|
|
<type name="ExtractableCheckId" c:type="GESExtractableCheckId"/>
|
|
</field>
|
|
<field name="can_update_asset">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</field>
|
|
<field name="set_asset">
|
|
<callback name="set_asset">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<type name="Extractable" c:type="GESExtractable*"/>
|
|
</parameter>
|
|
<parameter name="asset" transfer-ownership="none">
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="set_asset_full">
|
|
<callback name="set_asset_full">
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<type name="Extractable" c:type="GESExtractable*"/>
|
|
</parameter>
|
|
<parameter name="asset" transfer-ownership="none">
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="get_parameters_from_id" introspectable="0">
|
|
<callback name="get_parameters_from_id" introspectable="0">
|
|
<return-value>
|
|
<type name="GObject.Parameter" c:type="GParameter*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="id" transfer-ownership="none">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="n_params" transfer-ownership="none">
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="get_id">
|
|
<callback name="get_id">
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">The #id of the associated #GESAsset, free with #g_free</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESExtractable</doc>
|
|
<type name="Extractable" c:type="GESExtractable*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="get_real_extractable_type">
|
|
<callback name="get_real_extractable_type">
|
|
<return-value transfer-ownership="none">
|
|
<type name="GType" c:type="GType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="wanted_type" transfer-ownership="none">
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
<parameter name="id" transfer-ownership="none">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="register_metas">
|
|
<callback name="register_metas">
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<type name="ExtractableInterface"
|
|
c:type="GESExtractableInterface*"/>
|
|
</parameter>
|
|
<parameter name="klass" transfer-ownership="none">
|
|
<type name="GObject.ObjectClass" c:type="GObjectClass*"/>
|
|
</parameter>
|
|
<parameter name="asset" transfer-ownership="none">
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_ges_reserved">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<callback name="FillTrackElementFunc" c:type="GESFillTrackElementFunc">
|
|
<doc xml:space="preserve">A function that will be called when the GNonLin object of a corresponding
|
|
track element needs to be filled.
|
|
|
|
The implementer of this function shall add the proper #GstElement to @nleobj
|
|
using gst_bin_add().</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">TRUE if the implementer succesfully filled the @nleobj, else #FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="clip" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESClip controlling the track elements</doc>
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</parameter>
|
|
<parameter name="track_element" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESTrackElement</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</parameter>
|
|
<parameter name="nleobj" transfer-ownership="none">
|
|
<doc xml:space="preserve">the GNonLin object that needs to be filled.</doc>
|
|
<type name="Gst.Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<class name="Formatter"
|
|
c:symbol-prefix="formatter"
|
|
c:type="GESFormatter"
|
|
parent="GObject.InitiallyUnowned"
|
|
abstract="1"
|
|
glib:type-name="GESFormatter"
|
|
glib:get-type="ges_formatter_get_type"
|
|
glib:type-struct="FormatterClass">
|
|
<doc xml:space="preserve">Base class for timeline data serialization and deserialization.</doc>
|
|
<implements name="Extractable"/>
|
|
<function name="can_load_uri"
|
|
c:identifier="ges_formatter_can_load_uri"
|
|
throws="1">
|
|
<doc xml:space="preserve">Checks if there is a #GESFormatter available which can load a #GESTimeline
|
|
from the given URI.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">TRUE if there is a #GESFormatter that can support the given uri
|
|
or FALSE if not.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #gchar * pointing to the URI</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="can_save_uri"
|
|
c:identifier="ges_formatter_can_save_uri"
|
|
throws="1">
|
|
<doc xml:space="preserve">Returns TRUE if there is a #GESFormatter available which can save a
|
|
#GESTimeline to the given URI.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">TRUE if the given @uri is supported, else FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #gchar * pointing to a URI</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="get_default" c:identifier="ges_formatter_get_default">
|
|
<doc xml:space="preserve">Get the default #GESAsset to use as formatter. It will return
|
|
the asset for the #GESFormatter that has the highest @rank</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESAsset for the formatter with highest @rank</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</return-value>
|
|
</function>
|
|
<virtual-method name="can_load_uri" throws="1">
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="dummy_instance" transfer-ownership="none">
|
|
<type name="Formatter" c:type="GESFormatter*"/>
|
|
</instance-parameter>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="load_from_uri" invoker="load_from_uri" throws="1">
|
|
<doc xml:space="preserve">Load data from the given URI into timeline.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">TRUE if the timeline data was successfully loaded from the URI,
|
|
else FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="formatter" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESFormatter</doc>
|
|
<type name="Formatter" c:type="GESFormatter*"/>
|
|
</instance-parameter>
|
|
<parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</parameter>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #gchar * pointing to a URI</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="save_to_uri" invoker="save_to_uri" throws="1">
|
|
<doc xml:space="preserve">Save data from timeline to the given URI.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">TRUE if the timeline data was successfully saved to the URI
|
|
else FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="formatter" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESFormatter</doc>
|
|
<type name="Formatter" c:type="GESFormatter*"/>
|
|
</instance-parameter>
|
|
<parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</parameter>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #gchar * pointing to a URI</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="overwrite" transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE to overwrite file if it exists</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="load_from_uri"
|
|
c:identifier="ges_formatter_load_from_uri"
|
|
throws="1">
|
|
<doc xml:space="preserve">Load data from the given URI into timeline.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">TRUE if the timeline data was successfully loaded from the URI,
|
|
else FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="formatter" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESFormatter</doc>
|
|
<type name="Formatter" c:type="GESFormatter*"/>
|
|
</instance-parameter>
|
|
<parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</parameter>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #gchar * pointing to a URI</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="save_to_uri"
|
|
c:identifier="ges_formatter_save_to_uri"
|
|
throws="1">
|
|
<doc xml:space="preserve">Save data from timeline to the given URI.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">TRUE if the timeline data was successfully saved to the URI
|
|
else FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="formatter" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESFormatter</doc>
|
|
<type name="Formatter" c:type="GESFormatter*"/>
|
|
</instance-parameter>
|
|
<parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</parameter>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #gchar * pointing to a URI</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="overwrite" transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE to overwrite file if it exists</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<field name="parent">
|
|
<type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="FormatterPrivate" c:type="GESFormatterPrivate*"/>
|
|
</field>
|
|
<field name="project" readable="0" private="1">
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</field>
|
|
<field name="timeline" readable="0" private="1">
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<callback name="FormatterCanLoadURIMethod"
|
|
c:type="GESFormatterCanLoadURIMethod"
|
|
throws="1">
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="dummy_instance" transfer-ownership="none">
|
|
<type name="Formatter" c:type="GESFormatter*"/>
|
|
</parameter>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<record name="FormatterClass"
|
|
c:type="GESFormatterClass"
|
|
glib:is-gtype-struct-for="Formatter">
|
|
<doc xml:space="preserve">GES Formatter class. Override the vmethods to implement the formatter functionnality.</doc>
|
|
<field name="parent_class">
|
|
<doc xml:space="preserve">the parent class structure</doc>
|
|
<type name="GObject.InitiallyUnownedClass"
|
|
c:type="GInitiallyUnownedClass"/>
|
|
</field>
|
|
<field name="can_load_uri">
|
|
<doc xml:space="preserve">Whether the URI can be loaded</doc>
|
|
<type name="FormatterCanLoadURIMethod"
|
|
c:type="GESFormatterCanLoadURIMethod"/>
|
|
</field>
|
|
<field name="load_from_uri">
|
|
<doc xml:space="preserve">class method to deserialize data from a URI</doc>
|
|
<type name="FormatterLoadFromURIMethod"
|
|
c:type="GESFormatterLoadFromURIMethod"/>
|
|
</field>
|
|
<field name="save_to_uri">
|
|
<doc xml:space="preserve">class method to serialize data to a URI</doc>
|
|
<type name="FormatterSaveToURIMethod"
|
|
c:type="GESFormatterSaveToURIMethod"/>
|
|
</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>
|
|
<field name="extension" readable="0" private="1">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</field>
|
|
<field name="mimetype" readable="0" private="1">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</field>
|
|
<field name="version" readable="0" private="1">
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</field>
|
|
<field name="rank" readable="0" private="1">
|
|
<type name="Gst.Rank" c:type="GstRank"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<method name="register_metas"
|
|
c:identifier="ges_formatter_class_register_metas">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="klass" transfer-ownership="none">
|
|
<type name="FormatterClass" c:type="GESFormatterClass*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="description" transfer-ownership="none">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="extension" transfer-ownership="none">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="mimetype" transfer-ownership="none">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="version" transfer-ownership="none">
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
<parameter name="rank" transfer-ownership="none">
|
|
<type name="Gst.Rank" c:type="GstRank"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<callback name="FormatterLoadFromURIMethod"
|
|
c:type="GESFormatterLoadFromURIMethod"
|
|
deprecated="1"
|
|
deprecated-version="1.16"
|
|
throws="1">
|
|
<doc xml:space="preserve">Virtual method for loading a timeline from a given URI.
|
|
|
|
Every #GESFormatter subclass needs to implement this method.</doc>
|
|
<doc-deprecated xml:space="preserve">Use @ges_timeline_load_from_uri</doc-deprecated>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">TRUE if the timeline data was successfully loaded from the URI,
|
|
else FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="formatter" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESFormatter</doc>
|
|
<type name="Formatter" c:type="GESFormatter*"/>
|
|
</parameter>
|
|
<parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</parameter>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #gchar * pointing to a URI</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<record name="FormatterPrivate" c:type="GESFormatterPrivate" disguised="1">
|
|
</record>
|
|
<callback name="FormatterSaveToURIMethod"
|
|
c:type="GESFormatterSaveToURIMethod"
|
|
deprecated="1"
|
|
deprecated-version="1.16"
|
|
throws="1">
|
|
<doc xml:space="preserve">Virtual method for saving a timeline to a uri.
|
|
|
|
Every #GESFormatter subclass needs to implement this method.</doc>
|
|
<doc-deprecated xml:space="preserve">Use @ges_timeline_save_to_uri</doc-deprecated>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">TRUE if the timeline data was successfully saved to the URI
|
|
else FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="formatter" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESFormatter</doc>
|
|
<type name="Formatter" c:type="GESFormatter*"/>
|
|
</parameter>
|
|
<parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</parameter>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #gchar * pointing to a URI</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="overwrite" transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE to overwrite file if it exists</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<class name="Group"
|
|
c:symbol-prefix="group"
|
|
c:type="GESGroup"
|
|
parent="Container"
|
|
glib:type-name="GESGroup"
|
|
glib:get-type="ges_group_get_type"
|
|
glib:type-struct="GroupClass">
|
|
<doc xml:space="preserve">A #GESGroup is an object which controls one or more
|
|
#GESClips in one or more #GESLayer(s).
|
|
|
|
To instanciate a group, you should use the ges_container_group method,
|
|
this will be responsible for deciding what subclass of #GESContainer
|
|
should be instaciated to group the various #GESTimelineElement passed
|
|
in parametter.</doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<constructor name="new" c:identifier="ges_group_new">
|
|
<doc xml:space="preserve">Created a new empty #GESGroup, if you want to group several container
|
|
together, it is recommanded to use the #ges_container_group method so the
|
|
proper subclass is selected.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The new empty group.</doc>
|
|
<type name="Group" c:type="GESGroup*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<property name="duration" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve">The duration (in nanoseconds) which will be used in the container</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</property>
|
|
<property name="in-point" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve">The in-point at which this #GESGroup will start outputting data
|
|
from its contents (in nanoseconds).
|
|
|
|
Ex : an in-point of 5 seconds means that the first outputted buffer will
|
|
be the one located 5 seconds in the controlled resource.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</property>
|
|
<property name="max-duration"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The maximum duration (in nanoseconds) of the #GESGroup.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</property>
|
|
<property name="priority" writable="1" transfer-ownership="none">
|
|
<type name="guint" c:type="guint"/>
|
|
</property>
|
|
<property name="start" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve">The position of the object in its container (in nanoseconds).</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</property>
|
|
<field name="parent">
|
|
<type name="Container" c:type="GESContainer"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="GroupPrivate" c:type="GESGroupPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="GroupClass"
|
|
c:type="GESGroupClass"
|
|
glib:is-gtype-struct-for="Group">
|
|
<field name="parent_class">
|
|
<type name="ContainerClass" c:type="GESContainerClass"/>
|
|
</field>
|
|
<field name="_ges_reserved">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="GroupPrivate" c:type="GESGroupPrivate" disguised="1">
|
|
</record>
|
|
<class name="ImageSource"
|
|
c:symbol-prefix="image_source"
|
|
c:type="GESImageSource"
|
|
parent="VideoSource"
|
|
glib:type-name="GESImageSource"
|
|
glib:get-type="ges_image_source_get_type"
|
|
glib:type-struct="ImageSourceClass">
|
|
<doc xml:space="preserve">Outputs the video stream from a given file as a still frame. The frame
|
|
chosen will be determined by the in-point property on the track element. For
|
|
image files, do not set the in-point property.</doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<property name="uri"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The location of the file/resource to use.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</property>
|
|
<field name="parent" readable="0" private="1">
|
|
<type name="VideoSource" c:type="GESVideoSource"/>
|
|
</field>
|
|
<field name="uri" readable="0" private="1">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="ImageSourcePrivate" c:type="GESImageSourcePrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="ImageSourceClass"
|
|
c:type="GESImageSourceClass"
|
|
glib:is-gtype-struct-for="ImageSource">
|
|
<field name="parent_class">
|
|
<type name="VideoSourceClass" c:type="GESVideoSourceClass"/>
|
|
</field>
|
|
<field name="_ges_reserved">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="ImageSourcePrivate"
|
|
c:type="GESImageSourcePrivate"
|
|
disguised="1">
|
|
</record>
|
|
<class name="Layer"
|
|
c:symbol-prefix="layer"
|
|
c:type="GESLayer"
|
|
parent="GObject.InitiallyUnowned"
|
|
glib:type-name="GESLayer"
|
|
glib:get-type="ges_layer_get_type"
|
|
glib:type-struct="LayerClass">
|
|
<doc xml:space="preserve">Responsible for the ordering of the various contained Clip(s). A
|
|
timeline layer has a "priority" property, which is used to manage the
|
|
priorities of individual Clips. Two layers should not have the
|
|
same priority within a given timeline.</doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<constructor name="new" c:identifier="ges_layer_new">
|
|
<doc xml:space="preserve">Creates a new #GESLayer.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">A new #GESLayer</doc>
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<virtual-method name="get_objects" introspectable="0">
|
|
<return-value>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="layer" transfer-ownership="none">
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="object_added">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="layer" transfer-ownership="none">
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</instance-parameter>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="object_removed">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="layer" transfer-ownership="none">
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</instance-parameter>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="add_asset" c:identifier="ges_layer_add_asset">
|
|
<doc xml:space="preserve">Creates Clip from asset, adds it to layer and
|
|
returns a reference to it.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">Created #GESClip</doc>
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="layer" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESLayer</doc>
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</instance-parameter>
|
|
<parameter name="asset" transfer-ownership="none">
|
|
<doc xml:space="preserve">The asset to add to</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve">The start value to set on the new #GESClip,
|
|
if @start == GST_CLOCK_TIME_NONE, it will be set to
|
|
the current duration of @layer</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="inpoint" transfer-ownership="none">
|
|
<doc xml:space="preserve">The inpoint value to set on the new #GESClip</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="duration" transfer-ownership="none">
|
|
<doc xml:space="preserve">The duration value to set on the new #GESClip</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="track_types" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTrackType to set on the the new #GESClip</doc>
|
|
<type name="TrackType" c:type="GESTrackType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_clip" c:identifier="ges_layer_add_clip">
|
|
<doc xml:space="preserve">Adds the given clip to the layer. Sets the clip's parent, and thus
|
|
takes ownership of the clip.
|
|
|
|
An clip can only be added to one layer.
|
|
|
|
Calling this method will construct and properly set all the media related
|
|
elements on @clip. If you need to know when those objects (actually #GESTrackElement)
|
|
are constructed, you should connect to the container::child-added signal which
|
|
is emited right after those elements are ready to be used.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the clip was properly added to the layer, or %FALSE
|
|
if the @layer refuses to add the clip.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="layer" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESLayer</doc>
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</instance-parameter>
|
|
<parameter name="clip" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESClip to add.</doc>
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_auto_transition"
|
|
c:identifier="ges_layer_get_auto_transition">
|
|
<doc xml:space="preserve">Gets whether transitions are automatically added when objects
|
|
overlap or not.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if transitions are automatically added, else %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="layer" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESLayer</doc>
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_clips" c:identifier="ges_layer_get_clips">
|
|
<doc xml:space="preserve">Get the clips this layer contains.</doc>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">a #GList of
|
|
clips. The user is responsible for
|
|
unreffing the contained objects and freeing the list.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Clip"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="layer" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESLayer</doc>
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_clips_in_interval"
|
|
c:identifier="ges_layer_get_clips_in_interval">
|
|
<doc xml:space="preserve">Gets the clips which appear between @start and @end on @layer.</doc>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">a #GList of clips intersecting [@start, @end) interval on @layer.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Clip"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="layer" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESLayer</doc>
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</instance-parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve">start of the interval</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="end" transfer-ownership="none">
|
|
<doc xml:space="preserve">end of the interval</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_duration" c:identifier="ges_layer_get_duration">
|
|
<doc xml:space="preserve">Lets you retrieve the duration of the layer, which means
|
|
the end time of the last clip inside it</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The duration of a layer</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="layer" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESLayer to get the duration from</doc>
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_priority" c:identifier="ges_layer_get_priority">
|
|
<doc xml:space="preserve">Get the priority of @layer within the timeline.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The priority of the @layer within the timeline.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="layer" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESLayer</doc>
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_timeline" c:identifier="ges_layer_get_timeline">
|
|
<doc xml:space="preserve">Get the #GESTimeline in which #GESLayer currently is.</doc>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">the #GESTimeline in which #GESLayer
|
|
currently is or %NULL if not in any timeline yet.</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="layer" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESLayer to get the parent #GESTimeline from</doc>
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_empty" c:identifier="ges_layer_is_empty">
|
|
<doc xml:space="preserve">Convenience method to check if @layer is empty (doesn't contain any clip),
|
|
or not.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @layer is empty, %FALSE if it already contains at least
|
|
one #GESClip</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="layer" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESLayer to check</doc>
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_clip" c:identifier="ges_layer_remove_clip">
|
|
<doc xml:space="preserve">Removes the given @clip from the @layer and unparents it.
|
|
Unparenting it means the reference owned by @layer on the @clip will be
|
|
removed. If you wish to use the @clip after this function, make sure you
|
|
call gst_object_ref() before removing it from the @layer.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the clip could be removed, %FALSE if the layer does
|
|
not want to remove the clip.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="layer" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESLayer</doc>
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</instance-parameter>
|
|
<parameter name="clip" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESClip to remove</doc>
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_auto_transition"
|
|
c:identifier="ges_layer_set_auto_transition">
|
|
<doc xml:space="preserve">Sets the layer to the given @auto_transition. See the documentation of the
|
|
property auto_transition for more information.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="layer" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESLayer</doc>
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</instance-parameter>
|
|
<parameter name="auto_transition" transfer-ownership="none">
|
|
<doc xml:space="preserve">whether the auto_transition is active</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_priority"
|
|
c:identifier="ges_layer_set_priority"
|
|
deprecated="1"
|
|
deprecated-version="1.16.0">
|
|
<doc xml:space="preserve">Sets the layer to the given @priority. See the documentation of the
|
|
priority property for more information.</doc>
|
|
<doc-deprecated xml:space="preserve">use #ges_timeline_move_layer instead. This deprecation means
|
|
that you will not need to handle layer priorities at all yourself, GES
|
|
will make sure there is never 'gaps' between layer priorities.</doc-deprecated>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="layer" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESLayer</doc>
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</instance-parameter>
|
|
<parameter name="priority" transfer-ownership="none">
|
|
<doc xml:space="preserve">the priority to set</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_timeline" c:identifier="ges_layer_set_timeline">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="layer" transfer-ownership="none">
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</instance-parameter>
|
|
<parameter name="timeline" transfer-ownership="none">
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="auto-transition" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve">Sets whether transitions are added automagically when clips overlap.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</property>
|
|
<property name="priority"
|
|
deprecated="1"
|
|
deprecated-version="1.16.0"
|
|
writable="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The priority of the layer in the #GESTimeline. 0 is the highest
|
|
priority. Conceptually, a #GESTimeline is a stack of GESLayers,
|
|
and the priority of the layer represents its position in the stack. Two
|
|
layers should not have the same priority within a given GESTimeline.
|
|
|
|
Note that the timeline needs to be commited (with #ges_timeline_commit)
|
|
for the change to be taken into account.</doc>
|
|
<doc-deprecated xml:space="preserve">use #ges_timeline_move_layer instead. This deprecation means
|
|
that you will not need to handle layer priorities at all yourself, GES
|
|
will make sure there is never 'gaps' between layer priorities.</doc-deprecated>
|
|
<type name="guint" c:type="guint"/>
|
|
</property>
|
|
<field name="parent">
|
|
<type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
|
|
</field>
|
|
<field name="timeline">
|
|
<doc xml:space="preserve">the #GESTimeline where this layer is being used.</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</field>
|
|
<field name="min_nle_priority">
|
|
<type name="guint32" c:type="guint32"/>
|
|
</field>
|
|
<field name="max_nle_priority">
|
|
<type name="guint32" c:type="guint32"/>
|
|
</field>
|
|
<field name="priv">
|
|
<type name="LayerPrivate" c:type="GESLayerPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<glib:signal name="clip-added" when="first">
|
|
<doc xml:space="preserve">Will be emitted after the clip was added to the layer.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="clip" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESClip that was added.</doc>
|
|
<type name="Clip"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="clip-removed" when="first">
|
|
<doc xml:space="preserve">Will be emitted after the clip was removed from the layer.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="clip" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESClip that was removed</doc>
|
|
<type name="Clip"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
</class>
|
|
<record name="LayerClass"
|
|
c:type="GESLayerClass"
|
|
glib:is-gtype-struct-for="Layer">
|
|
<doc xml:space="preserve">Subclasses can override the @get_objects if they can provide a more
|
|
efficient way of providing the list of contained #GESClip(s).</doc>
|
|
<field name="parent_class" readable="0" private="1">
|
|
<type name="GObject.InitiallyUnownedClass"
|
|
c:type="GInitiallyUnownedClass"/>
|
|
</field>
|
|
<field name="get_objects" introspectable="0">
|
|
<callback name="get_objects" introspectable="0">
|
|
<return-value>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="layer" transfer-ownership="none">
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="object_added">
|
|
<callback name="object_added">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="layer" transfer-ownership="none">
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</parameter>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="object_removed">
|
|
<callback name="object_removed">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="layer" transfer-ownership="none">
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</parameter>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<type name="Clip" c:type="GESClip*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="LayerPrivate" c:type="GESLayerPrivate" disguised="1">
|
|
</record>
|
|
<constant name="META_DESCRIPTION"
|
|
value="description"
|
|
c:type="GES_META_DESCRIPTION">
|
|
<doc xml:space="preserve">The description of an object, can be used in various context (string)
|
|
|
|
The description</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="META_FORMATTER_EXTENSION"
|
|
value="extension"
|
|
c:type="GES_META_FORMATTER_EXTENSION">
|
|
<doc xml:space="preserve">The extension of the files produced by a formatter (string)</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="META_FORMATTER_MIMETYPE"
|
|
value="mimetype"
|
|
c:type="GES_META_FORMATTER_MIMETYPE">
|
|
<doc xml:space="preserve">Mimetype used for the file produced by a formatter (string)
|
|
|
|
The mime type</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="META_FORMATTER_NAME"
|
|
value="name"
|
|
c:type="GES_META_FORMATTER_NAME">
|
|
<doc xml:space="preserve">Name of a formatter it is used as ID of Formater assets (string)
|
|
|
|
The name of the formatter</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="META_FORMATTER_RANK"
|
|
value="rank"
|
|
c:type="GES_META_FORMATTER_RANK">
|
|
<doc xml:space="preserve">The rank of a formatter (GstRank)
|
|
|
|
The rank of a formatter</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="META_FORMATTER_VERSION"
|
|
value="version"
|
|
c:type="GES_META_FORMATTER_VERSION">
|
|
<doc xml:space="preserve">The version of a formatter (double)
|
|
|
|
The formatter version</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="META_FORMAT_VERSION"
|
|
value="format-version"
|
|
c:type="GES_META_FORMAT_VERSION">
|
|
<doc xml:space="preserve">The version of the format in which a project is serialized</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="META_VOLUME" value="volume" c:type="GES_META_VOLUME">
|
|
<doc xml:space="preserve">The volume, can be used for audio track or layers
|
|
|
|
The volume for a track or a layer, it is register as a float</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<constant name="META_VOLUME_DEFAULT"
|
|
value="1.000000"
|
|
c:type="GES_META_VOLUME_DEFAULT">
|
|
<doc xml:space="preserve">The default volume
|
|
|
|
The default volume for a track or a layer as a float</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</constant>
|
|
<constant name="MULTI_FILE_URI_PREFIX"
|
|
value="multifile://"
|
|
c:type="GES_MULTI_FILE_URI_PREFIX">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</constant>
|
|
<interface name="MetaContainer"
|
|
c:symbol-prefix="meta_container"
|
|
c:type="GESMetaContainer"
|
|
glib:type-name="GESMetaContainer"
|
|
glib:get-type="ges_meta_container_get_type"
|
|
glib:type-struct="MetaContainerInterface">
|
|
<doc xml:space="preserve">Interface that allows reading and writing meta</doc>
|
|
<method name="add_metas_from_string"
|
|
c:identifier="ges_meta_container_add_metas_from_string">
|
|
<doc xml:space="preserve">Deserializes a meta container.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">TRUE on success, FALSE if there was an error.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="str" transfer-ownership="none">
|
|
<doc xml:space="preserve">a string created with ges_meta_container_metas_to_string()</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="check_meta_registered"
|
|
c:identifier="ges_meta_container_check_meta_registered">
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<type name="MetaFlag" c:type="GESMetaFlag*"/>
|
|
</parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<type name="GType" c:type="GType*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="foreach" c:identifier="ges_meta_container_foreach">
|
|
<doc xml:space="preserve">Calls the given function for each metadata inside the meta container. Note
|
|
that if there is no metadata, the function won't be called at all.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">container to iterate over</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="func"
|
|
transfer-ownership="none"
|
|
scope="call"
|
|
closure="1">
|
|
<doc xml:space="preserve">function to be called for each metadata</doc>
|
|
<type name="MetaForeachFunc" c:type="GESMetaForeachFunc"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">user specified data</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_boolean" c:identifier="ges_meta_container_get_boolean">
|
|
<doc xml:space="preserve">Gets the value of a given meta item, returns NULL if @meta_item
|
|
can not be found.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to get</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="dest"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve">Destination to which value of meta item will be copied</doc>
|
|
<type name="gboolean" c:type="gboolean*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_date" c:identifier="ges_meta_container_get_date">
|
|
<doc xml:space="preserve">Gets the value of a given meta item, returns NULL if @meta_item
|
|
can not be found.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to get</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="dest"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve">Destination to which value of meta item will be copied</doc>
|
|
<type name="GLib.Date" c:type="GDate**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_date_time"
|
|
c:identifier="ges_meta_container_get_date_time">
|
|
<doc xml:space="preserve">Gets the value of a given meta item, returns NULL if @meta_item
|
|
can not be found.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to get</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="dest"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve">Destination to which value of meta item will be copied</doc>
|
|
<type name="Gst.DateTime" c:type="GstDateTime**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_double" c:identifier="ges_meta_container_get_double">
|
|
<doc xml:space="preserve">Gets the value of a given meta item, returns NULL if @meta_item
|
|
can not be found.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to get</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="dest"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve">Destination to which value of meta item will be copied</doc>
|
|
<type name="gdouble" c:type="gdouble*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_float" c:identifier="ges_meta_container_get_float">
|
|
<doc xml:space="preserve">Gets the value of a given meta item, returns %FALSE if @meta_item
|
|
can not be found.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to get</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="dest"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve">Destination to which value of meta item will be copied</doc>
|
|
<type name="gfloat" c:type="gfloat*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_int" c:identifier="ges_meta_container_get_int">
|
|
<doc xml:space="preserve">Gets the value of a given meta item, returns NULL if @meta_item
|
|
can not be found.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to get</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="dest"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve">Destination to which value of meta item will be copied</doc>
|
|
<type name="gint" c:type="gint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_int64" c:identifier="ges_meta_container_get_int64">
|
|
<doc xml:space="preserve">Gets the value of a given meta item, returns %FALSE if @meta_item
|
|
can not be found.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to get</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="dest"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve">Destination to which value of meta item will be copied</doc>
|
|
<type name="gint64" c:type="gint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_meta" c:identifier="ges_meta_container_get_meta">
|
|
<doc xml:space="preserve">Gets the value of a given meta item, returns NULL if @key
|
|
can not be found.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GValue corresponding to the meta with the given @key.</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="key" transfer-ownership="none">
|
|
<doc xml:space="preserve">The key name of the meta to retrieve</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_string" c:identifier="ges_meta_container_get_string">
|
|
<doc xml:space="preserve">Gets the value of a given meta item, returns NULL if @meta_item
|
|
can not be found.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to get</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_uint" c:identifier="ges_meta_container_get_uint">
|
|
<doc xml:space="preserve">Gets the value of a given meta item, returns NULL if @meta_item
|
|
can not be found.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to get</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="dest"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve">Destination to which value of meta item will be copied</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_uint64" c:identifier="ges_meta_container_get_uint64">
|
|
<doc xml:space="preserve">Gets the value of a given meta item, returns %FALSE if @meta_item
|
|
can not be found.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to get</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="dest"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve">Destination to which value of meta item will be copied</doc>
|
|
<type name="guint64" c:type="guint64*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="metas_to_string"
|
|
c:identifier="ges_meta_container_metas_to_string">
|
|
<doc xml:space="preserve">Serializes a meta container to a string.</doc>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve">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="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESMetaContainer</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="register_meta"
|
|
c:identifier="ges_meta_container_register_meta">
|
|
<doc xml:space="preserve">Sets a static meta on @container. This method lets you define static
|
|
metadatas, which means that the type of the registered will be the only
|
|
type accepted for this meta on that particular @container.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the static meta could be added, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESMetaFlag to be used</doc>
|
|
<type name="MetaFlag" c:type="GESMetaFlag"/>
|
|
</parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve">Value to set</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="register_meta_boolean"
|
|
c:identifier="ges_meta_container_register_meta_boolean">
|
|
<doc xml:space="preserve">Sets a static meta on @container. This method lets you define static
|
|
metadatas, which means that the type of the registered will be the only
|
|
type accepted for this meta on that particular @container.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the meta could be registered, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESMetaFlag to be used</doc>
|
|
<type name="MetaFlag" c:type="GESMetaFlag"/>
|
|
</parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve">Value to set</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="register_meta_date"
|
|
c:identifier="ges_meta_container_register_meta_date">
|
|
<doc xml:space="preserve">Sets a static meta on @container. This method lets you define static
|
|
metadatas, which means that the type of the registered will be the only
|
|
type accepted for this meta on that particular @container.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the meta could be registered, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESMetaFlag to be used</doc>
|
|
<type name="MetaFlag" c:type="GESMetaFlag"/>
|
|
</parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">Value to set</doc>
|
|
<type name="GLib.Date" c:type="const GDate*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="register_meta_date_time"
|
|
c:identifier="ges_meta_container_register_meta_date_time">
|
|
<doc xml:space="preserve">Sets a static meta on @container. This method lets you define static
|
|
metadatas, which means that the type of the registered will be the only
|
|
type accepted for this meta on that particular @container.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the meta could be registered, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESMetaFlag to be used</doc>
|
|
<type name="MetaFlag" c:type="GESMetaFlag"/>
|
|
</parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">Value to set</doc>
|
|
<type name="Gst.DateTime" c:type="const GstDateTime*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="register_meta_double"
|
|
c:identifier="ges_meta_container_register_meta_double">
|
|
<doc xml:space="preserve">Sets a static meta on @container. This method lets you define static
|
|
metadatas, which means that the type of the registered will be the only
|
|
type accepted for this meta on that particular @container.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the meta could be registered, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESMetaFlag to be used</doc>
|
|
<type name="MetaFlag" c:type="GESMetaFlag"/>
|
|
</parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve">Value to set</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="register_meta_float"
|
|
c:identifier="ges_meta_container_register_meta_float">
|
|
<doc xml:space="preserve">Sets a static meta on @container. This method lets you define static
|
|
metadatas, which means that the type of the registered will be the only
|
|
type accepted for this meta on that particular @container.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the meta could be registered, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESMetaFlag to be used</doc>
|
|
<type name="MetaFlag" c:type="GESMetaFlag"/>
|
|
</parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve">Value to set</doc>
|
|
<type name="gfloat" c:type="gfloat"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="register_meta_int"
|
|
c:identifier="ges_meta_container_register_meta_int">
|
|
<doc xml:space="preserve">Sets a static meta on @container. This method lets you define static
|
|
metadatas, which means that the type of the registered will be the only
|
|
type accepted for this meta on that particular @container.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the meta could be registered, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESMetaFlag to be used</doc>
|
|
<type name="MetaFlag" c:type="GESMetaFlag"/>
|
|
</parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve">Value to set</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="register_meta_int64"
|
|
c:identifier="ges_meta_container_register_meta_int64">
|
|
<doc xml:space="preserve">Sets a static meta on @container. This method lets you define static
|
|
metadatas, which means that the type of the registered will be the only
|
|
type accepted for this meta on that particular @container.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the meta could be registered, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESMetaFlag to be used</doc>
|
|
<type name="MetaFlag" c:type="GESMetaFlag"/>
|
|
</parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve">Value to set</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="register_meta_string"
|
|
c:identifier="ges_meta_container_register_meta_string">
|
|
<doc xml:space="preserve">Sets a static meta on @container. This method lets you define static
|
|
metadatas, which means that the type of the registered will be the only
|
|
type accepted for this meta on that particular @container.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the meta could be registered, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESMetaFlag to be used</doc>
|
|
<type name="MetaFlag" c:type="GESMetaFlag"/>
|
|
</parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">Value to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="register_meta_uint"
|
|
c:identifier="ges_meta_container_register_meta_uint">
|
|
<doc xml:space="preserve">Sets a static meta on @container. This method lets you define static
|
|
metadatas, which means that the type of the registered will be the only
|
|
type accepted for this meta on that particular @container.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the meta could be registered, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESMetaFlag to be used</doc>
|
|
<type name="MetaFlag" c:type="GESMetaFlag"/>
|
|
</parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve">Value to set</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="register_meta_uint64"
|
|
c:identifier="ges_meta_container_register_meta_uint64">
|
|
<doc xml:space="preserve">Sets a static meta on @container. This method lets you define static
|
|
metadatas, which means that the type of the registered will be the only
|
|
type accepted for this meta on that particular @container.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the meta could be registered, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="flags" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESMetaFlag to be used</doc>
|
|
<type name="MetaFlag" c:type="GESMetaFlag"/>
|
|
</parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve">Value to set</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_boolean" c:identifier="ges_meta_container_set_boolean">
|
|
<doc xml:space="preserve">Sets the value of a given meta item</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the meta could be added, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve">Value to set</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_date" c:identifier="ges_meta_container_set_date">
|
|
<doc xml:space="preserve">Sets the value of a given meta item</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the meta could be added, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve">Value to set</doc>
|
|
<type name="GLib.Date" c:type="const GDate*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_date_time"
|
|
c:identifier="ges_meta_container_set_date_time">
|
|
<doc xml:space="preserve">Sets the value of a given meta item</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the meta could be added, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve">Value to set</doc>
|
|
<type name="Gst.DateTime" c:type="const GstDateTime*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_double" c:identifier="ges_meta_container_set_double">
|
|
<doc xml:space="preserve">Sets the value of a given meta item</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the meta could be added, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve">Value to set</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_float" c:identifier="ges_meta_container_set_float">
|
|
<doc xml:space="preserve">Sets the value of a given meta item</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the meta could be added, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve">Value to set</doc>
|
|
<type name="gfloat" c:type="gfloat"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_int" c:identifier="ges_meta_container_set_int">
|
|
<doc xml:space="preserve">Sets the value of a given meta item</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the meta could be added, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve">Value to set</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_int64" c:identifier="ges_meta_container_set_int64">
|
|
<doc xml:space="preserve">Sets the value of a given meta item</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the meta could be added, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve">Value to set</doc>
|
|
<type name="gint64" c:type="gint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_meta" c:identifier="ges_meta_container_set_meta">
|
|
<doc xml:space="preserve">Sets the value of a given meta item</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the meta could be added, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">Value to set</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_string" c:identifier="ges_meta_container_set_string">
|
|
<doc xml:space="preserve">Sets the value of a given meta item</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the meta could be added, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve">Value to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_uint" c:identifier="ges_meta_container_set_uint">
|
|
<doc xml:space="preserve">Sets the value of a given meta item</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the meta could be added, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve">Value to set</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_uint64" c:identifier="ges_meta_container_set_uint64">
|
|
<doc xml:space="preserve">Sets the value of a given meta item</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the meta could be added, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="container" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target container</doc>
|
|
<type name="MetaContainer" c:type="GESMetaContainer*"/>
|
|
</instance-parameter>
|
|
<parameter name="meta_item" transfer-ownership="none">
|
|
<doc xml:space="preserve">Name of the meta item to set</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve">Value to set</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<glib:signal name="notify-meta"
|
|
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="utf8" c:type="gchar*"/>
|
|
</parameter>
|
|
<parameter name="p0" transfer-ownership="none">
|
|
<type name="GObject.Value"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
</interface>
|
|
<record name="MetaContainerInterface"
|
|
c:type="GESMetaContainerInterface"
|
|
glib:is-gtype-struct-for="MetaContainer">
|
|
<field name="parent_iface">
|
|
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
|
|
</field>
|
|
<field name="_ges_reserved">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<bitfield name="MetaFlag"
|
|
glib:type-name="GESMetaFlag"
|
|
glib:get-type="ges_meta_flag_get_type"
|
|
c:type="GESMetaFlag">
|
|
<member name="readable"
|
|
value="1"
|
|
c:identifier="GES_META_READABLE"
|
|
glib:nick="readable">
|
|
<doc xml:space="preserve">The metadata is readable</doc>
|
|
</member>
|
|
<member name="writable"
|
|
value="2"
|
|
c:identifier="GES_META_WRITABLE"
|
|
glib:nick="writable">
|
|
<doc xml:space="preserve">The metadata is writable</doc>
|
|
</member>
|
|
<member name="readwrite"
|
|
value="3"
|
|
c:identifier="GES_META_READ_WRITE"
|
|
glib:nick="readwrite">
|
|
<doc xml:space="preserve">The metadata is readable and writable</doc>
|
|
</member>
|
|
</bitfield>
|
|
<callback name="MetaForeachFunc" c:type="GESMetaForeachFunc">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="container" transfer-ownership="none">
|
|
<type name="MetaContainer" c:type="const GESMetaContainer*"/>
|
|
</parameter>
|
|
<parameter name="key" transfer-ownership="none">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="3">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
<class name="MultiFileSource"
|
|
c:symbol-prefix="multi_file_source"
|
|
c:type="GESMultiFileSource"
|
|
parent="VideoSource"
|
|
glib:type-name="GESMultiFileSource"
|
|
glib:get-type="ges_multi_file_source_get_type"
|
|
glib:type-struct="MultiFileSourceClass">
|
|
<doc xml:space="preserve">Outputs the video stream from a given image sequence. The start frame
|
|
chosen will be determined by the in-point property on the track element.</doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<constructor name="new" c:identifier="ges_multi_file_source_new">
|
|
<doc xml:space="preserve">Creates a new #GESMultiFileSource for the provided @uri.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">A new #GESMultiFileSource.</doc>
|
|
<type name="MultiFileSource" c:type="GESMultiFileSource*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve">the URI the source should control</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<property name="uri"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The uri of the file/resource to use. You can set a start index,
|
|
a stop index and a sequence pattern.
|
|
The format is &lt;multifile://start:stop\@location-pattern&gt;.
|
|
The pattern uses printf string formating.
|
|
|
|
Example uris:
|
|
|
|
multifile:///home/you/image\%03d.jpg
|
|
|
|
multifile://20:50@/home/you/sequence/\%04d.png</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</property>
|
|
<field name="parent" readable="0" private="1">
|
|
<type name="VideoSource" c:type="GESVideoSource"/>
|
|
</field>
|
|
<field name="uri" readable="0" private="1">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="MultiFileSourcePrivate"
|
|
c:type="GESMultiFileSourcePrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="MultiFileSourceClass"
|
|
c:type="GESMultiFileSourceClass"
|
|
glib:is-gtype-struct-for="MultiFileSource">
|
|
<field name="parent_class">
|
|
<type name="VideoSourceClass" c:type="GESVideoSourceClass"/>
|
|
</field>
|
|
<field name="_ges_reserved">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="MultiFileSourcePrivate"
|
|
c:type="GESMultiFileSourcePrivate"
|
|
disguised="1">
|
|
</record>
|
|
<class name="Operation"
|
|
c:symbol-prefix="operation"
|
|
c:type="GESOperation"
|
|
parent="TrackElement"
|
|
abstract="1"
|
|
glib:type-name="GESOperation"
|
|
glib:get-type="ges_operation_get_type"
|
|
glib:type-struct="OperationClass">
|
|
<doc xml:space="preserve">Base class for overlays, transitions, and effects</doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<field name="parent" readable="0" private="1">
|
|
<type name="TrackElement" c:type="GESTrackElement"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="OperationPrivate" c:type="GESOperationPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="OperationClass"
|
|
c:type="GESOperationClass"
|
|
glib:is-gtype-struct-for="Operation">
|
|
<field name="parent_class" readable="0" private="1">
|
|
<type name="TrackElementClass" c:type="GESTrackElementClass"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<class name="OperationClip"
|
|
c:symbol-prefix="operation_clip"
|
|
c:type="GESOperationClip"
|
|
parent="Clip"
|
|
abstract="1"
|
|
glib:type-name="GESOperationClip"
|
|
glib:get-type="ges_operation_clip_get_type"
|
|
glib:type-struct="OperationClipClass">
|
|
<doc xml:space="preserve">Operations are any kind of object that both outputs AND consumes data.</doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<field name="parent" readable="0" private="1">
|
|
<type name="Clip" c:type="GESClip"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="OperationClipPrivate" c:type="GESOperationClipPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="OperationClipClass"
|
|
c:type="GESOperationClipClass"
|
|
glib:is-gtype-struct-for="OperationClip">
|
|
<field name="parent_class" readable="0" private="1">
|
|
<type name="ClipClass" c:type="GESClipClass"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="OperationClipPrivate"
|
|
c:type="GESOperationClipPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<record name="OperationPrivate" c:type="GESOperationPrivate" disguised="1">
|
|
</record>
|
|
<class name="OverlayClip"
|
|
c:symbol-prefix="overlay_clip"
|
|
c:type="GESOverlayClip"
|
|
parent="OperationClip"
|
|
abstract="1"
|
|
glib:type-name="GESOverlayClip"
|
|
glib:get-type="ges_overlay_clip_get_type"
|
|
glib:type-struct="OverlayClipClass">
|
|
<doc xml:space="preserve">Overlays are objects which modify the underlying layer(s).
|
|
|
|
Examples of overlays include text, image watermarks, or audio dubbing.
|
|
|
|
Transitions, which change from one source to another over time, are
|
|
not considered overlays.</doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<field name="parent" readable="0" private="1">
|
|
<type name="OperationClip" c:type="GESOperationClip"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="OverlayClipPrivate" c:type="GESOverlayClipPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="OverlayClipClass"
|
|
c:type="GESOverlayClipClass"
|
|
glib:is-gtype-struct-for="OverlayClip">
|
|
<field name="parent_class">
|
|
<doc xml:space="preserve">parent class</doc>
|
|
<type name="OperationClipClass" c:type="GESOperationClipClass"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="OverlayClipPrivate"
|
|
c:type="GESOverlayClipPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<constant name="PADDING" value="4" c:type="GES_PADDING">
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<constant name="PADDING_LARGE" value="20" c:type="GES_PADDING_LARGE">
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<class name="Pipeline"
|
|
c:symbol-prefix="pipeline"
|
|
c:type="GESPipeline"
|
|
parent="Gst.Pipeline"
|
|
glib:type-name="GESPipeline"
|
|
glib:get-type="ges_pipeline_get_type"
|
|
glib:type-struct="PipelineClass">
|
|
<doc xml:space="preserve">#GESPipeline allows developers to view and render #GESTimeline
|
|
in a simple fashion.
|
|
Its usage is inspired by the 'playbin' element from gst-plugins-base.</doc>
|
|
<implements name="Gst.ChildProxy"/>
|
|
<implements name="GstVideo.VideoOverlay"/>
|
|
<constructor name="new" c:identifier="ges_pipeline_new">
|
|
<doc xml:space="preserve">Creates a new conveninence #GESPipeline.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">the new #GESPipeline.</doc>
|
|
<type name="Pipeline" c:type="GESPipeline*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<method name="get_mode" c:identifier="ges_pipeline_get_mode">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESPipelineFlags currently in use.</doc>
|
|
<type name="PipelineFlags" c:type="GESPipelineFlags"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pipeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESPipeline</doc>
|
|
<type name="Pipeline" c:type="GESPipeline*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_thumbnail" c:identifier="ges_pipeline_get_thumbnail">
|
|
<doc xml:space="preserve">Returns a #GstSample with the currently playing image in the format specified by
|
|
caps. The caller should free the sample with #gst_sample_unref when finished. If ANY
|
|
caps are specified, the information will be returned in the whatever format
|
|
is currently used by the sink. This information can be retrieve from caps
|
|
associated with the buffer.</doc>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve">a #GstSample or %NULL</doc>
|
|
<type name="Gst.Sample" c:type="GstSample*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESPipeline in %GST_STATE_PLAYING or %GST_STATE_PAUSED</doc>
|
|
<type name="Pipeline" c:type="GESPipeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve">caps specifying current format. Use %GST_CAPS_ANY
|
|
for native size.</doc>
|
|
<type name="Gst.Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_thumbnail_rgb24"
|
|
c:identifier="ges_pipeline_get_thumbnail_rgb24">
|
|
<doc xml:space="preserve">A convenience method for @ges_pipeline_get_thumbnail which
|
|
returns a buffer in 24-bit RGB, optionally scaled to the specified width
|
|
and height. If -1 is specified for either dimension, it will be left at
|
|
native size. You can retreive this information from the caps associated
|
|
with the buffer.
|
|
|
|
The caller is responsible for unreffing the returned sample with
|
|
#gst_sample_unref.</doc>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve">a #GstSample or %NULL</doc>
|
|
<type name="Gst.Sample" c:type="GstSample*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESPipeline in %GST_STATE_PLAYING or %GST_STATE_PAUSED</doc>
|
|
<type name="Pipeline" c:type="GESPipeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="width" transfer-ownership="none">
|
|
<doc xml:space="preserve">the requested width or -1 for native size</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
<parameter name="height" transfer-ownership="none">
|
|
<doc xml:space="preserve">the requested height or -1 for native size</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="preview_get_audio_sink"
|
|
c:identifier="ges_pipeline_preview_get_audio_sink">
|
|
<doc xml:space="preserve">Obtains a pointer to playsink's audio sink element that is used for
|
|
displaying audio when the #GESPipeline is in %GES_PIPELINE_MODE_PREVIEW
|
|
|
|
The caller is responsible for unreffing the returned element with
|
|
#gst_object_unref.</doc>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">a pointer to the playsink audio sink #GstElement</doc>
|
|
<type name="Gst.Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESPipeline</doc>
|
|
<type name="Pipeline" c:type="GESPipeline*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="preview_get_video_sink"
|
|
c:identifier="ges_pipeline_preview_get_video_sink">
|
|
<doc xml:space="preserve">Obtains a pointer to playsink's video sink element that is used for
|
|
displaying video when the #GESPipeline is in %GES_PIPELINE_MODE_PREVIEW
|
|
|
|
The caller is responsible for unreffing the returned element with
|
|
#gst_object_unref.</doc>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">a pointer to the playsink video sink #GstElement</doc>
|
|
<type name="Gst.Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESPipeline</doc>
|
|
<type name="Pipeline" c:type="GESPipeline*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="preview_set_audio_sink"
|
|
c:identifier="ges_pipeline_preview_set_audio_sink">
|
|
<doc xml:space="preserve">Sets playsink's audio sink element that is used for displaying audio when
|
|
the #GESPipeline is in %GES_PIPELINE_MODE_PREVIEW</doc>
|
|
<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">a #GESPipeline in %GST_STATE_NULL</doc>
|
|
<type name="Pipeline" c:type="GESPipeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="sink" transfer-ownership="none">
|
|
<doc xml:space="preserve">a audio sink #GstElement</doc>
|
|
<type name="Gst.Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="preview_set_video_sink"
|
|
c:identifier="ges_pipeline_preview_set_video_sink">
|
|
<doc xml:space="preserve">Sets playsink's video sink element that is used for displaying video when
|
|
the #GESPipeline is in %GES_PIPELINE_MODE_PREVIEW</doc>
|
|
<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">a #GESPipeline in %GST_STATE_NULL</doc>
|
|
<type name="Pipeline" c:type="GESPipeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="sink" transfer-ownership="none">
|
|
<doc xml:space="preserve">a video sink #GstElement</doc>
|
|
<type name="Gst.Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="save_thumbnail"
|
|
c:identifier="ges_pipeline_save_thumbnail"
|
|
throws="1">
|
|
<doc xml:space="preserve">Saves the current frame to the specified @location.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the thumbnail was properly save, else %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESPipeline in %GST_STATE_PLAYING or %GST_STATE_PAUSED</doc>
|
|
<type name="Pipeline" c:type="GESPipeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="width" transfer-ownership="none">
|
|
<doc xml:space="preserve">the requested width or -1 for native size</doc>
|
|
<type name="gint" c:type="int"/>
|
|
</parameter>
|
|
<parameter name="height" transfer-ownership="none">
|
|
<doc xml:space="preserve">the requested height or -1 for native size</doc>
|
|
<type name="gint" c:type="int"/>
|
|
</parameter>
|
|
<parameter name="format" transfer-ownership="none">
|
|
<doc xml:space="preserve">a string specifying the desired mime type (for example,
|
|
image/jpeg)</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="location" transfer-ownership="none">
|
|
<doc xml:space="preserve">the path to save the thumbnail</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_mode" c:identifier="ges_pipeline_set_mode">
|
|
<doc xml:space="preserve">switches the @pipeline to the specified @mode. The default mode when
|
|
creating a #GESPipeline is #GES_PIPELINE_MODE_PREVIEW.
|
|
|
|
Note: The @pipeline will be set to #GST_STATE_NULL during this call due to
|
|
the internal changes that happen. The caller will therefore have to
|
|
set the @pipeline to the requested state after calling this method.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the mode was properly set, else %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pipeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESPipeline</doc>
|
|
<type name="Pipeline" c:type="GESPipeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESPipelineFlags to use</doc>
|
|
<type name="PipelineFlags" c:type="GESPipelineFlags"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_render_settings"
|
|
c:identifier="ges_pipeline_set_render_settings">
|
|
<doc xml:space="preserve">Specify where the pipeline shall be rendered and with what settings.
|
|
|
|
A copy of @profile and @output_uri will be done internally, the caller can
|
|
safely free those values afterwards.
|
|
|
|
This method must be called before setting the pipeline mode to
|
|
#GES_PIPELINE_MODE_RENDER</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the settings were aknowledged properly, else %FALSE</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pipeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESPipeline</doc>
|
|
<type name="Pipeline" c:type="GESPipeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="output_uri" transfer-ownership="none">
|
|
<doc xml:space="preserve">the URI to which the timeline will be rendered</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="profile" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GstEncodingProfile to use to render the timeline.</doc>
|
|
<type name="GstPbutils.EncodingProfile"
|
|
c:type="GstEncodingProfile*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_timeline" c:identifier="ges_pipeline_set_timeline">
|
|
<doc xml:space="preserve">Sets the timeline to use in this pipeline.
|
|
|
|
The reference to the @timeline will be stolen by the @pipeline.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the @timeline could be successfully set on the @pipeline,
|
|
else %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="pipeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESPipeline</doc>
|
|
<type name="Pipeline" c:type="GESPipeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="timeline" transfer-ownership="full">
|
|
<doc xml:space="preserve">the #GESTimeline to set on the @pipeline.</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="audio-filter" writable="1" transfer-ownership="none">
|
|
<type name="Gst.Element"/>
|
|
</property>
|
|
<property name="audio-sink" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve">Audio sink for the preview.</doc>
|
|
<type name="Gst.Element"/>
|
|
</property>
|
|
<property name="mode" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve">Pipeline mode. See ges_pipeline_set_mode() for more
|
|
info.</doc>
|
|
<type name="PipelineFlags"/>
|
|
</property>
|
|
<property name="timeline" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve">Timeline to use in this pipeline. See also
|
|
ges_pipeline_set_timeline() for more info.</doc>
|
|
<type name="Timeline"/>
|
|
</property>
|
|
<property name="video-filter" writable="1" transfer-ownership="none">
|
|
<type name="Gst.Element"/>
|
|
</property>
|
|
<property name="video-sink" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve">Video sink for the preview.</doc>
|
|
<type name="Gst.Element"/>
|
|
</property>
|
|
<field name="parent" readable="0" private="1">
|
|
<type name="Gst.Pipeline" c:type="GstPipeline"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="PipelinePrivate" c:type="GESPipelinePrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="PipelineClass"
|
|
c:type="GESPipelineClass"
|
|
glib:is-gtype-struct-for="Pipeline">
|
|
<field name="parent_class" readable="0" private="1">
|
|
<doc xml:space="preserve">parent class</doc>
|
|
<type name="Gst.PipelineClass" c:type="GstPipelineClass"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<bitfield name="PipelineFlags"
|
|
glib:type-name="GESPipelineFlags"
|
|
glib:get-type="ges_pipeline_flags_get_type"
|
|
c:type="GESPipelineFlags">
|
|
<doc xml:space="preserve">The various modes the #GESPipeline can be configured to.</doc>
|
|
<member name="audio_preview"
|
|
value="1"
|
|
c:identifier="GES_PIPELINE_MODE_PREVIEW_AUDIO"
|
|
glib:nick="audio_preview">
|
|
<doc xml:space="preserve">output audio to the soundcard</doc>
|
|
</member>
|
|
<member name="video_preview"
|
|
value="2"
|
|
c:identifier="GES_PIPELINE_MODE_PREVIEW_VIDEO"
|
|
glib:nick="video_preview">
|
|
<doc xml:space="preserve">output video to the screen</doc>
|
|
</member>
|
|
<member name="full_preview"
|
|
value="3"
|
|
c:identifier="GES_PIPELINE_MODE_PREVIEW"
|
|
glib:nick="full_preview">
|
|
<doc xml:space="preserve">output audio/video to soundcard/screen (default)</doc>
|
|
</member>
|
|
<member name="render"
|
|
value="4"
|
|
c:identifier="GES_PIPELINE_MODE_RENDER"
|
|
glib:nick="render">
|
|
<doc xml:space="preserve">render timeline (forces decoding)</doc>
|
|
</member>
|
|
<member name="smart_render"
|
|
value="8"
|
|
c:identifier="GES_PIPELINE_MODE_SMART_RENDER"
|
|
glib:nick="smart_render">
|
|
<doc xml:space="preserve">render timeline (tries to avoid decoding/reencoding)</doc>
|
|
</member>
|
|
</bitfield>
|
|
<record name="PipelinePrivate" c:type="GESPipelinePrivate" disguised="1">
|
|
</record>
|
|
<class name="PitiviFormatter"
|
|
c:symbol-prefix="pitivi_formatter"
|
|
c:type="GESPitiviFormatter"
|
|
parent="Formatter"
|
|
glib:type-name="GESPitiviFormatter"
|
|
glib:get-type="ges_pitivi_formatter_get_type"
|
|
glib:type-struct="PitiviFormatterClass">
|
|
<doc xml:space="preserve">This is a legacy format and you should avoid to use it. The formatter
|
|
is really not in good shape and is deprecated.</doc>
|
|
<implements name="Extractable"/>
|
|
<constructor name="new" c:identifier="ges_pitivi_formatter_new">
|
|
<return-value transfer-ownership="none">
|
|
<type name="PitiviFormatter" c:type="GESPitiviFormatter*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<field name="parent">
|
|
<type name="Formatter" c:type="GESFormatter"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="PitiviFormatterPrivate"
|
|
c:type="GESPitiviFormatterPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="PitiviFormatterClass"
|
|
c:type="GESPitiviFormatterClass"
|
|
glib:is-gtype-struct-for="PitiviFormatter">
|
|
<field name="parent_class" readable="0" private="1">
|
|
<type name="FormatterClass" c:type="GESFormatterClass"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="PitiviFormatterPrivate"
|
|
c:type="GESPitiviFormatterPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<class name="Project"
|
|
c:symbol-prefix="project"
|
|
c:type="GESProject"
|
|
parent="Asset"
|
|
glib:type-name="GESProject"
|
|
glib:get-type="ges_project_get_type"
|
|
glib:type-struct="ProjectClass">
|
|
<doc xml:space="preserve">The #GESProject is used to control a set of #GESAsset and is a
|
|
#GESAsset with #GES_TYPE_TIMELINE as @extractable_type itself. That
|
|
means that you can extract #GESTimeline from a project as followed:
|
|
|
|
|[
|
|
GESProject *project;
|
|
GESTimeline *timeline;
|
|
|
|
project = ges_project_new ("file:///path/to/a/valid/project/uri");
|
|
|
|
// Here you can connect to the various signal to get more infos about
|
|
// what is happening and recover from errors if possible
|
|
...
|
|
|
|
timeline = ges_asset_extract (GES_ASSET (project));
|
|
]|
|
|
|
|
The #GESProject class offers a higher level API to handle #GESAsset-s.
|
|
It lets you request new asset, and it informs you about new assets through
|
|
a set of signals. Also it handles problem such as missing files/missing
|
|
#GstElement and lets you try to recover from those.</doc>
|
|
<implements name="MetaContainer"/>
|
|
<implements name="Gio.AsyncInitable"/>
|
|
<implements name="Gio.Initable"/>
|
|
<constructor name="new" c:identifier="ges_project_new">
|
|
<doc xml:space="preserve">Creates a new #GESProject and sets its uri to @uri if provided. Note that
|
|
if @uri is not valid or %NULL, the uri of the project will then be set
|
|
the first time you save the project. If you then save the project to
|
|
other locations, it will never be updated again and the first valid URI is
|
|
the URI it will keep refering to.</doc>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">A newly created #GESProject</doc>
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="uri"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">The uri to be set after creating the project.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<virtual-method name="asset_added">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</instance-parameter>
|
|
<parameter name="asset" transfer-ownership="none">
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="asset_loading">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</instance-parameter>
|
|
<parameter name="asset" transfer-ownership="none">
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="asset_removed">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</instance-parameter>
|
|
<parameter name="asset" transfer-ownership="none">
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="loaded">
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</instance-parameter>
|
|
<parameter name="timeline" transfer-ownership="none">
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="loading_error">
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</instance-parameter>
|
|
<parameter name="error" transfer-ownership="none">
|
|
<type name="GLib.Error" c:type="GError*"/>
|
|
</parameter>
|
|
<parameter name="id" transfer-ownership="none">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</parameter>
|
|
<parameter name="extractable_type" transfer-ownership="none">
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="missing_uri">
|
|
<return-value transfer-ownership="full">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</instance-parameter>
|
|
<parameter name="error" transfer-ownership="none">
|
|
<type name="GLib.Error" c:type="GError*"/>
|
|
</parameter>
|
|
<parameter name="wrong_asset" transfer-ownership="none">
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="add_asset" c:identifier="ges_project_add_asset">
|
|
<doc xml:space="preserve">Adds a #Asset to @project, the project will keep a reference on
|
|
@asset.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the asset could be added %FALSE it was already
|
|
in the project</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="project" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESProject</doc>
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</instance-parameter>
|
|
<parameter name="asset" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESAsset to add to @project</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_encoding_profile"
|
|
c:identifier="ges_project_add_encoding_profile">
|
|
<doc xml:space="preserve">Adds @profile to the project. It lets you save in what format
|
|
the project has been renders and keep a reference to those formats.
|
|
Also, those formats will be saves to the project file when possible.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @profile could be added, %FALSE otherwize</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="project" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESProject</doc>
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</instance-parameter>
|
|
<parameter name="profile" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GstEncodingProfile to add to the project. If a profile with
|
|
the same name already exists, it will be replaced</doc>
|
|
<type name="GstPbutils.EncodingProfile"
|
|
c:type="GstEncodingProfile*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="create_asset" c:identifier="ges_project_create_asset">
|
|
<doc xml:space="preserve">Create and add a #GESAsset to @project. You should connect to the
|
|
"asset-added" signal to get the asset when it finally gets added to
|
|
@project</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the asset started to be added %FALSE it was already
|
|
in the project</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="project" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESProject</doc>
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</instance-parameter>
|
|
<parameter name="id"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">The id of the asset to create and add to @project</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="extractable_type" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GType of the asset to create</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="create_asset_sync"
|
|
c:identifier="ges_project_create_asset_sync"
|
|
throws="1">
|
|
<doc xml:space="preserve">Create and add a #GESAsset to @project. You should connect to the
|
|
"asset-added" signal to get the asset when it finally gets added to
|
|
@project</doc>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve">The newly created #GESAsset or %NULL.</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="project" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESProject</doc>
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</instance-parameter>
|
|
<parameter name="id"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">The id of the asset to create and add to @project</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="extractable_type" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GType of the asset to create</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_asset" c:identifier="ges_project_get_asset">
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve">The #GESAsset with
|
|
@id or %NULL if no asset with @id as an ID</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="project" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESProject</doc>
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</instance-parameter>
|
|
<parameter name="id" transfer-ownership="none">
|
|
<doc xml:space="preserve">The id of the asset to retrieve</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="extractable_type" transfer-ownership="none">
|
|
<doc xml:space="preserve">The extractable_type of the asset
|
|
to retrieve from @object</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_loading_assets"
|
|
c:identifier="ges_project_get_loading_assets">
|
|
<doc xml:space="preserve">Get the assets that are being loaded</doc>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">A set of loading asset
|
|
that will be added to @project. Note that those Asset are *not* loaded yet,
|
|
and thus can not be used</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Asset"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="project" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESProject</doc>
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_uri" c:identifier="ges_project_get_uri">
|
|
<doc xml:space="preserve">Retrieve the uri that is currently set on @project</doc>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve">a newly allocated string representing uri.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="project" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESProject</doc>
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="list_assets" c:identifier="ges_project_list_assets">
|
|
<doc xml:space="preserve">List all @asset contained in @project filtering per extractable_type
|
|
as defined by @filter. It copies the asset and thus will not be updated
|
|
in time.</doc>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">The list of
|
|
#GESAsset the object contains</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Asset"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="project" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESProject</doc>
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</instance-parameter>
|
|
<parameter name="filter" transfer-ownership="none">
|
|
<doc xml:space="preserve">Type of assets to list, #GES_TYPE_EXTRACTABLE will list
|
|
all assets</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="list_encoding_profiles"
|
|
c:identifier="ges_project_list_encoding_profiles">
|
|
<doc xml:space="preserve">Lists the encoding profile that have been set to @project. The first one
|
|
is the latest added.</doc>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">The
|
|
list of #GstEncodingProfile used in @project</doc>
|
|
<type name="GLib.List" c:type="const GList*">
|
|
<type name="GstPbutils.EncodingProfile"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="project" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESProject</doc>
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="load" c:identifier="ges_project_load" throws="1">
|
|
<doc xml:space="preserve">Loads @project into @timeline</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the project could be loaded %FALSE otherwize.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="project" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESProject that has an @uri set already</doc>
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</instance-parameter>
|
|
<parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">A blank timeline to load @project into</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_asset" c:identifier="ges_project_remove_asset">
|
|
<doc xml:space="preserve">remove a @asset to from @project.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the asset could be removed %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="project" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESProject</doc>
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</instance-parameter>
|
|
<parameter name="asset" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESAsset to remove from @project</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="save" c:identifier="ges_project_save" throws="1">
|
|
<doc xml:space="preserve">Save the timeline of @project to @uri. You should make sure that @timeline
|
|
is one of the timelines that have been extracted from @project
|
|
(using ges_asset_extract (@project);)</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the project could be save, %FALSE otherwize</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="project" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESProject to save</doc>
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</instance-parameter>
|
|
<parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimeline to save, it must have been extracted from @project</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</parameter>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve">The uri where to save @project and @timeline</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="formatter_asset"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">The formatter asset to use or %NULL. If %NULL,
|
|
will try to save in the same format as the one from which the timeline as been loaded
|
|
or default to the formatter with highest rank</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
<parameter name="overwrite" transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE to overwrite file if it exists</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="uri"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</property>
|
|
<field name="parent">
|
|
<type name="Asset" c:type="GESAsset"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="ProjectPrivate" c:type="GESProjectPrivate*"/>
|
|
</field>
|
|
<field name="__ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="20">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<glib:signal name="asset-added" when="last">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="asset" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESAsset that has been added to @project</doc>
|
|
<type name="Asset"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="asset-loading" when="last" version="1.8">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="asset" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESAsset that started loading</doc>
|
|
<type name="Asset"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="asset-removed" when="last">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="asset" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESAsset that has been removed from @project</doc>
|
|
<type name="Asset"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="error-loading-asset" when="last">
|
|
<doc xml:space="preserve">Informs you that a #GESAsset could not be created. In case of
|
|
missing GStreamer plugins, the error will be set to #GST_CORE_ERROR
|
|
#GST_CORE_ERROR_MISSING_PLUGIN</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="error" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GError defining the error that occured, might be %NULL</doc>
|
|
<type name="GLib.Error"/>
|
|
</parameter>
|
|
<parameter name="id" transfer-ownership="none">
|
|
<doc xml:space="preserve">The @id of the asset that failed loading</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</parameter>
|
|
<parameter name="extractable_type" transfer-ownership="none">
|
|
<doc xml:space="preserve">The @extractable_type of the asset that
|
|
failed loading</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="loaded" when="first">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimeline that complete loading</doc>
|
|
<type name="Timeline"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="missing-uri" when="last">
|
|
<doc xml:space="preserve">|[
|
|
static gchar
|
|
source_moved_cb (GESProject *project, GError *error, GESAsset *asset_with_error)
|
|
{
|
|
return g_strdup ("file:///the/new/uri.ogg");
|
|
}
|
|
|
|
static int
|
|
main (int argc, gchar ** argv)
|
|
{
|
|
GESTimeline *timeline;
|
|
GESProject *project = ges_project_new ("file:///some/uri.xges");
|
|
|
|
g_signal_connect (project, "missing-uri", source_moved_cb, NULL);
|
|
timeline = ges_asset_extract (GES_ASSET (project));
|
|
}
|
|
]|</doc>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve">The new URI of @wrong_asset</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="error" transfer-ownership="none">
|
|
<doc xml:space="preserve">The error that happened</doc>
|
|
<type name="GLib.Error"/>
|
|
</parameter>
|
|
<parameter name="wrong_asset" transfer-ownership="none">
|
|
<doc xml:space="preserve">The asset with the wrong ID, you should us it and its content
|
|
only to find out what the new location is.</doc>
|
|
<type name="Asset"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
</class>
|
|
<record name="ProjectClass"
|
|
c:type="GESProjectClass"
|
|
glib:is-gtype-struct-for="Project">
|
|
<field name="parent_class">
|
|
<type name="AssetClass" c:type="GESAssetClass"/>
|
|
</field>
|
|
<field name="asset_added">
|
|
<callback name="asset_added">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</parameter>
|
|
<parameter name="asset" transfer-ownership="none">
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="asset_loading">
|
|
<callback name="asset_loading">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</parameter>
|
|
<parameter name="asset" transfer-ownership="none">
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="asset_removed">
|
|
<callback name="asset_removed">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</parameter>
|
|
<parameter name="asset" transfer-ownership="none">
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="missing_uri">
|
|
<callback name="missing_uri">
|
|
<return-value transfer-ownership="full">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</parameter>
|
|
<parameter name="error" transfer-ownership="none">
|
|
<type name="GLib.Error" c:type="GError*"/>
|
|
</parameter>
|
|
<parameter name="wrong_asset" transfer-ownership="none">
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="loading_error">
|
|
<callback name="loading_error">
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</parameter>
|
|
<parameter name="error" transfer-ownership="none">
|
|
<type name="GLib.Error" c:type="GError*"/>
|
|
</parameter>
|
|
<parameter name="id" transfer-ownership="none">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</parameter>
|
|
<parameter name="extractable_type" transfer-ownership="none">
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="loaded">
|
|
<callback name="loaded">
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<type name="Project" c:type="GESProject*"/>
|
|
</parameter>
|
|
<parameter name="timeline" transfer-ownership="none">
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_ges_reserved">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="ProjectPrivate" c:type="GESProjectPrivate" disguised="1">
|
|
</record>
|
|
<class name="Source"
|
|
c:symbol-prefix="source"
|
|
c:type="GESSource"
|
|
parent="TrackElement"
|
|
glib:type-name="GESSource"
|
|
glib:get-type="ges_source_get_type"
|
|
glib:type-struct="SourceClass">
|
|
<doc xml:space="preserve">Base class for single-media sources</doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<field name="parent" readable="0" private="1">
|
|
<type name="TrackElement" c:type="GESTrackElement"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="SourcePrivate" c:type="GESSourcePrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="SourceClass"
|
|
c:type="GESSourceClass"
|
|
glib:is-gtype-struct-for="Source">
|
|
<field name="parent_class" readable="0" private="1">
|
|
<type name="TrackElementClass" c:type="GESTrackElementClass"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<class name="SourceClip"
|
|
c:symbol-prefix="source_clip"
|
|
c:type="GESSourceClip"
|
|
parent="Clip"
|
|
glib:type-name="GESSourceClip"
|
|
glib:get-type="ges_source_clip_get_type"
|
|
glib:type-struct="SourceClipClass">
|
|
<doc xml:space="preserve">Base class for sources of a #GESLayer</doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<field name="parent">
|
|
<type name="Clip" c:type="GESClip"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="SourceClipPrivate" c:type="GESSourceClipPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="SourceClipClass"
|
|
c:type="GESSourceClipClass"
|
|
glib:is-gtype-struct-for="SourceClip">
|
|
<field name="parent_class" readable="0" private="1">
|
|
<type name="ClipClass" c:type="GESClipClass"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="SourceClipPrivate"
|
|
c:type="GESSourceClipPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<record name="SourcePrivate" c:type="GESSourcePrivate" disguised="1">
|
|
</record>
|
|
<constant name="TIMELINE_ELEMENT_NO_LAYER_PRIORITY"
|
|
value="4294967295"
|
|
c:type="GES_TIMELINE_ELEMENT_NO_LAYER_PRIORITY">
|
|
<doc xml:space="preserve">Layer priority when the element is not in a layer</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</constant>
|
|
<class name="TestClip"
|
|
c:symbol-prefix="test_clip"
|
|
c:type="GESTestClip"
|
|
parent="SourceClip"
|
|
glib:type-name="GESTestClip"
|
|
glib:get-type="ges_test_clip_get_type"
|
|
glib:type-struct="TestClipClass">
|
|
<doc xml:space="preserve">Useful for testing purposes.
|
|
|
|
You can use the ges_asset_request_simple API to create an Asset
|
|
capable of extracting GESTestClip-s</doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<constructor name="new" c:identifier="ges_test_clip_new">
|
|
<doc xml:space="preserve">Creates a new #GESTestClip.</doc>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">The newly created #GESTestClip,
|
|
or %NULL if there was an error.</doc>
|
|
<type name="TestClip" c:type="GESTestClip*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<constructor name="new_for_nick"
|
|
c:identifier="ges_test_clip_new_for_nick">
|
|
<doc xml:space="preserve">Creates a new #GESTestClip for the provided @nick.</doc>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">The newly created #GESTestClip,
|
|
or %NULL if there was an error.</doc>
|
|
<type name="TestClip" c:type="GESTestClip*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="nick" transfer-ownership="none">
|
|
<doc xml:space="preserve">the nickname for which to create the #GESTestClip</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<method name="get_frequency" c:identifier="ges_test_clip_get_frequency">
|
|
<doc xml:space="preserve">Get the frequency @self generates.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The frequency @self generates. See audiotestsrc element.</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTestClip</doc>
|
|
<type name="TestClip" c:type="GESTestClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_volume" c:identifier="ges_test_clip_get_volume">
|
|
<doc xml:space="preserve">Get the volume of the test audio signal applied on @self.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The volume of the test audio signal applied on @self.</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTestClip</doc>
|
|
<type name="TestClip" c:type="GESTestClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_vpattern" c:identifier="ges_test_clip_get_vpattern">
|
|
<doc xml:space="preserve">Get the #GESVideoTestPattern which is applied on @self.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESVideoTestPattern which is applied on @self.</doc>
|
|
<type name="VideoTestPattern" c:type="GESVideoTestPattern"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTestClip</doc>
|
|
<type name="TestClip" c:type="GESTestClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_muted" c:identifier="ges_test_clip_is_muted">
|
|
<doc xml:space="preserve">Let you know if the audio track of @self is muted or not.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">Whether the audio track of @self is muted or not.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTestClip</doc>
|
|
<type name="TestClip" c:type="GESTestClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_frequency" c:identifier="ges_test_clip_set_frequency">
|
|
<doc xml:space="preserve">Sets the frequency to generate. See audiotestsrc element.</doc>
|
|
<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">the #GESTestClip to set the frequency on</doc>
|
|
<type name="TestClip" c:type="GESTestClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="freq" transfer-ownership="none">
|
|
<doc xml:space="preserve">the frequency you want to use on @self</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_mute" c:identifier="ges_test_clip_set_mute">
|
|
<doc xml:space="preserve">Sets whether the audio track of this clip is muted or not.</doc>
|
|
<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">the #GESTestClip on which to mute or unmute the audio track</doc>
|
|
<type name="TestClip" c:type="GESTestClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="mute" transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE to mute the audio track, %FALSE to unmute it</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_volume" c:identifier="ges_test_clip_set_volume">
|
|
<doc xml:space="preserve">Sets the volume of the test audio signal.</doc>
|
|
<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">the #GESTestClip to set the volume on</doc>
|
|
<type name="TestClip" c:type="GESTestClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="volume" transfer-ownership="none">
|
|
<doc xml:space="preserve">the volume of the audio signal you want to use on @self</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_vpattern" c:identifier="ges_test_clip_set_vpattern">
|
|
<doc xml:space="preserve">Sets which video pattern to display on @self.</doc>
|
|
<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">the #GESTestClip to set the pattern on</doc>
|
|
<type name="TestClip" c:type="GESTestClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="vpattern" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESVideoTestPattern to use on @self</doc>
|
|
<type name="VideoTestPattern" c:type="GESVideoTestPattern"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="freq"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The frequency to generate for audio track elements.</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</property>
|
|
<property name="mute"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">Whether the sound will be played or not.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</property>
|
|
<property name="volume"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The volume for the audio track elements.</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</property>
|
|
<property name="vpattern"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">Video pattern to display in video track elements.</doc>
|
|
<type name="VideoTestPattern"/>
|
|
</property>
|
|
<field name="parent">
|
|
<type name="SourceClip" c:type="GESSourceClip"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="TestClipPrivate" c:type="GESTestClipPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="TestClipClass"
|
|
c:type="GESTestClipClass"
|
|
glib:is-gtype-struct-for="TestClip">
|
|
<field name="parent_class" readable="0" private="1">
|
|
<type name="SourceClipClass" c:type="GESSourceClipClass"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="TestClipPrivate" c:type="GESTestClipPrivate" disguised="1">
|
|
</record>
|
|
<enumeration name="TextHAlign"
|
|
glib:type-name="GESTextHAlign"
|
|
glib:get-type="ges_text_halign_get_type"
|
|
c:type="GESTextHAlign">
|
|
<doc xml:space="preserve">Horizontal alignment of the text.</doc>
|
|
<member name="left"
|
|
value="0"
|
|
c:identifier="GES_TEXT_HALIGN_LEFT"
|
|
glib:nick="left">
|
|
<doc xml:space="preserve">align text left</doc>
|
|
</member>
|
|
<member name="center"
|
|
value="1"
|
|
c:identifier="GES_TEXT_HALIGN_CENTER"
|
|
glib:nick="center">
|
|
<doc xml:space="preserve">align text center</doc>
|
|
</member>
|
|
<member name="right"
|
|
value="2"
|
|
c:identifier="GES_TEXT_HALIGN_RIGHT"
|
|
glib:nick="right">
|
|
<doc xml:space="preserve">align text right</doc>
|
|
</member>
|
|
<member name="position"
|
|
value="4"
|
|
c:identifier="GES_TEXT_HALIGN_POSITION"
|
|
glib:nick="position">
|
|
<doc xml:space="preserve">align text on xpos position</doc>
|
|
</member>
|
|
<member name="absolute"
|
|
value="5"
|
|
c:identifier="GES_TEXT_HALIGN_ABSOLUTE"
|
|
glib:nick="absolute">
|
|
</member>
|
|
</enumeration>
|
|
<class name="TextOverlay"
|
|
c:symbol-prefix="text_overlay"
|
|
c:type="GESTextOverlay"
|
|
parent="Operation"
|
|
glib:type-name="GESTextOverlay"
|
|
glib:get-type="ges_text_overlay_get_type"
|
|
glib:type-struct="TextOverlayClass">
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<constructor name="new" c:identifier="ges_text_overlay_new">
|
|
<doc xml:space="preserve">Creates a new #GESTextOverlay.</doc>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">The newly created #GESTextOverlay or
|
|
%NULL if something went wrong.</doc>
|
|
<type name="TextOverlay" c:type="GESTextOverlay*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<method name="get_color" c:identifier="ges_text_overlay_get_color">
|
|
<doc xml:space="preserve">Get the color used by @source.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The color used by @source.</doc>
|
|
<type name="guint32" c:type="const guint32"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a GESTextOverlay</doc>
|
|
<type name="TextOverlay" c:type="GESTextOverlay*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_font_desc"
|
|
c:identifier="ges_text_overlay_get_font_desc">
|
|
<doc xml:space="preserve">Get the pango font description currently set on @source.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The pango font description currently set on @source.</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a GESTextOverlay</doc>
|
|
<type name="TextOverlay" c:type="GESTextOverlay*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_halignment"
|
|
c:identifier="ges_text_overlay_get_halignment">
|
|
<doc xml:space="preserve">Get the horizontal aligment used by @source.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The horizontal aligment used by @source.</doc>
|
|
<type name="TextHAlign" c:type="GESTextHAlign"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a GESTextOverlay</doc>
|
|
<type name="TextOverlay" c:type="GESTextOverlay*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_text" c:identifier="ges_text_overlay_get_text">
|
|
<doc xml:space="preserve">Get the text currently set on @source.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The text currently set on @source.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a GESTextOverlay</doc>
|
|
<type name="TextOverlay" c:type="GESTextOverlay*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_valignment"
|
|
c:identifier="ges_text_overlay_get_valignment">
|
|
<doc xml:space="preserve">Get the vertical aligment used by @source.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The vertical aligment used by @source.</doc>
|
|
<type name="TextVAlign" c:type="GESTextVAlign"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a GESTextOverlay</doc>
|
|
<type name="TextOverlay" c:type="GESTextOverlay*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_xpos" c:identifier="ges_text_overlay_get_xpos">
|
|
<doc xml:space="preserve">Get the horizontal position used by @source.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The horizontal position used by @source.</doc>
|
|
<type name="gdouble" c:type="const gdouble"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a GESTextOverlay</doc>
|
|
<type name="TextOverlay" c:type="GESTextOverlay*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_ypos" c:identifier="ges_text_overlay_get_ypos">
|
|
<doc xml:space="preserve">Get the vertical position used by @source.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The vertical position used by @source.</doc>
|
|
<type name="gdouble" c:type="const gdouble"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a GESTextOverlay</doc>
|
|
<type name="TextOverlay" c:type="GESTextOverlay*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_color" c:identifier="ges_text_overlay_set_color">
|
|
<doc xml:space="preserve">Sets the color of the text.</doc>
|
|
<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">the #GESTextOverlay* to set</doc>
|
|
<type name="TextOverlay" c:type="GESTextOverlay*"/>
|
|
</instance-parameter>
|
|
<parameter name="color" transfer-ownership="none">
|
|
<doc xml:space="preserve">The color @self is being set to</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_font_desc"
|
|
c:identifier="ges_text_overlay_set_font_desc">
|
|
<doc xml:space="preserve">Sets the pango font description of the text this track element
|
|
will render.</doc>
|
|
<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">the #GESTextOverlay</doc>
|
|
<type name="TextOverlay" c:type="GESTextOverlay*"/>
|
|
</instance-parameter>
|
|
<parameter name="font_desc" transfer-ownership="none">
|
|
<doc xml:space="preserve">the pango font description</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_halignment"
|
|
c:identifier="ges_text_overlay_set_halignment">
|
|
<doc xml:space="preserve">Sets the horizontal aligment of the text.</doc>
|
|
<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">the #GESTextOverlay* to set text on</doc>
|
|
<type name="TextOverlay" c:type="GESTextOverlay*"/>
|
|
</instance-parameter>
|
|
<parameter name="halign" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTextHAlign defining the horizontal alignment
|
|
of the text render by @self.</doc>
|
|
<type name="TextHAlign" c:type="GESTextHAlign"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_text" c:identifier="ges_text_overlay_set_text">
|
|
<doc xml:space="preserve">Sets the text this track element will render.</doc>
|
|
<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">the #GESTextOverlay* to set text on</doc>
|
|
<type name="TextOverlay" c:type="GESTextOverlay*"/>
|
|
</instance-parameter>
|
|
<parameter name="text" transfer-ownership="none">
|
|
<doc xml:space="preserve">the text to render. an internal copy of this text will be
|
|
made.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_valignment"
|
|
c:identifier="ges_text_overlay_set_valignment">
|
|
<doc xml:space="preserve">Sets the vertical aligment of the text.</doc>
|
|
<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">the #GESTextOverlay* to set text on</doc>
|
|
<type name="TextOverlay" c:type="GESTextOverlay*"/>
|
|
</instance-parameter>
|
|
<parameter name="valign" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTextVAlign defining the vertical alignment
|
|
of the text render by @self.</doc>
|
|
<type name="TextVAlign" c:type="GESTextVAlign"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_xpos" c:identifier="ges_text_overlay_set_xpos">
|
|
<doc xml:space="preserve">Sets the horizontal position of the text.</doc>
|
|
<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">the #GESTextOverlay* to set</doc>
|
|
<type name="TextOverlay" c:type="GESTextOverlay*"/>
|
|
</instance-parameter>
|
|
<parameter name="position" transfer-ownership="none">
|
|
<doc xml:space="preserve">The horizontal position @self is being set to</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_ypos" c:identifier="ges_text_overlay_set_ypos">
|
|
<doc xml:space="preserve">Sets the vertical position of the text.</doc>
|
|
<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">the #GESTextOverlay* to set</doc>
|
|
<type name="TextOverlay" c:type="GESTextOverlay*"/>
|
|
</instance-parameter>
|
|
<parameter name="position" transfer-ownership="none">
|
|
<doc xml:space="preserve">The vertical position @self is being set to</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<field name="parent">
|
|
<type name="Operation" c:type="GESOperation"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="TextOverlayPrivate" c:type="GESTextOverlayPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="TextOverlayClass"
|
|
c:type="GESTextOverlayClass"
|
|
glib:is-gtype-struct-for="TextOverlay">
|
|
<field name="parent_class">
|
|
<type name="OperationClass" c:type="GESOperationClass"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<class name="TextOverlayClip"
|
|
c:symbol-prefix="text_overlay_clip"
|
|
c:type="GESTextOverlayClip"
|
|
parent="OverlayClip"
|
|
glib:type-name="GESTextOverlayClip"
|
|
glib:get-type="ges_text_overlay_clip_get_type"
|
|
glib:type-struct="TextOverlayClipClass">
|
|
<doc xml:space="preserve">Renders text onto the next lower priority stream using textrender.</doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<constructor name="new" c:identifier="ges_text_overlay_clip_new">
|
|
<doc xml:space="preserve">Creates a new #GESTextOverlayClip</doc>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">The newly created
|
|
#GESTextOverlayClip, or %NULL if there was an error.</doc>
|
|
<type name="TextOverlayClip" c:type="GESTextOverlayClip*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<method name="get_color" c:identifier="ges_text_overlay_clip_get_color">
|
|
<doc xml:space="preserve">Get the color used by @source.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The color used by @source.</doc>
|
|
<type name="guint32" c:type="const guint32"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTextOverlayClip</doc>
|
|
<type name="TextOverlayClip" c:type="GESTextOverlayClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_font_desc"
|
|
c:identifier="ges_text_overlay_clip_get_font_desc">
|
|
<doc xml:space="preserve">Get the pango font description used by @self.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The pango font description used by @self.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTextOverlayClip</doc>
|
|
<type name="TextOverlayClip" c:type="GESTextOverlayClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_halignment"
|
|
c:identifier="ges_text_overlay_clip_get_halignment">
|
|
<doc xml:space="preserve">Get the horizontal aligment used by @self.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The horizontal aligment used by @self.</doc>
|
|
<type name="TextHAlign" c:type="GESTextHAlign"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTextOverlayClip</doc>
|
|
<type name="TextOverlayClip" c:type="GESTextOverlayClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_text" c:identifier="ges_text_overlay_clip_get_text">
|
|
<doc xml:space="preserve">Get the text currently set on @self.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The text currently set on @self.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTextOverlayClip</doc>
|
|
<type name="TextOverlayClip" c:type="GESTextOverlayClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_valignment"
|
|
c:identifier="ges_text_overlay_clip_get_valignment">
|
|
<doc xml:space="preserve">Get the vertical aligment used by @self.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The vertical aligment used by @self.</doc>
|
|
<type name="TextVAlign" c:type="GESTextVAlign"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTextOverlayClip</doc>
|
|
<type name="TextOverlayClip" c:type="GESTextOverlayClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_xpos" c:identifier="ges_text_overlay_clip_get_xpos">
|
|
<doc xml:space="preserve">Get the horizontal position used by @source.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The horizontal position used by @source.</doc>
|
|
<type name="gdouble" c:type="const gdouble"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTextOverlayClip</doc>
|
|
<type name="TextOverlayClip" c:type="GESTextOverlayClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_ypos" c:identifier="ges_text_overlay_clip_get_ypos">
|
|
<doc xml:space="preserve">Get the vertical position used by @source.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The vertical position used by @source.</doc>
|
|
<type name="gdouble" c:type="const gdouble"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTextOverlayClip</doc>
|
|
<type name="TextOverlayClip" c:type="GESTextOverlayClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_color" c:identifier="ges_text_overlay_clip_set_color">
|
|
<doc xml:space="preserve">Sets the color of the text.</doc>
|
|
<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">the #GESTextOverlayClip* to set</doc>
|
|
<type name="TextOverlayClip" c:type="GESTextOverlayClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="color" transfer-ownership="none">
|
|
<doc xml:space="preserve">The color @self is being set to</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_font_desc"
|
|
c:identifier="ges_text_overlay_clip_set_font_desc">
|
|
<doc xml:space="preserve">Sets the pango font description of the text</doc>
|
|
<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">the #GESTextOverlayClip*</doc>
|
|
<type name="TextOverlayClip" c:type="GESTextOverlayClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="font_desc" transfer-ownership="none">
|
|
<doc xml:space="preserve">the pango font description</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_halign"
|
|
c:identifier="ges_text_overlay_clip_set_halign">
|
|
<doc xml:space="preserve">Sets the horizontal aligment of the text.</doc>
|
|
<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">the #GESTextOverlayClip* to set horizontal alignement of text on</doc>
|
|
<type name="TextOverlayClip" c:type="GESTextOverlayClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="halign" transfer-ownership="none">
|
|
<doc xml:space="preserve">#GESTextHAlign</doc>
|
|
<type name="TextHAlign" c:type="GESTextHAlign"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_text" c:identifier="ges_text_overlay_clip_set_text">
|
|
<doc xml:space="preserve">Sets the text this clip will render.</doc>
|
|
<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">the #GESTextOverlayClip* to set text on</doc>
|
|
<type name="TextOverlayClip" c:type="GESTextOverlayClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="text" transfer-ownership="none">
|
|
<doc xml:space="preserve">the text to render. an internal copy of this text will be
|
|
made.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_valign"
|
|
c:identifier="ges_text_overlay_clip_set_valign">
|
|
<doc xml:space="preserve">Sets the vertical aligment of the text.</doc>
|
|
<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">the #GESTextOverlayClip* to set vertical alignement of text on</doc>
|
|
<type name="TextOverlayClip" c:type="GESTextOverlayClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="valign" transfer-ownership="none">
|
|
<doc xml:space="preserve">#GESTextVAlign</doc>
|
|
<type name="TextVAlign" c:type="GESTextVAlign"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_xpos" c:identifier="ges_text_overlay_clip_set_xpos">
|
|
<doc xml:space="preserve">Sets the horizontal position of the text.</doc>
|
|
<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">the #GESTextOverlayClip* to set</doc>
|
|
<type name="TextOverlayClip" c:type="GESTextOverlayClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="position" transfer-ownership="none">
|
|
<doc xml:space="preserve">The horizontal position @self is being set to</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_ypos" c:identifier="ges_text_overlay_clip_set_ypos">
|
|
<doc xml:space="preserve">Sets the vertical position of the text.</doc>
|
|
<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">the #GESTextOverlayClip* to set</doc>
|
|
<type name="TextOverlayClip" c:type="GESTextOverlayClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="position" transfer-ownership="none">
|
|
<doc xml:space="preserve">The vertical position @self is being set to</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="color"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The color of the text</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</property>
|
|
<property name="font-desc"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">Pango font description string</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</property>
|
|
<property name="halignment"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">Horizontal alignment of the text</doc>
|
|
<type name="TextHAlign"/>
|
|
</property>
|
|
<property name="text"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The text to diplay</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</property>
|
|
<property name="valignment"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">Vertical alignent of the text</doc>
|
|
<type name="TextVAlign"/>
|
|
</property>
|
|
<property name="xpos"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The horizontal position of the text</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</property>
|
|
<property name="ypos"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The vertical position of the text</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</property>
|
|
<field name="parent">
|
|
<type name="OverlayClip" c:type="GESOverlayClip"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="TextOverlayClipPrivate"
|
|
c:type="GESTextOverlayClipPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="TextOverlayClipClass"
|
|
c:type="GESTextOverlayClipClass"
|
|
glib:is-gtype-struct-for="TextOverlayClip">
|
|
<field name="parent_class" readable="0" private="1">
|
|
<type name="OverlayClipClass" c:type="GESOverlayClipClass"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="TextOverlayClipPrivate"
|
|
c:type="GESTextOverlayClipPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<record name="TextOverlayPrivate"
|
|
c:type="GESTextOverlayPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<enumeration name="TextVAlign"
|
|
glib:type-name="GESTextVAlign"
|
|
glib:get-type="ges_text_valign_get_type"
|
|
c:type="GESTextVAlign">
|
|
<doc xml:space="preserve">Vertical alignment of the text.</doc>
|
|
<member name="baseline"
|
|
value="0"
|
|
c:identifier="GES_TEXT_VALIGN_BASELINE"
|
|
glib:nick="baseline">
|
|
<doc xml:space="preserve">draw text on the baseline</doc>
|
|
</member>
|
|
<member name="bottom"
|
|
value="1"
|
|
c:identifier="GES_TEXT_VALIGN_BOTTOM"
|
|
glib:nick="bottom">
|
|
<doc xml:space="preserve">draw text on the bottom</doc>
|
|
</member>
|
|
<member name="top"
|
|
value="2"
|
|
c:identifier="GES_TEXT_VALIGN_TOP"
|
|
glib:nick="top">
|
|
<doc xml:space="preserve">draw text on top</doc>
|
|
</member>
|
|
<member name="position"
|
|
value="3"
|
|
c:identifier="GES_TEXT_VALIGN_POSITION"
|
|
glib:nick="position">
|
|
<doc xml:space="preserve">draw text on ypos position</doc>
|
|
</member>
|
|
<member name="center"
|
|
value="4"
|
|
c:identifier="GES_TEXT_VALIGN_CENTER"
|
|
glib:nick="center">
|
|
<doc xml:space="preserve">draw text on the center</doc>
|
|
</member>
|
|
<member name="absolute"
|
|
value="5"
|
|
c:identifier="GES_TEXT_VALIGN_ABSOLUTE"
|
|
glib:nick="absolute">
|
|
</member>
|
|
</enumeration>
|
|
<class name="Timeline"
|
|
c:symbol-prefix="timeline"
|
|
c:type="GESTimeline"
|
|
parent="Gst.Bin"
|
|
glib:type-name="GESTimeline"
|
|
glib:get-type="ges_timeline_get_type"
|
|
glib:type-struct="TimelineClass">
|
|
<doc xml:space="preserve">#GESTimeline is the central object for any multimedia timeline.
|
|
|
|
Contains a list of #GESLayer which users should use to arrange the
|
|
various clips through time.
|
|
|
|
The output type is determined by the #GESTrack that are set on
|
|
the #GESTimeline.
|
|
|
|
To save/load a timeline, you can use the ges_timeline_load_from_uri() and
|
|
ges_timeline_save_to_uri() methods to use the default format. If you wish
|
|
|
|
Note that any change you make in the timeline will not actually be taken
|
|
into account until you call the #ges_timeline_commit method.</doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<implements name="Gst.ChildProxy"/>
|
|
<constructor name="new" c:identifier="ges_timeline_new">
|
|
<doc xml:space="preserve">Creates a new empty #GESTimeline.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The new timeline.</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<constructor name="new_audio_video"
|
|
c:identifier="ges_timeline_new_audio_video">
|
|
<doc xml:space="preserve">Creates a new #GESTimeline containing a raw audio and a
|
|
raw video track.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The newly created #GESTimeline.</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<constructor name="new_from_uri"
|
|
c:identifier="ges_timeline_new_from_uri"
|
|
throws="1">
|
|
<doc xml:space="preserve">Creates a timeline from the given URI.</doc>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">A new timeline if the uri was loaded
|
|
successfully, or %NULL if the uri could not be loaded.</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve">the URI to load from</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<virtual-method name="group_added">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="group" transfer-ownership="none">
|
|
<type name="Group" c:type="GESGroup*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="group_removed" introspectable="0">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="group" transfer-ownership="none">
|
|
<type name="Group" c:type="GESGroup*"/>
|
|
</parameter>
|
|
<parameter name="children" transfer-ownership="none">
|
|
<array name="GLib.PtrArray" c:type="GPtrArray*">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="layer_added">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="layer" transfer-ownership="none">
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="layer_removed">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="layer" transfer-ownership="none">
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="track_added">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="track" transfer-ownership="none">
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="track_removed">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="track" transfer-ownership="none">
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="add_layer" c:identifier="ges_timeline_add_layer">
|
|
<doc xml:space="preserve">Add the layer to the timeline. The reference to the @layer will be stolen
|
|
by the @timeline.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the layer was properly added, else %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="layer" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESLayer to add</doc>
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="add_track" c:identifier="ges_timeline_add_track">
|
|
<doc xml:space="preserve">Add a track to the timeline. The reference to the track will be stolen by the
|
|
pipeline.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the track was properly added, else %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="track" transfer-ownership="full">
|
|
<doc xml:space="preserve">the #GESTrack to add</doc>
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="append_layer" c:identifier="ges_timeline_append_layer">
|
|
<doc xml:space="preserve">Append a newly created #GESLayer to @timeline
|
|
Note that you do not own any reference to the returned layer.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The newly created #GESLayer, or the last (empty)
|
|
#GESLayer of @timeline.</doc>
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="commit" c:identifier="ges_timeline_commit">
|
|
<doc xml:space="preserve">Commit all the pending changes of the clips contained in the
|
|
@timeline.
|
|
|
|
When changes happen in a timeline, they are not
|
|
directly executed in the non-linear engine. Call this method once you are
|
|
done with a set of changes and want it to be executed.
|
|
|
|
The #GESTimeline::commited signal will be emitted when the (possibly updated)
|
|
#GstPipeline is ready to output data again, except if the state of the
|
|
timeline was #GST_STATE_READY or #GST_STATE_NULL.
|
|
|
|
Note that all the pending changes will automatically be executed when the
|
|
timeline goes from #GST_STATE_READY to #GST_STATE_PAUSED, which usually is
|
|
triggered by corresponding state changes in a containing #GESPipeline.
|
|
|
|
You should not try to change the state of the timeline, seek it or add
|
|
tracks to it during a commit operation, that is between a call to this
|
|
function and after receiving the #GESTimeline::commited signal.
|
|
|
|
See #ges_timeline_commit_sync if you don't want to bother with waiting
|
|
for the signal.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if pending changes were commited or %FALSE if nothing needed
|
|
to be commited</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="commit_sync" c:identifier="ges_timeline_commit_sync">
|
|
<doc xml:space="preserve">Commit all the pending changes of the #GESClips contained in the
|
|
@timeline.
|
|
|
|
Will return once the update is complete, that is when the
|
|
(possibly updated) #GstPipeline is ready to output data again, or if the
|
|
state of the timeline was #GST_STATE_READY or #GST_STATE_NULL.
|
|
|
|
This function will wait for any pending state change of the timeline by
|
|
calling #gst_element_get_state with a #GST_CLOCK_TIME_NONE timeout, you
|
|
should not try to change the state from another thread before this function
|
|
has returned.
|
|
|
|
See #ges_timeline_commit for more information.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if pending changes were commited or %FALSE if nothing needed
|
|
to be commited</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_auto_transition"
|
|
c:identifier="ges_timeline_get_auto_transition">
|
|
<doc xml:space="preserve">Gets whether transitions are automatically added when objects
|
|
overlap or not.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if transitions are automatically added, else %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_duration" c:identifier="ges_timeline_get_duration">
|
|
<doc xml:space="preserve">Get the current duration of @timeline</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The current duration of @timeline</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_element" c:identifier="ges_timeline_get_element">
|
|
<doc xml:space="preserve">Gets a #GESTimelineElement contained in the timeline</doc>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve">The #GESTimelineElement or %NULL if
|
|
not found.</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_groups" c:identifier="ges_timeline_get_groups">
|
|
<doc xml:space="preserve">Get the list of #GESGroup present in the Timeline.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">the list of
|
|
#GESGroup that contain clips present in the timeline's layers.
|
|
Must not be changed.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Group"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_layer" c:identifier="ges_timeline_get_layer">
|
|
<doc xml:space="preserve">Retrieve the layer with @priority as a priority</doc>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve">A #GESLayer or %NULL if no layer with
|
|
@priority was found
|
|
|
|
Since 1.6</doc>
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimeline to retrive a layer from</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="priority" transfer-ownership="none">
|
|
<doc xml:space="preserve">The priority of the layer to find</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_layers" c:identifier="ges_timeline_get_layers">
|
|
<doc xml:space="preserve">Get the list of #GESLayer present in the Timeline.</doc>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">the list of
|
|
#GESLayer present in the Timeline sorted by priority.
|
|
The caller should unref each Layer once he is done with them.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Layer"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_pad_for_track"
|
|
c:identifier="ges_timeline_get_pad_for_track">
|
|
<doc xml:space="preserve">Search the #GstPad corresponding to the given @timeline's @track.</doc>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">The corresponding #GstPad if it is
|
|
found, or %NULL if there is an error.</doc>
|
|
<type name="Gst.Pad" c:type="GstPad*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="track" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTrack</doc>
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_snapping_distance"
|
|
c:identifier="ges_timeline_get_snapping_distance">
|
|
<doc xml:space="preserve">Gets the configured snapping distance of the timeline. See
|
|
the documentation of the property snapping_distance for more
|
|
information.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The @snapping_distance property of the timeline</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_track_for_pad"
|
|
c:identifier="ges_timeline_get_track_for_pad">
|
|
<doc xml:space="preserve">Search the #GESTrack corresponding to the given @timeline's @pad.</doc>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">The corresponding #GESTrack if it is
|
|
found, or %NULL if there is an error.</doc>
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="pad" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GstPad</doc>
|
|
<type name="Gst.Pad" c:type="GstPad*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_tracks" c:identifier="ges_timeline_get_tracks">
|
|
<doc xml:space="preserve">Returns the list of #GESTrack used by the Timeline.</doc>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">A list of #GESTrack.
|
|
The caller should unref each track once he is done with them.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Track"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_empty" c:identifier="ges_timeline_is_empty">
|
|
<doc xml:space="preserve">Check whether a #GESTimeline is empty or not</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the timeline is empty %FALSE otherwize</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="load_from_uri"
|
|
c:identifier="ges_timeline_load_from_uri"
|
|
throws="1">
|
|
<doc xml:space="preserve">Loads the contents of URI into the given timeline.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the timeline was loaded successfully, or %FALSE if the uri
|
|
could not be loaded.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">an empty #GESTimeline into which to load the formatter</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve">The URI to load from</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="move_layer" c:identifier="ges_timeline_move_layer">
|
|
<doc xml:space="preserve">Moves @layer at @new_layer_priority meaning that @layer
|
|
we land at that position in the stack of layers inside
|
|
the timeline. If @new_layer_priority is superior than the number
|
|
of layers present in the time, it will move to the end of the
|
|
stack of layers.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">The timeline in which @layer must be</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="layer" transfer-ownership="none">
|
|
<doc xml:space="preserve">The layer to move at @new_layer_priority</doc>
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</parameter>
|
|
<parameter name="new_layer_priority" transfer-ownership="none">
|
|
<doc xml:space="preserve">The index at which @layer should land</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="paste_element" c:identifier="ges_timeline_paste_element">
|
|
<doc xml:space="preserve">Paste @element inside the timeline. @element must have been
|
|
created using ges_timeline_element_copy with deep=TRUE set,
|
|
i.e. it must be a deep copy, otherwise it will fail.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">Shallow copy of the @element pasted</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimeline onto which the #GESTimelineElement should be pasted</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimelineElement to paste</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
<parameter name="position" transfer-ownership="none">
|
|
<doc xml:space="preserve">The position in the timeline the element should
|
|
be pasted to, meaning it will become the start of @element</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
<parameter name="layer_priority" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESLayer to which the element should be pasted to.
|
|
-1 means paste to the same layer from which the @element has been copied from.</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_layer" c:identifier="ges_timeline_remove_layer">
|
|
<doc xml:space="preserve">Removes the layer from the timeline. The reference that the @timeline holds on
|
|
the layer will be dropped. If you wish to use the @layer after calling this
|
|
method, you need to take a reference before calling.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the layer was properly removed, else %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="layer" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESLayer to remove</doc>
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_track" c:identifier="ges_timeline_remove_track">
|
|
<doc xml:space="preserve">Remove the @track from the @timeline. The reference stolen when adding the
|
|
@track will be removed. If you wish to use the @track after calling this
|
|
function you must ensure that you have a reference to it.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the @track was properly removed, else %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="track" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESTrack to remove</doc>
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="save_to_uri"
|
|
c:identifier="ges_timeline_save_to_uri"
|
|
throws="1">
|
|
<doc xml:space="preserve">Saves the timeline to the given location</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the timeline was successfully saved to the given location,
|
|
else %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve">The location to save to</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="formatter_asset"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">The formatter asset to use or %NULL. If %NULL,
|
|
will try to save in the same format as the one from which the timeline as been loaded
|
|
or default to the formatter with highest rank</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</parameter>
|
|
<parameter name="overwrite" transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE to overwrite file if it exists</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_auto_transition"
|
|
c:identifier="ges_timeline_set_auto_transition">
|
|
<doc xml:space="preserve">Sets the layer to the given @auto_transition. See the documentation of the
|
|
property auto_transition for more information.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESLayer</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="auto_transition" transfer-ownership="none">
|
|
<doc xml:space="preserve">whether the auto_transition is active</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_snapping_distance"
|
|
c:identifier="ges_timeline_set_snapping_distance">
|
|
<doc xml:space="preserve">Sets the @snapping_distance of the timeline. See the documentation of the
|
|
property snapping_distance for more information.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESLayer</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</instance-parameter>
|
|
<parameter name="snapping_distance" transfer-ownership="none">
|
|
<doc xml:space="preserve">whether the snapping_distance is active</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="auto-transition" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve">Sets whether transitions are added automagically when clips overlap.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</property>
|
|
<property name="duration" transfer-ownership="none">
|
|
<doc xml:space="preserve">Current duration (in nanoseconds) of the #GESTimeline</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</property>
|
|
<property name="snapping-distance"
|
|
writable="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">Distance (in nanoseconds) from which a moving object will snap
|
|
with it neighboors. 0 means no snapping.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</property>
|
|
<field name="parent">
|
|
<type name="Gst.Bin" c:type="GstBin"/>
|
|
</field>
|
|
<field name="layers">
|
|
<doc xml:space="preserve">A list of #GESLayer sorted by priority NOTE: Do not modify.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Layer"/>
|
|
</type>
|
|
</field>
|
|
<field name="tracks">
|
|
<doc xml:space="preserve">A list of #GESTrack sorted by priority NOTE: Do not modify.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Track"/>
|
|
</type>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="TimelinePrivate" c:type="GESTimelinePrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<glib:signal name="commited" when="last">
|
|
<doc xml:space="preserve">This signal will be emitted once the changes initiated by #ges_timeline_commit
|
|
have been executed in the backend. Use #ges_timeline_commit_sync if you
|
|
don't need to do anything in the meantime.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
</glib:signal>
|
|
<glib:signal name="group-added" when="first">
|
|
<doc xml:space="preserve">Will be emitted after a new group is added to to the timeline.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="group" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESGroup</doc>
|
|
<type name="Group"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="group-removed" when="first">
|
|
<doc xml:space="preserve">Will be emitted after a group has been removed from the timeline.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="group" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESGroup</doc>
|
|
<type name="Group"/>
|
|
</parameter>
|
|
<parameter name="children" transfer-ownership="container">
|
|
<doc xml:space="preserve">a list of #GESContainer</doc>
|
|
<array name="GLib.PtrArray">
|
|
<type name="Container"/>
|
|
</array>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="layer-added" when="first">
|
|
<doc xml:space="preserve">Will be emitted after a new layer is added to the timeline.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="layer" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESLayer that was added to the timeline</doc>
|
|
<type name="Layer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="layer-removed" when="first">
|
|
<doc xml:space="preserve">Will be emitted after the layer was removed from the timeline.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="layer" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESLayer that was removed from the timeline</doc>
|
|
<type name="Layer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="select-tracks-for-object" when="last">
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">a #GPtrArray of #GESTrack-s where that object should be added</doc>
|
|
<array name="GLib.PtrArray">
|
|
<type name="Track"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="clip" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESClip on which @track_element will land</doc>
|
|
<type name="Clip"/>
|
|
</parameter>
|
|
<parameter name="track_element" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTrackElement for which to choose the tracks it should land into</doc>
|
|
<type name="TrackElement"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="snapping-ended" when="last">
|
|
<doc xml:space="preserve">Will be emitted when the 2 #GESTrackElement ended to snap</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="obj1" transfer-ownership="none">
|
|
<doc xml:space="preserve">the first #GESTrackElement that was snapping.</doc>
|
|
<type name="TrackElement"/>
|
|
</parameter>
|
|
<parameter name="obj2" transfer-ownership="none">
|
|
<doc xml:space="preserve">the second #GESTrackElement that was snapping.</doc>
|
|
<type name="TrackElement"/>
|
|
</parameter>
|
|
<parameter name="position" transfer-ownership="none">
|
|
<doc xml:space="preserve">the position where the two objects finally snapping.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="snapping-started" when="last">
|
|
<doc xml:space="preserve">Will be emitted when the 2 #GESTrackElement first snapped</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="obj1" transfer-ownership="none">
|
|
<doc xml:space="preserve">the first #GESTrackElement that was snapping.</doc>
|
|
<type name="TrackElement"/>
|
|
</parameter>
|
|
<parameter name="obj2" transfer-ownership="none">
|
|
<doc xml:space="preserve">the second #GESTrackElement that was snapping.</doc>
|
|
<type name="TrackElement"/>
|
|
</parameter>
|
|
<parameter name="position" transfer-ownership="none">
|
|
<doc xml:space="preserve">the position where the two objects finally snapping.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="track-added" when="first">
|
|
<doc xml:space="preserve">Will be emitted after the track was added to the timeline.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="track" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESTrack that was added to the timeline</doc>
|
|
<type name="Track"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="track-removed" when="first">
|
|
<doc xml:space="preserve">Will be emitted after the track was removed from the timeline.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="track" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESTrack that was removed from the timeline</doc>
|
|
<type name="Track"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
</class>
|
|
<record name="TimelineClass"
|
|
c:type="GESTimelineClass"
|
|
glib:is-gtype-struct-for="Timeline">
|
|
<field name="parent_class">
|
|
<doc xml:space="preserve">parent class</doc>
|
|
<type name="Gst.BinClass" c:type="GstBinClass"/>
|
|
</field>
|
|
<field name="track_added">
|
|
<callback name="track_added">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="timeline" transfer-ownership="none">
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</parameter>
|
|
<parameter name="track" transfer-ownership="none">
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="track_removed">
|
|
<callback name="track_removed">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="timeline" transfer-ownership="none">
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</parameter>
|
|
<parameter name="track" transfer-ownership="none">
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="layer_added">
|
|
<callback name="layer_added">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="timeline" transfer-ownership="none">
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</parameter>
|
|
<parameter name="layer" transfer-ownership="none">
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="layer_removed">
|
|
<callback name="layer_removed">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="timeline" transfer-ownership="none">
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</parameter>
|
|
<parameter name="layer" transfer-ownership="none">
|
|
<type name="Layer" c:type="GESLayer*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="group_added">
|
|
<callback name="group_added">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="timeline" transfer-ownership="none">
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</parameter>
|
|
<parameter name="group" transfer-ownership="none">
|
|
<type name="Group" c:type="GESGroup*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="group_removed" introspectable="0">
|
|
<callback name="group_removed" introspectable="0">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="timeline" transfer-ownership="none">
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</parameter>
|
|
<parameter name="group" transfer-ownership="none">
|
|
<type name="Group" c:type="GESGroup*"/>
|
|
</parameter>
|
|
<parameter name="children" transfer-ownership="none">
|
|
<array name="GLib.PtrArray" c:type="GPtrArray*">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<class name="TimelineElement"
|
|
c:symbol-prefix="timeline_element"
|
|
c:type="GESTimelineElement"
|
|
parent="GObject.InitiallyUnowned"
|
|
abstract="1"
|
|
glib:type-name="GESTimelineElement"
|
|
glib:get-type="ges_timeline_element_get_type"
|
|
glib:type-struct="TimelineElementClass">
|
|
<doc xml:space="preserve">The GESTimelineElement base class implements the notion of timing as well
|
|
as priority. A GESTimelineElement can have a parent object which will be
|
|
responsible for controlling its timing properties.</doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<virtual-method name="deep_copy">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="copy" transfer-ownership="none">
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="get_layer_priority" invoker="get_layer_priority">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The priority of the first layer the element is in (note that only
|
|
groups can span over several layers). %GES_TIMELINE_ELEMENT_NO_LAYER_PRIORITY
|
|
means that the element is not in a layer.</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="get_track_types"
|
|
invoker="get_track_types"
|
|
version="1.6.0">
|
|
<doc xml:space="preserve">Gets all the TrackTypes @self will interact with</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="TrackType" c:type="GESTrackType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="list_children_properties" introspectable="0">
|
|
<return-value>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec**"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="n_properties" transfer-ownership="none">
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="lookup_child" invoker="lookup_child">
|
|
<doc xml:space="preserve">Looks up which @element and @pspec would be effected by the given @name. If various
|
|
contained elements have this property name you will get the first one, unless you
|
|
specify the class name in @name.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">TRUE if @element and @pspec could be found. FALSE otherwise. In that
|
|
case the values for @pspec and @element are not modified. Unref @element after
|
|
usage.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">object to lookup the property in</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="prop_name" transfer-ownership="none">
|
|
<doc xml:space="preserve">name of the property to look up. You can specify the name of the
|
|
class as such: "ClassName::property-name", to guarantee that you get the
|
|
proper GParamSpec in case various GstElement-s contain the same property
|
|
name. If you don't do so, you will get the first element found, having
|
|
this property and the and the corresponding GParamSpec.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="child"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">pointer to a #GstElement 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="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">pointer to take the #GParamSpec
|
|
describing the property</doc>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="paste" introspectable="0">
|
|
<return-value>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="ref_element" transfer-ownership="none">
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
<parameter name="paste_position" transfer-ownership="none">
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="ripple" invoker="ripple">
|
|
<doc xml:space="preserve">Edits @self in ripple mode. It allows you to modify the
|
|
start of @self and move the following neighbours accordingly.
|
|
This will change the overall timeline duration.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the self as been rippled properly, %FALSE if an error
|
|
occured</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimelineElement to ripple.</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve">The new start of @self in ripple mode.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="ripple_end" invoker="ripple_end">
|
|
<doc xml:space="preserve">Edits @self in ripple mode. It allows you to modify the
|
|
duration of a @self and move the following neighbours accordingly.
|
|
This will change the overall timeline duration.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the self as been rippled properly, %FALSE if an error
|
|
occured</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimelineElement to ripple.</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="end" transfer-ownership="none">
|
|
<doc xml:space="preserve">The new end (start + duration) of @self in ripple mode. It will
|
|
basically only change the duration of @self.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="roll_end" invoker="roll_end">
|
|
<doc xml:space="preserve">Edits @self in roll mode. It allows you to modify the
|
|
duration of a @self and trim (basicly change the start + inpoint
|
|
in this case) the following neighbours accordingly.
|
|
This will not change the overall timeline duration.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the self as been rolled properly, %FALSE if an error
|
|
occured</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimelineElement to roll.</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="end" transfer-ownership="none">
|
|
<doc xml:space="preserve">The new end (start + duration) of @self in roll mode</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="roll_start" invoker="roll_start">
|
|
<doc xml:space="preserve">Edits @self in roll mode. It allows you to modify the
|
|
start and inpoint of a @self and "resize" (basicly change the duration
|
|
in this case) of the previous neighbours accordingly.
|
|
This will not change the overall timeline duration.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the self as been roll properly, %FALSE if an error
|
|
occured</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimelineElement to roll</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve">The new start of @self in roll mode, it will also adapat
|
|
the in-point of @self according</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="set_child_property">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="child" transfer-ownership="none">
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</parameter>
|
|
<parameter name="pspec" transfer-ownership="none">
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="set_duration" invoker="set_duration">
|
|
<doc xml:space="preserve">Set the duration of the object
|
|
|
|
Note that if the timeline snap-distance property of the timeline containing
|
|
@self is set, @self will properly snap to its neighboors.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @duration could be set.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="duration" transfer-ownership="none">
|
|
<doc xml:space="preserve">the duration in #GstClockTime</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="set_inpoint" invoker="set_inpoint">
|
|
<doc xml:space="preserve">Set the in-point, that is the moment at which the @self will start
|
|
outputting data from its contents.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @inpoint could be set.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="inpoint" transfer-ownership="none">
|
|
<doc xml:space="preserve">the in-point in #GstClockTime</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="set_max_duration" invoker="set_max_duration">
|
|
<doc xml:space="preserve">Set the maximun duration of the object</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @maxduration could be set.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="maxduration" transfer-ownership="none">
|
|
<doc xml:space="preserve">the maximum duration in #GstClockTime</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="set_parent" invoker="set_parent">
|
|
<doc xml:space="preserve">Sets the parent of @self to @parent. The parents needs to already
|
|
own a hard reference on @self.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @parent could be set or %FALSE when @self
|
|
already had a parent or @self and @parent are the same.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve">new parent of self</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="set_priority"
|
|
invoker="set_priority"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Sets the priority of the object within the containing layer</doc>
|
|
<doc-deprecated xml:space="preserve">All priority management is done by GES itself now.
|
|
To set #GESEffect priorities #ges_clip_set_top_effect_index should
|
|
be used.</doc-deprecated>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @priority could be set.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="priority" transfer-ownership="none">
|
|
<doc xml:space="preserve">the priority</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="set_start" invoker="set_start">
|
|
<doc xml:space="preserve">Set the position of the object in its containing layer.
|
|
|
|
Note that if the snapping-distance property of the timeline containing
|
|
@self is set, @self will properly snap to the edges around @start.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @start could be set.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve">the position in #GstClockTime</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="trim" invoker="trim">
|
|
<doc xml:space="preserve">Edits @self in trim mode. It allows you to modify the
|
|
inpoint and start of @self.
|
|
This will not change the overall timeline duration.
|
|
|
|
Note that to trim the end of an self you can just set its duration. The same way
|
|
as this method, it will take into account the snapping-distance property of the
|
|
timeline in which @self is.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the self as been trimmed properly, %FALSE if an error
|
|
occured</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimelineElement to trim.</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve">The new start of @self in trim mode, will adapt the inpoint
|
|
of @self accordingly</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="add_child_property"
|
|
c:identifier="ges_timeline_element_add_child_property">
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="pspec" transfer-ownership="none">
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
|
|
</parameter>
|
|
<parameter name="child" transfer-ownership="none">
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="copy" c:identifier="ges_timeline_element_copy">
|
|
<doc xml:space="preserve">Copies @self</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The newly create #GESTimelineElement, copied from @self</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimelineElement to copy</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="deep" transfer-ownership="none">
|
|
<doc xml:space="preserve">whether we want to create the elements @self contains or not</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_child_properties"
|
|
c:identifier="ges_timeline_element_get_child_properties"
|
|
introspectable="0">
|
|
<doc xml:space="preserve">Gets properties of a child of @self.</doc>
|
|
<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">The origin #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="first_property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve">The 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">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_property"
|
|
c:identifier="ges_timeline_element_get_child_property">
|
|
<doc xml:space="preserve">In general, a copy is made of the property contents and
|
|
the caller is responsible for freeing the memory by calling
|
|
g_value_unset().
|
|
|
|
Gets a property of a GstElement contained in @object.
|
|
|
|
Note that #ges_timeline_element_get_child_property is really
|
|
intended for language bindings, #ges_timeline_element_get_child_properties
|
|
is much more convenient for C programming.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the property was found, %FALSE otherwize</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The origin #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve">The 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">return location for the property value, it will
|
|
be initialized if it is initialized with 0</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_child_property_by_pspec"
|
|
c:identifier="ges_timeline_element_get_child_property_by_pspec">
|
|
<doc xml:space="preserve">Gets a property of a child of @self.</doc>
|
|
<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">a #GESTrackElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="pspec" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GParamSpec that specifies the property you want to get</doc>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">return location for the value</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_child_property_valist"
|
|
c:identifier="ges_timeline_element_get_child_property_valist"
|
|
introspectable="0">
|
|
<doc xml:space="preserve">Gets a property of a child of @self. If there are various child elements
|
|
that have the same property name, you can distinguish them using the following
|
|
syntax: 'ClasseName::property_name' as property name. If you don't, the
|
|
corresponding property of the first element found will be set.</doc>
|
|
<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">The #GESTimelineElement parent object</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="first_property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve">The 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">value 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="get_duration"
|
|
c:identifier="ges_timeline_element_get_duration">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The @duration of @self</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_inpoint"
|
|
c:identifier="ges_timeline_element_get_inpoint">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The @inpoint of @self</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_layer_priority"
|
|
c:identifier="ges_timeline_element_get_layer_priority">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The priority of the first layer the element is in (note that only
|
|
groups can span over several layers). %GES_TIMELINE_ELEMENT_NO_LAYER_PRIORITY
|
|
means that the element is not in a layer.</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_max_duration"
|
|
c:identifier="ges_timeline_element_get_max_duration">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The @maxduration of @self</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_name" c:identifier="ges_timeline_element_get_name">
|
|
<doc xml:space="preserve">Returns a copy of the name of @self.
|
|
Caller should g_free() the return value after usage.</doc>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">The name of @self</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_parent" c:identifier="ges_timeline_element_get_parent">
|
|
<doc xml:space="preserve">Returns the parent of @self. This function increases the refcount
|
|
of the parent object so you should gst_object_unref() it after usage.</doc>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve">parent of @self, this can be %NULL if
|
|
@self has no parent. unref after usage.</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_priority"
|
|
c:identifier="ges_timeline_element_get_priority">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The @priority of @self</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_start" c:identifier="ges_timeline_element_get_start">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The @start of @self</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_timeline"
|
|
c:identifier="ges_timeline_element_get_timeline">
|
|
<doc xml:space="preserve">Returns the timeline of @self. This function increases the refcount
|
|
of the timeline so you should gst_object_unref() it after usage.</doc>
|
|
<return-value transfer-ownership="full" nullable="1">
|
|
<doc xml:space="preserve">timeline of @self, this can be %NULL if
|
|
@self has no timeline. unref after usage.</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_toplevel_parent"
|
|
c:identifier="ges_timeline_element_get_toplevel_parent">
|
|
<doc xml:space="preserve">Gets the toplevel #GESTimelineElement controlling @self</doc>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">The toplevel controlling parent of @self</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimelineElement to get the toplevel parent from</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_track_types"
|
|
c:identifier="ges_timeline_element_get_track_types"
|
|
version="1.6.0">
|
|
<doc xml:space="preserve">Gets all the TrackTypes @self will interact with</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="TrackType" c:type="GESTrackType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="list_children_properties"
|
|
c:identifier="ges_timeline_element_list_children_properties">
|
|
<doc xml:space="preserve">Gets an array of #GParamSpec* for all configurable properties of the
|
|
children of @self.</doc>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">an array of #GParamSpec* which should be freed after use or
|
|
%NULL if something went wrong</doc>
|
|
<array length="0" zero-terminated="0" c:type="GParamSpec**">
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimelineElement to get the list of children properties from</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="n_properties"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve">return location for the length of the returned array</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="lookup_child"
|
|
c:identifier="ges_timeline_element_lookup_child">
|
|
<doc xml:space="preserve">Looks up which @element and @pspec would be effected by the given @name. If various
|
|
contained elements have this property name you will get the first one, unless you
|
|
specify the class name in @name.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">TRUE if @element and @pspec could be found. FALSE otherwise. In that
|
|
case the values for @pspec and @element are not modified. Unref @element after
|
|
usage.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">object to lookup the property in</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="prop_name" transfer-ownership="none">
|
|
<doc xml:space="preserve">name of the property to look up. You can specify the name of the
|
|
class as such: "ClassName::property-name", to guarantee that you get the
|
|
proper GParamSpec in case various GstElement-s contain the same property
|
|
name. If you don't do so, you will get the first element found, having
|
|
this property and the and the corresponding GParamSpec.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="child"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">pointer to a #GstElement 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="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">pointer to take the #GParamSpec
|
|
describing the property</doc>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="paste"
|
|
c:identifier="ges_timeline_element_paste"
|
|
version="1.6.0">
|
|
<doc xml:space="preserve">Paste @self inside the timeline. @self must have been created
|
|
using ges_timeline_element_copy with recurse=TRUE set,
|
|
otherwise it will fail.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">Paste @self copying the element</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimelineElement to paste</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="paste_position" transfer-ownership="none">
|
|
<doc xml:space="preserve">The position in the timeline the element should
|
|
be copied to, meaning it will become the start of @self</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_child_property"
|
|
c:identifier="ges_timeline_element_remove_child_property">
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="pspec" transfer-ownership="none">
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="ripple" c:identifier="ges_timeline_element_ripple">
|
|
<doc xml:space="preserve">Edits @self in ripple mode. It allows you to modify the
|
|
start of @self and move the following neighbours accordingly.
|
|
This will change the overall timeline duration.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the self as been rippled properly, %FALSE if an error
|
|
occured</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimelineElement to ripple.</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve">The new start of @self in ripple mode.</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="ripple_end" c:identifier="ges_timeline_element_ripple_end">
|
|
<doc xml:space="preserve">Edits @self in ripple mode. It allows you to modify the
|
|
duration of a @self and move the following neighbours accordingly.
|
|
This will change the overall timeline duration.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the self as been rippled properly, %FALSE if an error
|
|
occured</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimelineElement to ripple.</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="end" transfer-ownership="none">
|
|
<doc xml:space="preserve">The new end (start + duration) of @self in ripple mode. It will
|
|
basically only change the duration of @self.</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="roll_end" c:identifier="ges_timeline_element_roll_end">
|
|
<doc xml:space="preserve">Edits @self in roll mode. It allows you to modify the
|
|
duration of a @self and trim (basicly change the start + inpoint
|
|
in this case) the following neighbours accordingly.
|
|
This will not change the overall timeline duration.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the self as been rolled properly, %FALSE if an error
|
|
occured</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimelineElement to roll.</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="end" transfer-ownership="none">
|
|
<doc xml:space="preserve">The new end (start + duration) of @self in roll mode</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="roll_start" c:identifier="ges_timeline_element_roll_start">
|
|
<doc xml:space="preserve">Edits @self in roll mode. It allows you to modify the
|
|
start and inpoint of a @self and "resize" (basicly change the duration
|
|
in this case) of the previous neighbours accordingly.
|
|
This will not change the overall timeline duration.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the self as been roll properly, %FALSE if an error
|
|
occured</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimelineElement to roll</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve">The new start of @self in roll mode, it will also adapat
|
|
the in-point of @self according</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_child_properties"
|
|
c:identifier="ges_timeline_element_set_child_properties"
|
|
introspectable="0">
|
|
<doc xml:space="preserve">Sets a property of a child of @self. If there are various child elements
|
|
that have the same property name, you can distinguish them using the following
|
|
syntax: 'ClasseName::property_name' as property name. If you don't, the
|
|
corresponding property of the first element found will be set.</doc>
|
|
<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">The #GESTimelineElement parent object</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="first_property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve">The 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">value for the first property, followed optionally by more
|
|
name/return location pairs, followed by NULL</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_child_property"
|
|
c:identifier="ges_timeline_element_set_child_property">
|
|
<doc xml:space="preserve">Sets a property of a child of @self
|
|
|
|
Note that #ges_timeline_element_set_child_property is really
|
|
intended for language bindings, #ges_timeline_element_set_child_properties
|
|
is much more convenient for C programming.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the property was set, %FALSE otherwize</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The origin #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve">The name of the property</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve">the value</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_child_property_by_pspec"
|
|
c:identifier="ges_timeline_element_set_child_property_by_pspec">
|
|
<doc xml:space="preserve">Sets a property of a child of @self.</doc>
|
|
<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">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="pspec" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GParamSpec that specifies the property you want to set</doc>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve">the value</doc>
|
|
<type name="GObject.Value" c:type="const GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_child_property_valist"
|
|
c:identifier="ges_timeline_element_set_child_property_valist"
|
|
introspectable="0">
|
|
<doc xml:space="preserve">Sets a property of a child of @self. If there are various child elements
|
|
that have the same property name, you can distinguish them using the following
|
|
syntax: 'ClasseName::property_name' as property name. If you don't, the
|
|
corresponding property of the first element found will be set.</doc>
|
|
<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">The #GESTimelineElement parent object</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="first_property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve">The 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">value 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="set_duration"
|
|
c:identifier="ges_timeline_element_set_duration">
|
|
<doc xml:space="preserve">Set the duration of the object
|
|
|
|
Note that if the timeline snap-distance property of the timeline containing
|
|
@self is set, @self will properly snap to its neighboors.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @duration could be set.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="duration" transfer-ownership="none">
|
|
<doc xml:space="preserve">the duration in #GstClockTime</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_inpoint"
|
|
c:identifier="ges_timeline_element_set_inpoint">
|
|
<doc xml:space="preserve">Set the in-point, that is the moment at which the @self will start
|
|
outputting data from its contents.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @inpoint could be set.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="inpoint" transfer-ownership="none">
|
|
<doc xml:space="preserve">the in-point in #GstClockTime</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_max_duration"
|
|
c:identifier="ges_timeline_element_set_max_duration">
|
|
<doc xml:space="preserve">Set the maximun duration of the object</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @maxduration could be set.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="maxduration" transfer-ownership="none">
|
|
<doc xml:space="preserve">the maximum duration in #GstClockTime</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_name" c:identifier="ges_timeline_element_set_name">
|
|
<doc xml:space="preserve">Sets the name of object, or gives @self 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>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="name"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">The name @self should take (if avalaible<)</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_parent" c:identifier="ges_timeline_element_set_parent">
|
|
<doc xml:space="preserve">Sets the parent of @self to @parent. The parents needs to already
|
|
own a hard reference on @self.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @parent could be set or %FALSE when @self
|
|
already had a parent or @self and @parent are the same.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve">new parent of self</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_priority"
|
|
c:identifier="ges_timeline_element_set_priority"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Sets the priority of the object within the containing layer</doc>
|
|
<doc-deprecated xml:space="preserve">All priority management is done by GES itself now.
|
|
To set #GESEffect priorities #ges_clip_set_top_effect_index should
|
|
be used.</doc-deprecated>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @priority could be set.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="priority" transfer-ownership="none">
|
|
<doc xml:space="preserve">the priority</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_start" c:identifier="ges_timeline_element_set_start">
|
|
<doc xml:space="preserve">Set the position of the object in its containing layer.
|
|
|
|
Note that if the snapping-distance property of the timeline containing
|
|
@self is set, @self will properly snap to the edges around @start.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @start could be set.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve">the position in #GstClockTime</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_timeline"
|
|
c:identifier="ges_timeline_element_set_timeline">
|
|
<doc xml:space="preserve">Sets the timeline of @self to @timeline.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @timeline could be set or %FALSE when @timeline
|
|
already had a timeline.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimeline @self is in</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="trim" c:identifier="ges_timeline_element_trim">
|
|
<doc xml:space="preserve">Edits @self in trim mode. It allows you to modify the
|
|
inpoint and start of @self.
|
|
This will not change the overall timeline duration.
|
|
|
|
Note that to trim the end of an self you can just set its duration. The same way
|
|
as this method, it will take into account the snapping-distance property of the
|
|
timeline in which @self is.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the self as been trimmed properly, %FALSE if an error
|
|
occured</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimelineElement to trim.</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve">The new start of @self in trim mode, will adapt the inpoint
|
|
of @self accordingly</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="duration" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve">The duration (in nanoseconds) which will be used in the container</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</property>
|
|
<property name="in-point" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve">The in-point at which this #GESTimelineElement will start outputting data
|
|
from its contents (in nanoseconds).
|
|
|
|
Ex : an in-point of 5 seconds means that the first outputted buffer will
|
|
be the one located 5 seconds in the controlled resource.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</property>
|
|
<property name="max-duration"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The maximum duration (in nanoseconds) of the #GESTimelineElement.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</property>
|
|
<property name="name"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The name of the object</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</property>
|
|
<property name="parent" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve">The parent container of the object</doc>
|
|
<type name="TimelineElement"/>
|
|
</property>
|
|
<property name="priority" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve">The priority of the object.
|
|
|
|
Setting GESTimelineElement priorities is deprecated
|
|
as all priority management is done by GES itself now.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</property>
|
|
<property name="serialize" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve">Whether the element should be serialized.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</property>
|
|
<property name="start" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve">The position of the object in its container (in nanoseconds).</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</property>
|
|
<property name="timeline" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve">The timeline in which @element is</doc>
|
|
<type name="Timeline"/>
|
|
</property>
|
|
<field name="parent_instance">
|
|
<type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
|
|
</field>
|
|
<field name="parent">
|
|
<doc xml:space="preserve">The #GESTimelineElement that controls the object</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</field>
|
|
<field name="asset">
|
|
<doc xml:space="preserve">The #GESAsset from which the object has been extracted</doc>
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</field>
|
|
<field name="start">
|
|
<doc xml:space="preserve">position (in time) of the object</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</field>
|
|
<field name="inpoint">
|
|
<doc xml:space="preserve">Position in the media from which the object should be used</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</field>
|
|
<field name="duration">
|
|
<doc xml:space="preserve">duration of the object to be used</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</field>
|
|
<field name="maxduration">
|
|
<doc xml:space="preserve">The maximum duration the object can have</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</field>
|
|
<field name="priority">
|
|
<doc xml:space="preserve">priority of the object in the layer (0:top priority)</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</field>
|
|
<field name="timeline">
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</field>
|
|
<field name="name">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="TimelineElementPrivate"
|
|
c:type="GESTimelineElementPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="20">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<glib:signal name="deep-notify"
|
|
when="first"
|
|
no-recurse="1"
|
|
detailed="1"
|
|
no-hooks="1">
|
|
<doc xml:space="preserve">The deep notify signal is used to be notified of property changes of all
|
|
the childs of @timeline_element</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">the object that originated the signal</doc>
|
|
<type name="GObject.Object"/>
|
|
</parameter>
|
|
<parameter name="prop" transfer-ownership="none">
|
|
<doc xml:space="preserve">the property that changed</doc>
|
|
<type name="GObject.ParamSpec"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
</class>
|
|
<record name="TimelineElementClass"
|
|
c:type="GESTimelineElementClass"
|
|
glib:is-gtype-struct-for="TimelineElement">
|
|
<doc xml:space="preserve">The GESTimelineElement base class. Subclasses should override at least
|
|
@set_start @set_inpoint @set_duration @ripple @ripple_end @roll_start
|
|
@roll_end and @trim.
|
|
|
|
Vmethods in subclasses should apply all the operation they need to but
|
|
the real method implementation is in charge of setting the proper field,
|
|
and emit the notify signal.</doc>
|
|
<field name="parent_class">
|
|
<type name="GObject.InitiallyUnownedClass"
|
|
c:type="GInitiallyUnownedClass"/>
|
|
</field>
|
|
<field name="set_parent">
|
|
<callback name="set_parent">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @parent could be set or %FALSE when @self
|
|
already had a parent or @self and @parent are the same.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
<parameter name="parent" transfer-ownership="none">
|
|
<doc xml:space="preserve">new parent of self</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="set_start">
|
|
<callback name="set_start">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @start could be set.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve">the position in #GstClockTime</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="set_inpoint">
|
|
<callback name="set_inpoint">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @inpoint could be set.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
<parameter name="inpoint" transfer-ownership="none">
|
|
<doc xml:space="preserve">the in-point in #GstClockTime</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="set_duration">
|
|
<callback name="set_duration">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @duration could be set.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
<parameter name="duration" transfer-ownership="none">
|
|
<doc xml:space="preserve">the duration in #GstClockTime</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="set_max_duration">
|
|
<callback name="set_max_duration">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @maxduration could be set.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
<parameter name="maxduration" transfer-ownership="none">
|
|
<doc xml:space="preserve">the maximum duration in #GstClockTime</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="set_priority">
|
|
<callback name="set_priority">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @priority could be set.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
<parameter name="priority" transfer-ownership="none">
|
|
<doc xml:space="preserve">the priority</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="ripple">
|
|
<callback name="ripple">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the self as been rippled properly, %FALSE if an error
|
|
occured</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimelineElement to ripple.</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve">The new start of @self in ripple mode.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="ripple_end">
|
|
<callback name="ripple_end">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the self as been rippled properly, %FALSE if an error
|
|
occured</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimelineElement to ripple.</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
<parameter name="end" transfer-ownership="none">
|
|
<doc xml:space="preserve">The new end (start + duration) of @self in ripple mode. It will
|
|
basically only change the duration of @self.</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="roll_start">
|
|
<callback name="roll_start">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the self as been roll properly, %FALSE if an error
|
|
occured</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimelineElement to roll</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve">The new start of @self in roll mode, it will also adapat
|
|
the in-point of @self according</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="roll_end">
|
|
<callback name="roll_end">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the self as been rolled properly, %FALSE if an error
|
|
occured</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimelineElement to roll.</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
<parameter name="end" transfer-ownership="none">
|
|
<doc xml:space="preserve">The new end (start + duration) of @self in roll mode</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="trim">
|
|
<callback name="trim">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the self as been trimmed properly, %FALSE if an error
|
|
occured</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTimelineElement to trim.</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
<parameter name="start" transfer-ownership="none">
|
|
<doc xml:space="preserve">The new start of @self in trim mode, will adapt the inpoint
|
|
of @self accordingly</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="deep_copy">
|
|
<callback name="deep_copy">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
<parameter name="copy" transfer-ownership="none">
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="paste" introspectable="0">
|
|
<callback name="paste" introspectable="0">
|
|
<return-value>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
<parameter name="ref_element" transfer-ownership="none">
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
<parameter name="paste_position" transfer-ownership="none">
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="list_children_properties" introspectable="0">
|
|
<callback name="list_children_properties" introspectable="0">
|
|
<return-value>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec**"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
<parameter name="n_properties" transfer-ownership="none">
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="lookup_child">
|
|
<callback name="lookup_child">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">TRUE if @element and @pspec could be found. FALSE otherwise. In that
|
|
case the values for @pspec and @element are not modified. Unref @element after
|
|
usage.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">object to lookup the property in</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
<parameter name="prop_name" transfer-ownership="none">
|
|
<doc xml:space="preserve">name of the property to look up. You can specify the name of the
|
|
class as such: "ClassName::property-name", to guarantee that you get the
|
|
proper GParamSpec in case various GstElement-s contain the same property
|
|
name. If you don't do so, you will get the first element found, having
|
|
this property and the and the corresponding GParamSpec.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="child"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">pointer to a #GstElement 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="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">pointer to take the #GParamSpec
|
|
describing the property</doc>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="get_track_types">
|
|
<callback name="get_track_types">
|
|
<return-value transfer-ownership="none">
|
|
<type name="TrackType" c:type="GESTrackType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="set_child_property">
|
|
<callback name="set_child_property">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
<parameter name="child" transfer-ownership="none">
|
|
<type name="GObject.Object" c:type="GObject*"/>
|
|
</parameter>
|
|
<parameter name="pspec" transfer-ownership="none">
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="get_layer_priority">
|
|
<callback name="get_layer_priority">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The priority of the first layer the element is in (note that only
|
|
groups can span over several layers). %GES_TIMELINE_ELEMENT_NO_LAYER_PRIORITY
|
|
means that the element is not in a layer.</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESTimelineElement</doc>
|
|
<type name="TimelineElement" c:type="GESTimelineElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="16">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="TimelineElementPrivate"
|
|
c:type="GESTimelineElementPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<record name="TimelinePrivate" c:type="GESTimelinePrivate" disguised="1">
|
|
</record>
|
|
<class name="TitleClip"
|
|
c:symbol-prefix="title_clip"
|
|
c:type="GESTitleClip"
|
|
parent="SourceClip"
|
|
glib:type-name="GESTitleClip"
|
|
glib:get-type="ges_title_clip_get_type"
|
|
glib:type-struct="TitleClipClass">
|
|
<doc xml:space="preserve">Renders the given text in the specified font, at specified position, and
|
|
with the specified background pattern.</doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<constructor name="new" c:identifier="ges_title_clip_new">
|
|
<doc xml:space="preserve">Creates a new #GESTitleClip</doc>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">The newly created #GESTitleClip,
|
|
or %NULL if there was an error.</doc>
|
|
<type name="TitleClip" c:type="GESTitleClip*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<method name="get_background_color"
|
|
c:identifier="ges_title_clip_get_background_color"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Get the background used by @self.</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
underlying GESTrackElement instead</doc-deprecated>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The color used by @self.</doc>
|
|
<type name="guint32" c:type="const guint32"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTitleClip</doc>
|
|
<type name="TitleClip" c:type="GESTitleClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_font_desc"
|
|
c:identifier="ges_title_clip_get_font_desc"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Get the pango font description used by @self.</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
underlying GESTrackElement instead</doc-deprecated>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The pango font description used by @self.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTitleClip</doc>
|
|
<type name="TitleClip" c:type="GESTitleClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_halignment"
|
|
c:identifier="ges_title_clip_get_halignment"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Get the horizontal aligment used by @self.</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
underlying GESTrackElement instead</doc-deprecated>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The horizontal aligment used by @self.</doc>
|
|
<type name="TextHAlign" c:type="GESTextHAlign"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTitleClip</doc>
|
|
<type name="TitleClip" c:type="GESTitleClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_text"
|
|
c:identifier="ges_title_clip_get_text"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Get the text currently set on @self.</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
underlying GESTrackElement instead</doc-deprecated>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The text currently set on @self.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTitleClip</doc>
|
|
<type name="TitleClip" c:type="GESTitleClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_text_color"
|
|
c:identifier="ges_title_clip_get_text_color"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Get the color used by @self.</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
underlying GESTrackElement instead</doc-deprecated>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The color used by @self.</doc>
|
|
<type name="guint32" c:type="const guint32"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTitleClip</doc>
|
|
<type name="TitleClip" c:type="GESTitleClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_valignment"
|
|
c:identifier="ges_title_clip_get_valignment"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Get the vertical aligment used by @self.</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
underlying GESTrackElement instead</doc-deprecated>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The vertical aligment used by @self.</doc>
|
|
<type name="TextVAlign" c:type="GESTextVAlign"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTitleClip</doc>
|
|
<type name="TitleClip" c:type="GESTitleClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_xpos"
|
|
c:identifier="ges_title_clip_get_xpos"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Get the horizontal position used by @self.</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
underlying GESTrackElement instead</doc-deprecated>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The horizontal position used by @self.</doc>
|
|
<type name="gdouble" c:type="const gdouble"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTitleClip</doc>
|
|
<type name="TitleClip" c:type="GESTitleClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_ypos"
|
|
c:identifier="ges_title_clip_get_ypos"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Get the vertical position used by @self.</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
underlying GESTrackElement instead</doc-deprecated>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The vertical position used by @self.</doc>
|
|
<type name="gdouble" c:type="const gdouble"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTitleClip</doc>
|
|
<type name="TitleClip" c:type="GESTitleClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_background"
|
|
c:identifier="ges_title_clip_set_background"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Sets the background of the text.</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
underlying GESTrackElement instead</doc-deprecated>
|
|
<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">the #GESTitleClip* to set</doc>
|
|
<type name="TitleClip" c:type="GESTitleClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="background" transfer-ownership="none">
|
|
<doc xml:space="preserve">The color @self is being set to</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_color"
|
|
c:identifier="ges_title_clip_set_color"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Sets the color of the text.</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
underlying GESTrackElement instead</doc-deprecated>
|
|
<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">the #GESTitleClip* to set</doc>
|
|
<type name="TitleClip" c:type="GESTitleClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="color" transfer-ownership="none">
|
|
<doc xml:space="preserve">The color @self is being set to</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_font_desc"
|
|
c:identifier="ges_title_clip_set_font_desc"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Sets the pango font description of the text.</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
underlying GESTrackElement instead</doc-deprecated>
|
|
<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">the #GESTitleClip*</doc>
|
|
<type name="TitleClip" c:type="GESTitleClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="font_desc" transfer-ownership="none">
|
|
<doc xml:space="preserve">the pango font description</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_halignment"
|
|
c:identifier="ges_title_clip_set_halignment"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Sets the horizontal aligment of the text.</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
underlying GESTrackElement instead</doc-deprecated>
|
|
<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">the #GESTitleClip* to set horizontal alignement of text on</doc>
|
|
<type name="TitleClip" c:type="GESTitleClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="halign" transfer-ownership="none">
|
|
<doc xml:space="preserve">#GESTextHAlign</doc>
|
|
<type name="TextHAlign" c:type="GESTextHAlign"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_text"
|
|
c:identifier="ges_title_clip_set_text"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Sets the text this clip will render.</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
underlying GESTrackElement instead</doc-deprecated>
|
|
<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">the #GESTitleClip* to set text on</doc>
|
|
<type name="TitleClip" c:type="GESTitleClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="text" transfer-ownership="none">
|
|
<doc xml:space="preserve">the text to render. an internal copy of this text will be
|
|
made.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_valignment"
|
|
c:identifier="ges_title_clip_set_valignment"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Sets the vertical aligment of the text.</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
underlying GESTrackElement instead</doc-deprecated>
|
|
<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">the #GESTitleClip* to set vertical alignement of text on</doc>
|
|
<type name="TitleClip" c:type="GESTitleClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="valign" transfer-ownership="none">
|
|
<doc xml:space="preserve">#GESTextVAlign</doc>
|
|
<type name="TextVAlign" c:type="GESTextVAlign"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_xpos"
|
|
c:identifier="ges_title_clip_set_xpos"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Sets the horizontal position of the text.</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
underlying GESTrackElement instead</doc-deprecated>
|
|
<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">the #GESTitleClip* to set</doc>
|
|
<type name="TitleClip" c:type="GESTitleClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="position" transfer-ownership="none">
|
|
<doc xml:space="preserve">The horizontal position @self is being set to</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_ypos"
|
|
c:identifier="ges_title_clip_set_ypos"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Sets the vertical position of the text.</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
underlying GESTrackElement instead</doc-deprecated>
|
|
<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">the #GESTitleClip* to set</doc>
|
|
<type name="TitleClip" c:type="GESTitleClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="position" transfer-ownership="none">
|
|
<doc xml:space="preserve">The vertical position @self is being set to</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="background"
|
|
deprecated="1"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The background of the text</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
underlying GESTrackElement instead</doc-deprecated>
|
|
<type name="guint" c:type="guint"/>
|
|
</property>
|
|
<property name="color"
|
|
deprecated="1"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The color of the text</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
underlying GESTrackElement instead</doc-deprecated>
|
|
<type name="guint" c:type="guint"/>
|
|
</property>
|
|
<property name="font-desc"
|
|
deprecated="1"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">Pango font description string</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
underlying GESTrackElement instead</doc-deprecated>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</property>
|
|
<property name="halignment"
|
|
deprecated="1"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">Horizontal alignment of the text</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
underlying GESTrackElement instead</doc-deprecated>
|
|
<type name="TextHAlign"/>
|
|
</property>
|
|
<property name="text"
|
|
deprecated="1"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The text to diplay</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
underlying GESTrackElement instead</doc-deprecated>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</property>
|
|
<property name="valignment"
|
|
deprecated="1"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">Vertical alignent of the text</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
underlying GESTrackElement instead</doc-deprecated>
|
|
<type name="TextVAlign"/>
|
|
</property>
|
|
<property name="xpos"
|
|
deprecated="1"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The horizontal position of the text</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
underlying GESTrackElement instead</doc-deprecated>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</property>
|
|
<property name="ypos"
|
|
deprecated="1"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The vertical position of the text</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
underlying GESTrackElement instead</doc-deprecated>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</property>
|
|
<field name="parent">
|
|
<type name="SourceClip" c:type="GESSourceClip"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="TitleClipPrivate" c:type="GESTitleClipPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="TitleClipClass"
|
|
c:type="GESTitleClipClass"
|
|
glib:is-gtype-struct-for="TitleClip">
|
|
<field name="parent_class" readable="0" private="1">
|
|
<type name="SourceClipClass" c:type="GESSourceClipClass"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="TitleClipPrivate" c:type="GESTitleClipPrivate" disguised="1">
|
|
</record>
|
|
<class name="TitleSource"
|
|
c:symbol-prefix="title_source"
|
|
c:type="GESTitleSource"
|
|
parent="VideoSource"
|
|
glib:type-name="GESTitleSource"
|
|
glib:get-type="ges_title_source_get_type"
|
|
glib:type-struct="TitleSourceClass">
|
|
<doc xml:space="preserve">#GESTitleSource is a GESTimelineElement that implements the notion
|
|
of titles in GES.
|
|
|
|
## Children Properties
|
|
|
|
You can use the following children properties through the
|
|
#ges_track_element_set_child_property and alike set of methods:
|
|
<informaltable frame="none">
|
|
<tgroup cols="3">
|
|
<colspec colname="properties_type" colwidth="150px"/>
|
|
<colspec colname="properties_name" colwidth="200px"/>
|
|
<colspec colname="properties_flags" colwidth="400px"/>
|
|
<tbody>
|
|
<row>
|
|
<entry role="property_type"><link linkend="guint"><type>guint</type></link></entry>
|
|
<entry role="property_name"><link linkend="GESTileSource--background">background</link></entry>
|
|
<entry>The color of the background</entry>
|
|
</row>
|
|
<row>
|
|
<entry role="property_type"><link linkend="guint"><type>guint</type></link></entry>
|
|
<entry role="property_name"><link linkend="GESTileSource--color">color</link></entry>
|
|
<entry>The color of the text</entry>
|
|
</row>
|
|
<row>
|
|
<entry role="property_type"><link linkend="gchar"><type>gchar</type></link></entry>
|
|
<entry role="property_name"><link linkend="GESTileSource--font-desc">font-desc</link></entry>
|
|
<entry>Pango font description string</entry>
|
|
</row>
|
|
<row>
|
|
<entry role="property_type"><link linkend="GESTextHAlign"><type>GESTextHAlign</type></link></entry>
|
|
<entry role="property_name"><link linkend="GESTileSource--halignment">halignment</link></entry>
|
|
<entry>Horizontal alignment of the text</entry>
|
|
</row>
|
|
<row>
|
|
<entry role="property_type"><link linkend="gchar"><type>gchar</type></link></entry>
|
|
<entry role="property_name"><link linkend="GESTileSource--text">text</link></entry>
|
|
<entry>The text to be rendered</entry>
|
|
</row>
|
|
<row>
|
|
<entry role="property_type"><link linkend="GESTextVAlign"><type>GESTextVAlign</type></link>
|
|
</entry><entry role="property_name"><link linkend="GESTileSource--valignment">valignment</link>
|
|
</entry><entry>Vertical alignent of the text</entry>
|
|
</row>
|
|
<row>
|
|
<entry role="property_type"><link linkend="gdouble"><type>gdouble</type></link></entry>
|
|
<entry role="property_name"><link linkend="GESTileSource--xpos">xpos</link></entry>
|
|
<entry>The horizontal position of the text</entry>
|
|
</row>
|
|
<row><entry role="property_type"><link linkend="gdouble"><type>gdouble</type></link></entry>
|
|
<entry role="property_name"><link linkend="GESTileSource--ypos">ypos</link></entry>
|
|
<entry>The vertical position of the text</entry>
|
|
</row>
|
|
<row><entry role="property_type"><link linkend="gboolean"><type>gboolean</type></link></entry>
|
|
<entry role="property_name"><link linkend="GESTileSource--shaded-background">shaded-background</link></entry>
|
|
<entry>Whether to shade the background under the text area</entry>
|
|
</row>
|
|
<row><entry role="property_type"><link linkend="guint"><type>guint</type></link></entry>
|
|
<entry role="property_name"><link linkend="GESTileSource--outline-color">outline-color</link></entry>
|
|
<entry>Color to use for outline the text (big-endian ARGB).</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</informaltable></doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<method name="get_background_color"
|
|
c:identifier="ges_title_source_get_background_color">
|
|
<doc xml:space="preserve">Get the background used by @source.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The background used by @source.</doc>
|
|
<type name="guint32" c:type="const guint32"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="source" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTitleSource</doc>
|
|
<type name="TitleSource" c:type="GESTitleSource*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_font_desc"
|
|
c:identifier="ges_title_source_get_font_desc"
|
|
deprecated="1"
|
|
deprecated-version="1.16">
|
|
<doc xml:space="preserve">Get the pango font description used by @source.</doc>
|
|
<doc-deprecated xml:space="preserve">Use ges_timeline_element_get_child_property instead
|
|
(this actually returns a newly allocated string)</doc-deprecated>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">The pango font description used by this
|
|
@source.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="source" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTitleSource</doc>
|
|
<type name="TitleSource" c:type="GESTitleSource*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_halignment"
|
|
c:identifier="ges_title_source_get_halignment">
|
|
<doc xml:space="preserve">Get the horizontal aligment used by @source.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The horizontal aligment used by @source.</doc>
|
|
<type name="TextHAlign" c:type="GESTextHAlign"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="source" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTitleSource</doc>
|
|
<type name="TitleSource" c:type="GESTitleSource*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_text"
|
|
c:identifier="ges_title_source_get_text"
|
|
deprecated="1"
|
|
deprecated-version="1.16">
|
|
<doc xml:space="preserve">Get the text currently set on the @source.</doc>
|
|
<doc-deprecated xml:space="preserve">Use ges_timeline_element_get_child_property instead
|
|
(this actually returns a newly allocated string)</doc-deprecated>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">The text currently set on the @source.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="source" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTitleSource</doc>
|
|
<type name="TitleSource" c:type="GESTitleSource*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_text_color"
|
|
c:identifier="ges_title_source_get_text_color">
|
|
<doc xml:space="preserve">Get the color used by @source.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The color used by @source.</doc>
|
|
<type name="guint32" c:type="const guint32"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="source" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTitleSource</doc>
|
|
<type name="TitleSource" c:type="GESTitleSource*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_valignment"
|
|
c:identifier="ges_title_source_get_valignment">
|
|
<doc xml:space="preserve">Get the vertical aligment used by @source.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The vertical aligment used by @source.</doc>
|
|
<type name="TextVAlign" c:type="GESTextVAlign"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="source" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTitleSource</doc>
|
|
<type name="TitleSource" c:type="GESTitleSource*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_xpos" c:identifier="ges_title_source_get_xpos">
|
|
<doc xml:space="preserve">Get the horizontal position used by @source.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The horizontal position used by @source.</doc>
|
|
<type name="gdouble" c:type="const gdouble"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="source" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTitleSource</doc>
|
|
<type name="TitleSource" c:type="GESTitleSource*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_ypos" c:identifier="ges_title_source_get_ypos">
|
|
<doc xml:space="preserve">Get the vertical position used by @source.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The vertical position used by @source.</doc>
|
|
<type name="gdouble" c:type="const gdouble"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="source" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTitleSource</doc>
|
|
<type name="TitleSource" c:type="GESTitleSource*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_background_color"
|
|
c:identifier="ges_title_source_set_background_color">
|
|
<doc xml:space="preserve">Sets the color of the background</doc>
|
|
<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">the #GESTitleSource* to set</doc>
|
|
<type name="TitleSource" c:type="GESTitleSource*"/>
|
|
</instance-parameter>
|
|
<parameter name="color" transfer-ownership="none">
|
|
<doc xml:space="preserve">the color @self is being set to</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_font_desc"
|
|
c:identifier="ges_title_source_set_font_desc">
|
|
<doc xml:space="preserve">Set the pango font description this source will use to render
|
|
the text.</doc>
|
|
<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">the #GESTitleSource</doc>
|
|
<type name="TitleSource" c:type="GESTitleSource*"/>
|
|
</instance-parameter>
|
|
<parameter name="font_desc" transfer-ownership="none">
|
|
<doc xml:space="preserve">the pango font description</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_halignment"
|
|
c:identifier="ges_title_source_set_halignment">
|
|
<doc xml:space="preserve">Sets the vertical aligment of the text.</doc>
|
|
<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">the #GESTitleSource* to set text on</doc>
|
|
<type name="TitleSource" c:type="GESTitleSource*"/>
|
|
</instance-parameter>
|
|
<parameter name="halign" transfer-ownership="none">
|
|
<doc xml:space="preserve">#GESTextHAlign</doc>
|
|
<type name="TextHAlign" c:type="GESTextHAlign"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_text"
|
|
c:identifier="ges_title_source_set_text"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Sets the text this track element will render.</doc>
|
|
<doc-deprecated xml:space="preserve">use ges_track_element_get/set_children_properties on the
|
|
GESTrackElement instead</doc-deprecated>
|
|
<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">the #GESTitleSource* to set text on</doc>
|
|
<type name="TitleSource" c:type="GESTitleSource*"/>
|
|
</instance-parameter>
|
|
<parameter name="text" transfer-ownership="none">
|
|
<doc xml:space="preserve">the text to render. an internal copy of this text will be
|
|
made.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_text_color"
|
|
c:identifier="ges_title_source_set_text_color">
|
|
<doc xml:space="preserve">Sets the color of the text.</doc>
|
|
<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">the #GESTitleSource* to set</doc>
|
|
<type name="TitleSource" c:type="GESTitleSource*"/>
|
|
</instance-parameter>
|
|
<parameter name="color" transfer-ownership="none">
|
|
<doc xml:space="preserve">the color @self is being set to</doc>
|
|
<type name="guint32" c:type="guint32"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_valignment"
|
|
c:identifier="ges_title_source_set_valignment">
|
|
<doc xml:space="preserve">Sets the vertical aligment of the text.</doc>
|
|
<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">the #GESTitleSource* to set text on</doc>
|
|
<type name="TitleSource" c:type="GESTitleSource*"/>
|
|
</instance-parameter>
|
|
<parameter name="valign" transfer-ownership="none">
|
|
<doc xml:space="preserve">#GESTextVAlign</doc>
|
|
<type name="TextVAlign" c:type="GESTextVAlign"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_xpos" c:identifier="ges_title_source_set_xpos">
|
|
<doc xml:space="preserve">Sets the horizontal position of the text.</doc>
|
|
<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">the #GESTitleSource* to set</doc>
|
|
<type name="TitleSource" c:type="GESTitleSource*"/>
|
|
</instance-parameter>
|
|
<parameter name="position" transfer-ownership="none">
|
|
<doc xml:space="preserve">the horizontal position @self is being set to</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_ypos" c:identifier="ges_title_source_set_ypos">
|
|
<doc xml:space="preserve">Sets the vertical position of the text.</doc>
|
|
<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">the #GESTitleSource* to set</doc>
|
|
<type name="TitleSource" c:type="GESTitleSource*"/>
|
|
</instance-parameter>
|
|
<parameter name="position" transfer-ownership="none">
|
|
<doc xml:space="preserve">the color @self is being set to</doc>
|
|
<type name="gdouble" c:type="gdouble"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<field name="parent">
|
|
<type name="VideoSource" c:type="GESVideoSource"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="TitleSourcePrivate" c:type="GESTitleSourcePrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="TitleSourceClass"
|
|
c:type="GESTitleSourceClass"
|
|
glib:is-gtype-struct-for="TitleSource">
|
|
<field name="parent_class">
|
|
<doc xml:space="preserve">parent class</doc>
|
|
<type name="VideoSourceClass" c:type="GESVideoSourceClass"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="3">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="TitleSourcePrivate"
|
|
c:type="GESTitleSourcePrivate"
|
|
disguised="1">
|
|
</record>
|
|
<class name="Track"
|
|
c:symbol-prefix="track"
|
|
c:type="GESTrack"
|
|
parent="Gst.Bin"
|
|
glib:type-name="GESTrack"
|
|
glib:get-type="ges_track_get_type"
|
|
glib:type-struct="TrackClass">
|
|
<doc xml:space="preserve">Corresponds to one output format (i.e. audio OR video).
|
|
|
|
Contains the compatible TrackElement(s).</doc>
|
|
<implements name="MetaContainer"/>
|
|
<implements name="Gst.ChildProxy"/>
|
|
<constructor name="new" c:identifier="ges_track_new">
|
|
<doc xml:space="preserve">Creates a new #GESTrack with the given @type and @caps.
|
|
|
|
The newly created track will steal a reference to the caps. If you wish to
|
|
use those caps elsewhere, you will have to take an extra reference.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">A new #GESTrack.</doc>
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve">The type of track</doc>
|
|
<type name="TrackType" c:type="GESTrackType"/>
|
|
</parameter>
|
|
<parameter name="caps" transfer-ownership="full">
|
|
<doc xml:space="preserve">The caps to restrict the output of the track to.</doc>
|
|
<type name="Gst.Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<virtual-method name="get_mixing_element" introspectable="0">
|
|
<return-value>
|
|
<type name="Gst.Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="track" transfer-ownership="none">
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="add_element" c:identifier="ges_track_add_element">
|
|
<doc xml:space="preserve">Adds the given object to the track. Sets the object's controlling track,
|
|
and thus takes ownership of the @object.
|
|
|
|
An object can only be added to one track.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">#TRUE if the object was properly added. #FALSE if the track does not
|
|
want to accept the object.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="track" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTrack</doc>
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</instance-parameter>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESTrackElement to add</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="commit" c:identifier="ges_track_commit">
|
|
<doc xml:space="preserve">Commits all the pending changes of the TrackElement contained in the
|
|
track.
|
|
|
|
When timing changes happen in a timeline, the changes are not
|
|
directly done inside NLE. This method needs to be called so any changes
|
|
on a clip contained in the timeline actually happen at the media
|
|
processing level.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if something as been commited %FALSE if nothing needed
|
|
to be commited</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="track" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTrack</doc>
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_caps" c:identifier="ges_track_get_caps">
|
|
<doc xml:space="preserve">Get the #GstCaps this track is configured to output.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GstCaps this track is configured to output.</doc>
|
|
<type name="Gst.Caps" c:type="const GstCaps*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="track" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTrack</doc>
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_elements" c:identifier="ges_track_get_elements">
|
|
<doc xml:space="preserve">Gets the #GESTrackElement contained in @track</doc>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">the list of
|
|
#GESTrackElement present in the Track sorted by priority and start.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="TrackElement"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="track" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTrack</doc>
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_mixing" c:identifier="ges_track_get_mixing">
|
|
<doc xml:space="preserve">Gets if the underlying #NleComposition contains an expandable mixer.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">#True if there is a mixer, #False otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="track" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTrack</doc>
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_timeline" c:identifier="ges_track_get_timeline">
|
|
<doc xml:space="preserve">Get the #GESTimeline this track belongs to. Can be %NULL.</doc>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">The #GESTimeline this track belongs to. Can be %NULL.</doc>
|
|
<type name="Timeline" c:type="const GESTimeline*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="track" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTrack</doc>
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_element" c:identifier="ges_track_remove_element">
|
|
<doc xml:space="preserve">Removes the object from the track and unparents it.
|
|
Unparenting it means the reference owned by @track on the @object will be
|
|
removed. If you wish to use the @object after this function, make sure you
|
|
call gst_object_ref() before removing it from the @track.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">#TRUE if the object was removed, else #FALSE if the track
|
|
could not remove the object (like if it didn't belong to the track).</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="track" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTrack</doc>
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</instance-parameter>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESTrackElement to remove</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_create_element_for_gap_func"
|
|
c:identifier="ges_track_set_create_element_for_gap_func"
|
|
introspectable="0">
|
|
<doc xml:space="preserve">Sets the function that should be used to create the GstElement used to fill gaps.
|
|
To avoid to provide such a function we advice you to use the
|
|
#ges_audio_track_new and #ges_video_track_new constructor when possible.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="track" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTrack</doc>
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</instance-parameter>
|
|
<parameter name="func" transfer-ownership="none" scope="notified">
|
|
<doc xml:space="preserve">The #GESCreateElementForGapFunc that will be used
|
|
to create #GstElement to fill gaps</doc>
|
|
<type name="CreateElementForGapFunc"
|
|
c:type="GESCreateElementForGapFunc"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_mixing" c:identifier="ges_track_set_mixing">
|
|
<doc xml:space="preserve">Sets if the #GESTrack should be mixing.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="track" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTrack</doc>
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</instance-parameter>
|
|
<parameter name="mixing" transfer-ownership="none">
|
|
<doc xml:space="preserve">TRUE if the track should be mixing, FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_restriction_caps"
|
|
c:identifier="ges_track_set_restriction_caps">
|
|
<doc xml:space="preserve">Sets the given @caps as the caps the track has to output.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="track" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTrack</doc>
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GstCaps to set</doc>
|
|
<type name="Gst.Caps" c:type="const GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_timeline" c:identifier="ges_track_set_timeline">
|
|
<doc xml:space="preserve">Sets @timeline as the timeline controlling @track.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="track" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTrack</doc>
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</instance-parameter>
|
|
<parameter name="timeline" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTimeline</doc>
|
|
<type name="Timeline" c:type="GESTimeline*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="update_restriction_caps"
|
|
c:identifier="ges_track_update_restriction_caps">
|
|
<doc xml:space="preserve">Updates the restriction caps by modifying all the fields present in @caps
|
|
in the original restriction caps. If for example the current restriction caps
|
|
are video/x-raw, format=I420, width=360 and @caps is video/x-raw, format=RGB,
|
|
the restriction caps will be updated to video/x-raw, format=RGB, width=360.
|
|
|
|
Modification happens for each structure in the new caps, and
|
|
one can add new fields or structures through that function.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="track" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTrack</doc>
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</instance-parameter>
|
|
<parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GstCaps to update with</doc>
|
|
<type name="Gst.Caps" c:type="const GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="caps"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">Caps used to filter/choose the output stream. This is generally set to
|
|
a generic set of caps like 'video/x-raw' for raw video.
|
|
|
|
Default value: #GST_CAPS_ANY.</doc>
|
|
<type name="Gst.Caps"/>
|
|
</property>
|
|
<property name="duration" transfer-ownership="none">
|
|
<doc xml:space="preserve">Current duration of the track
|
|
|
|
Default value: O</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</property>
|
|
<property name="mixing"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">Whether layer mixing is activated or not on the track.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</property>
|
|
<property name="restriction-caps" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve">Caps used to filter/choose the output stream.
|
|
|
|
Default value: #GST_CAPS_ANY.</doc>
|
|
<type name="Gst.Caps"/>
|
|
</property>
|
|
<property name="track-type"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">Type of stream the track outputs. This is used when creating the #GESTrack
|
|
to specify in generic terms what type of content will be outputted.
|
|
|
|
It also serves as a 'fast' way to check what type of data will be outputted
|
|
from the #GESTrack without having to actually check the #GESTrack's caps
|
|
property.</doc>
|
|
<type name="TrackType"/>
|
|
</property>
|
|
<field name="parent">
|
|
<type name="Gst.Bin" c:type="GstBin"/>
|
|
</field>
|
|
<field name="type">
|
|
<doc xml:space="preserve">a #GESTrackType indicting the basic type of the track.</doc>
|
|
<type name="TrackType" c:type="GESTrackType"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="TrackPrivate" c:type="GESTrackPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<glib:signal name="commited" when="last">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
</glib:signal>
|
|
<glib:signal name="track-element-added" when="first">
|
|
<doc xml:space="preserve">Will be emitted after a track element was added to the track.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="effect" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESTrackElement that was added.</doc>
|
|
<type name="TrackElement"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="track-element-removed" when="first">
|
|
<doc xml:space="preserve">Will be emitted after a track element was removed from the track.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="effect" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESTrackElement that was removed.</doc>
|
|
<type name="TrackElement"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
</class>
|
|
<record name="TrackClass"
|
|
c:type="GESTrackClass"
|
|
glib:is-gtype-struct-for="Track">
|
|
<field name="parent_class" readable="0" private="1">
|
|
<type name="Gst.BinClass" c:type="GstBinClass"/>
|
|
</field>
|
|
<field name="get_mixing_element" introspectable="0">
|
|
<callback name="get_mixing_element" introspectable="0">
|
|
<return-value>
|
|
<type name="Gst.Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="track" transfer-ownership="none">
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<class name="TrackElement"
|
|
c:symbol-prefix="track_element"
|
|
c:type="GESTrackElement"
|
|
parent="TimelineElement"
|
|
abstract="1"
|
|
glib:type-name="GESTrackElement"
|
|
glib:get-type="ges_track_element_get_type"
|
|
glib:type-struct="TrackElementClass">
|
|
<doc xml:space="preserve">#GESTrackElement is the Base Class for any object that can be contained in a
|
|
#GESTrack.
|
|
|
|
It contains the basic information as to the location of the object within
|
|
its container, like the start position, the inpoint, the duration and the
|
|
priority.</doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<virtual-method name="active_changed">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="active" transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="changed">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="create_element" introspectable="0">
|
|
<return-value>
|
|
<type name="Gst.Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="create_gnl_object" introspectable="0">
|
|
<return-value>
|
|
<type name="Gst.Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="list_children_properties" introspectable="0">
|
|
<return-value>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec**"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="n_properties" transfer-ownership="none">
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<virtual-method name="lookup_child"
|
|
invoker="lookup_child"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Looks up which @element and @pspec would be effected by the given @name. If various
|
|
contained elements have this property name you will get the first one, unless you
|
|
specify the class name in @name.</doc>
|
|
<doc-deprecated xml:space="preserve">Use #ges_timeline_element_lookup_child</doc-deprecated>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">TRUE if @element and @pspec could be found. FALSE otherwise. In that
|
|
case the values for @pspec and @element are not modified. Unref @element after
|
|
usage.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve">object to lookup the property in</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="prop_name" transfer-ownership="none">
|
|
<doc xml:space="preserve">name of the property to look up. You can specify the name of the
|
|
class as such: "ClassName::property-name", to guarantee that you get the
|
|
proper GParamSpec in case various GstElement-s contain the same property
|
|
name. If you don't do so, you will get the first element found, having
|
|
this property and the and the corresponding GParamSpec.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="element"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">pointer to a #GstElement that
|
|
takes the real object to set property on</doc>
|
|
<type name="Gst.Element" c:type="GstElement**"/>
|
|
</parameter>
|
|
<parameter name="pspec"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">pointer to take the #GParamSpec
|
|
describing the property</doc>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</virtual-method>
|
|
<method name="add_children_props"
|
|
c:identifier="ges_track_element_add_children_props">
|
|
<doc xml:space="preserve">Looks for the properties defines with the various parametters and add
|
|
them to the hashtable of children properties.
|
|
|
|
To be used by subclasses only</doc>
|
|
<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">The #GESTrackElement to set chidlren props on</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="element" transfer-ownership="none">
|
|
<doc xml:space="preserve">The GstElement to retrieve properties from</doc>
|
|
<type name="Gst.Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="wanted_categories"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">
|
|
An array of categories of GstElement to
|
|
take into account (as defined in the factory meta "klass" field)</doc>
|
|
<array c:type="const gchar**">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</array>
|
|
</parameter>
|
|
<parameter name="blacklist"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">A
|
|
blacklist of elements factory names to not take into account</doc>
|
|
<array c:type="const gchar**">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</array>
|
|
</parameter>
|
|
<parameter name="whitelist"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">A list
|
|
of propery names to add as children properties</doc>
|
|
<array c:type="const gchar**">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</array>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="edit" c:identifier="ges_track_element_edit">
|
|
<doc xml:space="preserve">Edit @object in the different exisiting #GESEditMode modes. In the case of
|
|
slide, and roll, you need to specify a #GESEdge</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the object as been edited properly, %FALSE if an error
|
|
occured</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESTrackElement to edit</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="layers" transfer-ownership="none">
|
|
<doc xml:space="preserve">The layers you want the edit to
|
|
happen in, %NULL means that the edition is done in all the
|
|
#GESLayers contained in the current timeline.
|
|
FIXME: This is not implemented yet.</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Layer"/>
|
|
</type>
|
|
</parameter>
|
|
<parameter name="mode" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESEditMode in which the edition will happen.</doc>
|
|
<type name="EditMode" c:type="GESEditMode"/>
|
|
</parameter>
|
|
<parameter name="edge" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESEdge the edit should happen on.</doc>
|
|
<type name="Edge" c:type="GESEdge"/>
|
|
</parameter>
|
|
<parameter name="position" transfer-ownership="none">
|
|
<doc xml:space="preserve">The position at which to edit @object (in nanosecond)</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_all_control_bindings"
|
|
c:identifier="ges_track_element_get_all_control_bindings">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">A
|
|
#GHashTable containing all property_name: GstControlBinding</doc>
|
|
<type name="GLib.HashTable" c:type="GHashTable*">
|
|
<type name="utf8"/>
|
|
<type name="Gst.ControlBinding"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="trackelement" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #TrackElement from which to get all set bindings</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_child_properties"
|
|
c:identifier="ges_track_element_get_child_properties"
|
|
introspectable="0"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Gets properties of a child of @object.</doc>
|
|
<doc-deprecated xml:space="preserve">Use #ges_timeline_element_get_child_properties</doc-deprecated>
|
|
<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">The origin #GESTrackElement</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="first_property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve">The 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">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_property"
|
|
c:identifier="ges_track_element_get_child_property"
|
|
introspectable="0"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">In general, a copy is made of the property contents and
|
|
the caller is responsible for freeing the memory by calling
|
|
g_value_unset().
|
|
|
|
Gets a property of a GstElement contained in @object.
|
|
|
|
Note that #ges_track_element_get_child_property is really
|
|
intended for language bindings, #ges_track_element_get_child_properties
|
|
is much more convenient for C programming.</doc>
|
|
<doc-deprecated xml:space="preserve">Use #ges_timeline_element_get_child_property</doc-deprecated>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the property was found, %FALSE otherwize</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve">The origin #GESTrackElement</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve">The 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">return location for the property value, it will
|
|
be initialized if it is initialized with 0</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_child_property_by_pspec"
|
|
c:identifier="ges_track_element_get_child_property_by_pspec"
|
|
introspectable="0"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Gets a property of a child of @object.</doc>
|
|
<doc-deprecated xml:space="preserve">Use #ges_timeline_element_get_child_property_by_pspec</doc-deprecated>
|
|
<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">a #GESTrackElement</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="pspec" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GParamSpec that specifies the property you want to get</doc>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
|
|
</parameter>
|
|
<parameter name="value"
|
|
direction="out"
|
|
caller-allocates="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">return location for the value</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_child_property_valist"
|
|
c:identifier="ges_track_element_get_child_property_valist"
|
|
introspectable="0"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Gets a property of a child of @object. If there are various child elements
|
|
that have the same property name, you can distinguish them using the following
|
|
syntax: 'ClasseName::property_name' as property name. If you don't, the
|
|
corresponding property of the first element found will be set.</doc>
|
|
<doc-deprecated xml:space="preserve">Use #ges_timeline_element_get_child_property_valist</doc-deprecated>
|
|
<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">The #GESTrackElement parent object</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="first_property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve">The 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">value 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="get_control_binding"
|
|
c:identifier="ges_track_element_get_control_binding">
|
|
<doc xml:space="preserve">Looks up the various controlled properties for that #GESTrackElement,
|
|
and returns the #GstControlBinding which controls @property_name.</doc>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">the #GstControlBinding associated with
|
|
@property_name, or %NULL if that property is not controlled.</doc>
|
|
<type name="Gst.ControlBinding" c:type="GstControlBinding*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESTrackElement in which to lookup the bindings.</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve">The property_name to which the binding is associated.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_element" c:identifier="ges_track_element_get_element">
|
|
<doc xml:space="preserve">Get the #GstElement this track element is controlling within GNonLin.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GstElement this track element is controlling
|
|
within GNonLin.</doc>
|
|
<type name="Gst.Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTrackElement</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_gnlobject"
|
|
c:identifier="ges_track_element_get_gnlobject"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Get the NleObject object this object is controlling.</doc>
|
|
<doc-deprecated xml:space="preserve">use #ges_track_element_get_nleobject instead.</doc-deprecated>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">the NleObject object this object is controlling.</doc>
|
|
<type name="Gst.Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTrackElement</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_nleobject"
|
|
c:identifier="ges_track_element_get_nleobject"
|
|
version="1.6">
|
|
<doc xml:space="preserve">Get the GNonLin object this object is controlling.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">the GNonLin object this object is controlling.</doc>
|
|
<type name="Gst.Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTrackElement</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_track" c:identifier="ges_track_element_get_track">
|
|
<doc xml:space="preserve">Get the #GESTrack to which this object belongs.</doc>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">The #GESTrack to which this object
|
|
belongs. Can be %NULL if it is not in any track</doc>
|
|
<type name="Track" c:type="GESTrack*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTrackElement</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_track_type"
|
|
c:identifier="ges_track_element_get_track_type">
|
|
<return-value transfer-ownership="none">
|
|
<type name="TrackType" c:type="GESTrackType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_active" c:identifier="ges_track_element_is_active">
|
|
<doc xml:space="preserve">Lets you know if @object will be used for playback and rendering,
|
|
or not.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @object is active, %FALSE otherwize</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTrackElement</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="list_children_properties"
|
|
c:identifier="ges_track_element_list_children_properties"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Gets an array of #GParamSpec* for all configurable properties of the
|
|
children of @object.</doc>
|
|
<doc-deprecated xml:space="preserve">Use #ges_timeline_element_list_children_properties</doc-deprecated>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">an array of #GParamSpec* which should be freed after use or
|
|
%NULL if something went wrong</doc>
|
|
<array length="0" zero-terminated="0" c:type="GParamSpec**">
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
|
|
</array>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESTrackElement to get the list of children properties from</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="n_properties"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full">
|
|
<doc xml:space="preserve">return location for the length of the returned array</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="lookup_child"
|
|
c:identifier="ges_track_element_lookup_child"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Looks up which @element and @pspec would be effected by the given @name. If various
|
|
contained elements have this property name you will get the first one, unless you
|
|
specify the class name in @name.</doc>
|
|
<doc-deprecated xml:space="preserve">Use #ges_timeline_element_lookup_child</doc-deprecated>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">TRUE if @element and @pspec could be found. FALSE otherwise. In that
|
|
case the values for @pspec and @element are not modified. Unref @element after
|
|
usage.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve">object to lookup the property in</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="prop_name" transfer-ownership="none">
|
|
<doc xml:space="preserve">name of the property to look up. You can specify the name of the
|
|
class as such: "ClassName::property-name", to guarantee that you get the
|
|
proper GParamSpec in case various GstElement-s contain the same property
|
|
name. If you don't do so, you will get the first element found, having
|
|
this property and the and the corresponding GParamSpec.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="element"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">pointer to a #GstElement that
|
|
takes the real object to set property on</doc>
|
|
<type name="Gst.Element" c:type="GstElement**"/>
|
|
</parameter>
|
|
<parameter name="pspec"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">pointer to take the #GParamSpec
|
|
describing the property</doc>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="remove_control_binding"
|
|
c:identifier="ges_track_element_remove_control_binding">
|
|
<doc xml:space="preserve">Removes a #GstControlBinding from @object.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the binding could be removed, %FALSE if an error
|
|
occured</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESTrackElement on which to set a control binding</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve">The name of the property to control.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_active" c:identifier="ges_track_element_set_active">
|
|
<doc xml:space="preserve">Sets the usage of the @object. If @active is %TRUE, the object will be used for
|
|
playback and rendering, else it will be ignored.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the property was toggled, else %FALSE</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTrackElement</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="active" transfer-ownership="none">
|
|
<doc xml:space="preserve">visibility</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_child_properties"
|
|
c:identifier="ges_track_element_set_child_properties"
|
|
introspectable="0"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Sets a property of a child of @object. If there are various child elements
|
|
that have the same property name, you can distinguish them using the following
|
|
syntax: 'ClasseName::property_name' as property name. If you don't, the
|
|
corresponding property of the first element found will be set.</doc>
|
|
<doc-deprecated xml:space="preserve">Use #ges_timeline_element_set_child_properties</doc-deprecated>
|
|
<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">The #GESTrackElement parent object</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="first_property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve">The 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">value for the first property, followed optionally by more
|
|
name/return location pairs, followed by NULL</doc>
|
|
<varargs/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_child_property"
|
|
c:identifier="ges_track_element_set_child_property"
|
|
introspectable="0"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Sets a property of a GstElement contained in @object.
|
|
|
|
Note that #ges_track_element_set_child_property is really
|
|
intended for language bindings, #ges_track_element_set_child_properties
|
|
is much more convenient for C programming.</doc>
|
|
<doc-deprecated xml:space="preserve">use #ges_timeline_element_set_child_property instead</doc-deprecated>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the property was set, %FALSE otherwize</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve">The origin #GESTrackElement</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve">The name of the property</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve">the value</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_child_property_by_pspec"
|
|
c:identifier="ges_track_element_set_child_property_by_pspec"
|
|
introspectable="0"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Sets a property of a child of @object.</doc>
|
|
<doc-deprecated xml:space="preserve">Use #ges_timeline_element_set_child_property_by_spec</doc-deprecated>
|
|
<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">a #GESTrackElement</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="pspec" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GParamSpec that specifies the property you want to set</doc>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
|
|
</parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve">the value</doc>
|
|
<type name="GObject.Value" c:type="GValue*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_child_property_valist"
|
|
c:identifier="ges_track_element_set_child_property_valist"
|
|
introspectable="0"
|
|
deprecated="1">
|
|
<doc xml:space="preserve">Sets a property of a child of @object. If there are various child elements
|
|
that have the same property name, you can distinguish them using the following
|
|
syntax: 'ClasseName::property_name' as property name. If you don't, the
|
|
corresponding property of the first element found will be set.</doc>
|
|
<doc-deprecated xml:space="preserve">Use #ges_timeline_element_set_child_property_valist</doc-deprecated>
|
|
<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">The #GESTrackElement parent object</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="first_property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve">The 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">value 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="set_control_source"
|
|
c:identifier="ges_track_element_set_control_source">
|
|
<doc xml:space="preserve">Creates a #GstControlBinding and adds it to the #GstElement concerned by the
|
|
property. Use the same syntax as #ges_track_element_lookup_child for
|
|
the property name.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the binding could be created and added, %FALSE if an error
|
|
occured</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESTrackElement on which to set a control binding</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="source" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GstControlSource to set on the binding.</doc>
|
|
<type name="Gst.ControlSource" c:type="GstControlSource*"/>
|
|
</parameter>
|
|
<parameter name="property_name" transfer-ownership="none">
|
|
<doc xml:space="preserve">The name of the property to control.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="binding_type" transfer-ownership="none">
|
|
<doc xml:space="preserve">The type of binding to create. Currently the following values are valid:
|
|
- "direct": See #gst_direct_control_binding_new
|
|
- "direct-absolute": See #gst_direct_control_binding_new_absolute</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_track_type"
|
|
c:identifier="ges_track_element_set_track_type">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="object" transfer-ownership="none">
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</instance-parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<type name="TrackType" c:type="GESTrackType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="active" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve">Whether the object should be taken into account in the #GESTrack output.
|
|
If #FALSE, then its contents will not be used in the resulting track.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</property>
|
|
<property name="track" transfer-ownership="none">
|
|
<type name="Track"/>
|
|
</property>
|
|
<property name="track-type"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<type name="TrackType"/>
|
|
</property>
|
|
<field name="parent">
|
|
<type name="TimelineElement" c:type="GESTimelineElement"/>
|
|
</field>
|
|
<field name="active" readable="0" private="1">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="TrackElementPrivate" c:type="GESTrackElementPrivate*"/>
|
|
</field>
|
|
<field name="asset" readable="0" private="1">
|
|
<type name="Asset" c:type="GESAsset*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="20">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<glib:signal name="control-binding-added" when="first">
|
|
<doc xml:space="preserve">The control-binding-added signal is emitted each time a control binding
|
|
is added for a child property of @track_element</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="control_binding" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GstControlBinding that has been added</doc>
|
|
<type name="Gst.ControlBinding"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
<glib:signal name="control-binding-removed" when="first">
|
|
<doc xml:space="preserve">The control-binding-removed signal is emitted each time a control binding
|
|
is removed for a child property of @track_element</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="control_binding" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GstControlBinding that has been removed</doc>
|
|
<type name="Gst.ControlBinding"/>
|
|
</parameter>
|
|
</parameters>
|
|
</glib:signal>
|
|
</class>
|
|
<class name="TrackElementAsset"
|
|
c:symbol-prefix="track_element_asset"
|
|
c:type="GESTrackElementAsset"
|
|
parent="Asset"
|
|
glib:type-name="GESTrackElementAsset"
|
|
glib:get-type="ges_track_element_asset_get_type"
|
|
glib:type-struct="TrackElementAssetClass">
|
|
<implements name="MetaContainer"/>
|
|
<implements name="Gio.AsyncInitable"/>
|
|
<implements name="Gio.Initable"/>
|
|
<method name="get_track_type"
|
|
c:identifier="ges_track_element_asset_get_track_type">
|
|
<doc xml:space="preserve">Get the GESAssetTrackType the #GESTrackElement extracted from @self
|
|
should get into</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESTrackType</doc>
|
|
<type name="TrackType" c:type="const GESTrackType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="asset" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESAssetObject</doc>
|
|
<type name="TrackElementAsset" c:type="GESTrackElementAsset*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_track_type"
|
|
c:identifier="ges_track_element_asset_set_track_type">
|
|
<doc xml:space="preserve">Set the #GESAssetTrackType the #GESTrackElement extracted from @self
|
|
should get into</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="asset" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESAssetObject</doc>
|
|
<type name="TrackElementAsset" c:type="GESTrackElementAsset*"/>
|
|
</instance-parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESTrackType</doc>
|
|
<type name="TrackType" c:type="GESTrackType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="track-type"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<type name="TrackType"/>
|
|
</property>
|
|
<field name="parent">
|
|
<type name="Asset" c:type="GESAsset"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="TrackElementAssetPrivate"
|
|
c:type="GESTrackElementAssetPrivate*"/>
|
|
</field>
|
|
<field name="__ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="TrackElementAssetClass"
|
|
c:type="GESTrackElementAssetClass"
|
|
glib:is-gtype-struct-for="TrackElementAsset">
|
|
<field name="parent_class">
|
|
<type name="AssetClass" c:type="GESAssetClass"/>
|
|
</field>
|
|
<field name="_ges_reserved">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="TrackElementAssetPrivate"
|
|
c:type="GESTrackElementAssetPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<record name="TrackElementClass"
|
|
c:type="GESTrackElementClass"
|
|
glib:is-gtype-struct-for="TrackElement">
|
|
<doc xml:space="preserve">Subclasses can override the @create_gnl_object method to override what type
|
|
of GNonLin object will be created.</doc>
|
|
<field name="parent_class" readable="0" private="1">
|
|
<type name="TimelineElementClass" c:type="GESTimelineElementClass"/>
|
|
</field>
|
|
<field name="nleobject_factorytype">
|
|
<doc xml:space="preserve">name of the GNonLin GStElementFactory type to use.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</field>
|
|
<field name="create_gnl_object" introspectable="0">
|
|
<callback name="create_gnl_object" introspectable="0">
|
|
<return-value>
|
|
<type name="Gst.Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="create_element" introspectable="0">
|
|
<callback name="create_element" introspectable="0">
|
|
<return-value>
|
|
<type name="Gst.Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="active_changed">
|
|
<callback name="active_changed">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</parameter>
|
|
<parameter name="active" transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="changed">
|
|
<callback name="changed">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="list_children_properties" introspectable="0">
|
|
<callback name="list_children_properties" introspectable="0">
|
|
<return-value>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec**"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</parameter>
|
|
<parameter name="n_properties" transfer-ownership="none">
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="lookup_child">
|
|
<callback name="lookup_child">
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">TRUE if @element and @pspec could be found. FALSE otherwise. In that
|
|
case the values for @pspec and @element are not modified. Unref @element after
|
|
usage.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<doc xml:space="preserve">object to lookup the property in</doc>
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</parameter>
|
|
<parameter name="prop_name" transfer-ownership="none">
|
|
<doc xml:space="preserve">name of the property to look up. You can specify the name of the
|
|
class as such: "ClassName::property-name", to guarantee that you get the
|
|
proper GParamSpec in case various GstElement-s contain the same property
|
|
name. If you don't do so, you will get the first element found, having
|
|
this property and the and the corresponding GParamSpec.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="element"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">pointer to a #GstElement that
|
|
takes the real object to set property on</doc>
|
|
<type name="Gst.Element" c:type="GstElement**"/>
|
|
</parameter>
|
|
<parameter name="pspec"
|
|
direction="out"
|
|
caller-allocates="0"
|
|
transfer-ownership="full"
|
|
optional="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">pointer to take the #GParamSpec
|
|
describing the property</doc>
|
|
<type name="GObject.ParamSpec" c:type="GParamSpec**"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="20">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="TrackElementPrivate"
|
|
c:type="GESTrackElementPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<record name="TrackPrivate" c:type="GESTrackPrivate" disguised="1">
|
|
</record>
|
|
<bitfield name="TrackType"
|
|
glib:type-name="GESTrackType"
|
|
glib:get-type="ges_track_type_get_type"
|
|
c:type="GESTrackType">
|
|
<doc xml:space="preserve">Types of content handled by a track. If the content is not one of
|
|
@GES_TRACK_TYPE_AUDIO, @GES_TRACK_TYPE_VIDEO or @GES_TRACK_TYPE_TEXT,
|
|
the user of the #GESTrack must set the type to @GES_TRACK_TYPE_CUSTOM.
|
|
|
|
@GES_TRACK_TYPE_UNKNOWN is for internal purposes and should not be used
|
|
by users</doc>
|
|
<member name="unknown"
|
|
value="1"
|
|
c:identifier="GES_TRACK_TYPE_UNKNOWN"
|
|
glib:nick="unknown">
|
|
<doc xml:space="preserve">A track of unknown type (i.e. invalid)</doc>
|
|
</member>
|
|
<member name="audio"
|
|
value="2"
|
|
c:identifier="GES_TRACK_TYPE_AUDIO"
|
|
glib:nick="audio">
|
|
<doc xml:space="preserve">An audio track</doc>
|
|
</member>
|
|
<member name="video"
|
|
value="4"
|
|
c:identifier="GES_TRACK_TYPE_VIDEO"
|
|
glib:nick="video">
|
|
<doc xml:space="preserve">A video track</doc>
|
|
</member>
|
|
<member name="text"
|
|
value="8"
|
|
c:identifier="GES_TRACK_TYPE_TEXT"
|
|
glib:nick="text">
|
|
<doc xml:space="preserve">A text (subtitle) track</doc>
|
|
</member>
|
|
<member name="custom"
|
|
value="16"
|
|
c:identifier="GES_TRACK_TYPE_CUSTOM"
|
|
glib:nick="custom">
|
|
<doc xml:space="preserve">A custom-content track</doc>
|
|
</member>
|
|
<function name="name" c:identifier="ges_track_type_name">
|
|
<return-value transfer-ownership="none">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<type name="TrackType" c:type="GESTrackType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</bitfield>
|
|
<class name="Transition"
|
|
c:symbol-prefix="transition"
|
|
c:type="GESTransition"
|
|
parent="Operation"
|
|
abstract="1"
|
|
glib:type-name="GESTransition"
|
|
glib:get-type="ges_transition_get_type"
|
|
glib:type-struct="TransitionClass">
|
|
<doc xml:space="preserve">Base class for media transitions.</doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<field name="parent" readable="0" private="1">
|
|
<type name="Operation" c:type="GESOperation"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="TransitionPrivate" c:type="GESTransitionPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="TransitionClass"
|
|
c:type="GESTransitionClass"
|
|
glib:is-gtype-struct-for="Transition">
|
|
<field name="parent_class" readable="0" private="1">
|
|
<type name="OperationClass" c:type="GESOperationClass"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<class name="TransitionClip"
|
|
c:symbol-prefix="transition_clip"
|
|
c:type="GESTransitionClip"
|
|
parent="BaseTransitionClip"
|
|
glib:type-name="GESTransitionClip"
|
|
glib:get-type="ges_transition_clip_get_type"
|
|
glib:type-struct="TransitionClipClass">
|
|
<doc xml:space="preserve">Creates an object that mixes together the two underlying objects, A and B.
|
|
The A object is assumed to have a higher prioirity (lower number) than the
|
|
B object. At the transition in point, only A will be visible, and by the
|
|
end only B will be visible.
|
|
|
|
The shape of the video transition depends on the value of the "vtype"
|
|
property. The default value is "crossfade". For audio, only "crossfade" is
|
|
supported.
|
|
|
|
The ID of the ExtractableType is the nickname of the vtype property value. Note
|
|
that this value can be changed after creation and the GESExtractable.asset value
|
|
will be updated when needed.</doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<constructor name="new" c:identifier="ges_transition_clip_new">
|
|
<doc xml:space="preserve">Creates a new #GESTransitionClip.</doc>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">a newly created #GESTransitionClip,
|
|
or %NULL if something went wrong.</doc>
|
|
<type name="TransitionClip" c:type="GESTransitionClip*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="vtype" transfer-ownership="none">
|
|
<doc xml:space="preserve">the type of transition to create</doc>
|
|
<type name="VideoStandardTransitionType"
|
|
c:type="GESVideoStandardTransitionType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<constructor name="new_for_nick"
|
|
c:identifier="ges_transition_clip_new_for_nick">
|
|
<doc xml:space="preserve">Creates a new #GESTransitionClip for the provided @nick.</doc>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">The newly created #GESTransitionClip,
|
|
or %NULL if something went wrong</doc>
|
|
<type name="TransitionClip" c:type="GESTransitionClip*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="nick" transfer-ownership="none">
|
|
<doc xml:space="preserve">a string representing the type of transition to create</doc>
|
|
<type name="utf8" c:type="char*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<property name="vtype"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESVideoStandardTransitionType representing the wipe to use</doc>
|
|
<type name="VideoStandardTransitionType"/>
|
|
</property>
|
|
<field name="parent" readable="0" private="1">
|
|
<type name="BaseTransitionClip" c:type="GESBaseTransitionClip"/>
|
|
</field>
|
|
<field name="vtype">
|
|
<doc xml:space="preserve">a #GESVideoStandardTransitionType indicating the type of video transition
|
|
to apply.</doc>
|
|
<type name="VideoStandardTransitionType"
|
|
c:type="GESVideoStandardTransitionType"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="TransitionClipPrivate" c:type="GESTransitionClipPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="TransitionClipClass"
|
|
c:type="GESTransitionClipClass"
|
|
glib:is-gtype-struct-for="TransitionClip">
|
|
<field name="parent_class" readable="0" private="1">
|
|
<type name="BaseTransitionClipClass"
|
|
c:type="GESBaseTransitionClipClass"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="TransitionClipPrivate"
|
|
c:type="GESTransitionClipPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<record name="TransitionPrivate"
|
|
c:type="GESTransitionPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<class name="UriClip"
|
|
c:symbol-prefix="uri_clip"
|
|
c:type="GESUriClip"
|
|
parent="SourceClip"
|
|
glib:type-name="GESUriClip"
|
|
glib:get-type="ges_uri_clip_get_type"
|
|
glib:type-struct="UriClipClass">
|
|
<doc xml:space="preserve">Represents all the output streams from a particular uri. It is assumed that
|
|
the URI points to a file of some type.</doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<constructor name="new" c:identifier="ges_uri_clip_new">
|
|
<doc xml:space="preserve">Creates a new #GESUriClip for the provided @uri.</doc>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">The newly created #GESUriClip, or
|
|
%NULL if there was an error.</doc>
|
|
<type name="UriClip" c:type="GESUriClip*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve">the URI the source should control</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</constructor>
|
|
<method name="get_uri" c:identifier="ges_uri_clip_get_uri">
|
|
<doc xml:space="preserve">Get the location of the resource.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The location of the resource.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESUriClip</doc>
|
|
<type name="UriClip" c:type="GESUriClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_image" c:identifier="ges_uri_clip_is_image">
|
|
<doc xml:space="preserve">Lets you know if @self is an image or not.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @self is a still image %FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESUriClip</doc>
|
|
<type name="UriClip" c:type="GESUriClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_muted" c:identifier="ges_uri_clip_is_muted">
|
|
<doc xml:space="preserve">Lets you know if the audio track of @self is muted or not.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the audio track of @self is muted, %FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">the #GESUriClip</doc>
|
|
<type name="UriClip" c:type="GESUriClip*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_is_image" c:identifier="ges_uri_clip_set_is_image">
|
|
<doc xml:space="preserve">Sets whether the clip is a still image or not.</doc>
|
|
<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">the #GESUriClip</doc>
|
|
<type name="UriClip" c:type="GESUriClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="is_image" transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if @self is a still image, %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_mute" c:identifier="ges_uri_clip_set_mute">
|
|
<doc xml:space="preserve">Sets whether the audio track of this clip is muted or not.</doc>
|
|
<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">the #GESUriClip on which to mute or unmute the audio track</doc>
|
|
<type name="UriClip" c:type="GESUriClip*"/>
|
|
</instance-parameter>
|
|
<parameter name="mute" transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE to mute @self audio track, %FALSE to unmute it</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="is-image"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">Whether this uri clip represents a still image or not. This must be set
|
|
before create_track_elements is called.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</property>
|
|
<property name="mute"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">Whether the sound will be played or not.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</property>
|
|
<property name="supported-formats"
|
|
writable="1"
|
|
construct="1"
|
|
transfer-ownership="none">
|
|
<type name="TrackType"/>
|
|
</property>
|
|
<property name="uri"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The location of the file/resource to use.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</property>
|
|
<field name="parent">
|
|
<type name="SourceClip" c:type="GESSourceClip"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="UriClipPrivate" c:type="GESUriClipPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<class name="UriClipAsset"
|
|
c:symbol-prefix="uri_clip_asset"
|
|
c:type="GESUriClipAsset"
|
|
parent="ClipAsset"
|
|
glib:type-name="GESUriClipAsset"
|
|
glib:get-type="ges_uri_clip_asset_get_type"
|
|
glib:type-struct="UriClipAssetClass">
|
|
<doc xml:space="preserve">The #GESUriClipAsset is a special #GESAsset that lets you handle
|
|
the media file to use inside the GStreamer Editing Services. It has APIs that
|
|
let you get information about the medias. Also, the tags found in the media file are
|
|
set as Metadata of the Asset.</doc>
|
|
<implements name="MetaContainer"/>
|
|
<implements name="Gio.AsyncInitable"/>
|
|
<implements name="Gio.Initable"/>
|
|
<function name="finish"
|
|
c:identifier="ges_uri_clip_asset_finish"
|
|
throws="1">
|
|
<doc xml:space="preserve">Finalize the request of an async #GESUriClipAsset</doc>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">The #GESUriClipAsset previously requested</doc>
|
|
<type name="UriClipAsset" c:type="GESUriClipAsset*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="res" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GAsyncResult from which to get the newly created #GESUriClipAsset</doc>
|
|
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="new" c:identifier="ges_uri_clip_asset_new">
|
|
<doc xml:space="preserve">Creates a #GESUriClipAsset for @uri
|
|
|
|
Example of request of a GESUriClipAsset:
|
|
|[
|
|
// The request callback
|
|
static void
|
|
filesource_asset_loaded_cb (GESAsset * source, GAsyncResult * res, gpointer user_data)
|
|
{
|
|
GError *error = NULL;
|
|
GESUriClipAsset *filesource_asset;
|
|
|
|
filesource_asset = ges_uri_clip_asset_finish (res, &error);
|
|
if (filesource_asset) {
|
|
g_print ("The file: %s is usable as a FileSource, it is%s an image and lasts %" GST_TIME_FORMAT,
|
|
ges_asset_get_id (GES_ASSET (filesource_asset))
|
|
ges_uri_clip_asset_is_image (filesource_asset) ? "" : " not",
|
|
GST_TIME_ARGS (ges_uri_clip_asset_get_duration (filesource_asset));
|
|
} else {
|
|
g_print ("The file: %s is *not* usable as a FileSource because: %s",
|
|
ges_asset_get_id (source), error->message);
|
|
}
|
|
|
|
gst_object_unref (mfs);
|
|
}
|
|
|
|
// The request:
|
|
ges_uri_clip_asset_new (uri, (GAsyncReadyCallback) filesource_asset_loaded_cb, user_data);
|
|
]|</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve">The URI of the file for which to create a #GESUriClipAsset</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="cancellable"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">optional %GCancellable object, %NULL to ignore.</doc>
|
|
<type name="Gio.Cancellable" c:type="GCancellable*"/>
|
|
</parameter>
|
|
<parameter name="callback"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
scope="async"
|
|
closure="3">
|
|
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the initialization is finished</doc>
|
|
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<doc xml:space="preserve">The user data to pass when @callback is called</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="request_sync"
|
|
c:identifier="ges_uri_clip_asset_request_sync"
|
|
throws="1">
|
|
<doc xml:space="preserve">Creates a #GESUriClipAsset for @uri syncronously. You should avoid
|
|
to use it in application, and rather create #GESUriClipAsset asynchronously</doc>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">A reference to the requested asset or %NULL if
|
|
an error happened</doc>
|
|
<type name="UriClipAsset" c:type="GESUriClipAsset*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<doc xml:space="preserve">The URI of the file for which to create a #GESUriClipAsset.
|
|
You can also use multi file uris for #GESMultiFileSource.</doc>
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<method name="get_duration"
|
|
c:identifier="ges_uri_clip_asset_get_duration">
|
|
<doc xml:space="preserve">Gets duration of the file represented by @self</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The duration of @self</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESUriClipAsset</doc>
|
|
<type name="UriClipAsset" c:type="GESUriClipAsset*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_info" c:identifier="ges_uri_clip_asset_get_info">
|
|
<doc xml:space="preserve">Gets #GstDiscovererInfo about the file</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">#GstDiscovererInfo of specified asset</doc>
|
|
<type name="GstPbutils.DiscovererInfo" c:type="GstDiscovererInfo*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">Target asset</doc>
|
|
<type name="UriClipAsset" c:type="const GESUriClipAsset*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_stream_assets"
|
|
c:identifier="ges_uri_clip_asset_get_stream_assets">
|
|
<doc xml:space="preserve">Get the GESUriSourceAsset @self containes</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">a
|
|
#GList of #GESUriSourceAsset</doc>
|
|
<type name="GLib.List" c:type="const GList*">
|
|
<type name="UriSourceAsset"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESUriClipAsset</doc>
|
|
<type name="UriClipAsset" c:type="GESUriClipAsset*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_image" c:identifier="ges_uri_clip_asset_is_image">
|
|
<doc xml:space="preserve">Gets Whether the file represented by @self is an image or not</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">Whether the file represented by @self is an image or not</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #indent: Standard input:311: Error:Unexpected end of file
|
|
GESUriClipAsset</doc>
|
|
<type name="UriClipAsset" c:type="GESUriClipAsset*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="duration" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve">The duration (in nanoseconds) of the media file</doc>
|
|
<type name="guint64" c:type="guint64"/>
|
|
</property>
|
|
<field name="parent">
|
|
<type name="ClipAsset" c:type="GESClipAsset"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="UriClipAssetPrivate" c:type="GESUriClipAssetPrivate*"/>
|
|
</field>
|
|
<field name="__ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="UriClipAssetClass"
|
|
c:type="GESUriClipAssetClass"
|
|
glib:is-gtype-struct-for="UriClipAsset">
|
|
<field name="parent_class">
|
|
<type name="ClipAssetClass" c:type="GESClipAssetClass"/>
|
|
</field>
|
|
<field name="discoverer" readable="0" private="1">
|
|
<type name="GstPbutils.Discoverer" c:type="GstDiscoverer*"/>
|
|
</field>
|
|
<field name="sync_discoverer" readable="0" private="1">
|
|
<type name="GstPbutils.Discoverer" c:type="GstDiscoverer*"/>
|
|
</field>
|
|
<field name="discovered">
|
|
<callback name="discovered">
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="discoverer" transfer-ownership="none">
|
|
<type name="GstPbutils.Discoverer" c:type="GstDiscoverer*"/>
|
|
</parameter>
|
|
<parameter name="info" transfer-ownership="none">
|
|
<type name="GstPbutils.DiscovererInfo"
|
|
c:type="GstDiscovererInfo*"/>
|
|
</parameter>
|
|
<parameter name="err" transfer-ownership="none">
|
|
<type name="GLib.Error" c:type="GError*"/>
|
|
</parameter>
|
|
<parameter name="user_data"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1"
|
|
closure="3">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="3">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<method name="set_timeout"
|
|
c:identifier="ges_uri_clip_asset_class_set_timeout">
|
|
<doc xml:space="preserve">Sets the timeout of #GESUriClipAsset loading</doc>
|
|
<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">The #GESUriClipAssetClass on which to set the discoverer timeout</doc>
|
|
<type name="UriClipAssetClass" c:type="GESUriClipAssetClass*"/>
|
|
</instance-parameter>
|
|
<parameter name="timeout" transfer-ownership="none">
|
|
<doc xml:space="preserve">The timeout to set</doc>
|
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
</record>
|
|
<record name="UriClipAssetPrivate"
|
|
c:type="GESUriClipAssetPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<record name="UriClipClass"
|
|
c:type="GESUriClipClass"
|
|
glib:is-gtype-struct-for="UriClip">
|
|
<field name="parent_class" readable="0" private="1">
|
|
<type name="SourceClipClass" c:type="GESSourceClipClass"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="UriClipPrivate" c:type="GESUriClipPrivate" disguised="1">
|
|
</record>
|
|
<class name="UriSourceAsset"
|
|
c:symbol-prefix="uri_source_asset"
|
|
c:type="GESUriSourceAsset"
|
|
parent="TrackElementAsset"
|
|
glib:type-name="GESUriSourceAsset"
|
|
glib:get-type="ges_uri_source_asset_get_type"
|
|
glib:type-struct="UriSourceAssetClass">
|
|
<doc xml:space="preserve">NOTE: You should never request such a #GESAsset as they will be created automatically
|
|
by #GESUriClipAsset-s.</doc>
|
|
<implements name="MetaContainer"/>
|
|
<implements name="Gio.AsyncInitable"/>
|
|
<implements name="Gio.Initable"/>
|
|
<method name="get_filesource_asset"
|
|
c:identifier="ges_uri_source_asset_get_filesource_asset">
|
|
<doc xml:space="preserve">Get the #GESUriClipAsset @self is contained in</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESUriClipAsset</doc>
|
|
<type name="UriClipAsset" c:type="const GESUriClipAsset*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="asset" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESUriClipAsset</doc>
|
|
<type name="UriSourceAsset" c:type="GESUriSourceAsset*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_stream_info"
|
|
c:identifier="ges_uri_source_asset_get_stream_info">
|
|
<doc xml:space="preserve">Get the #GstDiscovererStreamInfo user by @asset</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESUriClipAsset</doc>
|
|
<type name="GstPbutils.DiscovererStreamInfo"
|
|
c:type="GstDiscovererStreamInfo*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="asset" transfer-ownership="none">
|
|
<doc xml:space="preserve">A #GESUriClipAsset</doc>
|
|
<type name="UriSourceAsset" c:type="GESUriSourceAsset*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_stream_uri"
|
|
c:identifier="ges_uri_source_asset_get_stream_uri">
|
|
<return-value transfer-ownership="none">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="asset" transfer-ownership="none">
|
|
<type name="UriSourceAsset" c:type="GESUriSourceAsset*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<field name="parent">
|
|
<type name="TrackElementAsset" c:type="GESTrackElementAsset"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="UriSourceAssetPrivate" c:type="GESUriSourceAssetPrivate*"/>
|
|
</field>
|
|
<field name="__ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="UriSourceAssetClass"
|
|
c:type="GESUriSourceAssetClass"
|
|
glib:is-gtype-struct-for="UriSourceAsset">
|
|
<field name="parent_class">
|
|
<type name="TrackElementAssetClass"
|
|
c:type="GESTrackElementAssetClass"/>
|
|
</field>
|
|
<field name="_ges_reserved">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="UriSourceAssetPrivate"
|
|
c:type="GESUriSourceAssetPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<constant name="VERSION_MAJOR" value="1" c:type="GES_VERSION_MAJOR">
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<constant name="VERSION_MICRO" value="0" c:type="GES_VERSION_MICRO">
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<constant name="VERSION_MINOR" value="16" c:type="GES_VERSION_MINOR">
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<constant name="VERSION_NANO" value="0" c:type="GES_VERSION_NANO">
|
|
<type name="gint" c:type="gint"/>
|
|
</constant>
|
|
<class name="VideoSource"
|
|
c:symbol-prefix="video_source"
|
|
c:type="GESVideoSource"
|
|
parent="Source"
|
|
abstract="1"
|
|
glib:type-name="GESVideoSource"
|
|
glib:get-type="ges_video_source_get_type"
|
|
glib:type-struct="VideoSourceClass">
|
|
<doc xml:space="preserve"># Children Properties:
|
|
You can use the following children properties through the
|
|
#ges_track_element_set_child_property and alike set of methods:
|
|
|
|
<informaltable frame="none">
|
|
<tgroup cols="3">
|
|
<colspec colname="properties_type" colwidth="150px"/>
|
|
<colspec colname="properties_name" colwidth="200px"/>
|
|
<colspec colname="properties_flags" colwidth="400px"/>
|
|
<tbody>
|
|
<row>
|
|
<entry role="property_type"><link linkend="gdouble"><type>double</type></link></entry>
|
|
<entry role="property_name"><link linkend="GESVideoSource--alpha">alpha</link></entry>
|
|
<entry>The desired alpha for the stream.</entry>
|
|
</row>
|
|
<row>
|
|
<entry role="property_type"><link linkend="gint"><type>gint</type></link></entry>
|
|
<entry role="property_name"><link linkend="GESVideoSource--posx">posx</link></entry>
|
|
<entry>The desired x position for the stream.</entry>
|
|
</row>
|
|
<row>
|
|
<entry role="property_type"><link linkend="gint"><type>gint</type></link></entry>
|
|
<entry role="property_name"><link linkend="GESVideoSource--posy">posy</link></entry>
|
|
<entry>The desired y position for the stream</entry>
|
|
</row>
|
|
<row>
|
|
<entry role="property_type"><link linkend="gint"><type>gint</type></link></entry>
|
|
<entry role="property_name"><link linkend="GESVideoSource--width">width</link></entry>
|
|
<entry>The desired width for that source. Set to 0 if size is not mandatory, will be set to width of the current track.</entry>
|
|
</row>
|
|
<row>
|
|
<entry role="property_type"><link linkend="gint"><type>gint</type></link></entry>
|
|
<entry role="property_name"><link linkend="GESVideoSource--height">height</link></entry>
|
|
<entry>The desired height for that source. Set to 0 if size is not mandatory, will be set to height of the current track.</entry>
|
|
</row>
|
|
<row>
|
|
<entry role="property_type"><link linkend="GstDeinterlaceModes"><type>GstDeinterlaceModes</type></link></entry>
|
|
<entry role="property_name"><link linkend="GESVideoSource--deinterlace-mode">deinterlace-mode</link></entry>
|
|
<entry>Deinterlace Mode</entry>
|
|
</row>
|
|
<row>
|
|
<entry role="property_type"><link linkend="GstDeinterlaceFields"><type>GstDeinterlaceFields</type></link></entry>
|
|
<entry role="property_name"><link linkend="GESVideoSource--deinterlace-fields">deinterlace-fields</link></entry>
|
|
<entry>Fields to use for deinterlacing</entry>
|
|
</row>
|
|
<row>
|
|
<entry role="property_type"><link linkend="GstDeinterlaceFieldLayout"><type>GstDeinterlaceFieldLayout</type></link></entry>
|
|
<entry role="property_name"><link linkend="GESVideoSource--deinterlace-tff">deinterlace-tff</link></entry>
|
|
<entry>Deinterlace top field first</entry>
|
|
</row>
|
|
<row>
|
|
<entry role="property_type"><link linkend="GstVideoOrientationMethod"><type>GstVideoOrientationMethod</type></link></entry>
|
|
<entry role="property_name"><link linkend="GESVideoSource--video-direction">video-direction</link></entry>
|
|
<entry>The desired video rotation and flipping.</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</informaltable></doc>
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<field name="parent" readable="0" private="1">
|
|
<type name="Source" c:type="GESSource"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="VideoSourcePrivate" c:type="GESVideoSourcePrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="VideoSourceClass"
|
|
c:type="GESVideoSourceClass"
|
|
glib:is-gtype-struct-for="VideoSource">
|
|
<field name="parent_class" readable="0" private="1">
|
|
<type name="SourceClass" c:type="GESSourceClass"/>
|
|
</field>
|
|
<field name="create_source" introspectable="0">
|
|
<callback name="create_source" introspectable="0">
|
|
<return-value>
|
|
<type name="Gst.Element" c:type="GstElement*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="object" transfer-ownership="none">
|
|
<type name="TrackElement" c:type="GESTrackElement*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</field>
|
|
<union name="ABI" c:type="ABI">
|
|
<field name="_ges_reserved" writable="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
<record name="abi" c:type="abi">
|
|
<field name="disable_scale_in_compositor" writable="1">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</field>
|
|
</record>
|
|
</union>
|
|
</record>
|
|
<record name="VideoSourcePrivate"
|
|
c:type="GESVideoSourcePrivate"
|
|
disguised="1">
|
|
</record>
|
|
<enumeration name="VideoStandardTransitionType"
|
|
glib:type-name="GESVideoStandardTransitionType"
|
|
glib:get-type="ges_video_standard_transition_type_get_type"
|
|
c:type="GESVideoStandardTransitionType">
|
|
<member name="none"
|
|
value="0"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_NONE"
|
|
glib:nick="none">
|
|
<doc xml:space="preserve">Transition type has not been set,</doc>
|
|
</member>
|
|
<member name="bar_wipe_lr"
|
|
value="1"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_BAR_WIPE_LR"
|
|
glib:nick="bar-wipe-lr">
|
|
<doc xml:space="preserve">A bar moves from left to right,</doc>
|
|
</member>
|
|
<member name="bar_wipe_tb"
|
|
value="2"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_BAR_WIPE_TB"
|
|
glib:nick="bar-wipe-tb">
|
|
<doc xml:space="preserve">A bar moves from top to bottom,</doc>
|
|
</member>
|
|
<member name="box_wipe_tl"
|
|
value="3"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TL"
|
|
glib:nick="box-wipe-tl">
|
|
<doc xml:space="preserve">A box expands from the upper-left corner to the lower-right corner,</doc>
|
|
</member>
|
|
<member name="box_wipe_tr"
|
|
value="4"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TR"
|
|
glib:nick="box-wipe-tr">
|
|
<doc xml:space="preserve">A box expands from the upper-right corner to the lower-left corner,</doc>
|
|
</member>
|
|
<member name="box_wipe_br"
|
|
value="5"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BR"
|
|
glib:nick="box-wipe-br">
|
|
<doc xml:space="preserve">A box expands from the lower-right corner to the upper-left corner,</doc>
|
|
</member>
|
|
<member name="box_wipe_bl"
|
|
value="6"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BL"
|
|
glib:nick="box-wipe-bl">
|
|
<doc xml:space="preserve">A box expands from the lower-left corner to the upper-right corner,</doc>
|
|
</member>
|
|
<member name="four_box_wipe_ci"
|
|
value="7"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_FOUR_BOX_WIPE_CI"
|
|
glib:nick="four-box-wipe-ci">
|
|
<doc xml:space="preserve">A box shape expands from each of the four corners toward the center,</doc>
|
|
</member>
|
|
<member name="four_box_wipe_co"
|
|
value="8"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_FOUR_BOX_WIPE_CO"
|
|
glib:nick="four-box-wipe-co">
|
|
<doc xml:space="preserve">A box shape expands from the center of each quadrant toward the corners of each quadrant,</doc>
|
|
</member>
|
|
<member name="barndoor_v"
|
|
value="21"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_V"
|
|
glib:nick="barndoor-v">
|
|
<doc xml:space="preserve">A central, vertical line splits and expands toward the left and right edges,</doc>
|
|
</member>
|
|
<member name="barndoor_h"
|
|
value="22"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_H"
|
|
glib:nick="barndoor-h">
|
|
<doc xml:space="preserve">A central, horizontal line splits and expands toward the top and bottom edges,</doc>
|
|
</member>
|
|
<member name="box_wipe_tc"
|
|
value="23"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TC"
|
|
glib:nick="box-wipe-tc">
|
|
<doc xml:space="preserve">A box expands from the top edge's midpoint to the bottom corners,</doc>
|
|
</member>
|
|
<member name="box_wipe_rc"
|
|
value="24"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_RC"
|
|
glib:nick="box-wipe-rc">
|
|
<doc xml:space="preserve">A box expands from the right edge's midpoint to the left corners,</doc>
|
|
</member>
|
|
<member name="box_wipe_bc"
|
|
value="25"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BC"
|
|
glib:nick="box-wipe-bc">
|
|
<doc xml:space="preserve">A box expands from the bottom edge's midpoint to the top corners,</doc>
|
|
</member>
|
|
<member name="box_wipe_lc"
|
|
value="26"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_LC"
|
|
glib:nick="box-wipe-lc">
|
|
<doc xml:space="preserve">A box expands from the left edge's midpoint to the right corners,</doc>
|
|
</member>
|
|
<member name="diagonal_tl"
|
|
value="41"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_DIAGONAL_TL"
|
|
glib:nick="diagonal-tl">
|
|
<doc xml:space="preserve">A diagonal line moves from the upper-left corner to the lower-right corner,</doc>
|
|
</member>
|
|
<member name="diagonal_tr"
|
|
value="42"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_DIAGONAL_TR"
|
|
glib:nick="diagonal-tr">
|
|
<doc xml:space="preserve">A diagonal line moves from the upper right corner to the lower-left corner,</doc>
|
|
</member>
|
|
<member name="bowtie_v"
|
|
value="43"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_BOWTIE_V"
|
|
glib:nick="bowtie-v">
|
|
<doc xml:space="preserve">Two wedge shapes slide in from the top and bottom edges toward the center,</doc>
|
|
</member>
|
|
<member name="bowtie_h"
|
|
value="44"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_BOWTIE_H"
|
|
glib:nick="bowtie-h">
|
|
<doc xml:space="preserve">Two wedge shapes slide in from the left and right edges toward the center,</doc>
|
|
</member>
|
|
<member name="barndoor_dbl"
|
|
value="45"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_DBL"
|
|
glib:nick="barndoor-dbl">
|
|
<doc xml:space="preserve">A diagonal line from the lower-left to upper-right corners splits and expands toward the opposite corners,</doc>
|
|
</member>
|
|
<member name="barndoor_dtl"
|
|
value="46"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_DTL"
|
|
glib:nick="barndoor-dtl">
|
|
<doc xml:space="preserve">A diagonal line from upper-left to lower-right corners splits and expands toward the opposite corners,</doc>
|
|
</member>
|
|
<member name="misc_diagonal_dbd"
|
|
value="47"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_MISC_DIAGONAL_DBD"
|
|
glib:nick="misc-diagonal-dbd">
|
|
<doc xml:space="preserve">Four wedge shapes split from the center and retract toward the four edges,</doc>
|
|
</member>
|
|
<member name="misc_diagonal_dd"
|
|
value="48"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_MISC_DIAGONAL_DD"
|
|
glib:nick="misc-diagonal-dd">
|
|
<doc xml:space="preserve">A diamond connecting the four edge midpoints simultaneously contracts toward the center and expands toward the edges,</doc>
|
|
</member>
|
|
<member name="vee_d"
|
|
value="61"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_D"
|
|
glib:nick="vee-d">
|
|
<doc xml:space="preserve">A wedge shape moves from top to bottom,</doc>
|
|
</member>
|
|
<member name="vee_l"
|
|
value="62"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_L"
|
|
glib:nick="vee-l">
|
|
<doc xml:space="preserve">A wedge shape moves from right to left,</doc>
|
|
</member>
|
|
<member name="vee_u"
|
|
value="63"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_U"
|
|
glib:nick="vee-u">
|
|
<doc xml:space="preserve">A wedge shape moves from bottom to top,</doc>
|
|
</member>
|
|
<member name="vee_r"
|
|
value="64"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_R"
|
|
glib:nick="vee-r">
|
|
<doc xml:space="preserve">A wedge shape moves from left to right,</doc>
|
|
</member>
|
|
<member name="barnvee_d"
|
|
value="65"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_D"
|
|
glib:nick="barnvee-d">
|
|
<doc xml:space="preserve">A 'V' shape extending from the bottom edge's midpoint to the opposite corners contracts toward the center and expands toward the edges,</doc>
|
|
</member>
|
|
<member name="barnvee_l"
|
|
value="66"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_L"
|
|
glib:nick="barnvee-l">
|
|
<doc xml:space="preserve">A 'V' shape extending from the left edge's midpoint to the opposite corners contracts toward the center and expands toward the edges,</doc>
|
|
</member>
|
|
<member name="barnvee_u"
|
|
value="67"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_U"
|
|
glib:nick="barnvee-u">
|
|
<doc xml:space="preserve">A 'V' shape extending from the top edge's midpoint to the opposite corners contracts toward the center and expands toward the edges,</doc>
|
|
</member>
|
|
<member name="barnvee_r"
|
|
value="68"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_R"
|
|
glib:nick="barnvee-r">
|
|
<doc xml:space="preserve">A 'V' shape extending from the right edge's midpoint to the opposite corners contracts toward the center and expands toward the edges,</doc>
|
|
</member>
|
|
<member name="iris_rect"
|
|
value="101"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_IRIS_RECT"
|
|
glib:nick="iris-rect">
|
|
<doc xml:space="preserve">A rectangle expands from the center.,</doc>
|
|
</member>
|
|
<member name="clock_cw12"
|
|
value="201"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW12"
|
|
glib:nick="clock-cw12">
|
|
<doc xml:space="preserve">A radial hand sweeps clockwise from the twelve o'clock position,</doc>
|
|
</member>
|
|
<member name="clock_cw3"
|
|
value="202"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW3"
|
|
glib:nick="clock-cw3">
|
|
<doc xml:space="preserve">A radial hand sweeps clockwise from the three o'clock position,</doc>
|
|
</member>
|
|
<member name="clock_cw6"
|
|
value="203"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW6"
|
|
glib:nick="clock-cw6">
|
|
<doc xml:space="preserve">A radial hand sweeps clockwise from the six o'clock position,</doc>
|
|
</member>
|
|
<member name="clock_cw9"
|
|
value="204"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW9"
|
|
glib:nick="clock-cw9">
|
|
<doc xml:space="preserve">A radial hand sweeps clockwise from the nine o'clock position,</doc>
|
|
</member>
|
|
<member name="pinwheel_tbv"
|
|
value="205"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_TBV"
|
|
glib:nick="pinwheel-tbv">
|
|
<doc xml:space="preserve">Two radial hands sweep clockwise from the twelve and six o'clock positions,</doc>
|
|
</member>
|
|
<member name="pinwheel_tbh"
|
|
value="206"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_TBH"
|
|
glib:nick="pinwheel-tbh">
|
|
<doc xml:space="preserve">Two radial hands sweep clockwise from the nine and three o'clock positions,</doc>
|
|
</member>
|
|
<member name="pinwheel_fb"
|
|
value="207"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_FB"
|
|
glib:nick="pinwheel-fb">
|
|
<doc xml:space="preserve">Four radial hands sweep clockwise,</doc>
|
|
</member>
|
|
<member name="fan_ct"
|
|
value="211"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_CT"
|
|
glib:nick="fan-ct">
|
|
<doc xml:space="preserve">A fan unfolds from the top edge, the fan axis at the center,</doc>
|
|
</member>
|
|
<member name="fan_cr"
|
|
value="212"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_CR"
|
|
glib:nick="fan-cr">
|
|
<doc xml:space="preserve">A fan unfolds from the right edge, the fan axis at the center,</doc>
|
|
</member>
|
|
<member name="doublefan_fov"
|
|
value="213"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FOV"
|
|
glib:nick="doublefan-fov">
|
|
<doc xml:space="preserve">Two fans, their axes at the center, unfold from the top and bottom,</doc>
|
|
</member>
|
|
<member name="doublefan_foh"
|
|
value="214"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FOH"
|
|
glib:nick="doublefan-foh">
|
|
<doc xml:space="preserve">Two fans, their axes at the center, unfold from the left and right,</doc>
|
|
</member>
|
|
<member name="singlesweep_cwt"
|
|
value="221"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWT"
|
|
glib:nick="singlesweep-cwt">
|
|
<doc xml:space="preserve">A radial hand sweeps clockwise from the top edge's midpoint,</doc>
|
|
</member>
|
|
<member name="singlesweep_cwr"
|
|
value="222"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWR"
|
|
glib:nick="singlesweep-cwr">
|
|
<doc xml:space="preserve">A radial hand sweeps clockwise from the right edge's midpoint,</doc>
|
|
</member>
|
|
<member name="singlesweep_cwb"
|
|
value="223"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWB"
|
|
glib:nick="singlesweep-cwb">
|
|
<doc xml:space="preserve">A radial hand sweeps clockwise from the bottom edge's midpoint,</doc>
|
|
</member>
|
|
<member name="singlesweep_cwl"
|
|
value="224"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWL"
|
|
glib:nick="singlesweep-cwl">
|
|
<doc xml:space="preserve">A radial hand sweeps clockwise from the left edge's midpoint,</doc>
|
|
</member>
|
|
<member name="doublesweep_pv"
|
|
value="225"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PV"
|
|
glib:nick="doublesweep-pv">
|
|
<doc xml:space="preserve">Two radial hands sweep clockwise and counter-clockwise from the top and bottom edges' midpoints,</doc>
|
|
</member>
|
|
<member name="doublesweep_pd"
|
|
value="226"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PD"
|
|
glib:nick="doublesweep-pd">
|
|
<doc xml:space="preserve">Two radial hands sweep clockwise and counter-clockwise from the left and right edges' midpoints,</doc>
|
|
</member>
|
|
<member name="doublesweep_ov"
|
|
value="227"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_OV"
|
|
glib:nick="doublesweep-ov">
|
|
<doc xml:space="preserve">Two radial hands attached at the top and bottom edges' midpoints sweep from right to left,</doc>
|
|
</member>
|
|
<member name="doublesweep_oh"
|
|
value="228"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_OH"
|
|
glib:nick="doublesweep-oh">
|
|
<doc xml:space="preserve">Two radial hands attached at the left and right edges' midpoints sweep from top to bottom,</doc>
|
|
</member>
|
|
<member name="fan_t"
|
|
value="231"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_T"
|
|
glib:nick="fan-t">
|
|
<doc xml:space="preserve">A fan unfolds from the bottom, the fan axis at the top edge's midpoint,</doc>
|
|
</member>
|
|
<member name="fan_r"
|
|
value="232"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_R"
|
|
glib:nick="fan-r">
|
|
<doc xml:space="preserve">A fan unfolds from the left, the fan axis at the right edge's midpoint,</doc>
|
|
</member>
|
|
<member name="fan_b"
|
|
value="233"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_B"
|
|
glib:nick="fan-b">
|
|
<doc xml:space="preserve">A fan unfolds from the top, the fan axis at the bottom edge's midpoint,</doc>
|
|
</member>
|
|
<member name="fan_l"
|
|
value="234"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_L"
|
|
glib:nick="fan-l">
|
|
<doc xml:space="preserve">A fan unfolds from the right, the fan axis at the left edge's midpoint,</doc>
|
|
</member>
|
|
<member name="doublefan_fiv"
|
|
value="235"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FIV"
|
|
glib:nick="doublefan-fiv">
|
|
<doc xml:space="preserve">Two fans, their axes at the top and bottom, unfold from the center,</doc>
|
|
</member>
|
|
<member name="doublefan_fih"
|
|
value="236"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FIH"
|
|
glib:nick="doublefan-fih">
|
|
<doc xml:space="preserve">Two fans, their axes at the left and right, unfold from the center,</doc>
|
|
</member>
|
|
<member name="singlesweep_cwtl"
|
|
value="241"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWTL"
|
|
glib:nick="singlesweep-cwtl">
|
|
<doc xml:space="preserve">A radial hand sweeps clockwise from the upper-left corner,</doc>
|
|
</member>
|
|
<member name="singlesweep_cwbl"
|
|
value="242"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWBL"
|
|
glib:nick="singlesweep-cwbl">
|
|
<doc xml:space="preserve">A radial hand sweeps counter-clockwise from the lower-left corner.,</doc>
|
|
</member>
|
|
<member name="singlesweep_cwbr"
|
|
value="243"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWBR"
|
|
glib:nick="singlesweep-cwbr">
|
|
<doc xml:space="preserve">A radial hand sweeps clockwise from the lower-right corner,</doc>
|
|
</member>
|
|
<member name="singlesweep_cwtr"
|
|
value="244"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWTR"
|
|
glib:nick="singlesweep-cwtr">
|
|
<doc xml:space="preserve">A radial hand sweeps counter-clockwise from the upper-right corner,</doc>
|
|
</member>
|
|
<member name="doublesweep_pdtl"
|
|
value="245"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PDTL"
|
|
glib:nick="doublesweep-pdtl">
|
|
<doc xml:space="preserve">Two radial hands attached at the upper-left and lower-right corners sweep down and up,</doc>
|
|
</member>
|
|
<member name="doublesweep_pdbl"
|
|
value="246"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PDBL"
|
|
glib:nick="doublesweep-pdbl">
|
|
<doc xml:space="preserve">Two radial hands attached at the lower-left and upper-right corners sweep down and up,</doc>
|
|
</member>
|
|
<member name="saloondoor_t"
|
|
value="251"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_T"
|
|
glib:nick="saloondoor-t">
|
|
<doc xml:space="preserve">Two radial hands attached at the upper-left and upper-right corners sweep down,</doc>
|
|
</member>
|
|
<member name="saloondoor_l"
|
|
value="252"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_L"
|
|
glib:nick="saloondoor-l">
|
|
<doc xml:space="preserve">Two radial hands attached at the upper-left and lower-left corners sweep to the right,</doc>
|
|
</member>
|
|
<member name="saloondoor_b"
|
|
value="253"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_B"
|
|
glib:nick="saloondoor-b">
|
|
<doc xml:space="preserve">Two radial hands attached at the lower-left and lower-right corners sweep up,</doc>
|
|
</member>
|
|
<member name="saloondoor_r"
|
|
value="254"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_R"
|
|
glib:nick="saloondoor-r">
|
|
<doc xml:space="preserve">Two radial hands attached at the upper-right and lower-right corners sweep to the left,</doc>
|
|
</member>
|
|
<member name="windshield_r"
|
|
value="261"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_R"
|
|
glib:nick="windshield-r">
|
|
<doc xml:space="preserve">Two radial hands attached at the midpoints of the top and bottom halves sweep from right to left,</doc>
|
|
</member>
|
|
<member name="windshield_u"
|
|
value="262"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_U"
|
|
glib:nick="windshield-u">
|
|
<doc xml:space="preserve">Two radial hands attached at the midpoints of the left and right halves sweep from top to bottom,</doc>
|
|
</member>
|
|
<member name="windshield_v"
|
|
value="263"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_V"
|
|
glib:nick="windshield-v">
|
|
<doc xml:space="preserve">Two sets of radial hands attached at the midpoints of the top and bottom halves sweep from top to bottom and bottom to top,</doc>
|
|
</member>
|
|
<member name="windshield_h"
|
|
value="264"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_H"
|
|
glib:nick="windshield-h">
|
|
<doc xml:space="preserve">Two sets of radial hands attached at the midpoints of the left and right halves sweep from left to right and right to left,</doc>
|
|
</member>
|
|
<member name="crossfade"
|
|
value="512"
|
|
c:identifier="GES_VIDEO_STANDARD_TRANSITION_TYPE_CROSSFADE"
|
|
glib:nick="crossfade">
|
|
<doc xml:space="preserve">Crossfade</doc>
|
|
</member>
|
|
</enumeration>
|
|
<enumeration name="VideoTestPattern"
|
|
glib:type-name="GESVideoTestPattern"
|
|
glib:get-type="ges_video_test_pattern_get_type"
|
|
c:type="GESVideoTestPattern">
|
|
<doc xml:space="preserve">The test pattern to produce</doc>
|
|
<member name="smpte"
|
|
value="0"
|
|
c:identifier="GES_VIDEO_TEST_PATTERN_SMPTE"
|
|
glib:nick="smpte">
|
|
<doc xml:space="preserve">A standard SMPTE test pattern</doc>
|
|
</member>
|
|
<member name="snow"
|
|
value="1"
|
|
c:identifier="GES_VIDEO_TEST_PATTERN_SNOW"
|
|
glib:nick="snow">
|
|
<doc xml:space="preserve">Random noise</doc>
|
|
</member>
|
|
<member name="black"
|
|
value="2"
|
|
c:identifier="GES_VIDEO_TEST_PATTERN_BLACK"
|
|
glib:nick="black">
|
|
<doc xml:space="preserve">A black image</doc>
|
|
</member>
|
|
<member name="white"
|
|
value="3"
|
|
c:identifier="GES_VIDEO_TEST_PATTERN_WHITE"
|
|
glib:nick="white">
|
|
<doc xml:space="preserve">A white image</doc>
|
|
</member>
|
|
<member name="red"
|
|
value="4"
|
|
c:identifier="GES_VIDEO_TEST_PATTERN_RED"
|
|
glib:nick="red">
|
|
<doc xml:space="preserve">A red image</doc>
|
|
</member>
|
|
<member name="green"
|
|
value="5"
|
|
c:identifier="GES_VIDEO_TEST_PATTERN_GREEN"
|
|
glib:nick="green">
|
|
<doc xml:space="preserve">A green image</doc>
|
|
</member>
|
|
<member name="blue"
|
|
value="6"
|
|
c:identifier="GES_VIDEO_TEST_PATTERN_BLUE"
|
|
glib:nick="blue">
|
|
<doc xml:space="preserve">A blue image</doc>
|
|
</member>
|
|
<member name="checkers_1"
|
|
value="7"
|
|
c:identifier="GES_VIDEO_TEST_PATTERN_CHECKERS1"
|
|
glib:nick="checkers-1">
|
|
<doc xml:space="preserve">Checkers pattern (1px)</doc>
|
|
</member>
|
|
<member name="checkers_2"
|
|
value="8"
|
|
c:identifier="GES_VIDEO_TEST_PATTERN_CHECKERS2"
|
|
glib:nick="checkers-2">
|
|
<doc xml:space="preserve">Checkers pattern (2px)</doc>
|
|
</member>
|
|
<member name="checkers_4"
|
|
value="9"
|
|
c:identifier="GES_VIDEO_TEST_PATTERN_CHECKERS4"
|
|
glib:nick="checkers-4">
|
|
<doc xml:space="preserve">Checkers pattern (4px)</doc>
|
|
</member>
|
|
<member name="checkers_8"
|
|
value="10"
|
|
c:identifier="GES_VIDEO_TEST_PATTERN_CHECKERS8"
|
|
glib:nick="checkers-8">
|
|
<doc xml:space="preserve">Checkers pattern (8px)</doc>
|
|
</member>
|
|
<member name="circular"
|
|
value="11"
|
|
c:identifier="GES_VIDEO_TEST_PATTERN_CIRCULAR"
|
|
glib:nick="circular">
|
|
<doc xml:space="preserve">Circular pattern</doc>
|
|
</member>
|
|
<member name="blink"
|
|
value="12"
|
|
c:identifier="GES_VIDEO_TEST_PATTERN_BLINK"
|
|
glib:nick="blink">
|
|
<doc xml:space="preserve">Alternate between black and white</doc>
|
|
</member>
|
|
<member name="smpte75"
|
|
value="13"
|
|
c:identifier="GES_VIDEO_TEST_PATTERN_SMPTE75"
|
|
glib:nick="smpte75">
|
|
<doc xml:space="preserve">SMPTE test pattern (75% color bars)</doc>
|
|
</member>
|
|
<member name="zone_plate"
|
|
value="14"
|
|
c:identifier="GES_VIDEO_TEST_ZONE_PLATE"
|
|
glib:nick="zone-plate">
|
|
<doc xml:space="preserve">Zone plate</doc>
|
|
</member>
|
|
<member name="gamut"
|
|
value="15"
|
|
c:identifier="GES_VIDEO_TEST_GAMUT"
|
|
glib:nick="gamut">
|
|
<doc xml:space="preserve">Gamut checkers</doc>
|
|
</member>
|
|
<member name="chroma_zone_plate"
|
|
value="16"
|
|
c:identifier="GES_VIDEO_TEST_CHROMA_ZONE_PLATE"
|
|
glib:nick="chroma-zone-plate">
|
|
<doc xml:space="preserve">Chroma zone plate</doc>
|
|
</member>
|
|
<member name="solid_color"
|
|
value="17"
|
|
c:identifier="GES_VIDEO_TEST_PATTERN_SOLID"
|
|
glib:nick="solid-color">
|
|
<doc xml:space="preserve">Solid color</doc>
|
|
</member>
|
|
</enumeration>
|
|
<class name="VideoTestSource"
|
|
c:symbol-prefix="video_test_source"
|
|
c:type="GESVideoTestSource"
|
|
parent="VideoSource"
|
|
glib:type-name="GESVideoTestSource"
|
|
glib:get-type="ges_video_test_source_get_type"
|
|
glib:type-struct="VideoTestSourceClass">
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<method name="get_pattern"
|
|
c:identifier="ges_video_test_source_get_pattern">
|
|
<doc xml:space="preserve">Get the video pattern used by the @source.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The video pattern used by the @source.</doc>
|
|
<type name="VideoTestPattern" c:type="GESVideoTestPattern"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="source" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESVideoTestPattern</doc>
|
|
<type name="VideoTestSource" c:type="GESVideoTestSource*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_pattern"
|
|
c:identifier="ges_video_test_source_set_pattern">
|
|
<doc xml:space="preserve">Sets the source to use the given @pattern.</doc>
|
|
<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">a #GESVideoTestSource</doc>
|
|
<type name="VideoTestSource" c:type="GESVideoTestSource*"/>
|
|
</instance-parameter>
|
|
<parameter name="pattern" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESVideoTestPattern</doc>
|
|
<type name="VideoTestPattern" c:type="GESVideoTestPattern"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<field name="parent" readable="0" private="1">
|
|
<type name="VideoSource" c:type="GESVideoSource"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="VideoTestSourcePrivate"
|
|
c:type="GESVideoTestSourcePrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="VideoTestSourceClass"
|
|
c:type="GESVideoTestSourceClass"
|
|
glib:is-gtype-struct-for="VideoTestSource">
|
|
<field name="parent_class">
|
|
<type name="VideoSourceClass" c:type="GESVideoSourceClass"/>
|
|
</field>
|
|
<field name="_ges_reserved">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="VideoTestSourcePrivate"
|
|
c:type="GESVideoTestSourcePrivate"
|
|
disguised="1">
|
|
</record>
|
|
<class name="VideoTrack"
|
|
c:symbol-prefix="video_track"
|
|
c:type="GESVideoTrack"
|
|
parent="Track"
|
|
glib:type-name="GESVideoTrack"
|
|
glib:get-type="ges_video_track_get_type"
|
|
glib:type-struct="VideoTrackClass">
|
|
<implements name="MetaContainer"/>
|
|
<implements name="Gst.ChildProxy"/>
|
|
<constructor name="new" c:identifier="ges_video_track_new">
|
|
<doc xml:space="preserve">Creates a new #GESVideoTrack of type #GES_TRACK_TYPE_VIDEO and with generic
|
|
raw video caps ("video/x-raw");</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">A new #GESTrack.</doc>
|
|
<type name="VideoTrack" c:type="GESVideoTrack*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<field name="parent_instance">
|
|
<type name="Track" c:type="GESTrack"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="VideoTrackPrivate" c:type="GESVideoTrackPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="VideoTrackClass"
|
|
c:type="GESVideoTrackClass"
|
|
glib:is-gtype-struct-for="VideoTrack">
|
|
<field name="parent_class">
|
|
<type name="TrackClass" c:type="GESTrackClass"/>
|
|
</field>
|
|
<field name="_ges_reserved">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="VideoTrackPrivate"
|
|
c:type="GESVideoTrackPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<class name="VideoTransition"
|
|
c:symbol-prefix="video_transition"
|
|
c:type="GESVideoTransition"
|
|
parent="Transition"
|
|
glib:type-name="GESVideoTransition"
|
|
glib:get-type="ges_video_transition_get_type"
|
|
glib:type-struct="VideoTransitionClass">
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<constructor name="new" c:identifier="ges_video_transition_new">
|
|
<doc xml:space="preserve">Creates a new #GESVideoTransition.</doc>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve">The newly created
|
|
#GESVideoTransition, or %NULL if there was an error.</doc>
|
|
<type name="VideoTransition" c:type="GESVideoTransition*"/>
|
|
</return-value>
|
|
</constructor>
|
|
<method name="get_border" c:identifier="ges_video_transition_get_border">
|
|
<doc xml:space="preserve">Get the border property of @self, this value represents
|
|
the border width of the transition.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The border values of @self or -1 if not meaningful
|
|
(this will happen when not using a smpte transition).</doc>
|
|
<type name="gint" c:type="gint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESVideoTransition to get the border from</doc>
|
|
<type name="VideoTransition" c:type="GESVideoTransition*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_transition_type"
|
|
c:identifier="ges_video_transition_get_transition_type">
|
|
<doc xml:space="preserve">Get the transition type used by @trans.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The transition type used by @trans.</doc>
|
|
<type name="VideoStandardTransitionType"
|
|
c:type="GESVideoStandardTransitionType"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="trans" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESVideoTransition</doc>
|
|
<type name="VideoTransition" c:type="GESVideoTransition*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="is_inverted"
|
|
c:identifier="ges_video_transition_is_inverted">
|
|
<doc xml:space="preserve">Get the invert property of @self, this value represents
|
|
the direction of the transition.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">The invert value of @self</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">The #GESVideoTransition to get the inversion from</doc>
|
|
<type name="VideoTransition" c:type="GESVideoTransition*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_border" c:identifier="ges_video_transition_set_border">
|
|
<doc xml:space="preserve">Set the border property of @self, this value represents
|
|
the border width of the transition. In case this value does
|
|
not make sense for the current transition type, it is cached
|
|
for later use.</doc>
|
|
<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">The #GESVideoTransition to set the border to</doc>
|
|
<type name="VideoTransition" c:type="GESVideoTransition*"/>
|
|
</instance-parameter>
|
|
<parameter name="value" transfer-ownership="none">
|
|
<doc xml:space="preserve">The value of the border to set on @object</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_inverted"
|
|
c:identifier="ges_video_transition_set_inverted">
|
|
<doc xml:space="preserve">Set the invert property of @self, this value represents
|
|
the direction of the transition. In case this value does
|
|
not make sense for the current transition type, it is cached
|
|
for later use.</doc>
|
|
<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">The #GESVideoTransition to set invert on</doc>
|
|
<type name="VideoTransition" c:type="GESVideoTransition*"/>
|
|
</instance-parameter>
|
|
<parameter name="inverted" transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the transition should be inverted %FALSE otherwise</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_transition_type"
|
|
c:identifier="ges_video_transition_set_transition_type">
|
|
<doc xml:space="preserve">Sets the transition being used to @type.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if the transition type was properly changed, else %FALSE.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="self" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESVideoTransition</doc>
|
|
<type name="VideoTransition" c:type="GESVideoTransition*"/>
|
|
</instance-parameter>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<doc xml:space="preserve">a #GESVideoStandardTransitionType</doc>
|
|
<type name="VideoStandardTransitionType"
|
|
c:type="GESVideoStandardTransitionType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<property name="border" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve">This value represents the border width of the transition.</doc>
|
|
<type name="guint" c:type="guint"/>
|
|
</property>
|
|
<property name="invert" writable="1" transfer-ownership="none">
|
|
<doc xml:space="preserve">This value represents the direction of the transition.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</property>
|
|
<property name="transition-type" writable="1" transfer-ownership="none">
|
|
<type name="VideoStandardTransitionType"/>
|
|
</property>
|
|
<field name="parent">
|
|
<type name="Transition" c:type="GESTransition"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="VideoTransitionPrivate"
|
|
c:type="GESVideoTransitionPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="VideoTransitionClass"
|
|
c:type="GESVideoTransitionClass"
|
|
glib:is-gtype-struct-for="VideoTransition">
|
|
<field name="parent_class">
|
|
<doc xml:space="preserve">parent class</doc>
|
|
<type name="TransitionClass" c:type="GESTransitionClass"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="VideoTransitionPrivate"
|
|
c:type="GESVideoTransitionPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<class name="VideoUriSource"
|
|
c:symbol-prefix="video_uri_source"
|
|
c:type="GESVideoUriSource"
|
|
parent="VideoSource"
|
|
glib:type-name="GESVideoUriSource"
|
|
glib:get-type="ges_video_uri_source_get_type"
|
|
glib:type-struct="VideoUriSourceClass">
|
|
<implements name="Extractable"/>
|
|
<implements name="MetaContainer"/>
|
|
<property name="uri"
|
|
writable="1"
|
|
construct-only="1"
|
|
transfer-ownership="none">
|
|
<doc xml:space="preserve">The location of the file/resource to use.</doc>
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</property>
|
|
<field name="parent" readable="0" private="1">
|
|
<type name="VideoSource" c:type="GESVideoSource"/>
|
|
</field>
|
|
<field name="uri" readable="0" private="1">
|
|
<type name="utf8" c:type="gchar*"/>
|
|
</field>
|
|
<field name="priv" readable="0" private="1">
|
|
<type name="VideoUriSourcePrivate" c:type="GESVideoUriSourcePrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="VideoUriSourceClass"
|
|
c:type="GESVideoUriSourceClass"
|
|
glib:is-gtype-struct-for="VideoUriSource">
|
|
<field name="parent_class" readable="0" private="1">
|
|
<type name="VideoSourceClass" c:type="GESVideoSourceClass"/>
|
|
</field>
|
|
<field name="_ges_reserved" readable="0" private="1">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="VideoUriSourcePrivate"
|
|
c:type="GESVideoUriSourcePrivate"
|
|
disguised="1">
|
|
</record>
|
|
<class name="XmlFormatter"
|
|
c:symbol-prefix="xml_formatter"
|
|
c:type="GESXmlFormatter"
|
|
parent="BaseXmlFormatter"
|
|
glib:type-name="GESXmlFormatter"
|
|
glib:get-type="ges_xml_formatter_get_type"
|
|
glib:type-struct="XmlFormatterClass">
|
|
<implements name="Extractable"/>
|
|
<field name="parent">
|
|
<type name="BaseXmlFormatter" c:type="GESBaseXmlFormatter"/>
|
|
</field>
|
|
<field name="priv">
|
|
<type name="XmlFormatterPrivate" c:type="GESXmlFormatterPrivate*"/>
|
|
</field>
|
|
<field name="_ges_reserved">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</class>
|
|
<record name="XmlFormatterClass"
|
|
c:type="GESXmlFormatterClass"
|
|
glib:is-gtype-struct-for="XmlFormatter">
|
|
<field name="parent">
|
|
<type name="BaseXmlFormatterClass" c:type="GESBaseXmlFormatterClass"/>
|
|
</field>
|
|
<field name="_ges_reserved">
|
|
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</array>
|
|
</field>
|
|
</record>
|
|
<record name="XmlFormatterPrivate"
|
|
c:type="GESXmlFormatterPrivate"
|
|
disguised="1">
|
|
</record>
|
|
<function name="add_missing_uri_relocation_uri"
|
|
c:identifier="ges_add_missing_uri_relocation_uri">
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="uri" transfer-ownership="none">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</parameter>
|
|
<parameter name="recurse" transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="deinit" c:identifier="ges_deinit">
|
|
<doc xml:space="preserve">Clean up any resources created by GES in ges_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.
|
|
This function should be called from the thread where ges_init() was called.
|
|
|
|
After this call GES should not be used until another ges_init() call.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="edge_name"
|
|
c:identifier="ges_edge_name"
|
|
moved-to="Edge.name">
|
|
<return-value transfer-ownership="none">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="edge" transfer-ownership="none">
|
|
<type name="Edge" c:type="GESEdge"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="init" c:identifier="ges_init">
|
|
<doc xml:space="preserve">Initialize the GStreamer Editing Service. Call this before any usage of
|
|
GES. You should take care of initilizing GStreamer before calling this
|
|
function.
|
|
|
|
MT safety.
|
|
GStreamer Editing Services do not guarantee MT safety.
|
|
An application is required to use GES APIs (including ges_deinit())
|
|
in the thread where ges_init() was called.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="init_check" c:identifier="ges_init_check" throws="1">
|
|
<doc xml:space="preserve">Initializes the GStreamer Editing Services library, setting up internal path lists,
|
|
and loading evrything needed.
|
|
|
|
This function will return %FALSE if GES could not be initialized
|
|
for some reason.</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if GES 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">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">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="ges_init_get_option_group"
|
|
introspectable="0">
|
|
<doc xml:space="preserve">Returns a #GOptionGroup with GES'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 GES with other
|
|
libraries that use GOption (see g_option_context_add_group() ).
|
|
|
|
If you use this function, you should make sure you initialise the GStreamer
|
|
as one of the very first things in your program. That means you need to
|
|
use gst_init_get_option_group() and add it to the option context before
|
|
using the ges_init_get_option_group() result.</doc>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">a pointer to GES's option group.</doc>
|
|
<type name="GLib.OptionGroup" c:type="GOptionGroup*"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="is_initialized" c:identifier="ges_is_initialized">
|
|
<doc xml:space="preserve">Use this function to check if GES has been initialized with ges_init()
|
|
or ges_init_check().</doc>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve">%TRUE if initialization has been done, %FALSE otherwise.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="list_assets" c:identifier="ges_list_assets">
|
|
<doc xml:space="preserve">List all @asset filtering per filter as defined by @filter.
|
|
It copies the asset and thus will not be updated in time.</doc>
|
|
<return-value transfer-ownership="container">
|
|
<doc xml:space="preserve">The list of
|
|
#GESAsset the object contains</doc>
|
|
<type name="GLib.List" c:type="GList*">
|
|
<type name="Asset"/>
|
|
</type>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="filter" transfer-ownership="none">
|
|
<doc xml:space="preserve">Type of assets to list, #GES_TYPE_EXTRACTABLE will list
|
|
all assets</doc>
|
|
<type name="GType" c:type="GType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="play_sink_convert_frame"
|
|
c:identifier="ges_play_sink_convert_frame">
|
|
<doc xml:space="preserve">Get the last buffer @playsink showed</doc>
|
|
<return-value transfer-ownership="full">
|
|
<doc xml:space="preserve">A #GstSample containing the last frame from
|
|
@playsink in the format defined by the @caps</doc>
|
|
<type name="Gst.Sample" c:type="GstSample*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="playsink" transfer-ownership="none">
|
|
<doc xml:space="preserve">The playsink to get last frame from</doc>
|
|
<type name="Gst.Element" c:type="GstElement*"/>
|
|
</parameter>
|
|
<parameter name="caps" transfer-ownership="none">
|
|
<doc xml:space="preserve">The caps defining the format the return value will have</doc>
|
|
<type name="Gst.Caps" c:type="GstCaps*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="pspec_equal" c:identifier="ges_pspec_equal">
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="key_spec_1"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<type name="gpointer" c:type="gconstpointer"/>
|
|
</parameter>
|
|
<parameter name="key_spec_2"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<type name="gpointer" c:type="gconstpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="pspec_hash" c:identifier="ges_pspec_hash">
|
|
<return-value transfer-ownership="none">
|
|
<type name="guint" c:type="guint"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="key_spec"
|
|
transfer-ownership="none"
|
|
nullable="1"
|
|
allow-none="1">
|
|
<type name="gpointer" c:type="gconstpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="track_type_name"
|
|
c:identifier="ges_track_type_name"
|
|
moved-to="TrackType.name">
|
|
<return-value transfer-ownership="none">
|
|
<type name="utf8" c:type="const gchar*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="type" transfer-ownership="none">
|
|
<type name="TrackType" c:type="GESTrackType"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
<function name="validate_register_action_types"
|
|
c:identifier="ges_validate_register_action_types">
|
|
<return-value transfer-ownership="none">
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
</function>
|
|
<function name="version" c:identifier="ges_version">
|
|
<doc xml:space="preserve">Gets the version number of the GStreamer Editing Services library.</doc>
|
|
<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">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">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">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">pointer to a guint to store the nano version number</doc>
|
|
<type name="guint" c:type="guint*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</function>
|
|
</namespace>
|
|
</repository>
|