summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2018-11-20 13:00:55 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2018-11-20 13:01:24 +0100
commit362b7c9f5a70e001c001b0d0174f87be9663f235 (patch)
tree6207654f437c1cf9431c4d7811fdd0fd0b56e4ad
parent8bbc99bea1b14977d7a570149911b09c0e2d5c0d (diff)
downloadvala-362b7c9f5a70e001c001b0d0174f87be9663f235.tar.gz
gstreamer: Update from 1.15+ git master
-rw-r--r--vapi/gstreamer-1.0.vapi10
-rw-r--r--vapi/gstreamer-video-1.0.vapi16
2 files changed, 23 insertions, 3 deletions
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 1e9879544..a23e63b11 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -2101,6 +2101,9 @@ namespace Gst {
[CCode (has_construct_function = false)]
public Query.allocation (Gst.Caps caps, bool need_pool);
[CCode (has_construct_function = false)]
+ [Version (since = "1.16")]
+ public Query.bitrate ();
+ [CCode (has_construct_function = false)]
public Query.buffering (Gst.Format format);
[CCode (has_construct_function = false)]
public Query.caps (Gst.Caps filter);
@@ -2131,6 +2134,8 @@ namespace Gst {
public void parse_accept_caps (out unowned Gst.Caps caps);
public void parse_accept_caps_result (out bool result);
public void parse_allocation (out unowned Gst.Caps caps, out bool need_pool);
+ [Version (since = "1.16")]
+ public void parse_bitrate (out uint nominal_bitrate);
public void parse_buffering_percent (out bool busy, out int percent);
public void parse_buffering_range (out Gst.Format format, out int64 start, out int64 stop, out int64 estimated_total);
public void parse_buffering_stats (out Gst.BufferingMode mode, out int avg_in, out int avg_out, out int64 buffering_left);
@@ -2173,6 +2178,8 @@ namespace Gst {
[CCode (has_construct_function = false)]
public Query.segment (Gst.Format format);
public void set_accept_caps_result (bool result);
+ [Version (since = "1.16")]
+ public void set_bitrate (uint nominal_bitrate);
public void set_buffering_percent (bool busy, int percent);
public void set_buffering_range (Gst.Format format, int64 start, int64 stop, int64 estimated_total);
public void set_buffering_stats (Gst.BufferingMode mode, int avg_in, int avg_out, int64 buffering_left);
@@ -3476,7 +3483,8 @@ namespace Gst {
ACCEPT_CAPS,
CAPS,
DRAIN,
- CONTEXT;
+ CONTEXT,
+ BITRATE;
public Gst.QueryTypeFlags get_flags ();
public unowned string get_name ();
public GLib.Quark to_quark ();
diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi
index 01111ba36..acfd7ff38 100644
--- a/vapi/gstreamer-video-1.0.vapi
+++ b/vapi/gstreamer-video-1.0.vapi
@@ -410,6 +410,18 @@ namespace Gst {
public TimeCodeInterval.from_string (string tc_inter_str);
public void init (uint hours, uint minutes, uint seconds, uint frames);
}
+ [CCode (cheader_filename = "gst/video/video.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_video_vbi_encoder_get_type ()")]
+ [Compact]
+ [GIR (name = "VideoVBIEncoder")]
+ [Version (since = "1.16")]
+ public class VBIEncoder {
+ [CCode (has_construct_function = false)]
+ public VBIEncoder (Gst.Video.Format format, uint32 pixel_width);
+ public bool add_ancillary (bool composite, uint8 DID, uint8 SDID_block_number, [CCode (array_length_cname = "data_count", array_length_pos = 4.1, array_length_type = "guint")] uint8[] data);
+ public Gst.Video.VBIEncoder copy ();
+ public void free ();
+ public void write_line (uint8 data);
+ }
[CCode (cheader_filename = "gst/video/video.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_video_vbi_parser_get_type ()")]
[Compact]
[GIR (name = "VideoVBIParser")]
@@ -919,7 +931,6 @@ namespace Gst {
V210,
[CCode (cname = "GST_VIDEO_FORMAT_v216")]
V216,
- Y210,
NV12,
NV21,
GRAY8,
@@ -980,7 +991,8 @@ namespace Gst {
GRAY10_LE32,
NV12_10LE32,
NV16_10LE32,
- NV12_10LE40
+ NV12_10LE40,
+ Y210
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FORMAT_FLAG_", type_id = "gst_video_format_flags_get_type ()")]
[Flags]