gstreamer-rs/gir-files/GstPlayer-1.0.gir

3490 lines
148 KiB
Text
Raw Normal View History

2017-08-01 12:36:08 +00:00
<?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="Gst" version="1.0"/>
<include name="GstVideo" version="1.0"/>
<package name="gstreamer-player-1.0"/>
<c:include name="gst/player/player.h"/>
<namespace name="GstPlayer"
version="1.0"
shared-library="libgstplayer-1.0.so.0"
c:identifier-prefixes="Gst"
c:symbol-prefixes="gst">
2019-12-15 10:18:09 +00:00
<function-macro name="IS_PLAYER"
c:identifier="GST_IS_PLAYER"
introspectable="0">
<source-position filename="gstplayer.h" line="100"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PLAYER_AUDIO_INFO"
c:identifier="GST_IS_PLAYER_AUDIO_INFO"
introspectable="0">
<source-position filename="gstplayer-media-info.h" line="115"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PLAYER_AUDIO_INFO_CLASS"
c:identifier="GST_IS_PLAYER_AUDIO_INFO_CLASS"
introspectable="0">
<source-position filename="gstplayer-media-info.h" line="117"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PLAYER_CLASS"
c:identifier="GST_IS_PLAYER_CLASS"
introspectable="0">
<source-position filename="gstplayer.h" line="101"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PLAYER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER"
c:identifier="GST_IS_PLAYER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER"
introspectable="0">
<source-position filename="gstplayer-g-main-context-signal-dispatcher.h"
line="35"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PLAYER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER_CLASS"
c:identifier="GST_IS_PLAYER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER_CLASS"
introspectable="0">
<source-position filename="gstplayer-g-main-context-signal-dispatcher.h"
line="36"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PLAYER_MEDIA_INFO"
c:identifier="GST_IS_PLAYER_MEDIA_INFO"
introspectable="0">
<source-position filename="gstplayer-media-info.h" line="175"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PLAYER_MEDIA_INFO_CLASS"
c:identifier="GST_IS_PLAYER_MEDIA_INFO_CLASS"
introspectable="0">
<source-position filename="gstplayer-media-info.h" line="177"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PLAYER_SIGNAL_DISPATCHER"
c:identifier="GST_IS_PLAYER_SIGNAL_DISPATCHER"
introspectable="0">
<source-position filename="gstplayer-signal-dispatcher.h" line="34"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PLAYER_STREAM_INFO"
c:identifier="GST_IS_PLAYER_STREAM_INFO"
introspectable="0">
<source-position filename="gstplayer-media-info.h" line="34"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PLAYER_STREAM_INFO_CLASS"
c:identifier="GST_IS_PLAYER_STREAM_INFO_CLASS"
introspectable="0">
<source-position filename="gstplayer-media-info.h" line="36"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PLAYER_SUBTITLE_INFO"
c:identifier="GST_IS_PLAYER_SUBTITLE_INFO"
introspectable="0">
<source-position filename="gstplayer-media-info.h" line="151"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PLAYER_SUBTITLE_INFO_CLASS"
c:identifier="GST_IS_PLAYER_SUBTITLE_INFO_CLASS"
introspectable="0">
<source-position filename="gstplayer-media-info.h" line="153"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PLAYER_VIDEO_INFO"
c:identifier="GST_IS_PLAYER_VIDEO_INFO"
introspectable="0">
<source-position filename="gstplayer-media-info.h" line="72"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PLAYER_VIDEO_INFO_CLASS"
c:identifier="GST_IS_PLAYER_VIDEO_INFO_CLASS"
introspectable="0">
<source-position filename="gstplayer-media-info.h" line="74"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PLAYER_VIDEO_OVERLAY_VIDEO_RENDERER"
c:identifier="GST_IS_PLAYER_VIDEO_OVERLAY_VIDEO_RENDERER"
introspectable="0">
<source-position filename="gstplayer-video-overlay-video-renderer.h"
line="35"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PLAYER_VIDEO_OVERLAY_VIDEO_RENDERER_CLASS"
c:identifier="GST_IS_PLAYER_VIDEO_OVERLAY_VIDEO_RENDERER_CLASS"
introspectable="0">
<source-position filename="gstplayer-video-overlay-video-renderer.h"
line="36"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PLAYER_VIDEO_RENDERER"
c:identifier="GST_IS_PLAYER_VIDEO_RENDERER"
introspectable="0">
<source-position filename="gstplayer-video-renderer.h" line="34"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER" c:identifier="GST_PLAYER" introspectable="0">
<source-position filename="gstplayer.h" line="103"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_AUDIO_INFO"
c:identifier="GST_PLAYER_AUDIO_INFO"
introspectable="0">
<source-position filename="gstplayer-media-info.h" line="111"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_AUDIO_INFO_CLASS"
c:identifier="GST_PLAYER_AUDIO_INFO_CLASS"
introspectable="0">
<source-position filename="gstplayer-media-info.h" line="113"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_CAST"
c:identifier="GST_PLAYER_CAST"
introspectable="0">
<source-position filename="gstplayer.h" line="105"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_CLASS"
c:identifier="GST_PLAYER_CLASS"
introspectable="0">
<source-position filename="gstplayer.h" line="104"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_DEPRECATED_FOR"
c:identifier="GST_PLAYER_DEPRECATED_FOR"
introspectable="0">
<source-position filename="player-prelude.h" line="37"/>
<parameters>
<parameter name="f">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_GET_CLASS"
c:identifier="GST_PLAYER_GET_CLASS"
introspectable="0">
<source-position filename="gstplayer.h" line="102"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER"
c:identifier="GST_PLAYER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER"
introspectable="0">
<source-position filename="gstplayer-g-main-context-signal-dispatcher.h"
line="38"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER_CAST"
c:identifier="GST_PLAYER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER_CAST"
introspectable="0">
<source-position filename="gstplayer-g-main-context-signal-dispatcher.h"
line="40"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER_CLASS"
c:identifier="GST_PLAYER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER_CLASS"
introspectable="0">
<source-position filename="gstplayer-g-main-context-signal-dispatcher.h"
line="39"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER_GET_CLASS"
c:identifier="GST_PLAYER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER_GET_CLASS"
introspectable="0">
<source-position filename="gstplayer-g-main-context-signal-dispatcher.h"
line="37"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_MEDIA_INFO"
c:identifier="GST_PLAYER_MEDIA_INFO"
introspectable="0">
<source-position filename="gstplayer-media-info.h" line="171"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_MEDIA_INFO_CLASS"
c:identifier="GST_PLAYER_MEDIA_INFO_CLASS"
introspectable="0">
<source-position filename="gstplayer-media-info.h" line="173"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_SIGNAL_DISPATCHER"
c:identifier="GST_PLAYER_SIGNAL_DISPATCHER"
introspectable="0">
<source-position filename="gstplayer-signal-dispatcher.h" line="33"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_SIGNAL_DISPATCHER_GET_INTERFACE"
c:identifier="GST_PLAYER_SIGNAL_DISPATCHER_GET_INTERFACE"
introspectable="0">
<source-position filename="gstplayer-signal-dispatcher.h" line="35"/>
<parameters>
<parameter name="inst">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_STREAM_INFO"
c:identifier="GST_PLAYER_STREAM_INFO"
introspectable="0">
<source-position filename="gstplayer-media-info.h" line="30"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_STREAM_INFO_CLASS"
c:identifier="GST_PLAYER_STREAM_INFO_CLASS"
introspectable="0">
<source-position filename="gstplayer-media-info.h" line="32"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_SUBTITLE_INFO"
c:identifier="GST_PLAYER_SUBTITLE_INFO"
introspectable="0">
<source-position filename="gstplayer-media-info.h" line="147"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_SUBTITLE_INFO_CLASS"
c:identifier="GST_PLAYER_SUBTITLE_INFO_CLASS"
introspectable="0">
<source-position filename="gstplayer-media-info.h" line="149"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_VIDEO_INFO"
c:identifier="GST_PLAYER_VIDEO_INFO"
introspectable="0">
<source-position filename="gstplayer-media-info.h" line="68"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_VIDEO_INFO_CLASS"
c:identifier="GST_PLAYER_VIDEO_INFO_CLASS"
introspectable="0">
<source-position filename="gstplayer-media-info.h" line="70"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_VIDEO_OVERLAY_VIDEO_RENDERER"
c:identifier="GST_PLAYER_VIDEO_OVERLAY_VIDEO_RENDERER"
introspectable="0">
<source-position filename="gstplayer-video-overlay-video-renderer.h"
line="38"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_VIDEO_OVERLAY_VIDEO_RENDERER_CAST"
c:identifier="GST_PLAYER_VIDEO_OVERLAY_VIDEO_RENDERER_CAST"
introspectable="0">
<source-position filename="gstplayer-video-overlay-video-renderer.h"
line="40"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_VIDEO_OVERLAY_VIDEO_RENDERER_CLASS"
c:identifier="GST_PLAYER_VIDEO_OVERLAY_VIDEO_RENDERER_CLASS"
introspectable="0">
<source-position filename="gstplayer-video-overlay-video-renderer.h"
line="39"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_VIDEO_OVERLAY_VIDEO_RENDERER_GET_CLASS"
c:identifier="GST_PLAYER_VIDEO_OVERLAY_VIDEO_RENDERER_GET_CLASS"
introspectable="0">
<source-position filename="gstplayer-video-overlay-video-renderer.h"
line="37"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_VIDEO_RENDERER"
c:identifier="GST_PLAYER_VIDEO_RENDERER"
introspectable="0">
<source-position filename="gstplayer-video-renderer.h" line="33"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLAYER_VIDEO_RENDERER_GET_INTERFACE"
c:identifier="GST_PLAYER_VIDEO_RENDERER_GET_INTERFACE"
introspectable="0">
<source-position filename="gstplayer-video-renderer.h" line="35"/>
<parameters>
<parameter name="inst">
</parameter>
</parameters>
</function-macro>
2017-08-01 12:36:08 +00:00
<class name="Player"
c:symbol-prefix="player"
c:type="GstPlayer"
parent="Gst.Object"
glib:type-name="GstPlayer"
glib:get-type="gst_player_get_type"
glib:type-struct="PlayerClass">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-types.h" line="30"/>
2017-08-01 12:36:08 +00:00
<constructor name="new" c:identifier="gst_player_new">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3032">Creates a new #GstPlayer instance that uses @signal_dispatcher to dispatch
2017-08-01 12:36:08 +00:00
signals to some event loop system, or emits signals directly if NULL is
passed. See gst_player_g_main_context_signal_dispatcher_new().
Video is going to be rendered by @video_renderer, or if %NULL is provided
no special video set up will be done and some default handling will be
performed.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="112"/>
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3045">a new #GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</return-value>
<parameters>
<parameter name="video_renderer"
transfer-ownership="full"
nullable="1"
allow-none="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3034">GstPlayerVideoRenderer to use</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerVideoRenderer" c:type="GstPlayerVideoRenderer*"/>
</parameter>
<parameter name="signal_dispatcher"
transfer-ownership="full"
nullable="1"
allow-none="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3035">GstPlayerSignalDispatcher to use</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerSignalDispatcher"
c:type="GstPlayerSignalDispatcher*"/>
</parameter>
</parameters>
</constructor>
<function name="config_get_position_update_interval"
2019-04-23 14:26:39 +00:00
c:identifier="gst_player_config_get_position_update_interval"
version="1.10">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="280"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4670">current position update interval in milliseconds</doc>
2017-08-01 12:36:08 +00:00
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<parameter name="config" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4668">a #GstPlayer configuration</doc>
2017-08-01 12:36:08 +00:00
<type name="Gst.Structure" c:type="const GstStructure*"/>
</parameter>
</parameters>
</function>
<function name="config_get_seek_accurate"
2019-04-23 14:26:39 +00:00
c:identifier="gst_player_config_get_seek_accurate"
version="1.12">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="286"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4717">%TRUE if accurate seeking is enabled</doc>
2017-08-01 12:36:08 +00:00
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="config" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4715">a #GstPlayer configuration</doc>
2017-08-01 12:36:08 +00:00
<type name="Gst.Structure" c:type="const GstStructure*"/>
</parameter>
</parameters>
</function>
<function name="config_get_user_agent"
2019-04-23 14:26:39 +00:00
c:identifier="gst_player_config_get_user_agent"
version="1.10">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4623">Return the user agent which has been configured using
2017-08-01 12:36:08 +00:00
gst_player_config_set_user_agent() if any.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="273"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4630">the configured agent, or %NULL</doc>
2017-08-01 12:36:08 +00:00
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="config" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4625">a #GstPlayer configuration</doc>
2017-08-01 12:36:08 +00:00
<type name="Gst.Structure" c:type="const GstStructure*"/>
</parameter>
</parameters>
</function>
<function name="config_set_position_update_interval"
2019-04-23 14:26:39 +00:00
c:identifier="gst_player_config_set_position_update_interval"
version="1.10">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4646">set interval in milliseconds between two position-updated signals.
2019-04-23 14:26:39 +00:00
pass 0 to stop updating the position.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="276"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="config" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4648">a #GstPlayer configuration</doc>
2017-08-01 12:36:08 +00:00
<type name="Gst.Structure" c:type="GstStructure*"/>
</parameter>
<parameter name="interval" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4649">interval in ms</doc>
2017-08-01 12:36:08 +00:00
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
2018-03-15 07:49:56 +00:00
<function name="config_set_seek_accurate"
c:identifier="gst_player_config_set_seek_accurate"
version="1.12">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4687">Enable or disable accurate seeking. When enabled, elements will try harder
2018-03-15 07:49:56 +00:00
to seek as accurately as possible to the requested seek position. Generally
it will be slower especially for formats that don't have any indexes or
timestamp markers in the stream.
If accurate seeking is disabled, elements will seek as close as the request
position without slowing down seeking too much.
Accurate seeking is disabled by default.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="283"/>
2018-03-15 07:49:56 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="config" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4689">a #GstPlayer configuration</doc>
2018-03-15 07:49:56 +00:00
<type name="Gst.Structure" c:type="GstStructure*"/>
</parameter>
<parameter name="accurate" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4690">accurate seek or not</doc>
2018-03-15 07:49:56 +00:00
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</function>
2017-08-01 12:36:08 +00:00
<function name="config_set_user_agent"
2019-04-23 14:26:39 +00:00
c:identifier="gst_player_config_set_user_agent"
version="1.10">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4602">Set the user agent to pass to the server if @player needs to connect
2017-08-01 12:36:08 +00:00
to a server during playback. This is typically used when playing HTTP
2019-04-23 14:26:39 +00:00
or RTSP streams.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="269"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="config" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4604">a #GstPlayer configuration</doc>
2017-08-01 12:36:08 +00:00
<type name="Gst.Structure" c:type="GstStructure*"/>
</parameter>
<parameter name="agent" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4605">the string to use as user agent</doc>
2017-08-01 12:36:08 +00:00
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="get_audio_streams"
c:identifier="gst_player_get_audio_streams">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="248"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="880">A #GList of
2017-08-01 12:36:08 +00:00
matching #GstPlayerAudioInfo.</doc>
<type name="GLib.List" c:type="GList*">
<type name="PlayerAudioInfo"/>
</type>
</return-value>
<parameters>
<parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="878">a #GstPlayerMediaInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerMediaInfo" c:type="const GstPlayerMediaInfo*"/>
</parameter>
</parameters>
</function>
<function name="get_subtitle_streams"
c:identifier="gst_player_get_subtitle_streams">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="251"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="895">A #GList of
2017-08-01 12:36:08 +00:00
matching #GstPlayerSubtitleInfo.</doc>
<type name="GLib.List" c:type="GList*">
<type name="PlayerSubtitleInfo"/>
</type>
</return-value>
<parameters>
<parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="893">a #GstPlayerMediaInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerMediaInfo" c:type="const GstPlayerMediaInfo*"/>
</parameter>
</parameters>
</function>
<function name="get_video_streams"
c:identifier="gst_player_get_video_streams">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="245"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="865">A #GList of
2017-08-01 12:36:08 +00:00
matching #GstPlayerVideoInfo.</doc>
<type name="GLib.List" c:type="GList*">
<type name="PlayerVideoInfo"/>
</type>
</return-value>
<parameters>
<parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="863">a #GstPlayerMediaInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerMediaInfo" c:type="const GstPlayerMediaInfo*"/>
</parameter>
</parameters>
</function>
<function name="visualizations_free"
c:identifier="gst_player_visualizations_free">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-visualization.c"
line="84">Frees a %NULL terminated array of #GstPlayerVisualization.</doc>
<source-position filename="gstplayer-visualization.h" line="56"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="viss" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-visualization.c"
line="86">a %NULL terminated array of #GstPlayerVisualization to free</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerVisualization"
c:type="GstPlayerVisualization**"/>
</parameter>
</parameters>
</function>
<function name="visualizations_get"
c:identifier="gst_player_visualizations_get">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-visualization.h" line="53"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-visualization.c"
line="158">
2017-08-01 12:36:08 +00:00
a %NULL terminated array containing all available
visualizations. Use gst_player_visualizations_free() after
usage.</doc>
<array c:type="GstPlayerVisualization**">
<type name="PlayerVisualization"/>
</array>
</return-value>
</function>
<method name="get_audio_video_offset"
2019-04-23 14:26:39 +00:00
c:identifier="gst_player_get_audio_video_offset"
version="1.10">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4326">Retrieve the current value of audio-video-offset property</doc>
<source-position filename="gstplayer.h" line="246"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstplayer.c"
line="4332">The current value of audio-video-offset in nanoseconds</doc>
2017-08-01 12:36:08 +00:00
<type name="gint64" c:type="gint64"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4328">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_color_balance"
c:identifier="gst_player_get_color_balance">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4211">Retrieve the current value of the indicated @type.</doc>
<source-position filename="gstplayer.h" line="227"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstplayer.c"
line="4218">The current value of @type, between [0,1]. In case of
2017-08-01 12:36:08 +00:00
error -1 is returned.</doc>
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4213">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
<parameter name="type" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4214">#GstPlayerColorBalanceType</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerColorBalanceType"
c:type="GstPlayerColorBalanceType"/>
</parameter>
</parameters>
</method>
2019-04-23 14:26:39 +00:00
<method name="get_config"
c:identifier="gst_player_get_config"
version="1.10">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4575">Get a copy of the current configuration of the player. This configuration
2017-08-01 12:36:08 +00:00
can either be modified and used for the gst_player_set_config() call
or it must be freed after usage.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="264"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4583">a copy of the current configuration of @player. Use
2019-04-23 14:26:39 +00:00
gst_structure_free() after usage or gst_player_set_config().</doc>
2017-08-01 12:36:08 +00:00
<type name="Gst.Structure" c:type="GstStructure*"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4577">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_current_audio_track"
c:identifier="gst_player_get_current_audio_track">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3718">A Function to get current audio #GstPlayerAudioInfo instance.</doc>
<source-position filename="gstplayer.h" line="199"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3724">current audio track.
2017-08-01 12:36:08 +00:00
The caller should free it with g_object_unref()</doc>
<type name="PlayerAudioInfo" c:type="GstPlayerAudioInfo*"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3720">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_current_subtitle_track"
c:identifier="gst_player_get_current_subtitle_track">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3782">A Function to get current subtitle #GstPlayerSubtitleInfo instance.</doc>
<source-position filename="gstplayer.h" line="205"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstplayer.c"
line="3788">current subtitle track.
2017-08-01 12:36:08 +00:00
The caller should free it with g_object_unref()</doc>
<type name="PlayerSubtitleInfo" c:type="GstPlayerSubtitleInfo*"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3784">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_current_video_track"
c:identifier="gst_player_get_current_video_track">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3750">A Function to get current video #GstPlayerVideoInfo instance.</doc>
<source-position filename="gstplayer.h" line="202"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3756">current video track.
2017-08-01 12:36:08 +00:00
The caller should free it with g_object_unref()</doc>
<type name="PlayerVideoInfo" c:type="GstPlayerVideoInfo*"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3752">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_current_visualization"
c:identifier="gst_player_get_current_visualization">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="216"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4067">Name of the currently enabled visualization.
2017-08-01 12:36:08 +00:00
g_free() after usage.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4065">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_duration" c:identifier="gst_player_get_duration">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3584">Retrieves the duration of the media stream that self represents.</doc>
<source-position filename="gstplayer.h" line="152"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstplayer.c"
line="3590">the duration of the currently-playing media stream, in
2017-08-01 12:36:08 +00:00
nanoseconds.</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3586">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_media_info" c:identifier="gst_player_get_media_info">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3691">A Function to get the current media info #GstPlayerMediaInfo instance.</doc>
<source-position filename="gstplayer.h" line="196"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3697">media info instance.
2017-08-01 12:36:08 +00:00
The caller should free it with g_object_unref()</doc>
<type name="PlayerMediaInfo" c:type="GstPlayerMediaInfo*"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3693">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_multiview_flags"
c:identifier="gst_player_get_multiview_flags"
version="1.10">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4286">Retrieve the current value of the indicated @type.</doc>
<source-position filename="gstplayer.h" line="239"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstplayer.c"
line="4292">The current value of @type, Default: 0x00000000 "none</doc>
2017-08-01 12:36:08 +00:00
<type name="GstVideo.VideoMultiviewFlags"
c:type="GstVideoMultiviewFlags"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4288">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_multiview_mode"
c:identifier="gst_player_get_multiview_mode"
version="1.10">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4244">Retrieve the current value of the indicated @type.</doc>
<source-position filename="gstplayer.h" line="232"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstplayer.c"
line="4250">The current value of @type, Default: -1 "none"</doc>
<type name="GstVideo.VideoMultiviewFramePacking"
c:type="GstVideoMultiviewFramePacking"/>
2017-08-01 12:36:08 +00:00
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4246">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_mute" c:identifier="gst_player_get_mute">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="162"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3644">%TRUE if the currently-playing stream is muted.</doc>
2017-08-01 12:36:08 +00:00
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3642">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_pipeline" c:identifier="gst_player_get_pipeline">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="169"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3677">The internal playbin instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Gst.Element" c:type="GstElement*"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3675">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_position" c:identifier="gst_player_get_position">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="149"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3569">the absolute position time, in nanoseconds, of the
2017-08-01 12:36:08 +00:00
currently-playing stream.</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3567">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_rate" c:identifier="gst_player_get_rate">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="132"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3409">current playback rate</doc>
2017-08-01 12:36:08 +00:00
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3407">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_subtitle_uri"
c:identifier="gst_player_get_subtitle_uri">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3544">current subtitle URI</doc>
<source-position filename="gstplayer.h" line="142"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3550">URI of the current external subtitle.
2017-08-01 12:36:08 +00:00
g_free() after usage.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3546">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
</parameters>
</method>
2019-04-23 14:26:39 +00:00
<method name="get_subtitle_video_offset"
c:identifier="gst_player_get_subtitle_video_offset"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4365">Retrieve the current value of subtitle-video-offset property</doc>
<source-position filename="gstplayer.h" line="253"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstplayer.c"
line="4371">The current value of subtitle-video-offset in nanoseconds</doc>
2019-04-23 14:26:39 +00:00
<type name="gint64" c:type="gint64"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4367">#GstPlayer instance</doc>
2019-04-23 14:26:39 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
</parameters>
</method>
2017-08-01 12:36:08 +00:00
<method name="get_uri" c:identifier="gst_player_get_uri">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3491">Gets the URI of the currently-playing stream.</doc>
<source-position filename="gstplayer.h" line="135"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3497">a string containing the URI of the
2017-08-01 12:36:08 +00:00
currently-playing stream. g_free() after usage.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3493">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_video_snapshot"
2019-04-23 14:26:39 +00:00
c:identifier="gst_player_get_video_snapshot"
version="1.12">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4734">Get a snapshot of the currently selected video stream, if any. The format can be
2017-08-01 12:36:08 +00:00
selected with @format and optional configuration is possible with @config
Currently supported settings are:
- width, height of type G_TYPE_INT
- pixel-aspect-ratio of type GST_TYPE_FRACTION
Except for GST_PLAYER_THUMBNAIL_RAW_NATIVE format, if no config is set, pixel-aspect-ratio would be 1/1</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="298"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4747">Current video snapshot sample or %NULL on failure</doc>
2017-08-01 12:36:08 +00:00
<type name="Gst.Sample" c:type="GstSample*"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4736">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
<parameter name="format" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4737">output format of the video snapshot</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerSnapshotFormat"
c:type="GstPlayerSnapshotFormat"/>
</parameter>
<parameter name="config"
transfer-ownership="none"
nullable="1"
allow-none="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4738">Additional configuration</doc>
<type name="Gst.Structure" c:type="const GstStructure*"/>
2017-08-01 12:36:08 +00:00
</parameter>
</parameters>
</method>
<method name="get_volume" c:identifier="gst_player_get_volume">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3605">Returns the current volume level, as a percentage between 0 and 1.</doc>
<source-position filename="gstplayer.h" line="155"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstplayer.c"
line="3611">the volume as percentage between 0 and 1.</doc>
2017-08-01 12:36:08 +00:00
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3607">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
</parameters>
</method>
<method name="has_color_balance"
c:identifier="gst_player_has_color_balance">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4151">Checks whether the @player has color balance support available.</doc>
<source-position filename="gstplayer.h" line="219"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstplayer.c"
line="4157">%TRUE if @player has color balance support. Otherwise,
2017-08-01 12:36:08 +00:00
%FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4153">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
</parameters>
</method>
<method name="pause" c:identifier="gst_player_pause">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3196">Pauses the current stream.</doc>
<source-position filename="gstplayer.h" line="118"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3198">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
</parameters>
</method>
<method name="play" c:identifier="gst_player_play">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3125">Request to play the loaded stream.</doc>
<source-position filename="gstplayer.h" line="115"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3127">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
</parameters>
</method>
<method name="seek" c:identifier="gst_player_seek">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3423">Seeks the currently-playing stream to the absolute @position time
2017-08-01 12:36:08 +00:00
in nanoseconds.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="124"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3425">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
<parameter name="position" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3426">position to seek in nanoseconds</doc>
2017-08-01 12:36:08 +00:00
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</parameter>
</parameters>
</method>
<method name="set_audio_track" c:identifier="gst_player_set_audio_track">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="184"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3846">%TRUE or %FALSE
2017-08-01 12:36:08 +00:00
Sets the audio track @stream_idex.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3843">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
<parameter name="stream_index" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3844">stream index</doc>
2017-08-01 12:36:08 +00:00
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="set_audio_track_enabled"
c:identifier="gst_player_set_audio_track_enabled">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3964">Enable or disable the current audio track.</doc>
<source-position filename="gstplayer.h" line="176"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3966">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3967">TRUE or FALSE</doc>
2017-08-01 12:36:08 +00:00
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_audio_video_offset"
2019-04-23 14:26:39 +00:00
c:identifier="gst_player_set_audio_video_offset"
version="1.10">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4348">Sets audio-video-offset property by value of @offset</doc>
<source-position filename="gstplayer.h" line="249"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4350">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
<parameter name="offset" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4351">#gint64 in nanoseconds</doc>
2017-08-01 12:36:08 +00:00
<type name="gint64" c:type="gint64"/>
</parameter>
</parameters>
</method>
<method name="set_color_balance"
c:identifier="gst_player_set_color_balance">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4175">Sets the current value of the indicated channel @type to the passed
2017-08-01 12:36:08 +00:00
value.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="222"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4177">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
<parameter name="type" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4178">#GstPlayerColorBalanceType</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerColorBalanceType"
c:type="GstPlayerColorBalanceType"/>
</parameter>
<parameter name="value" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4179">The new value for the @type, ranged [0,1]</doc>
2017-08-01 12:36:08 +00:00
<type name="gdouble" c:type="gdouble"/>
</parameter>
</parameters>
</method>
2019-04-23 14:26:39 +00:00
<method name="set_config"
c:identifier="gst_player_set_config"
version="1.10">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4534">Set the configuration of the player. If the player is already configured, and
2017-08-01 12:36:08 +00:00
the configuration haven't change, this function will return %TRUE. If the
player is not in the GST_PLAYER_STATE_STOPPED, this method will return %FALSE
and active configuration will remain.
@config is a #GstStructure that contains the configuration parameters for
the player.
This function takes ownership of @config.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="260"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4549">%TRUE when the configuration could be set.</doc>
2017-08-01 12:36:08 +00:00
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4536">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
<parameter name="config" transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4537">a #GstStructure</doc>
2017-08-01 12:36:08 +00:00
<type name="Gst.Structure" c:type="GstStructure*"/>
</parameter>
</parameters>
</method>
<method name="set_multiview_flags"
c:identifier="gst_player_set_multiview_flags"
version="1.10">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4308">Sets the current value of the indicated mode @type to the passed
2017-08-01 12:36:08 +00:00
value.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="242"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4310">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
<parameter name="flags" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4311">The new value for the @type</doc>
2017-08-01 12:36:08 +00:00
<type name="GstVideo.VideoMultiviewFlags"
c:type="GstVideoMultiviewFlags"/>
</parameter>
</parameters>
</method>
<method name="set_multiview_mode"
c:identifier="gst_player_set_multiview_mode"
version="1.10">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4267">Sets the current value of the indicated mode @type to the passed
2017-08-01 12:36:08 +00:00
value.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="235"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4269">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
<parameter name="mode" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4270">The new value for the @type</doc>
<type name="GstVideo.VideoMultiviewFramePacking"
c:type="GstVideoMultiviewFramePacking"/>
2017-08-01 12:36:08 +00:00
</parameter>
</parameters>
</method>
<method name="set_mute" c:identifier="gst_player_set_mute">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3658">%TRUE if the currently-playing stream should be muted.</doc>
<source-position filename="gstplayer.h" line="165"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3660">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
<parameter name="val" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3661">Mute state the should be set</doc>
2017-08-01 12:36:08 +00:00
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_rate" c:identifier="gst_player_set_rate">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3389">Playback at specified rate</doc>
<source-position filename="gstplayer.h" line="128"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3391">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
<parameter name="rate" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3392">playback rate</doc>
2017-08-01 12:36:08 +00:00
<type name="gdouble" c:type="gdouble"/>
</parameter>
</parameters>
</method>
<method name="set_subtitle_track"
c:identifier="gst_player_set_subtitle_track">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="192"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3929">%TRUE or %FALSE
2017-08-01 12:36:08 +00:00
Sets the subtitle strack @stream_index.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3926">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
<parameter name="stream_index" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3927">stream index</doc>
2017-08-01 12:36:08 +00:00
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="set_subtitle_track_enabled"
c:identifier="gst_player_set_subtitle_track_enabled">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4004">Enable or disable the current subtitle track.</doc>
<source-position filename="gstplayer.h" line="180"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4006">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4007">TRUE or FALSE</doc>
2017-08-01 12:36:08 +00:00
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_subtitle_uri"
c:identifier="gst_player_set_subtitle_uri">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3527">Sets the external subtitle URI. This should be combined with a call to
2018-03-15 07:49:56 +00:00
gst_player_set_subtitle_track_enabled(@player, TRUE) so the subtitles are actually
rendered.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="145"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3529">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
<parameter name="uri" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3530">subtitle URI</doc>
2017-08-01 12:36:08 +00:00
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
2019-04-23 14:26:39 +00:00
<method name="set_subtitle_video_offset"
c:identifier="gst_player_set_subtitle_video_offset"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4387">Sets subtitle-video-offset property by value of @offset</doc>
<source-position filename="gstplayer.h" line="256"/>
2019-04-23 14:26:39 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4389">#GstPlayer instance</doc>
2019-04-23 14:26:39 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
<parameter name="offset" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4390">#gint64 in nanoseconds</doc>
2019-04-23 14:26:39 +00:00
<type name="gint64" c:type="gint64"/>
</parameter>
</parameters>
</method>
2017-08-01 12:36:08 +00:00
<method name="set_uri" c:identifier="gst_player_set_uri">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3512">Sets the next URI to play.</doc>
<source-position filename="gstplayer.h" line="138"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3514">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
<parameter name="uri" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3515">next URI to play.</doc>
2017-08-01 12:36:08 +00:00
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_video_track" c:identifier="gst_player_set_video_track">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="188"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3887">%TRUE or %FALSE
2017-08-01 12:36:08 +00:00
Sets the video track @stream_index.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3884">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
<parameter name="stream_index" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3885">stream index</doc>
2017-08-01 12:36:08 +00:00
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="set_video_track_enabled"
c:identifier="gst_player_set_video_track_enabled">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3984">Enable or disable the current video track.</doc>
<source-position filename="gstplayer.h" line="172"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3986">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3987">TRUE or FALSE</doc>
2017-08-01 12:36:08 +00:00
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_visualization"
c:identifier="gst_player_set_visualization">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="208"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4030">%TRUE if the visualizations was set correctly. Otherwise,
2017-08-01 12:36:08 +00:00
%FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4026">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4027">visualization element obtained from
2017-08-01 12:36:08 +00:00
#gst_player_visualizations_get()</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_visualization_enabled"
c:identifier="gst_player_set_visualization_enabled">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4095">Enable or disable the visualization.</doc>
<source-position filename="gstplayer.h" line="212"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4097">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4098">TRUE or FALSE</doc>
2017-08-01 12:36:08 +00:00
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_volume" c:identifier="gst_player_set_volume">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3625">Sets the volume level of the stream as a percentage between 0 and 1.</doc>
<source-position filename="gstplayer.h" line="158"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3627">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
<parameter name="val" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3628">the new volume level, as a percentage between 0 and 1</doc>
2017-08-01 12:36:08 +00:00
<type name="gdouble" c:type="gdouble"/>
</parameter>
</parameters>
</method>
<method name="stop" c:identifier="gst_player_stop">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3284">Stops playing the current stream and resets to the first position
2017-08-01 12:36:08 +00:00
in the stream.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="121"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="3286">#GstPlayer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
</parameters>
</method>
<property name="audio-video-offset"
writable="1"
transfer-ownership="none">
<type name="gint64" c:type="gint64"/>
</property>
<property name="current-audio-track" transfer-ownership="none">
<type name="PlayerAudioInfo"/>
</property>
<property name="current-subtitle-track" transfer-ownership="none">
<type name="PlayerSubtitleInfo"/>
</property>
<property name="current-video-track" transfer-ownership="none">
<type name="PlayerVideoInfo"/>
</property>
<property name="duration" transfer-ownership="none">
<type name="guint64" c:type="guint64"/>
</property>
<property name="media-info" transfer-ownership="none">
<type name="PlayerMediaInfo"/>
</property>
<property name="mute" writable="1" transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="pipeline" transfer-ownership="none">
<type name="Gst.Element"/>
</property>
<property name="position" transfer-ownership="none">
<type name="guint64" c:type="guint64"/>
</property>
<property name="rate" writable="1" transfer-ownership="none">
<type name="gdouble" c:type="gdouble"/>
</property>
<property name="signal-dispatcher"
readable="0"
writable="1"
construct-only="1"
transfer-ownership="none">
<type name="PlayerSignalDispatcher"/>
</property>
2019-04-23 14:26:39 +00:00
<property name="subtitle-video-offset"
writable="1"
transfer-ownership="none">
<type name="gint64" c:type="gint64"/>
</property>
2017-08-01 12:36:08 +00:00
<property name="suburi" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="uri" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="video-multiview-flags"
writable="1"
transfer-ownership="none">
<type name="GstVideo.VideoMultiviewFlags"/>
</property>
<property name="video-multiview-mode"
writable="1"
transfer-ownership="none">
<type name="GstVideo.VideoMultiviewFramePacking"/>
</property>
<property name="video-renderer"
readable="0"
writable="1"
construct-only="1"
transfer-ownership="none">
<type name="PlayerVideoRenderer"/>
</property>
<property name="volume" writable="1" transfer-ownership="none">
<type name="gdouble" c:type="gdouble"/>
</property>
<glib:signal name="buffering" when="last" no-recurse="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="gint" c:type="gint"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="duration-changed"
when="last"
no-recurse="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="guint64" c:type="guint64"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="end-of-stream"
when="last"
no-recurse="1"
no-hooks="1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="error" when="last" no-recurse="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="GLib.Error"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="media-info-updated"
when="last"
no-recurse="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="PlayerMediaInfo"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="mute-changed" when="last" no-recurse="1" no-hooks="1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="position-updated"
when="last"
no-recurse="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="guint64" c:type="guint64"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="seek-done" when="last" no-recurse="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="guint64" c:type="guint64"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="state-changed"
when="last"
no-recurse="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="PlayerState"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="uri-loaded" when="last" no-recurse="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>
</parameters>
</glib:signal>
<glib:signal name="video-dimensions-changed"
when="last"
no-recurse="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="gint" c:type="gint"/>
</parameter>
<parameter name="p0" transfer-ownership="none">
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="volume-changed"
when="last"
no-recurse="1"
no-hooks="1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="warning" when="last" no-recurse="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="GLib.Error"/>
</parameter>
</parameters>
</glib:signal>
</class>
<class name="PlayerAudioInfo"
c:symbol-prefix="player_audio_info"
c:type="GstPlayerAudioInfo"
parent="PlayerStreamInfo"
glib:type-name="GstPlayerAudioInfo"
glib:get-type="gst_player_audio_info_get_type"
glib:type-struct="PlayerAudioInfoClass">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.h"
line="123">#GstPlayerStreamInfo specific to audio streams.</doc>
<source-position filename="gstplayer-media-info.h" line="129"/>
2017-08-01 12:36:08 +00:00
<method name="get_bitrate"
c:identifier="gst_player_audio_info_get_bitrate">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="141"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="342">the audio bitrate in #GstPlayerAudioInfo.</doc>
2017-08-01 12:36:08 +00:00
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="340">a #GstPlayerAudioInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerAudioInfo" c:type="const GstPlayerAudioInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_channels"
c:identifier="gst_player_audio_info_get_channels">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="135"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="314">the number of audio channels in #GstPlayerAudioInfo.</doc>
2017-08-01 12:36:08 +00:00
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="312">a #GstPlayerAudioInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerAudioInfo" c:type="const GstPlayerAudioInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_language"
c:identifier="gst_player_audio_info_get_language">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="147"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="300">the language of the stream, or NULL if unknown.</doc>
2017-08-01 12:36:08 +00:00
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="298">a #GstPlayerAudioInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerAudioInfo" c:type="const GstPlayerAudioInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_max_bitrate"
c:identifier="gst_player_audio_info_get_max_bitrate">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="144"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="356">the audio maximum bitrate in #GstPlayerAudioInfo.</doc>
2017-08-01 12:36:08 +00:00
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="354">a #GstPlayerAudioInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerAudioInfo" c:type="const GstPlayerAudioInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_sample_rate"
c:identifier="gst_player_audio_info_get_sample_rate">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="138"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="328">the audio sample rate in #GstPlayerAudioInfo.</doc>
2017-08-01 12:36:08 +00:00
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="326">a #GstPlayerAudioInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerAudioInfo" c:type="const GstPlayerAudioInfo*"/>
</instance-parameter>
</parameters>
</method>
</class>
<record name="PlayerAudioInfoClass"
c:type="GstPlayerAudioInfoClass"
disguised="1"
glib:is-gtype-struct-for="PlayerAudioInfo">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="129"/>
2017-08-01 12:36:08 +00:00
</record>
<record name="PlayerClass"
c:type="GstPlayerClass"
disguised="1"
glib:is-gtype-struct-for="Player">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-types.h" line="30"/>
2017-08-01 12:36:08 +00:00
</record>
<enumeration name="PlayerColorBalanceType"
glib:type-name="GstPlayerColorBalanceType"
glib:get-type="gst_player_color_balance_type_get_type"
c:type="GstPlayerColorBalanceType">
<member name="hue"
value="3"
c:identifier="GST_PLAYER_COLOR_BALANCE_HUE"
glib:nick="hue">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.h"
line="86">hue or color balance.</doc>
2017-08-01 12:36:08 +00:00
</member>
<member name="brightness"
value="0"
c:identifier="GST_PLAYER_COLOR_BALANCE_BRIGHTNESS"
glib:nick="brightness">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.h"
line="82">brightness or black level.</doc>
2017-08-01 12:36:08 +00:00
</member>
<member name="saturation"
value="2"
c:identifier="GST_PLAYER_COLOR_BALANCE_SATURATION"
glib:nick="saturation">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.h"
line="84">color saturation or chroma
2017-08-01 12:36:08 +00:00
gain.</doc>
</member>
<member name="contrast"
value="1"
c:identifier="GST_PLAYER_COLOR_BALANCE_CONTRAST"
glib:nick="contrast">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.h"
line="83">contrast or luma gain.</doc>
2017-08-01 12:36:08 +00:00
</member>
<function name="get_name"
c:identifier="gst_player_color_balance_type_get_name">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4432">Gets a string representing the given color balance type.</doc>
<source-position filename="gstplayer.h" line="97"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstplayer.c"
line="4438">a string with the name of the color
2017-08-01 12:36:08 +00:00
balance type.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="type" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4434">a #GstPlayerColorBalanceType</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerColorBalanceType"
c:type="GstPlayerColorBalanceType"/>
</parameter>
</parameters>
</function>
</enumeration>
<enumeration name="PlayerError"
glib:type-name="GstPlayerError"
glib:get-type="gst_player_error_get_type"
c:type="GstPlayerError"
glib:error-domain="gst-player-error-quark">
<member name="failed"
value="0"
c:identifier="GST_PLAYER_ERROR_FAILED"
glib:nick="failed">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.h"
line="67">generic error.</doc>
2017-08-01 12:36:08 +00:00
</member>
<function name="get_name" c:identifier="gst_player_error_get_name">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4514">Gets a string representing the given error.</doc>
<source-position filename="gstplayer.h" line="74"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstplayer.c"
line="4520">a string with the given error.</doc>
2017-08-01 12:36:08 +00:00
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="error" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4516">a #GstPlayerError</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerError" c:type="GstPlayerError"/>
</parameter>
</parameters>
</function>
<function name="quark" c:identifier="gst_player_error_quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
</enumeration>
<class name="PlayerGMainContextSignalDispatcher"
c:symbol-prefix="player_g_main_context_signal_dispatcher"
c:type="GstPlayerGMainContextSignalDispatcher"
parent="GObject.Object"
glib:type-name="GstPlayerGMainContextSignalDispatcher"
glib:get-type="gst_player_g_main_context_signal_dispatcher_get_type"
glib:type-struct="PlayerGMainContextSignalDispatcherClass">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-g-main-context-signal-dispatcher.h"
line="32"/>
2017-08-01 12:36:08 +00:00
<implements name="PlayerSignalDispatcher"/>
<function name="new"
c:identifier="gst_player_g_main_context_signal_dispatcher_new">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-g-main-context-signal-dispatcher.c"
line="198">Creates a new GstPlayerSignalDispatcher that uses @application_context,
2017-08-01 12:36:08 +00:00
or the thread default one if %NULL is used. See gst_player_new_full().</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-g-main-context-signal-dispatcher.h"
line="46"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-g-main-context-signal-dispatcher.c"
line="205">the new GstPlayerSignalDispatcher</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerSignalDispatcher"
c:type="GstPlayerSignalDispatcher*"/>
</return-value>
<parameters>
<parameter name="application_context"
transfer-ownership="none"
nullable="1"
allow-none="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-g-main-context-signal-dispatcher.c"
line="200">GMainContext to use or %NULL</doc>
2017-08-01 12:36:08 +00:00
<type name="GLib.MainContext" c:type="GMainContext*"/>
</parameter>
</parameters>
</function>
<property name="application-context"
writable="1"
construct-only="1"
transfer-ownership="none">
<type name="GLib.MainContext"/>
</property>
</class>
<record name="PlayerGMainContextSignalDispatcherClass"
c:type="GstPlayerGMainContextSignalDispatcherClass"
disguised="1"
glib:is-gtype-struct-for="PlayerGMainContextSignalDispatcher">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-g-main-context-signal-dispatcher.h"
line="32"/>
2017-08-01 12:36:08 +00:00
</record>
<class name="PlayerMediaInfo"
c:symbol-prefix="player_media_info"
c:type="GstPlayerMediaInfo"
parent="GObject.Object"
glib:type-name="GstPlayerMediaInfo"
glib:get-type="gst_player_media_info_get_type"
glib:type-struct="PlayerMediaInfoClass">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.h"
line="185">Structure containing the media information of a URI.</doc>
<source-position filename="gstplayer-media-info.h" line="191"/>
2017-08-01 12:36:08 +00:00
<method name="get_audio_streams"
c:identifier="gst_player_media_info_get_audio_streams">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="221"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="715">A #GList of
2017-08-01 12:36:08 +00:00
matching #GstPlayerAudioInfo.</doc>
<type name="GLib.List" c:type="GList*">
<type name="PlayerAudioInfo"/>
</type>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="713">a #GstPlayerMediaInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerMediaInfo" c:type="const GstPlayerMediaInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_container_format"
c:identifier="gst_player_media_info_get_container_format">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="239"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="772">the container format.</doc>
2017-08-01 12:36:08 +00:00
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="770">a #GstPlayerMediaInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerMediaInfo" c:type="const GstPlayerMediaInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_duration"
c:identifier="gst_player_media_info_get_duration">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="206"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="730">duration of the media.</doc>
2017-08-01 12:36:08 +00:00
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="728">a #GstPlayerMediaInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerMediaInfo" c:type="const GstPlayerMediaInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_image_sample"
c:identifier="gst_player_media_info_get_image_sample">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="782">Function to get the image (or preview-image) stored in taglist.
2017-08-01 12:36:08 +00:00
Application can use gst_sample_*_() API's to get caps, buffer etc.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="242"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="789">GstSample or NULL.</doc>
2017-08-01 12:36:08 +00:00
<type name="Gst.Sample" c:type="GstSample*"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="784">a #GstPlayerMediaInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerMediaInfo" c:type="const GstPlayerMediaInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_number_of_audio_streams"
c:identifier="gst_player_media_info_get_number_of_audio_streams"
version="1.12">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="224"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="834">number of audio streams.</doc>
2017-08-01 12:36:08 +00:00
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="832">a #GstPlayerMediaInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerMediaInfo" c:type="const GstPlayerMediaInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_number_of_streams"
c:identifier="gst_player_media_info_get_number_of_streams"
version="1.12">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="212"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="803">number of total streams.</doc>
2017-08-01 12:36:08 +00:00
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="801">a #GstPlayerMediaInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerMediaInfo" c:type="const GstPlayerMediaInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_number_of_subtitle_streams"
c:identifier="gst_player_media_info_get_number_of_subtitle_streams"
version="1.12">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="230"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="850">number of subtitle streams.</doc>
2017-08-01 12:36:08 +00:00
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="848">a #GstPlayerMediaInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerMediaInfo" c:type="const GstPlayerMediaInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_number_of_video_streams"
c:identifier="gst_player_media_info_get_number_of_video_streams"
version="1.12">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="218"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="818">number of video streams.</doc>
2017-08-01 12:36:08 +00:00
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="816">a #GstPlayerMediaInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerMediaInfo" c:type="const GstPlayerMediaInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_stream_list"
c:identifier="gst_player_media_info_get_stream_list">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="209"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="670">A #GList of
2017-08-01 12:36:08 +00:00
matching #GstPlayerStreamInfo.</doc>
<type name="GLib.List" c:type="GList*">
<type name="PlayerStreamInfo"/>
</type>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="668">a #GstPlayerMediaInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerMediaInfo" c:type="const GstPlayerMediaInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_subtitle_streams"
c:identifier="gst_player_media_info_get_subtitle_streams">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="227"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="700">A #GList of
2017-08-01 12:36:08 +00:00
matching #GstPlayerSubtitleInfo.</doc>
<type name="GLib.List" c:type="GList*">
<type name="PlayerSubtitleInfo"/>
</type>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="698">a #GstPlayerMediaInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerMediaInfo" c:type="const GstPlayerMediaInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_tags" c:identifier="gst_player_media_info_get_tags">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="233"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="744">the tags contained in media info.</doc>
2017-08-01 12:36:08 +00:00
<type name="Gst.TagList" c:type="GstTagList*"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="742">a #GstPlayerMediaInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerMediaInfo" c:type="const GstPlayerMediaInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_title" c:identifier="gst_player_media_info_get_title">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="236"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="758">the media title.</doc>
2017-08-01 12:36:08 +00:00
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="756">a #GstPlayerMediaInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerMediaInfo" c:type="const GstPlayerMediaInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_uri" c:identifier="gst_player_media_info_get_uri">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="197"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="628">the URI associated with #GstPlayerMediaInfo.</doc>
2017-08-01 12:36:08 +00:00
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="626">a #GstPlayerMediaInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerMediaInfo" c:type="const GstPlayerMediaInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_video_streams"
c:identifier="gst_player_media_info_get_video_streams">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="215"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="685">A #GList of
2017-08-01 12:36:08 +00:00
matching #GstPlayerVideoInfo.</doc>
<type name="GLib.List" c:type="GList*">
<type name="PlayerVideoInfo"/>
</type>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="683">a #GstPlayerMediaInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerMediaInfo" c:type="const GstPlayerMediaInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_live" c:identifier="gst_player_media_info_is_live">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="203"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="656">%TRUE if the media is live.</doc>
2017-08-01 12:36:08 +00:00
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="654">a #GstPlayerMediaInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerMediaInfo" c:type="const GstPlayerMediaInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_seekable"
c:identifier="gst_player_media_info_is_seekable">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="200"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="642">%TRUE if the media is seekable.</doc>
2017-08-01 12:36:08 +00:00
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="640">a #GstPlayerMediaInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerMediaInfo" c:type="const GstPlayerMediaInfo*"/>
</instance-parameter>
</parameters>
</method>
</class>
<record name="PlayerMediaInfoClass"
c:type="GstPlayerMediaInfoClass"
disguised="1"
glib:is-gtype-struct-for="PlayerMediaInfo">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="191"/>
2017-08-01 12:36:08 +00:00
</record>
<interface name="PlayerSignalDispatcher"
c:symbol-prefix="player_signal_dispatcher"
c:type="GstPlayerSignalDispatcher"
glib:type-name="GstPlayerSignalDispatcher"
glib:get-type="gst_player_signal_dispatcher_get_type"
glib:type-struct="PlayerSignalDispatcherInterface">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-signal-dispatcher.h" line="47"/>
2017-08-01 12:36:08 +00:00
<virtual-method name="dispatch">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-signal-dispatcher.h" line="42"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="PlayerSignalDispatcher"
c:type="GstPlayerSignalDispatcher*"/>
</instance-parameter>
<parameter name="player" transfer-ownership="none">
<type name="Player" c:type="GstPlayer*"/>
</parameter>
<parameter name="emitter"
transfer-ownership="none"
scope="notified"
closure="2"
destroy="3">
<type name="PlayerSignalDispatcherFunc"
c:type="GstPlayerSignalDispatcherFunc"/>
</parameter>
<parameter name="data"
transfer-ownership="none"
nullable="1"
allow-none="1">
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="destroy" transfer-ownership="none" scope="async">
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</virtual-method>
</interface>
<callback name="PlayerSignalDispatcherFunc"
c:type="GstPlayerSignalDispatcherFunc">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-signal-dispatcher.h" line="37"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="data"
transfer-ownership="none"
nullable="1"
allow-none="1">
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<record name="PlayerSignalDispatcherInterface"
c:type="GstPlayerSignalDispatcherInterface"
glib:is-gtype-struct-for="PlayerSignalDispatcher">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-signal-dispatcher.h" line="47"/>
2017-08-01 12:36:08 +00:00
<field name="parent_iface">
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
</field>
<field name="dispatch">
<callback name="dispatch">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-signal-dispatcher.h" line="42"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="self" transfer-ownership="none">
<type name="PlayerSignalDispatcher"
c:type="GstPlayerSignalDispatcher*"/>
</parameter>
<parameter name="player" transfer-ownership="none">
<type name="Player" c:type="GstPlayer*"/>
</parameter>
<parameter name="emitter"
transfer-ownership="none"
scope="notified"
closure="3"
destroy="4">
<type name="PlayerSignalDispatcherFunc"
c:type="GstPlayerSignalDispatcherFunc"/>
</parameter>
<parameter name="data"
transfer-ownership="none"
nullable="1"
allow-none="1">
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="destroy" transfer-ownership="none" scope="async">
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</callback>
</field>
</record>
<enumeration name="PlayerSnapshotFormat" c:type="GstPlayerSnapshotFormat">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer.h" line="295"/>
2017-08-01 12:36:08 +00:00
<member name="raw_native"
value="0"
c:identifier="GST_PLAYER_THUMBNAIL_RAW_NATIVE">
</member>
<member name="raw_xrgb"
value="1"
c:identifier="GST_PLAYER_THUMBNAIL_RAW_xRGB">
</member>
<member name="raw_bgrx"
value="2"
c:identifier="GST_PLAYER_THUMBNAIL_RAW_BGRx">
</member>
<member name="jpg" value="3" c:identifier="GST_PLAYER_THUMBNAIL_JPG">
</member>
<member name="png" value="4" c:identifier="GST_PLAYER_THUMBNAIL_PNG">
</member>
</enumeration>
<enumeration name="PlayerState"
glib:type-name="GstPlayerState"
glib:get-type="gst_player_state_get_type"
c:type="GstPlayerState">
<member name="stopped"
value="0"
c:identifier="GST_PLAYER_STATE_STOPPED"
glib:nick="stopped">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.h"
line="40">the player is stopped.</doc>
2017-08-01 12:36:08 +00:00
</member>
<member name="buffering"
value="1"
c:identifier="GST_PLAYER_STATE_BUFFERING"
glib:nick="buffering">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.h"
line="41">the player is buffering.</doc>
2017-08-01 12:36:08 +00:00
</member>
<member name="paused"
value="2"
c:identifier="GST_PLAYER_STATE_PAUSED"
glib:nick="paused">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.h"
line="42">the player is paused.</doc>
2017-08-01 12:36:08 +00:00
</member>
<member name="playing"
value="3"
c:identifier="GST_PLAYER_STATE_PLAYING"
glib:nick="playing">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.h"
line="43">the player is currently playing a
2017-08-01 12:36:08 +00:00
stream.</doc>
</member>
<function name="get_name" c:identifier="gst_player_state_get_name">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4471">Gets a string representing the given state.</doc>
<source-position filename="gstplayer.h" line="55"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstplayer.c"
line="4477">a string with the name of the state.</doc>
2017-08-01 12:36:08 +00:00
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="state" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4473">a #GstPlayerState</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerState" c:type="GstPlayerState"/>
</parameter>
</parameters>
</function>
</enumeration>
<class name="PlayerStreamInfo"
c:symbol-prefix="player_stream_info"
c:type="GstPlayerStreamInfo"
parent="GObject.Object"
abstract="1"
glib:type-name="GstPlayerStreamInfo"
glib:get-type="gst_player_stream_info_get_type"
glib:type-struct="PlayerStreamInfoClass">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.h"
line="40">Base structure for information concering a media stream. Depending on
2017-08-01 12:36:08 +00:00
the stream type, one can find more media-specific information in
#GstPlayerVideoInfo, #GstPlayerAudioInfo, #GstPlayerSubtitleInfo.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="48"/>
2017-08-01 12:36:08 +00:00
<method name="get_caps" c:identifier="gst_player_stream_info_get_caps">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="63"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="142">the #GstCaps of the stream.</doc>
2017-08-01 12:36:08 +00:00
<type name="Gst.Caps" c:type="GstCaps*"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="140">a #GstPlayerStreamInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerStreamInfo" c:type="const GstPlayerStreamInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_codec" c:identifier="gst_player_stream_info_get_codec">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="122">A string describing codec used in #GstPlayerStreamInfo.</doc>
<source-position filename="gstplayer-media-info.h" line="66"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="128">codec string or NULL on unknown.</doc>
2017-08-01 12:36:08 +00:00
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="124">a #GstPlayerStreamInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerStreamInfo" c:type="const GstPlayerStreamInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_index" c:identifier="gst_player_stream_info_get_index">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="70">Function to get stream index from #GstPlayerStreamInfo instance.</doc>
<source-position filename="gstplayer-media-info.h" line="54"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="76">the stream index of this stream.</doc>
2017-08-01 12:36:08 +00:00
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="72">a #GstPlayerStreamInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerStreamInfo" c:type="const GstPlayerStreamInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_stream_type"
c:identifier="gst_player_stream_info_get_stream_type">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="86">Function to return human readable name for the stream type
2017-08-01 12:36:08 +00:00
of the given @info (ex: "audio", "video", "subtitle")</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="57"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="93">a human readable name</doc>
2017-08-01 12:36:08 +00:00
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="88">a #GstPlayerStreamInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerStreamInfo" c:type="const GstPlayerStreamInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_tags" c:identifier="gst_player_stream_info_get_tags">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="60"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="112">the tags contained in this stream.</doc>
2017-08-01 12:36:08 +00:00
<type name="Gst.TagList" c:type="GstTagList*"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="110">a #GstPlayerStreamInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerStreamInfo" c:type="const GstPlayerStreamInfo*"/>
</instance-parameter>
</parameters>
</method>
</class>
<record name="PlayerStreamInfoClass"
c:type="GstPlayerStreamInfoClass"
disguised="1"
glib:is-gtype-struct-for="PlayerStreamInfo">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="48"/>
2017-08-01 12:36:08 +00:00
</record>
<class name="PlayerSubtitleInfo"
c:symbol-prefix="player_subtitle_info"
c:type="GstPlayerSubtitleInfo"
parent="PlayerStreamInfo"
glib:type-name="GstPlayerSubtitleInfo"
glib:get-type="gst_player_subtitle_info_get_type"
glib:type-struct="PlayerSubtitleInfoClass">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.h"
line="160">#GstPlayerStreamInfo specific to subtitle streams.</doc>
<source-position filename="gstplayer-media-info.h" line="166"/>
2017-08-01 12:36:08 +00:00
<method name="get_language"
c:identifier="gst_player_subtitle_info_get_language">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="172"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="398">the language of the stream, or NULL if unknown.</doc>
2017-08-01 12:36:08 +00:00
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="396">a #GstPlayerSubtitleInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerSubtitleInfo"
c:type="const GstPlayerSubtitleInfo*"/>
</instance-parameter>
</parameters>
</method>
</class>
<record name="PlayerSubtitleInfoClass"
c:type="GstPlayerSubtitleInfoClass"
disguised="1"
glib:is-gtype-struct-for="PlayerSubtitleInfo">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="166"/>
2017-08-01 12:36:08 +00:00
</record>
<class name="PlayerVideoInfo"
c:symbol-prefix="player_video_info"
c:type="GstPlayerVideoInfo"
parent="PlayerStreamInfo"
glib:type-name="GstPlayerVideoInfo"
glib:get-type="gst_player_video_info_get_type"
glib:type-struct="PlayerVideoInfoClass">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.h"
line="79">#GstPlayerStreamInfo specific to video streams.</doc>
<source-position filename="gstplayer-media-info.h" line="85"/>
2017-08-01 12:36:08 +00:00
<method name="get_bitrate"
c:identifier="gst_player_video_info_get_bitrate">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="91"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="241">the current bitrate of video in #GstPlayerVideoInfo.</doc>
2017-08-01 12:36:08 +00:00
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="239">a #GstPlayerVideoInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerVideoInfo" c:type="const GstPlayerVideoInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_framerate"
c:identifier="gst_player_video_info_get_framerate">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="103"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="203">a #GstPlayerVideoInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerVideoInfo" c:type="const GstPlayerVideoInfo*"/>
</instance-parameter>
<parameter name="fps_n"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="204">Numerator of frame rate</doc>
2017-08-01 12:36:08 +00:00
<type name="gint" c:type="gint*"/>
</parameter>
<parameter name="fps_d"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="205">Denominator of frame rate</doc>
2017-08-01 12:36:08 +00:00
<type name="gint" c:type="gint*"/>
</parameter>
</parameters>
</method>
<method name="get_height"
c:identifier="gst_player_video_info_get_height">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="100"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="191">the height of video in #GstPlayerVideoInfo.</doc>
2017-08-01 12:36:08 +00:00
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="189">a #GstPlayerVideoInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerVideoInfo" c:type="const GstPlayerVideoInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_max_bitrate"
c:identifier="gst_player_video_info_get_max_bitrate">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="94"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="255">the maximum bitrate of video in #GstPlayerVideoInfo.</doc>
2017-08-01 12:36:08 +00:00
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="253">a #GstPlayerVideoInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerVideoInfo" c:type="const GstPlayerVideoInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_pixel_aspect_ratio"
c:identifier="gst_player_video_info_get_pixel_aspect_ratio">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="218">Returns the pixel aspect ratio in @par_n and @par_d</doc>
<source-position filename="gstplayer-media-info.h" line="108"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="220">a #GstPlayerVideoInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerVideoInfo" c:type="const GstPlayerVideoInfo*"/>
</instance-parameter>
<parameter name="par_n"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="221">numerator</doc>
2017-08-01 12:36:08 +00:00
<type name="guint" c:type="guint*"/>
</parameter>
<parameter name="par_d"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="222">denominator</doc>
2017-08-01 12:36:08 +00:00
<type name="guint" c:type="guint*"/>
</parameter>
</parameters>
</method>
<method name="get_width" c:identifier="gst_player_video_info_get_width">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="97"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="177">the width of video in #GstPlayerVideoInfo.</doc>
2017-08-01 12:36:08 +00:00
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-media-info.c"
line="175">a #GstPlayerVideoInfo</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerVideoInfo" c:type="const GstPlayerVideoInfo*"/>
</instance-parameter>
</parameters>
</method>
</class>
<record name="PlayerVideoInfoClass"
c:type="GstPlayerVideoInfoClass"
disguised="1"
glib:is-gtype-struct-for="PlayerVideoInfo">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-media-info.h" line="85"/>
2017-08-01 12:36:08 +00:00
</record>
<class name="PlayerVideoOverlayVideoRenderer"
c:symbol-prefix="player_video_overlay_video_renderer"
c:type="GstPlayerVideoOverlayVideoRenderer"
parent="GObject.Object"
glib:type-name="GstPlayerVideoOverlayVideoRenderer"
glib:get-type="gst_player_video_overlay_video_renderer_get_type"
glib:type-struct="PlayerVideoOverlayVideoRendererClass">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-video-overlay-video-renderer.h"
line="32"/>
2017-08-01 12:36:08 +00:00
<implements name="PlayerVideoRenderer"/>
<function name="new"
c:identifier="gst_player_video_overlay_video_renderer_new">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-video-overlay-video-renderer.h"
line="46"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="full">
<type name="PlayerVideoRenderer" c:type="GstPlayerVideoRenderer*"/>
</return-value>
<parameters>
<parameter name="window_handle"
transfer-ownership="none"
nullable="1"
allow-none="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-video-overlay-video-renderer.c"
line="204">Window handle to use or %NULL</doc>
2017-08-01 12:36:08 +00:00
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</function>
<function name="new_with_sink"
2019-04-23 14:26:39 +00:00
c:identifier="gst_player_video_overlay_video_renderer_new_with_sink"
version="1.12">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-video-overlay-video-renderer.h"
line="49"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="full">
<type name="PlayerVideoRenderer" c:type="GstPlayerVideoRenderer*"/>
</return-value>
<parameters>
<parameter name="window_handle"
transfer-ownership="none"
nullable="1"
allow-none="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-video-overlay-video-renderer.c"
line="217">Window handle to use or %NULL</doc>
2017-08-01 12:36:08 +00:00
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="video_sink" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-video-overlay-video-renderer.c"
line="218">the custom video_sink element to be set for the video renderer</doc>
2017-08-01 12:36:08 +00:00
<type name="Gst.Element" c:type="GstElement*"/>
</parameter>
</parameters>
</function>
<method name="expose"
c:identifier="gst_player_video_overlay_video_renderer_expose">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-video-overlay-video-renderer.c"
line="268">Tell an overlay that it has been exposed. This will redraw the current frame
2017-08-01 12:36:08 +00:00
in the drawable even if the pipeline is PAUSED.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-video-overlay-video-renderer.h"
line="58"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-video-overlay-video-renderer.c"
line="270">a #GstPlayerVideoOverlayVideoRenderer instance.</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerVideoOverlayVideoRenderer"
c:type="GstPlayerVideoOverlayVideoRenderer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_render_rectangle"
c:identifier="gst_player_video_overlay_video_renderer_get_render_rectangle">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-video-overlay-video-renderer.c"
line="320">Return the currently configured render rectangle. See gst_player_video_overlay_video_renderer_set_render_rectangle()
2017-08-01 12:36:08 +00:00
for details.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-video-overlay-video-renderer.h"
line="64"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-video-overlay-video-renderer.c"
line="322">a #GstPlayerVideoOverlayVideoRenderer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerVideoOverlayVideoRenderer"
c:type="GstPlayerVideoOverlayVideoRenderer*"/>
</instance-parameter>
<parameter name="x"
direction="out"
caller-allocates="0"
transfer-ownership="full"
optional="1"
allow-none="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-video-overlay-video-renderer.c"
line="323">the horizontal offset of the render area inside the window</doc>
2017-08-01 12:36:08 +00:00
<type name="gint" c:type="gint*"/>
</parameter>
<parameter name="y"
direction="out"
caller-allocates="0"
transfer-ownership="full"
optional="1"
allow-none="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-video-overlay-video-renderer.c"
line="324">the vertical offset of the render area inside the window</doc>
2017-08-01 12:36:08 +00:00
<type name="gint" c:type="gint*"/>
</parameter>
<parameter name="width"
direction="out"
caller-allocates="0"
transfer-ownership="full"
optional="1"
allow-none="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-video-overlay-video-renderer.c"
line="325">the width of the render area inside the window</doc>
2017-08-01 12:36:08 +00:00
<type name="gint" c:type="gint*"/>
</parameter>
<parameter name="height"
direction="out"
caller-allocates="0"
transfer-ownership="full"
optional="1"
allow-none="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-video-overlay-video-renderer.c"
line="326">the height of the render area inside the window</doc>
2017-08-01 12:36:08 +00:00
<type name="gint" c:type="gint*"/>
</parameter>
</parameters>
</method>
<method name="get_window_handle"
c:identifier="gst_player_video_overlay_video_renderer_get_window_handle">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-video-overlay-video-renderer.h"
line="55"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none" nullable="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-video-overlay-video-renderer.c"
line="252">The currently set, platform specific window
2017-08-01 12:36:08 +00:00
handle</doc>
<type name="gpointer" c:type="gpointer"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-video-overlay-video-renderer.c"
line="250">#GstPlayerVideoRenderer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerVideoOverlayVideoRenderer"
c:type="GstPlayerVideoOverlayVideoRenderer*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_render_rectangle"
c:identifier="gst_player_video_overlay_video_renderer_set_render_rectangle">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-video-overlay-video-renderer.c"
line="284">Configure a subregion as a video target within the window set by
2017-08-01 12:36:08 +00:00
gst_player_video_overlay_video_renderer_set_window_handle(). If this is not
used or not supported the video will fill the area of the window set as the
overlay to 100%. By specifying the rectangle, the video can be overlaid to
a specific region of that window only. After setting the new rectangle one
should call gst_player_video_overlay_video_renderer_expose() to force a
redraw. To unset the region pass -1 for the @width and @height parameters.
This method is needed for non fullscreen video overlay in UI toolkits that
do not support subwindows.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-video-overlay-video-renderer.h"
line="61"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-video-overlay-video-renderer.c"
line="286">a #GstPlayerVideoOverlayVideoRenderer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerVideoOverlayVideoRenderer"
c:type="GstPlayerVideoOverlayVideoRenderer*"/>
</instance-parameter>
<parameter name="x" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-video-overlay-video-renderer.c"
line="287">the horizontal offset of the render area inside the window</doc>
2017-08-01 12:36:08 +00:00
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="y" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-video-overlay-video-renderer.c"
line="288">the vertical offset of the render area inside the window</doc>
2017-08-01 12:36:08 +00:00
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="width" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-video-overlay-video-renderer.c"
line="289">the width of the render area inside the window</doc>
2017-08-01 12:36:08 +00:00
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="height" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-video-overlay-video-renderer.c"
line="290">the height of the render area inside the window</doc>
2017-08-01 12:36:08 +00:00
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="set_window_handle"
c:identifier="gst_player_video_overlay_video_renderer_set_window_handle">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-video-overlay-video-renderer.c"
line="232">Sets the platform specific window handle into which the video
2017-08-01 12:36:08 +00:00
should be rendered</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-video-overlay-video-renderer.h"
line="52"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-video-overlay-video-renderer.c"
line="234">#GstPlayerVideoRenderer instance</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerVideoOverlayVideoRenderer"
c:type="GstPlayerVideoOverlayVideoRenderer*"/>
</instance-parameter>
<parameter name="window_handle"
transfer-ownership="none"
nullable="1"
allow-none="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-video-overlay-video-renderer.c"
line="235">handle referencing to the platform specific window</doc>
2017-08-01 12:36:08 +00:00
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<property name="video-sink" writable="1" transfer-ownership="none">
<type name="Gst.Element"/>
</property>
<property name="window-handle"
writable="1"
construct="1"
transfer-ownership="none">
<type name="gpointer" c:type="gpointer"/>
</property>
</class>
<record name="PlayerVideoOverlayVideoRendererClass"
c:type="GstPlayerVideoOverlayVideoRendererClass"
disguised="1"
glib:is-gtype-struct-for="PlayerVideoOverlayVideoRenderer">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-video-overlay-video-renderer.h"
line="32"/>
2017-08-01 12:36:08 +00:00
</record>
<interface name="PlayerVideoRenderer"
c:symbol-prefix="player_video_renderer"
c:type="GstPlayerVideoRenderer"
glib:type-name="GstPlayerVideoRenderer"
glib:get-type="gst_player_video_renderer_get_type"
glib:type-struct="PlayerVideoRendererInterface">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-video-renderer.h" line="41"/>
2017-08-01 12:36:08 +00:00
<virtual-method name="create_video_sink" introspectable="0">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-video-renderer.h" line="40"/>
2017-08-01 12:36:08 +00:00
<return-value>
<type name="Gst.Element" c:type="GstElement*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="PlayerVideoRenderer" c:type="GstPlayerVideoRenderer*"/>
</instance-parameter>
<parameter name="player" transfer-ownership="none">
<type name="Player" c:type="GstPlayer*"/>
</parameter>
</parameters>
</virtual-method>
</interface>
<record name="PlayerVideoRendererInterface"
c:type="GstPlayerVideoRendererInterface"
glib:is-gtype-struct-for="PlayerVideoRenderer">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-video-renderer.h" line="41"/>
2017-08-01 12:36:08 +00:00
<field name="parent_iface">
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
</field>
<field name="create_video_sink" introspectable="0">
<callback name="create_video_sink" introspectable="0">
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-video-renderer.h" line="40"/>
2017-08-01 12:36:08 +00:00
<return-value>
<type name="Gst.Element" c:type="GstElement*"/>
</return-value>
<parameters>
<parameter name="self" transfer-ownership="none">
<type name="PlayerVideoRenderer"
c:type="GstPlayerVideoRenderer*"/>
</parameter>
<parameter name="player" transfer-ownership="none">
<type name="Player" c:type="GstPlayer*"/>
</parameter>
</parameters>
</callback>
</field>
</record>
<record name="PlayerVisualization"
c:type="GstPlayerVisualization"
glib:type-name="GstPlayerVisualization"
glib:get-type="gst_player_visualization_get_type"
c:symbol-prefix="player_visualization">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-visualization.h"
line="31">A #GstPlayerVisualization descriptor.</doc>
<source-position filename="gstplayer-visualization.h" line="41"/>
2017-08-01 12:36:08 +00:00
<field name="name" writable="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-visualization.h"
line="33">name of the visualization.</doc>
2017-08-01 12:36:08 +00:00
<type name="utf8" c:type="gchar*"/>
</field>
<field name="description" writable="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-visualization.h"
line="34">description of the visualization.</doc>
2017-08-01 12:36:08 +00:00
<type name="utf8" c:type="gchar*"/>
</field>
<method name="copy" c:identifier="gst_player_visualization_copy">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-visualization.c"
line="61">Makes a copy of the #GstPlayerVisualization. The result must be
2017-08-01 12:36:08 +00:00
freed using gst_player_visualization_free().</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstplayer-visualization.h" line="47"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-visualization.c"
line="68">an allocated copy of @vis.</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerVisualization" c:type="GstPlayerVisualization*"/>
</return-value>
<parameters>
<instance-parameter name="vis" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-visualization.c"
line="63">#GstPlayerVisualization instance</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerVisualization"
c:type="const GstPlayerVisualization*"/>
</instance-parameter>
</parameters>
</method>
<method name="free" c:identifier="gst_player_visualization_free">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-visualization.c"
line="45">Frees a #GstPlayerVisualization.</doc>
<source-position filename="gstplayer-visualization.h" line="50"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="vis" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer-visualization.c"
line="47">#GstPlayerVisualization instance</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerVisualization" c:type="GstPlayerVisualization*"/>
</instance-parameter>
</parameters>
</method>
</record>
<function name="player_color_balance_type_get_name"
c:identifier="gst_player_color_balance_type_get_name"
moved-to="PlayerColorBalanceType.get_name">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4432">Gets a string representing the given color balance type.</doc>
<source-position filename="gstplayer.h" line="97"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4438">a string with the name of the color
2017-08-01 12:36:08 +00:00
balance type.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="type" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4434">a #GstPlayerColorBalanceType</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerColorBalanceType"
c:type="GstPlayerColorBalanceType"/>
</parameter>
</parameters>
</function>
<function name="player_error_get_name"
c:identifier="gst_player_error_get_name"
moved-to="PlayerError.get_name">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4514">Gets a string representing the given error.</doc>
<source-position filename="gstplayer.h" line="74"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4520">a string with the given error.</doc>
2017-08-01 12:36:08 +00:00
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="error" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4516">a #GstPlayerError</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerError" c:type="GstPlayerError"/>
</parameter>
</parameters>
</function>
<function name="player_error_quark"
c:identifier="gst_player_error_quark"
moved-to="PlayerError.quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
<function name="player_state_get_name"
c:identifier="gst_player_state_get_name"
moved-to="PlayerState.get_name">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4471">Gets a string representing the given state.</doc>
<source-position filename="gstplayer.h" line="55"/>
2017-08-01 12:36:08 +00:00
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4477">a string with the name of the state.</doc>
2017-08-01 12:36:08 +00:00
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="state" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstplayer.c"
line="4473">a #GstPlayerState</doc>
2017-08-01 12:36:08 +00:00
<type name="PlayerState" c:type="GstPlayerState"/>
</parameter>
</parameters>
</function>
</namespace>
</repository>