/usr/share/vala-0.40/vapi/gstreamer-player-1.0.vapi is in valac-0.40-vapi 0.40.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 | /* gstreamer-player-1.0.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Gst", gir_namespace = "GstPlayer", gir_version = "1.0", lower_case_cprefix = "gst_")]
namespace Gst {
[CCode (cheader_filename = "gst/player/player.h", type_id = "gst_player_get_type ()")]
public class Player : Gst.Object {
[CCode (has_construct_function = false)]
public Player (owned Gst.PlayerVideoRenderer? video_renderer, owned Gst.PlayerSignalDispatcher? signal_dispatcher);
public static uint config_get_position_update_interval (Gst.Structure config);
public static bool config_get_seek_accurate (Gst.Structure config);
public static string config_get_user_agent (Gst.Structure config);
public static void config_set_position_update_interval (Gst.Structure config, uint interval);
[Version (since = "1.12")]
public static void config_set_seek_accurate (Gst.Structure config, bool accurate);
public static void config_set_user_agent (Gst.Structure config, string agent);
public static unowned GLib.List<Gst.PlayerAudioInfo> get_audio_streams (Gst.PlayerMediaInfo info);
public int64 get_audio_video_offset ();
public double get_color_balance (Gst.PlayerColorBalanceType type);
public Gst.Structure get_config ();
public Gst.PlayerAudioInfo get_current_audio_track ();
public unowned Gst.PlayerSubtitleInfo get_current_subtitle_track ();
public Gst.PlayerVideoInfo get_current_video_track ();
public string get_current_visualization ();
public Gst.ClockTime get_duration ();
public Gst.PlayerMediaInfo get_media_info ();
[Version (since = "1.10")]
public Gst.Video.MultiviewFlags get_multiview_flags ();
[Version (since = "1.10")]
public Gst.Video.MultiviewFramePacking get_multiview_mode ();
public bool get_mute ();
public Gst.Element get_pipeline ();
public Gst.ClockTime get_position ();
public double get_rate ();
public static unowned GLib.List<Gst.PlayerSubtitleInfo> get_subtitle_streams (Gst.PlayerMediaInfo info);
public string get_subtitle_uri ();
public string get_uri ();
public Gst.Sample get_video_snapshot (Gst.PlayerSnapshotFormat format, Gst.Structure? config);
public static unowned GLib.List<Gst.PlayerVideoInfo> get_video_streams (Gst.PlayerMediaInfo info);
public double get_volume ();
public bool has_color_balance ();
public void pause ();
public void play ();
public void seek (Gst.ClockTime position);
public bool set_audio_track (int stream_index);
public void set_audio_track_enabled (bool enabled);
public void set_audio_video_offset (int64 offset);
public void set_color_balance (Gst.PlayerColorBalanceType type, double value);
public bool set_config (owned Gst.Structure config);
[Version (since = "1.10")]
public void set_multiview_flags (Gst.Video.MultiviewFlags flags);
[Version (since = "1.10")]
public void set_multiview_mode (Gst.Video.MultiviewFramePacking mode);
public void set_mute (bool val);
public void set_rate (double rate);
public bool set_subtitle_track (int stream_index);
public void set_subtitle_track_enabled (bool enabled);
public void set_subtitle_uri (string uri);
public void set_uri (string uri);
public bool set_video_track (int stream_index);
public void set_video_track_enabled (bool enabled);
public bool set_visualization (string name);
public void set_visualization_enabled (bool enabled);
public void set_volume (double val);
public void stop ();
public static void visualizations_free (Gst.PlayerVisualization viss);
[CCode (array_length = false, array_null_terminated = true)]
public static Gst.PlayerVisualization[] visualizations_get ();
public int64 audio_video_offset { get; set; }
public Gst.PlayerAudioInfo current_audio_track { owned get; }
public Gst.PlayerSubtitleInfo current_subtitle_track { get; }
public Gst.PlayerVideoInfo current_video_track { owned get; }
public uint64 duration { get; }
public Gst.PlayerMediaInfo media_info { owned get; }
public bool mute { get; set; }
public Gst.Element pipeline { owned get; }
public uint64 position { get; }
public double rate { get; set; }
[NoAccessorMethod]
public Gst.PlayerSignalDispatcher signal_dispatcher { construct; }
[NoAccessorMethod]
public string suburi { owned get; set; }
public string uri { owned get; set; }
[NoAccessorMethod]
public Gst.Video.MultiviewFlags video_multiview_flags { get; set; }
[NoAccessorMethod]
public Gst.Video.MultiviewFramePacking video_multiview_mode { get; set; }
[NoAccessorMethod]
public Gst.PlayerVideoRenderer video_renderer { construct; }
public double volume { get; set; }
public signal void buffering (int object);
public signal void duration_changed (uint64 object);
public signal void end_of_stream ();
public signal void error (GLib.Error object);
public signal void media_info_updated (Gst.PlayerMediaInfo object);
public signal void mute_changed ();
public signal void position_updated (uint64 object);
public signal void seek_done (uint64 object);
public signal void state_changed (Gst.PlayerState object);
public signal void uri_loaded (string object);
public signal void video_dimensions_changed (int object, int p0);
public signal void volume_changed ();
public signal void warning (GLib.Error object);
}
[CCode (cheader_filename = "gst/player/player.h", type_id = "gst_player_audio_info_get_type ()")]
public class PlayerAudioInfo : Gst.PlayerStreamInfo {
[CCode (has_construct_function = false)]
protected PlayerAudioInfo ();
public int get_bitrate ();
public int get_channels ();
public unowned string get_language ();
public int get_max_bitrate ();
public int get_sample_rate ();
}
[CCode (cheader_filename = "gst/player/player.h", lower_case_csuffix = "player_g_main_context_signal_dispatcher", type_id = "gst_player_g_main_context_signal_dispatcher_get_type ()")]
public class PlayerGMainContextSignalDispatcher : GLib.Object, Gst.PlayerSignalDispatcher {
[CCode (has_construct_function = false, type = "GstPlayerSignalDispatcher*")]
public PlayerGMainContextSignalDispatcher (GLib.MainContext? application_context);
[NoAccessorMethod]
public GLib.MainContext application_context { owned get; construct; }
}
[CCode (cheader_filename = "gst/player/player.h", type_id = "gst_player_media_info_get_type ()")]
public class PlayerMediaInfo : GLib.Object {
[CCode (has_construct_function = false)]
protected PlayerMediaInfo ();
public unowned GLib.List<Gst.PlayerAudioInfo> get_audio_streams ();
public unowned string get_container_format ();
public Gst.ClockTime get_duration ();
public unowned Gst.Sample get_image_sample ();
[Version (since = "1.12")]
public uint get_number_of_audio_streams ();
[Version (since = "1.12")]
public uint get_number_of_streams ();
[Version (since = "1.12")]
public uint get_number_of_subtitle_streams ();
[Version (since = "1.12")]
public uint get_number_of_video_streams ();
public unowned GLib.List<Gst.PlayerStreamInfo> get_stream_list ();
public unowned GLib.List<Gst.PlayerSubtitleInfo> get_subtitle_streams ();
public unowned Gst.TagList get_tags ();
public unowned string get_title ();
public unowned string get_uri ();
public unowned GLib.List<Gst.PlayerVideoInfo> get_video_streams ();
public bool is_live ();
public bool is_seekable ();
}
[CCode (cheader_filename = "gst/player/player.h", type_id = "gst_player_stream_info_get_type ()")]
public abstract class PlayerStreamInfo : GLib.Object {
[CCode (has_construct_function = false)]
protected PlayerStreamInfo ();
public unowned Gst.Caps get_caps ();
public unowned string get_codec ();
public int get_index ();
public unowned string get_stream_type ();
public unowned Gst.TagList get_tags ();
}
[CCode (cheader_filename = "gst/player/player.h", type_id = "gst_player_subtitle_info_get_type ()")]
public class PlayerSubtitleInfo : Gst.PlayerStreamInfo {
[CCode (has_construct_function = false)]
protected PlayerSubtitleInfo ();
public unowned string get_language ();
}
[CCode (cheader_filename = "gst/player/player.h", type_id = "gst_player_video_info_get_type ()")]
public class PlayerVideoInfo : Gst.PlayerStreamInfo {
[CCode (has_construct_function = false)]
protected PlayerVideoInfo ();
public int get_bitrate ();
public void get_framerate (out int fps_n, out int fps_d);
public int get_height ();
public int get_max_bitrate ();
public void get_pixel_aspect_ratio (out uint par_n, out uint par_d);
public int get_width ();
}
[CCode (cheader_filename = "gst/player/player.h", type_id = "gst_player_video_overlay_video_renderer_get_type ()")]
public class PlayerVideoOverlayVideoRenderer : GLib.Object, Gst.PlayerVideoRenderer {
[CCode (has_construct_function = false, type = "GstPlayerVideoRenderer*")]
public PlayerVideoOverlayVideoRenderer (void* window_handle);
public void expose ();
public void get_render_rectangle (out int x, out int y, out int width, out int height);
public void* get_window_handle ();
public static Gst.PlayerVideoRenderer new_with_sink (void* window_handle, Gst.Element video_sink);
public void set_render_rectangle (int x, int y, int width, int height);
public void set_window_handle (void* window_handle);
[NoAccessorMethod]
public Gst.Element video_sink { owned get; set; }
public void* window_handle { get; set construct; }
}
[CCode (cheader_filename = "gst/player/player.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_player_visualization_get_type ()")]
[Compact]
public class PlayerVisualization {
public weak string description;
public weak string name;
public Gst.PlayerVisualization copy ();
public void free ();
}
[CCode (cheader_filename = "gst/player/player.h", type_cname = "GstPlayerSignalDispatcherInterface", type_id = "gst_player_signal_dispatcher_get_type ()")]
public interface PlayerSignalDispatcher : GLib.Object {
[NoWrapper]
public abstract void dispatch (Gst.Player player, owned Gst.PlayerSignalDispatcherFunc emitter);
}
[CCode (cheader_filename = "gst/player/player.h", type_cname = "GstPlayerVideoRendererInterface", type_id = "gst_player_video_renderer_get_type ()")]
public interface PlayerVideoRenderer : GLib.Object {
[NoWrapper]
public abstract unowned Gst.Element create_video_sink (Gst.Player player);
}
[CCode (cheader_filename = "gst/player/player.h", cprefix = "GST_PLAYER_COLOR_BALANCE_", type_id = "gst_player_color_balance_type_get_type ()")]
public enum PlayerColorBalanceType {
HUE,
BRIGHTNESS,
SATURATION,
CONTRAST;
public unowned string get_name ();
}
[CCode (cheader_filename = "gst/player/player.h", cprefix = "GST_PLAYER_THUMBNAIL_", has_type_id = false)]
public enum PlayerSnapshotFormat {
RAW_NATIVE,
[CCode (cname = "GST_PLAYER_THUMBNAIL_RAW_xRGB")]
RAW_XRGB,
[CCode (cname = "GST_PLAYER_THUMBNAIL_RAW_BGRx")]
RAW_BGRX,
JPG,
PNG
}
[CCode (cheader_filename = "gst/player/player.h", cprefix = "GST_PLAYER_STATE_", type_id = "gst_player_state_get_type ()")]
public enum PlayerState {
STOPPED,
BUFFERING,
PAUSED,
PLAYING;
public unowned string get_name ();
}
[CCode (cheader_filename = "gst/player/player.h", cprefix = "GST_PLAYER_ERROR_")]
public errordomain PlayerError {
FAILED;
public unowned string get_name ();
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "gst/player/player.h", has_target = false)]
public delegate void PlayerSignalDispatcherFunc (void* data);
}
|