[Version (since = "1.18")]
public Gst.ClockTime get_frame_time (GES.FrameNumber frame_number);
[Version (since = "1.18")]
- public virtual bool get_natural_framerate (int framerate_n, int framerate_d);
+ public virtual bool get_natural_framerate (out int framerate_n, out int framerate_d);
public GES.TrackType get_supported_formats ();
public void set_supported_formats (GES.TrackType supportedformats);
public GES.TrackType supported_formats { get; set construct; }
public class CommandLineFormatter : GES.Formatter, GES.Extractable {
[CCode (has_construct_function = false)]
protected CommandLineFormatter ();
- public static string get_help (int nargs, string commands);
- [Version (since = "1.20")]
+ [Version (since = "1.10")]
+ public static string get_help ([CCode (array_length_cname = "nargs", array_length_pos = 0.5)] string[] commands);
+ [Version (since = "1.10")]
public static string get_timeline_uri (GES.Timeline timeline);
}
[CCode (cheader_filename = "ges/ges.h", type_id = "ges_container_get_type ()")]
[CCode (cheader_filename = "ges/ges.h", type_id = "ges_effect_clip_get_type ()")]
public class EffectClip : GES.BaseEffectClip, GES.Extractable, GES.MetaContainer {
[CCode (has_construct_function = false)]
- public EffectClip (string video_bin_description, string audio_bin_description);
+ public EffectClip (string? video_bin_description, string? audio_bin_description);
[NoAccessorMethod]
public string audio_bin_description { owned get; construct; }
[NoAccessorMethod]
[CCode (has_construct_function = false)]
protected TrackElementAsset ();
[Version (since = "1.18")]
- public virtual bool get_natural_framerate (int framerate_n, int framerate_d);
+ public virtual bool get_natural_framerate (out int framerate_n, out int framerate_d);
public GES.TrackType get_track_type ();
public void set_track_type (GES.TrackType type);
public GES.TrackType track_type { get; set construct; }
[CCode (cheader_filename = "ges/ges.h", type_cname = "GESMetaContainerInterface", type_id = "ges_meta_container_get_type ()")]
public interface MetaContainer : GLib.Object {
public bool add_metas_from_string (string str);
- public bool check_meta_registered (string meta_item, out GES.MetaFlag? flags, out GLib.Type? type);
+ public bool check_meta_registered (string meta_item, out GES.MetaFlag flags, out GLib.Type type);
public void @foreach (GES.MetaForeachFunc func);
public bool get_boolean (string meta_item, out bool dest);
public bool get_date (string meta_item, out GLib.Date dest);
[CCode (cheader_filename = "gst/gst.h", cname = "gst_tag_list_copy_value")]
[Version (replacement = "TagList.copy_value")]
public static bool list_copy_value (out GLib.Value dest, Gst.TagList list, string tag);
+ [CCode (cheader_filename = "gst/gst.h", cname = "gst_tag_list_replace")]
+ [Version (replacement = "TagList.replace", since = "1.16")]
+ public static bool list_replace (ref Gst.TagList? old_taglist, Gst.TagList? new_taglist);
+ [CCode (cheader_filename = "gst/gst.h", cname = "gst_tag_list_take")]
+ [Version (replacement = "TagList.take", since = "1.16")]
+ public static bool list_take (ref Gst.TagList old_taglist, owned Gst.TagList? new_taglist);
[CCode (cheader_filename = "gst/gst.h", cname = "gst_tag_merge_strings_with_comma")]
public static void merge_strings_with_comma (out GLib.Value dest, GLib.Value src);
[CCode (cheader_filename = "gst/gst.h", cname = "gst_tag_merge_use_first")]
public void insert (int idx, owned Gst.Buffer buffer);
public uint length ();
public void remove (uint idx, uint length);
+ [Version (since = "1.16")]
+ public static bool replace (ref Gst.BufferList? old_list, Gst.BufferList? new_list);
[CCode (has_construct_function = false)]
public BufferList.sized (uint size);
+ [Version (since = "1.16")]
+ public static bool take (ref Gst.BufferList old_list, owned Gst.BufferList? new_list);
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_buffer_pool_get_type ()")]
public class BufferPool : Gst.Object {
[Version (since = "1.6")]
public signal void synced (bool synced);
}
- [CCode (cheader_filename = "gst/gst.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_context_get_type ()")]
+ [CCode (cheader_filename = "gst/gst.h", ref_function = "gst_context_ref", type_id = "gst_context_get_type ()", unref_function = "gst_context_unref")]
[Compact]
[Version (since = "1.2")]
public class Context {
[CCode (has_construct_function = false)]
public Context (string context_type, bool persistent);
+ public Gst.Context copy ();
public unowned string get_context_type ();
public unowned Gst.Structure get_structure ();
public bool has_context_type (string context_type);
public bool is_persistent ();
+ public unowned Gst.Context @ref ();
+ public static bool replace (ref Gst.Context old_context, Gst.Context? new_context);
+ public void unref ();
public Gst.Structure writable_structure ();
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_control_binding_get_type ()")]
public Message.structure_change (Gst.Object? src, Gst.StructureChangeType type, Gst.Element owner, bool busy);
[CCode (has_construct_function = false)]
public Message.tag (Gst.Object? src, owned Gst.TagList tag_list);
+ [Version (since = "1.16")]
+ public static bool take (ref Gst.Message old_message, owned Gst.Message? new_message);
[CCode (has_construct_function = false)]
public Message.toc (Gst.Object src, Gst.Toc toc, bool updated);
[CCode (has_construct_function = false)]
public void expire ();
public unowned Gst.Structure? get_reply ();
public void interrupt ();
+ public unowned Gst.Promise @ref ();
public void reply (owned Gst.Structure? s);
+ [DestroysInstance]
+ public void unref ();
public Gst.PromiseResult wait ();
[CCode (has_construct_function = false)]
public Promise.with_change_func (owned Gst.PromiseChangeFunc func);
public void parse_uri_redirection_permanent (out bool permanent);
[CCode (has_construct_function = false)]
public Query.position (Gst.Format format);
+ public unowned Gst.Query @ref ();
public void remove_nth_allocation_meta (uint index);
[Version (since = "1.2")]
public void remove_nth_allocation_param (uint index);
public void set_uri_redirection (string uri);
[Version (since = "1.4")]
public void set_uri_redirection_permanent (bool permanent);
+ [Version (since = "1.16")]
+ public static bool take (ref Gst.Query? old_query, owned Gst.Query? new_query);
[CCode (has_construct_function = false)]
public Query.uri ();
public unowned Gst.Structure writable_structure ();
public unowned string nth_tag_name (uint index);
public bool peek_string_index (string tag, uint index, out unowned string value);
public void remove_tag (string tag);
+ [Version (since = "1.16")]
+ public static bool replace (ref Gst.TagList? old_taglist, Gst.TagList? new_taglist);
public void set_scope (Gst.TagScope scope);
+ [Version (since = "1.16")]
+ public static bool take (ref Gst.TagList old_taglist, owned Gst.TagList? new_taglist);
public string? to_string ();
[CCode (has_construct_function = false)]
public TagList.valist (va_list var_args);
public static GLib.List<Gst.TypeFindFactory> get_list ();
public bool has_function ();
}
- [CCode (cheader_filename = "gst/gst.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_uri_get_type ()")]
+ [CCode (cheader_filename = "gst/gst.h", ref_function = "gst_uri_ref", type_id = "gst_uri_get_type ()", unref_function = "gst_uri_unref")]
[Compact]
public class Uri {
[CCode (has_construct_function = false)]
[Version (deprecated = true)]
public static string @construct (string protocol, string location);
[Version (since = "1.6")]
+ public Gst.Uri copy ();
+ [Version (since = "1.6")]
public bool equal (Gst.Uri second);
[Version (since = "1.6")]
public static Gst.Uri? from_string (string uri);
[Version (since = "1.6")]
public bool query_has_key (string query_key);
[Version (since = "1.6")]
+ public unowned Gst.Uri @ref ();
+ [Version (since = "1.6")]
public bool remove_query_key (string query_key);
[Version (since = "1.6")]
public bool set_fragment (string? fragment);
public bool set_userinfo (string userinfo);
[Version (since = "1.6")]
public string to_string ();
+ [DestroysInstance]
+ [Version (since = "1.6")]
+ public void unref ();
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_value_array_get_type ()")]
public class ValueArray {
[Version (replacement = "Buffer.get_max_memory", since = "1.2")]
public static uint buffer_get_max_memory ();
[CCode (cheader_filename = "gst/gst.h")]
+ [Version (replacement = "BufferList.replace", since = "1.16")]
+ public static bool buffer_list_replace (ref Gst.BufferList? old_list, Gst.BufferList? new_list);
+ [CCode (cheader_filename = "gst/gst.h")]
+ [Version (replacement = "BufferList.take", since = "1.16")]
+ public static bool buffer_list_take (ref Gst.BufferList old_list, owned Gst.BufferList? new_list);
+ [CCode (cheader_filename = "gst/gst.h")]
[Version (replacement = "CapsFeatures.from_string", since = "1.2")]
public static Gst.CapsFeatures? caps_features_from_string (string features);
[CCode (cheader_filename = "gst/gst.h")]
[Version (replacement = "Caps.from_string")]
public static Gst.Caps? caps_from_string (string string);
[CCode (cheader_filename = "gst/gst.h")]
+ [Version (replacement = "Context.replace", since = "1.2")]
+ public static bool context_replace (ref Gst.Context old_context, Gst.Context? new_context);
+ [CCode (cheader_filename = "gst/gst.h")]
[Version (replacement = "CoreError.quark")]
public static GLib.Quark core_error_quark ();
[CCode (cheader_filename = "gst/gst.h")]
[Version (replacement = "LibraryError.quark")]
public static GLib.Quark library_error_quark ();
[CCode (cheader_filename = "gst/gst.h")]
+ [Version (replacement = "Message.take", since = "1.16")]
+ public static bool message_take (ref Gst.Message old_message, owned Gst.Message? new_message);
+ [CCode (cheader_filename = "gst/gst.h")]
[Version (replacement = "MessageType.get_name")]
public static unowned string message_type_get_name (Gst.MessageType type);
[CCode (cheader_filename = "gst/gst.h")]
[Version (since = "1.6")]
public static unowned string? protection_select_system ([CCode (array_length = false, array_null_terminated = true)] string[] system_identifiers);
[CCode (cheader_filename = "gst/gst.h")]
+ [Version (replacement = "Query.take", since = "1.16")]
+ public static bool query_take (ref Gst.Query? old_query, owned Gst.Query? new_query);
+ [CCode (cheader_filename = "gst/gst.h")]
[Version (replacement = "QueryType.get_flags")]
public static Gst.QueryTypeFlags query_type_get_flags (Gst.QueryType type);
[CCode (cheader_filename = "gst/gst.h")]
[NoAccessorMethod]
public uint64 discont_wait { get; set; }
[NoAccessorMethod]
+ [Version (since = "1.20")]
+ public bool ignore_inactive_pads { get; set; }
+ [NoAccessorMethod]
public uint64 output_buffer_duration { get; set; }
[NoAccessorMethod]
[Version (since = "1.18")]
public virtual Gst.FlowReturn flush ();
public void get_allocator (out Gst.Allocator? allocator, out unowned Gst.AllocationParams @params);
public Gst.BufferPool? get_buffer_pool ();
+ [Version (since = "1.20")]
+ public bool get_ignore_inactive_pads ();
public Gst.ClockTime get_latency ();
[NoWrapper]
public virtual Gst.ClockTime get_next_time ();
public virtual bool propose_allocation (Gst.Base.AggregatorPad pad, Gst.Query decide_query, Gst.Query query);
[Version (since = "1.18")]
public void selected_samples (Gst.ClockTime pts, Gst.ClockTime dts, Gst.ClockTime duration, Gst.Structure? info);
+ [Version (since = "1.20")]
+ public void set_ignore_inactive_pads (bool ignore);
public void set_latency (Gst.ClockTime min_latency, Gst.ClockTime max_latency);
public void set_src_caps (Gst.Caps caps);
[Version (since = "1.16")]
[Version (since = "1.14.1")]
public bool has_buffer ();
public bool is_eos ();
+ [Version (since = "1.20")]
+ public bool is_inactive ();
public Gst.Buffer? peek_buffer ();
public Gst.Buffer? pop_buffer ();
[NoWrapper]
public static unowned string get_profile ([CCode (array_length_cname = "len", array_length_pos = 1.1, array_length_type = "guint")] uint8[] sps);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "gst_codec_utils_h264_get_profile_flags_level")]
[Version (since = "1.20")]
- public static bool get_profile_flags_level (uint8 codecs_data, uint len, uint8 profile, uint8 flags, uint8 level);
+ public static bool get_profile_flags_level ([CCode (array_length_cname = "len", array_length_pos = 1.5, array_length_type = "guint", type = "const guint8*")] uint8[] codec_data, out uint8 profile, out uint8 flags, out uint8 level);
}
namespace MPEG4Video {
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "gst_codec_utils_mpeg4video_caps_set_level_and_profile")]
[CCode (has_construct_function = false)]
protected DiscovererContainerInfo ();
public GLib.List<Gst.PbUtils.DiscovererStreamInfo> get_streams ();
+ [Version (since = "1.20")]
+ public unowned Gst.TagList get_tags ();
}
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "GstDiscovererInfo", lower_case_cprefix = "gst_discoverer_info_", type_id = "gst_discoverer_info_get_type ()")]
[GIR (name = "DiscovererInfo")]
public GLib.List<Gst.PbUtils.DiscovererStreamInfo> get_stream_list ();
public GLib.List<Gst.PbUtils.DiscovererStreamInfo> get_streams (GLib.Type streamtype);
public GLib.List<Gst.PbUtils.DiscovererStreamInfo> get_subtitle_streams ();
+ [Version (deprecated = true, deprecated_since = "1.20")]
public unowned Gst.TagList get_tags ();
public unowned Gst.Toc get_toc ();
public unowned string get_uri ();
public Gst.PbUtils.DiscovererStreamInfo get_next ();
public Gst.PbUtils.DiscovererStreamInfo get_previous ();
public unowned string get_stream_id ();
+ [Version (since = "1.20")]
+ public int get_stream_number ();
public unowned string get_stream_type_nick ();
public unowned Gst.TagList get_tags ();
public unowned Gst.Toc get_toc ();
protected AudioInfo ();
public int get_bitrate ();
public int get_channels ();
- public unowned string get_language ();
+ public unowned string? get_language ();
public int get_max_bitrate ();
public int get_sample_rate ();
}
[CCode (has_construct_function = false)]
protected MediaInfo ();
public unowned GLib.List<Gst.Play.AudioInfo> get_audio_streams ();
- public unowned string get_container_format ();
+ public unowned string? get_container_format ();
public Gst.ClockTime get_duration ();
- public unowned Gst.Sample get_image_sample ();
+ public unowned Gst.Sample? get_image_sample ();
public uint get_number_of_audio_streams ();
public uint get_number_of_streams ();
public uint get_number_of_subtitle_streams ();
public uint get_number_of_video_streams ();
public unowned GLib.List<Gst.Play.StreamInfo> get_stream_list ();
public unowned GLib.List<Gst.Play.SubtitleInfo> get_subtitle_streams ();
- public unowned Gst.TagList get_tags ();
- public unowned string get_title ();
+ public unowned Gst.TagList? get_tags ();
+ public unowned string? get_title ();
public unowned string get_uri ();
public unowned GLib.List<Gst.Play.VideoInfo> get_video_streams ();
public bool is_live ();
public Play (owned Gst.Play.VideoRenderer? video_renderer);
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 string? config_get_user_agent (Gst.Structure config);
public static void config_set_position_update_interval (Gst.Structure config, uint interval);
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 void config_set_user_agent (Gst.Structure config, string? agent);
public static unowned GLib.List<Gst.Play.AudioInfo> get_audio_streams (Gst.Play.MediaInfo info);
public int64 get_audio_video_offset ();
public double get_color_balance (Gst.Play.ColorBalanceType type);
public Gst.Play.VideoInfo? get_current_video_track ();
public string? get_current_visualization ();
public Gst.ClockTime get_duration ();
- public Gst.Play.MediaInfo get_media_info ();
+ public Gst.Play.MediaInfo? get_media_info ();
public Gst.Bus get_message_bus ();
public Gst.Video.MultiviewFlags get_multiview_flags ();
public Gst.Video.MultiviewFramePacking get_multiview_mode ();
public Gst.ClockTime get_position ();
public double get_rate ();
public static unowned GLib.List<Gst.Play.SubtitleInfo> get_subtitle_streams (Gst.Play.MediaInfo info);
- public string get_subtitle_uri ();
+ public string? get_subtitle_uri ();
public int64 get_subtitle_video_offset ();
- public string get_uri ();
+ public string? get_uri ();
public Gst.Sample? get_video_snapshot (Gst.Play.SnapshotFormat format, Gst.Structure? config);
public static unowned GLib.List<Gst.Play.VideoInfo> get_video_streams (Gst.Play.MediaInfo info);
public double get_volume ();
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_subtitle_uri (string? uri);
public void set_subtitle_video_offset (int64 offset);
- public void set_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 bool set_visualization (string? name);
public void set_visualization_enabled (bool enabled);
public void set_volume (double val);
public void stop ();
public abstract class StreamInfo : GLib.Object {
[CCode (has_construct_function = false)]
protected StreamInfo ();
- public unowned Gst.Caps get_caps ();
- public unowned string get_codec ();
+ 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 ();
+ public unowned Gst.TagList? get_tags ();
}
[CCode (cheader_filename = "gst/play/play.h", type_id = "gst_play_subtitle_info_get_type ()")]
[GIR (name = "PlaySubtitleInfo")]
public class SubtitleInfo : Gst.Play.StreamInfo {
[CCode (has_construct_function = false)]
protected SubtitleInfo ();
- public unowned string get_language ();
+ public unowned string? get_language ();
}
[CCode (cheader_filename = "gst/play/play.h", type_id = "gst_play_video_info_get_type ()")]
[GIR (name = "PlayVideoInfo")]
public unowned string get_name ();
public static void parse_buffering_percent (Gst.Message msg, out uint percent);
public static void parse_duration_updated (Gst.Message msg, out Gst.ClockTime duration);
- public static void parse_error (Gst.Message msg, out unowned GLib.Error error, out Gst.Structure details);
+ public static void parse_error (Gst.Message msg, out GLib.Error error, out Gst.Structure? details);
public static void parse_media_info_updated (Gst.Message msg, out Gst.Play.MediaInfo info);
public static void parse_muted_changed (Gst.Message msg, out bool muted);
public static void parse_position_updated (Gst.Message msg, out Gst.ClockTime position);
public static void parse_type (Gst.Message msg, out Gst.Play.Message type);
public static void parse_video_dimensions_changed (Gst.Message msg, out uint width, out uint height);
public static void parse_volume_changed (Gst.Message msg, out double volume);
- public static void parse_warning (Gst.Message msg, out unowned GLib.Error error, out Gst.Structure details);
+ public static void parse_warning (Gst.Message msg, out GLib.Error error, out Gst.Structure? details);
}
[CCode (cheader_filename = "gst/play/play.h", cprefix = "GST_PLAY_THUMBNAIL_", has_type_id = false)]
[GIR (name = "PlaySnapshotFormat")]
public static void play_message_parse_duration_updated (Gst.Message msg, out Gst.ClockTime duration);
[CCode (cheader_filename = "gst/play/play.h", cname = "gst_play_message_parse_error")]
[Version (replacement = "PlayMessage.parse_error", since = "1.20")]
- public static void play_message_parse_error (Gst.Message msg, out unowned GLib.Error error, out Gst.Structure details);
+ public static void play_message_parse_error (Gst.Message msg, out GLib.Error error, out Gst.Structure? details);
[CCode (cheader_filename = "gst/play/play.h", cname = "gst_play_message_parse_media_info_updated")]
[Version (replacement = "PlayMessage.parse_media_info_updated", since = "1.20")]
public static void play_message_parse_media_info_updated (Gst.Message msg, out Gst.Play.MediaInfo info);
public static void play_message_parse_volume_changed (Gst.Message msg, out double volume);
[CCode (cheader_filename = "gst/play/play.h", cname = "gst_play_message_parse_warning")]
[Version (replacement = "PlayMessage.parse_warning", since = "1.20")]
- public static void play_message_parse_warning (Gst.Message msg, out unowned GLib.Error error, out Gst.Structure details);
+ public static void play_message_parse_warning (Gst.Message msg, out GLib.Error error, out Gst.Structure? details);
[CCode (cheader_filename = "gst/play/play.h", cname = "gst_play_state_get_name")]
[Version (replacement = "PlayState.get_name", since = "1.20")]
public static unowned string play_state_get_name (Gst.Play.State state);
[Version (since = "1.12")]
public static bool config_get_seek_accurate (Gst.Structure config);
[Version (since = "1.10")]
- public static string config_get_user_agent (Gst.Structure config);
+ public static string? config_get_user_agent (Gst.Structure config);
[Version (since = "1.10")]
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);
[Version (since = "1.10")]
- public static void config_set_user_agent (Gst.Structure config, string agent);
+ 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);
[Version (since = "1.10")]
public int64 get_audio_video_offset ();
public Gst.PlayerVideoInfo? get_current_video_track ();
public string? get_current_visualization ();
public Gst.ClockTime get_duration ();
- public Gst.PlayerMediaInfo get_media_info ();
+ public Gst.PlayerMediaInfo? get_media_info ();
[Version (since = "1.10")]
public Gst.Video.MultiviewFlags get_multiview_flags ();
[Version (since = "1.10")]
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_subtitle_uri (string? uri);
[Version (since = "1.16")]
public void set_subtitle_video_offset (int64 offset);
- public void set_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 bool set_visualization (string? name);
public void set_visualization_enabled (bool enabled);
public void set_volume (double val);
public void stop ();
protected PlayerAudioInfo ();
public int get_bitrate ();
public int get_channels ();
- public unowned string get_language ();
+ public unowned string? get_language ();
public int get_max_bitrate ();
public int get_sample_rate ();
}
[CCode (has_construct_function = false)]
protected PlayerMediaInfo ();
public unowned GLib.List<Gst.PlayerAudioInfo> get_audio_streams ();
- public unowned string get_container_format ();
+ public unowned string? get_container_format ();
public Gst.ClockTime get_duration ();
- public unowned Gst.Sample get_image_sample ();
+ 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_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 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 abstract class PlayerStreamInfo : GLib.Object {
[CCode (has_construct_function = false)]
protected PlayerStreamInfo ();
- public unowned Gst.Caps get_caps ();
- public unowned string get_codec ();
+ 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 ();
+ 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 ();
+ 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 HeaderExtension ();
public static Gst.RTP.HeaderExtension? create_from_uri (string uri);
+ public Gst.RTP.HeaderExtensionDirection get_direction ();
public uint get_id ();
public virtual size_t get_max_size (Gst.Buffer input_meta);
public string get_sdp_caps_field_name ();
public virtual Gst.RTP.HeaderExtensionFlags get_supported_flags ();
public unowned string get_uri ();
public virtual bool read (Gst.RTP.HeaderExtensionFlags read_flags, [CCode (array_length_cname = "size", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] data, Gst.Buffer buffer);
- public virtual bool set_attributes_from_caps (Gst.Caps caps);
- public bool set_attributes_from_caps_simple_sdp (Gst.Caps caps);
+ [NoWrapper]
+ public virtual bool set_attributes (Gst.RTP.HeaderExtensionDirection direction, string attributes);
+ public bool set_attributes_from_caps (Gst.Caps caps);
public virtual bool set_caps_from_attributes (Gst.Caps caps);
- public bool set_caps_from_attributes_simple_sdp (Gst.Caps caps);
+ public bool set_caps_from_attributes_helper (Gst.Caps caps, string attributes);
+ public void set_direction (Gst.RTP.HeaderExtensionDirection direction);
public void set_id (uint ext_id);
public virtual bool set_non_rtp_sink_caps (Gst.Caps caps);
[CCode (cname = "gst_rtp_header_extension_class_set_uri")]
SKIP_PADDING,
LAST
}
+ [CCode (cheader_filename = "gst/rtp/rtp.h", cprefix = "GST_RTP_HEADER_EXTENSION_DIRECTION_", type_id = "gst_rtp_header_extension_direction_get_type ()")]
+ [Flags]
+ [GIR (name = "RTPHeaderExtensionDirection")]
+ [Version (since = "1.20")]
+ public enum HeaderExtensionDirection {
+ INACTIVE,
+ SENDONLY,
+ RECVONLY,
+ SENDRECV,
+ INHERITED
+ }
[CCode (cheader_filename = "gst/rtp/rtp.h", cprefix = "GST_RTP_HEADER_EXTENSION_", type_id = "gst_rtp_header_extension_flags_get_type ()")]
[Flags]
[GIR (name = "RTPHeaderExtensionFlags")]
[CCode (has_construct_function = false)]
public Session (string sessionid);
public void allow_expire ();
+ [Version (since = "1.20")]
+ public Gst.RTSPServer.SessionMedia? dup_media (string path, out int matched);
public GLib.List<Gst.RTSPServer.SessionMedia> filter (Gst.RTSPServer.SessionFilterFunc? func);
public string? get_header ();
public unowned Gst.RTSPServer.SessionMedia? get_media (string path, out int matched);
public virtual Gst.Caps getcaps (Gst.Caps filter);
[NoWrapper]
public virtual Gst.FlowReturn handle_frame (owned Gst.Video.CodecFrame frame);
+ [NoWrapper]
+ [Version (since = "1.20")]
+ public virtual bool handle_missing_data (Gst.ClockTime timestamp, Gst.ClockTime duration);
public Gst.FlowReturn have_frame ();
[Version (since = "1.20")]
public Gst.FlowReturn have_last_subframe (Gst.Video.CodecFrame frame);
public virtual bool transform_meta (Gst.Video.CodecFrame frame, Gst.Meta meta);
[NoAccessorMethod]
[Version (since = "1.20")]
+ public Gst.Video.DecoderRequestSyncPointFlags automatic_request_sync_point_flags { get; set; }
+ [NoAccessorMethod]
+ [Version (since = "1.20")]
+ public bool automatic_request_sync_points { get; set; }
+ [NoAccessorMethod]
+ [Version (since = "1.20")]
public bool discard_corrupted_frames { get; set; }
[Version (since = "1.18")]
public int max_errors { get; set; }
[CCode (cheader_filename = "gst/video/video.h", type_cname = "GstVideoOrientationInterface", type_id = "gst_video_orientation_get_type ()")]
[GIR (name = "VideoOrientation")]
public interface Orientation : GLib.Object {
+ [Version (since = "1.20")]
+ public static bool from_tag (Gst.TagList taglist, Gst.Video.OrientationMethod method);
public abstract bool get_hcenter (out int center);
public abstract bool get_hflip (out bool flip);
public abstract bool get_vcenter (out int center);
[Version (since = "1.20")]
public string? to_string ();
}
- [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_CODEC_FRAME_FLAG_", has_type_id = false)]
+ [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_CODEC_FRAME_FLAG_", type_id = "gst_video_codec_frame_flags_get_type ()")]
[Flags]
[GIR (name = "VideoCodecFrameFlags")]
public enum CodecFrameFlags {
@16_235;
public void offsets (Gst.Video.FormatInfo info, [CCode (array_length = false)] out unowned int offset[4], [CCode (array_length = false)] out unowned int scale[4]);
}
- [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_DECODER_REQUEST_SYNC_POINT_", has_type_id = false)]
+ [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_DECODER_REQUEST_SYNC_POINT_", type_id = "gst_video_decoder_request_sync_point_flags_get_type ()")]
[Flags]
[GIR (name = "VideoDecoderRequestSyncPointFlags")]
[Version (since = "1.20")]
NO_REF,
LAST
}
- [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_GL_TEXTURE_ORIENTATION_X_", has_type_id = false)]
+ [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_GL_TEXTURE_ORIENTATION_X_", type_id = "gst_video_gl_texture_orientation_get_type ()")]
[GIR (name = "VideoGLTextureOrientation")]
public enum GLTextureOrientation {
NORMAL_Y_NORMAL,
FLIP_Y_NORMAL,
FLIP_Y_FLIP
}
- [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_GL_TEXTURE_TYPE_", has_type_id = false)]
+ [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_GL_TEXTURE_TYPE_", type_id = "gst_video_gl_texture_type_get_type ()")]
[GIR (name = "VideoGLTextureType")]
public enum GLTextureType {
LUMINANCE,
[Version (replacement = "Navigation.query_set_commandsv")]
public static void navigation_query_set_commandsv (Gst.Query query, [CCode (array_length_cname = "n_cmds", array_length_pos = 1.5)] Gst.Video.NavigationCommand[] cmds);
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (replacement = "VideoOrientation.from_tag", since = "1.20")]
+ public static bool orientation_from_tag (Gst.TagList taglist, Gst.Video.OrientationMethod method);
+ [CCode (cheader_filename = "gst/video/video.h")]
public static GLib.Type overlay_composition_meta_api_get_type ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoOverlayCompositionMeta.get_info")]
codec_utils_aac_* parent="Gst.PbUtils.Codec.AAC" name="codec_utils_aac_(.+)"
codec_utils_h264_* parent="Gst.PbUtils.Codec.H264" name="codec_utils_h264_(.+)"
+codec_utils_h264_get_profile_flags_level
+ .codec_data array array_length_idx=1
+ .profile out
+ .flags out
+ .level out
codec_utils_mpeg4video_* parent="Gst.PbUtils.Codec.MPEG4Video" name="codec_utils_mpeg4video_(.+)"