[vala/0.34] gstreamer-1.0: Cherry-pick some fixes from 0.38
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.34] gstreamer-1.0: Cherry-pick some fixes from 0.38
- Date: Mon, 11 Dec 2017 09:10:34 +0000 (UTC)
commit 4b02f9793b202422afac1e778320b310d6939b38
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Dec 11 10:06:08 2017 +0100
gstreamer-1.0: Cherry-pick some fixes from 0.38
vapi/gstreamer-1.0.vapi | 8 ++++----
vapi/gstreamer-pbutils-1.0.vapi | 38 +++++++++++++++++++-------------------
2 files changed, 23 insertions(+), 23 deletions(-)
---
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index cf09880..4e8bf80 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -1244,7 +1244,7 @@ namespace Gst {
[NoWrapper]
public virtual void release_pad (Gst.Pad pad);
public void release_request_pad (Gst.Pad pad);
- public bool remove_pad (owned Gst.Pad pad);
+ public bool remove_pad (Gst.Pad pad);
[Version (since = "1.10")]
public void remove_property_notify_watch (ulong watch_id);
[CCode (vfunc_name = "request_new_pad")]
@@ -1327,7 +1327,7 @@ namespace Gst {
[Version (since = "1.4")]
public int64 get_running_time_offset ();
public uint32 get_seqnum ();
- public unowned Gst.Structure get_structure ();
+ public unowned Gst.Structure? get_structure ();
public bool has_name (string name);
[CCode (has_construct_function = false)]
public Event.latency (Gst.ClockTime latency);
@@ -1539,7 +1539,7 @@ namespace Gst {
public size_t get_num_redirect_entries ();
public uint32 get_seqnum ();
public unowned GLib.Value? get_stream_status_object ();
- public unowned Gst.Structure get_structure ();
+ public unowned Gst.Structure? get_structure ();
public bool has_name (string name);
[CCode (has_construct_function = false)]
[Version (since = "1.2")]
@@ -2018,7 +2018,7 @@ namespace Gst {
public uint get_n_allocation_pools ();
public uint get_n_buffering_ranges ();
public uint get_n_scheduling_modes ();
- public unowned Gst.Structure get_structure ();
+ public unowned Gst.Structure? get_structure ();
public bool has_scheduling_mode (Gst.PadMode mode);
public bool has_scheduling_mode_with_flags (Gst.PadMode mode, Gst.SchedulingFlags flags);
[CCode (has_construct_function = false)]
diff --git a/vapi/gstreamer-pbutils-1.0.vapi b/vapi/gstreamer-pbutils-1.0.vapi
index 65ae9bb..bd4bc2d 100644
--- a/vapi/gstreamer-pbutils-1.0.vapi
+++ b/vapi/gstreamer-pbutils-1.0.vapi
@@ -6,37 +6,37 @@ namespace Gst {
namespace Codec {
namespace AAC {
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname =
"gst_codec_utils_aac_caps_set_level_and_profile")]
- public static bool caps_set_level_and_profile (Gst.Caps caps, uint8
audio_config, uint len);
+ public static bool caps_set_level_and_profile (Gst.Caps caps, [CCode
(array_length_cname = "len", array_length_pos = 2.1, array_length_type = "guint")] uint8[] audio_config);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname =
"gst_codec_utils_aac_get_channels")]
- public static uint get_channels (uint8 audio_config, uint len);
+ public static uint get_channels ([CCode (array_length_cname = "len",
array_length_pos = 1.1, array_length_type = "guint")] uint8[] audio_config);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname =
"gst_codec_utils_aac_get_index_from_sample_rate")]
public static int get_index_from_sample_rate (uint rate);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname =
"gst_codec_utils_aac_get_level")]
- public static unowned string get_level (uint8 audio_config, uint len);
+ public static unowned string get_level ([CCode (array_length_cname = "len",
array_length_pos = 1.1, array_length_type = "guint")] uint8[] audio_config);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname =
"gst_codec_utils_aac_get_profile")]
- public static unowned string get_profile (uint8 audio_config, uint len);
+ public static unowned string get_profile ([CCode (array_length_cname = "len",
array_length_pos = 1.1, array_length_type = "guint")] uint8[] audio_config);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname =
"gst_codec_utils_aac_get_sample_rate")]
- public static uint get_sample_rate (uint8 audio_config, uint len);
+ public static uint get_sample_rate ([CCode (array_length_cname = "len",
array_length_pos = 1.1, array_length_type = "guint")] uint8[] audio_config);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname =
"gst_codec_utils_aac_get_sample_rate_from_index")]
public static uint get_sample_rate_from_index (uint sr_idx);
}
namespace H264 {
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname =
"gst_codec_utils_h264_caps_set_level_and_profile")]
- public static bool caps_set_level_and_profile (Gst.Caps caps, uint8 sps, uint
len);
+ public static bool caps_set_level_and_profile (Gst.Caps caps, [CCode
(array_length_cname = "len", array_length_pos = 2.1, array_length_type = "guint")] uint8[] sps);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname =
"gst_codec_utils_h264_get_level")]
- public static unowned string get_level (uint8 sps, uint len);
+ public static unowned string get_level ([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_level_idc")]
public static uint8 get_level_idc (string level);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname =
"gst_codec_utils_h264_get_profile")]
- public static unowned string get_profile (uint8 sps, uint len);
+ public static unowned string get_profile ([CCode (array_length_cname = "len",
array_length_pos = 1.1, array_length_type = "guint")] uint8[] sps);
}
namespace MPEG4Video {
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname =
"gst_codec_utils_mpeg4video_caps_set_level_and_profile")]
- public static bool caps_set_level_and_profile (Gst.Caps caps, uint8
vis_obj_seq, uint len);
+ public static bool caps_set_level_and_profile (Gst.Caps caps, [CCode
(array_length_cname = "len", array_length_pos = 2.1, array_length_type = "guint")] uint8[] vis_obj_seq);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname =
"gst_codec_utils_mpeg4video_get_level")]
- public static unowned string get_level (uint8 vis_obj_seq, uint len);
+ public static unowned string get_level ([CCode (array_length_cname = "len",
array_length_pos = 1.1, array_length_type = "guint")] uint8[] vis_obj_seq);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname =
"gst_codec_utils_mpeg4video_get_profile")]
- public static unowned string get_profile (uint8 vis_obj_seq, uint len);
+ public static unowned string get_profile ([CCode (array_length_cname = "len",
array_length_pos = 1.1, array_length_type = "guint")] uint8[] vis_obj_seq);
}
}
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "GstAudioVisualizer",
lower_case_cprefix = "gst_audio_visualizer_", type_id = "gst_audio_visualizer_get_type ()")]
@@ -323,30 +323,30 @@ namespace Gst {
[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
public static bool add_codec_description_to_tag_list (Gst.TagList taglist, string? codec_tag,
Gst.Caps caps);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname =
"gst_codec_utils_h265_caps_set_level_tier_and_profile")]
- public static bool codec_utils_h265_caps_set_level_tier_and_profile (Gst.Caps caps, uint8
profile_tier_level, uint len);
+ public static bool codec_utils_h265_caps_set_level_tier_and_profile (Gst.Caps caps, [CCode
(array_length_cname = "len", array_length_pos = 2.1, array_length_type = "guint")] uint8[]
profile_tier_level);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "gst_codec_utils_h265_get_level")]
- public static unowned string codec_utils_h265_get_level (uint8 profile_tier_level, uint len);
+ public static unowned string codec_utils_h265_get_level ([CCode (array_length_cname = "len",
array_length_pos = 1.1, array_length_type = "guint")] uint8[] profile_tier_level);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname =
"gst_codec_utils_h265_get_level_idc")]
public static uint8 codec_utils_h265_get_level_idc (string level);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname =
"gst_codec_utils_h265_get_profile")]
- public static unowned string codec_utils_h265_get_profile (uint8 profile_tier_level, uint
len);
+ public static unowned string codec_utils_h265_get_profile ([CCode (array_length_cname =
"len", array_length_pos = 1.1, array_length_type = "guint")] uint8[] profile_tier_level);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "gst_codec_utils_h265_get_tier")]
- public static unowned string codec_utils_h265_get_tier (uint8 profile_tier_level, uint len);
+ public static unowned string codec_utils_h265_get_tier ([CCode (array_length_cname = "len",
array_length_pos = 1.1, array_length_type = "guint")] uint8[] profile_tier_level);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname =
"gst_codec_utils_opus_create_caps")]
[Version (since = "1.8")]
- public static Gst.Caps codec_utils_opus_create_caps (uint32 rate, uint8 channels, uint8
channel_mapping_family, uint8 stream_count, uint8 coupled_count, uint8? channel_mapping);
+ public static Gst.Caps codec_utils_opus_create_caps (uint32 rate, uint8 channels, uint8
channel_mapping_family, uint8 stream_count, uint8 coupled_count, [CCode (array_length = false)] uint8[]?
channel_mapping);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname =
"gst_codec_utils_opus_create_caps_from_header")]
[Version (since = "1.8")]
public static Gst.Caps codec_utils_opus_create_caps_from_header (Gst.Buffer header,
Gst.Buffer? comments);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname =
"gst_codec_utils_opus_create_header")]
[Version (since = "1.8")]
- public static Gst.Buffer codec_utils_opus_create_header (uint32 rate, uint8 channels, uint8
channel_mapping_family, uint8 stream_count, uint8 coupled_count, uint8? channel_mapping, uint16 pre_skip,
int16 output_gain);
+ public static Gst.Buffer codec_utils_opus_create_header (uint32 rate, uint8 channels, uint8
channel_mapping_family, uint8 stream_count, uint8 coupled_count, [CCode (array_length = false)] uint8[]?
channel_mapping, uint16 pre_skip, int16 output_gain);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname =
"gst_codec_utils_opus_parse_caps")]
[Version (since = "1.8")]
- public static bool codec_utils_opus_parse_caps (Gst.Caps caps, uint32 rate, uint8 channels,
uint8 channel_mapping_family, uint8 stream_count, uint8 coupled_count, uint8 channel_mapping);
+ public static bool codec_utils_opus_parse_caps (Gst.Caps caps, out uint32 rate, out uint8
channels, out uint8 channel_mapping_family, out uint8 stream_count, out uint8 coupled_count, [CCode
(array_length = false)] out uint8[] channel_mapping);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname =
"gst_codec_utils_opus_parse_header")]
[Version (since = "1.8")]
- public static bool codec_utils_opus_parse_header (Gst.Buffer header, uint32 rate, uint8
channels, uint8 channel_mapping_family, uint8 stream_count, uint8 coupled_count, uint8 channel_mapping,
uint16 pre_skip, int16 output_gain);
+ public static bool codec_utils_opus_parse_header (Gst.Buffer header, out uint32 rate, out
uint8 channels, out uint8 channel_mapping_family, out uint8 stream_count, out uint8 coupled_count, [CCode
(array_length = false)] out uint8[] channel_mapping, out uint16 pre_skip, out int16 output_gain);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "gst_encoding_list_all_targets")]
public static GLib.List<Gst.PbUtils.EncodingTarget> encoding_list_all_targets (string?
categoryname);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname =
"gst_encoding_list_available_categories")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]