[vala/0.42] gstreamer: Update from 1.15+ git master
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.42] gstreamer: Update from 1.15+ git master
- Date: Thu, 20 Dec 2018 15:19:00 +0000 (UTC)
commit 322c7ab3384b926c880db1fa80efaa368dacdaf6
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue Dec 18 11:06:25 2018 +0100
gstreamer: Update from 1.15+ git master
vapi/gstreamer-1.0.vapi | 2 +
vapi/gstreamer-audio-1.0.vapi | 2 +
vapi/gstreamer-rtp-1.0.vapi | 86 ++++++++++++++++++++++++++++++++++++++++++-
vapi/gstreamer-video-1.0.vapi | 8 +++-
4 files changed, 95 insertions(+), 3 deletions(-)
---
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index a23e63b11..00707a480 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -884,6 +884,8 @@ namespace Gst {
public void remove_structure (uint idx);
[Version (since = "1.2")]
public void set_features (uint index, owned Gst.CapsFeatures? features);
+ [Version (since = "1.16")]
+ public void set_features_simple (owned Gst.CapsFeatures? features);
public void set_simple (string field, ...);
public void set_simple_valist (string field, va_list varargs);
public void set_value (string field, GLib.Value value);
diff --git a/vapi/gstreamer-audio-1.0.vapi b/vapi/gstreamer-audio-1.0.vapi
index 82310908c..e53ab40c0 100644
--- a/vapi/gstreamer-audio-1.0.vapi
+++ b/vapi/gstreamer-audio-1.0.vapi
@@ -153,6 +153,8 @@ namespace Gst {
public size_t get_in_frames (size_t out_frames);
public size_t get_max_latency ();
public size_t get_out_frames (size_t in_frames);
+ [Version (since = "1.16")]
+ public bool is_passthrough ();
public void reset ();
public bool samples (Gst.Audio.ConverterFlags flags, void* @in, size_t in_frames,
void* @out, size_t out_frames);
public bool supports_inplace ();
diff --git a/vapi/gstreamer-rtp-1.0.vapi b/vapi/gstreamer-rtp-1.0.vapi
index 0a9462d65..630215ea8 100644
--- a/vapi/gstreamer-rtp-1.0.vapi
+++ b/vapi/gstreamer-rtp-1.0.vapi
@@ -295,7 +295,7 @@ namespace Gst {
public const int VERSION;
[CCode (cheader_filename = "gst/rtp/rtp.h", cname = "gst_buffer_add_rtp_source_meta")]
[Version (since = "1.16")]
- public static unowned Gst.RTP.SourceMeta? buffer_add_rtp_source_meta (Gst.Buffer buf, uint32?
ssrc, uint32? csrc, uint csrc_count);
+ public static unowned Gst.RTP.SourceMeta? buffer_add_rtp_source_meta (Gst.Buffer buffer,
uint32? ssrc, uint32? csrc, uint csrc_count);
[CCode (cheader_filename = "gst/rtp/rtp.h")]
public static void buffer_allocate_data (Gst.Buffer buffer, uint payload_len, uint8 pad_len,
uint8 csrc_count);
[CCode (cheader_filename = "gst/rtp/rtp.h")]
@@ -312,7 +312,7 @@ namespace Gst {
public static uint64 buffer_ext_timestamp (ref uint64 exttimestamp, uint32 timestamp);
[CCode (cheader_filename = "gst/rtp/rtp.h", cname = "gst_buffer_get_rtp_source_meta")]
[Version (since = "1.16")]
- public static unowned Gst.RTP.SourceMeta? buffer_get_rtp_source_meta (Gst.Buffer buf);
+ public static unowned Gst.RTP.SourceMeta? buffer_get_rtp_source_meta (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/rtp/rtp.h")]
public static bool buffer_map (Gst.Buffer buffer, Gst.MapFlags flags, out unowned
Gst.RTP.Buffer rtp);
[CCode (cheader_filename = "gst/rtp/rtp.h")]
@@ -475,6 +475,75 @@ namespace Gst {
public void sr_get_sender_info (out uint32 ssrc, out uint64 ntptime, out uint32
rtptime, out uint32 packet_count, out uint32 octet_count);
[CCode (cname = "gst_rtcp_packet_sr_set_sender_info")]
public void sr_set_sender_info (uint32 ssrc, uint64 ntptime, uint32 rtptime, uint32
packet_count, uint32 octet_count);
+ [CCode (cname = "gst_rtcp_packet_xr_first_rb")]
+ [Version (since = "1.16")]
+ public bool xr_first_rb ();
+ [CCode (cname = "gst_rtcp_packet_xr_get_block_length")]
+ [Version (since = "1.16")]
+ public uint16 xr_get_block_length ();
+ [CCode (cname = "gst_rtcp_packet_xr_get_block_type")]
+ [Version (since = "1.16")]
+ public Gst.RTPC.XRType xr_get_block_type ();
+ [CCode (cname = "gst_rtcp_packet_xr_get_dlrr_block")]
+ [Version (since = "1.16")]
+ public bool xr_get_dlrr_block (uint nth, uint32 ssrc, uint32 last_rr, uint32 delay);
+ [CCode (cname = "gst_rtcp_packet_xr_get_prt_by_seq")]
+ [Version (since = "1.16")]
+ public bool xr_get_prt_by_seq (uint16 seq, uint32 receipt_time);
+ [CCode (cname = "gst_rtcp_packet_xr_get_prt_info")]
+ [Version (since = "1.16")]
+ public bool xr_get_prt_info (uint32 ssrc, uint8 thining, uint16 begin_seq, uint16
end_seq);
+ [CCode (cname = "gst_rtcp_packet_xr_get_rle_info")]
+ [Version (since = "1.16")]
+ public bool xr_get_rle_info (uint32 ssrc, uint8 thining, uint16 begin_seq, uint16
end_seq, uint32 chunk_count);
+ [CCode (cname = "gst_rtcp_packet_xr_get_rle_nth_chunk")]
+ [Version (since = "1.16")]
+ public bool xr_get_rle_nth_chunk (uint nth, uint16 chunk);
+ [CCode (cname = "gst_rtcp_packet_xr_get_rrt")]
+ [Version (since = "1.16")]
+ public bool xr_get_rrt (uint64 timestamp);
+ [CCode (cname = "gst_rtcp_packet_xr_get_ssrc")]
+ [Version (since = "1.16")]
+ public uint32 xr_get_ssrc ();
+ [CCode (cname = "gst_rtcp_packet_xr_get_summary_info")]
+ [Version (since = "1.16")]
+ public bool xr_get_summary_info (uint32 ssrc, uint16 begin_seq, uint16 end_seq);
+ [CCode (cname = "gst_rtcp_packet_xr_get_summary_jitter")]
+ [Version (since = "1.16")]
+ public bool xr_get_summary_jitter (uint32 min_jitter, uint32 max_jitter, uint32
mean_jitter, uint32 dev_jitter);
+ [CCode (cname = "gst_rtcp_packet_xr_get_summary_pkt")]
+ [Version (since = "1.16")]
+ public bool xr_get_summary_pkt (uint32 lost_packets, uint32 dup_packets);
+ [CCode (cname = "gst_rtcp_packet_xr_get_summary_ttl")]
+ [Version (since = "1.16")]
+ public bool xr_get_summary_ttl (bool is_ipv4, uint8 min_ttl, uint8 max_ttl, uint8
mean_ttl, uint8 dev_ttl);
+ [CCode (cname = "gst_rtcp_packet_xr_get_voip_burst_metrics")]
+ [Version (since = "1.16")]
+ public bool xr_get_voip_burst_metrics (uint8 burst_density, uint8 gap_density, uint16
burst_duration, uint16 gap_duration);
+ [CCode (cname = "gst_rtcp_packet_xr_get_voip_configuration_params")]
+ [Version (since = "1.16")]
+ public bool xr_get_voip_configuration_params (uint8 gmin, uint8 rx_config);
+ [CCode (cname = "gst_rtcp_packet_xr_get_voip_delay_metrics")]
+ [Version (since = "1.16")]
+ public bool xr_get_voip_delay_metrics (uint16 roundtrip_delay, uint16
end_system_delay);
+ [CCode (cname = "gst_rtcp_packet_xr_get_voip_jitter_buffer_params")]
+ [Version (since = "1.16")]
+ public bool xr_get_voip_jitter_buffer_params (uint16 jb_nominal, uint16 jb_maximum,
uint16 jb_abs_max);
+ [CCode (cname = "gst_rtcp_packet_xr_get_voip_metrics_ssrc")]
+ [Version (since = "1.16")]
+ public bool xr_get_voip_metrics_ssrc (uint32 ssrc);
+ [CCode (cname = "gst_rtcp_packet_xr_get_voip_packet_metrics")]
+ [Version (since = "1.16")]
+ public bool xr_get_voip_packet_metrics (uint8 loss_rate, uint8 discard_rate);
+ [CCode (cname = "gst_rtcp_packet_xr_get_voip_quality_metrics")]
+ [Version (since = "1.16")]
+ public bool xr_get_voip_quality_metrics (uint8 r_factor, uint8 ext_r_factor, uint8
mos_lq, uint8 mos_cq);
+ [CCode (cname = "gst_rtcp_packet_xr_get_voip_signal_metrics")]
+ [Version (since = "1.16")]
+ public bool xr_get_voip_signal_metrics (uint8 signal_level, uint8 noise_level, uint8
rerl, uint8 gmin);
+ [CCode (cname = "gst_rtcp_packet_xr_next_rb")]
+ [Version (since = "1.16")]
+ public bool xr_next_rb ();
}
[CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GstRTCPFBType", cprefix = "GST_RTCP_",
type_id = "gst_rtcpfb_type_get_type ()")]
[GIR (name = "RTCPFBType")]
@@ -520,6 +589,19 @@ namespace Gst {
PSFB,
XR
}
+ [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GstRTCPXRType", cprefix =
"GST_RTCP_XR_TYPE_", type_id = "gst_rtcpxr_type_get_type ()")]
+ [GIR (name = "RTCPXRType")]
+ [Version (since = "1.16")]
+ public enum XRType {
+ INVALID,
+ LRLE,
+ DRLE,
+ PRT,
+ RRT,
+ DLRR,
+ SSUMM,
+ VOIP_METRICS
+ }
[CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTCP_MAX_BYE_SSRC_COUNT")]
public const int MAX_BYE_SSRC_COUNT;
[CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTCP_MAX_RB_COUNT")]
diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi
index 334baa30f..ac577b366 100644
--- a/vapi/gstreamer-video-1.0.vapi
+++ b/vapi/gstreamer-video-1.0.vapi
@@ -780,7 +780,7 @@ namespace Gst {
public enum CaptionType {
UNKNOWN,
CEA608_RAW,
- CEA608_IN_CEA708_RAW,
+ CEA608_S334_1A,
CEA708_RAW,
CEA708_CDP
}
@@ -1482,6 +1482,12 @@ namespace Gst {
[CCode (cheader_filename = "gst/video/video.h")]
public static unowned Gst.MetaInfo? caption_meta_get_info ();
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.16")]
+ public static Gst.Video.CaptionType caption_type_from_caps (Gst.Caps caps);
+ [CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.16")]
+ public static Gst.Caps caption_type_to_caps (Gst.Video.CaptionType type);
+ [CCode (cheader_filename = "gst/video/video.h")]
public static Gst.Video.ChromaSite chroma_from_string (string s);
[CCode (cheader_filename = "gst/video/video.h")]
public static unowned string chroma_to_string (Gst.Video.ChromaSite site);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]