summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2019-04-08 17:42:53 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2019-04-08 17:43:20 +0200
commit3842115d71bc7d74e1c7e418f0df538159fc4ba7 (patch)
tree227415de50a545ceb023976ee6c973e54dc10905
parent3d83f31a659bd179e8a867dd054126ac6f22e82b (diff)
downloadvala-3842115d71bc7d74e1c7e418f0df538159fc4ba7.tar.gz
gstreamer: Update from 1.15.2+ git master
-rw-r--r--vapi/gstreamer-1.0.vapi4
-rw-r--r--vapi/gstreamer-rtp-1.0.vapi3
-rw-r--r--vapi/gstreamer-rtsp-1.0.vapi2
-rw-r--r--vapi/gstreamer-video-1.0.vapi60
4 files changed, 68 insertions, 1 deletions
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index dcfb88dde..305c4cb0e 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -1387,6 +1387,8 @@ namespace Gst {
public void parse_protection (out unowned string system_id, out unowned Gst.Buffer data, out unowned string origin);
public void parse_qos (out Gst.QOSType type, out double proportion, out Gst.ClockTimeDiff diff, out Gst.ClockTime timestamp);
public void parse_seek (out double rate, out Gst.Format format, out Gst.SeekFlags flags, out Gst.SeekType start_type, out int64 start, out Gst.SeekType stop_type, out int64 stop);
+ [Version (since = "1.16")]
+ public void parse_seek_trickmode_interval (out Gst.ClockTime interval);
public void parse_segment (out unowned Gst.Segment segment);
public void parse_segment_done (out Gst.Format format, out int64 position);
[Version (since = "1.10")]
@@ -1425,6 +1427,8 @@ namespace Gst {
public void set_group_id (uint group_id);
[Version (since = "1.4")]
public void set_running_time_offset (int64 offset);
+ [Version (since = "1.16")]
+ public void set_seek_trickmode_interval (Gst.ClockTime interval);
public void set_seqnum (uint32 seqnum);
[Version (since = "1.10")]
public void set_stream (Gst.Stream stream);
diff --git a/vapi/gstreamer-rtp-1.0.vapi b/vapi/gstreamer-rtp-1.0.vapi
index 598ce27f4..e0d7d96d4 100644
--- a/vapi/gstreamer-rtp-1.0.vapi
+++ b/vapi/gstreamer-rtp-1.0.vapi
@@ -91,6 +91,9 @@ namespace Gst {
[NoAccessorMethod]
public uint mtu { get; set; }
[NoAccessorMethod]
+ [Version (since = "1.16")]
+ public bool onvif_no_rate_control { get; set; }
+ [NoAccessorMethod]
public bool perfect_rtptime { get; set; }
[NoAccessorMethod]
public uint pt { get; set; }
diff --git a/vapi/gstreamer-rtsp-1.0.vapi b/vapi/gstreamer-rtsp-1.0.vapi
index 2e2159503..ced743eda 100644
--- a/vapi/gstreamer-rtsp-1.0.vapi
+++ b/vapi/gstreamer-rtsp-1.0.vapi
@@ -385,6 +385,8 @@ namespace Gst {
MEDIA_PROPERTIES,
SEEK_STYLE,
ACCEPT_RANGES,
+ FRAMES,
+ RATE_CONTROL,
LAST
}
[CCode (cheader_filename = "gst/rtsp/rtsp.h", cprefix = "GST_RTSP_LOWER_TRANS_", type_id = "gst_rtsp_lower_trans_get_type ()")]
diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi
index 1a064dc5f..f3a463a53 100644
--- a/vapi/gstreamer-video-1.0.vapi
+++ b/vapi/gstreamer-video-1.0.vapi
@@ -562,6 +562,13 @@ namespace Gst {
public bool try_set_render_rectangle (int x, int y, int width, int height);
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
+ [GIR (name = "VideoAfdMeta")]
+ [Version (since = "1.16")]
+ public struct AfdMeta {
+ public Gst.Meta meta;
+ public Gst.Video.Afd afd;
+ }
+ [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoAffineTransformationMeta")]
[Version (since = "1.8")]
public struct AffineTransformationMeta {
@@ -592,6 +599,26 @@ namespace Gst {
public weak uint8[] data;
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
+ [GIR (name = "VideoBarData")]
+ [Version (since = "1.16")]
+ public struct BarData {
+ public bool top_bar_flag;
+ public bool bottom_bar_flag;
+ public bool left_bar_flag;
+ public bool right_bar_flag;
+ public uint16 top_bar;
+ public uint16 bottom_bar;
+ public uint16 left_bar;
+ public uint16 right_bar;
+ }
+ [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
+ [GIR (name = "VideoBarMeta")]
+ [Version (since = "1.16")]
+ public struct BarMeta {
+ public Gst.Meta meta;
+ public Gst.Video.BarData bar_data;
+ }
+ [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoCaptionMeta")]
[Version (since = "1.16")]
public struct CaptionMeta {
@@ -781,6 +808,22 @@ namespace Gst {
public Gst.Meta meta;
public weak Gst.Video.TimeCode tc;
}
+ [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_AFD_", type_id = "gst_video_afd_get_type ()")]
+ [GIR (name = "VideoAfd")]
+ [Version (since = "1.16")]
+ public enum Afd {
+ ATSC_UNAVAILABLE,
+ ETSI_16_9_ACTIVE_PICTURE,
+ ETSI_14_9_ACTIVE_PICTURE,
+ GREATER_THAN_16_9,
+ @4_3_FULL_16_9_FULL,
+ @4_3_FULL_4_3_PILLAR,
+ @16_9_LETTER_16_9_FULL,
+ @14_9_LETTER_14_9_PILLAR,
+ @4_3_FULL_14_9_CENTER,
+ @16_9_LETTER_14_9_CENTER,
+ @16_9_LETTER_4_3_CENTER
+ }
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_ALPHA_MODE_", type_id = "gst_video_alpha_mode_get_type ()")]
[GIR (name = "VideoAlphaMode")]
[Version (since = "1.6")]
@@ -1050,7 +1093,8 @@ namespace Gst {
NV12_10LE40,
Y210,
Y410,
- VUYA
+ VUYA,
+ BGR10A2_LE
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FORMAT_FLAG_", type_id = "gst_video_format_flags_get_type ()")]
[Flags]
@@ -1491,16 +1535,30 @@ namespace Gst {
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_TILE_Y_TILES_SHIFT")]
public const int TILE_Y_TILES_SHIFT;
[CCode (cheader_filename = "gst/video/video.h")]
+ public static GLib.Type afd_meta_api_get_type ();
+ [CCode (cheader_filename = "gst/video/video.h")]
+ public static unowned Gst.MetaInfo? afd_meta_get_info ();
+ [CCode (cheader_filename = "gst/video/video.h")]
public static GLib.Type affine_transformation_meta_api_get_type ();
[CCode (cheader_filename = "gst/video/video.h")]
public static unowned Gst.MetaInfo? affine_transformation_meta_get_info ();
[CCode (cheader_filename = "gst/video/video.h")]
+ public static GLib.Type bar_meta_api_get_type ();
+ [CCode (cheader_filename = "gst/video/video.h")]
+ public static unowned Gst.MetaInfo? bar_meta_get_info ();
+ [CCode (cheader_filename = "gst/video/video.h")]
public static bool blend (Gst.Video.Frame dest, Gst.Video.Frame src, int x, int y, float global_alpha);
[CCode (cheader_filename = "gst/video/video.h")]
public static void blend_scale_linear_RGBA (Gst.Video.Info src, Gst.Buffer src_buffer, int dest_height, int dest_width, out unowned Gst.Video.Info dest, out Gst.Buffer dest_buffer);
+ [CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_afd_meta")]
+ [Version (since = "1.16")]
+ public static unowned Gst.Video.AfdMeta? buffer_add_video_afd_meta (Gst.Buffer buffer, Gst.Video.Afd afd);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_affine_transformation_meta")]
[Version (since = "1.8")]
public static unowned Gst.Video.AffineTransformationMeta? buffer_add_video_affine_transformation_meta (Gst.Buffer buffer);
+ [CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_bar_meta")]
+ [Version (since = "1.16")]
+ public static unowned Gst.Video.BarMeta? buffer_add_video_bar_meta (Gst.Buffer buffer, Gst.Video.BarData bar_data);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_caption_meta")]
[Version (since = "1.16")]
public static unowned Gst.Video.CaptionMeta? buffer_add_video_caption_meta (Gst.Buffer buffer, Gst.Video.CaptionType caption_type, [CCode (array_length_cname = "size", array_length_pos = 3.1, array_length_type = "gsize")] uint8[] data);