summaryrefslogtreecommitdiff
path: root/vapi/gstreamer-net-1.0.vapi
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2021-08-05 15:16:50 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2021-08-05 15:30:38 +0200
commit9d5708923f64b3914aa213ca780973be853a03b7 (patch)
tree63c15d6eb455ba071108f823e6c63fcf7b67569f /vapi/gstreamer-net-1.0.vapi
parent484c97c237a0291a593cd8b3694e999c8582cf44 (diff)
downloadvala-9d5708923f64b3914aa213ca780973be853a03b7.tar.gz
Regenerate GIR-based bindings for improved instance method detection
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1210
Diffstat (limited to 'vapi/gstreamer-net-1.0.vapi')
-rw-r--r--vapi/gstreamer-net-1.0.vapi7
1 files changed, 7 insertions, 0 deletions
diff --git a/vapi/gstreamer-net-1.0.vapi b/vapi/gstreamer-net-1.0.vapi
index aef871785..be7579fe0 100644
--- a/vapi/gstreamer-net-1.0.vapi
+++ b/vapi/gstreamer-net-1.0.vapi
@@ -84,12 +84,14 @@ namespace Gst {
public struct AddressMeta {
public Gst.Meta meta;
public weak GLib.SocketAddress addr;
+ public static unowned Gst.MetaInfo? get_info ();
}
[CCode (cheader_filename = "gst/net/net.h", has_type_id = false)]
[GIR (name = "NetControlMessageMeta")]
public struct ControlMessageMeta {
public Gst.Meta meta;
public weak GLib.SocketControlMessage message;
+ public static unowned Gst.MetaInfo? get_info ();
}
[CCode (cheader_filename = "gst/net/net.h", cname = "GstPtpStatisticsCallback", instance_pos = 2.9)]
public delegate bool PtpStatisticsCallback (uint8 domain, Gst.Structure stats);
@@ -106,6 +108,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/net/net.h")]
public static GLib.Type address_meta_api_get_type ();
[CCode (cheader_filename = "gst/net/net.h")]
+ [Version (replacement = "NetAddressMeta.get_info")]
public static unowned Gst.MetaInfo? address_meta_get_info ();
[CCode (cheader_filename = "gst/net/net.h", cname = "gst_buffer_add_net_address_meta")]
public static unowned Gst.Net.AddressMeta? buffer_add_net_address_meta (Gst.Buffer buffer, GLib.SocketAddress addr);
@@ -116,6 +119,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/net/net.h")]
public static GLib.Type control_message_meta_api_get_type ();
[CCode (cheader_filename = "gst/net/net.h")]
+ [Version (replacement = "NetControlMessageMeta.get_info")]
public static unowned Gst.MetaInfo? control_message_meta_get_info ();
[CCode (cheader_filename = "gst/net/net.h", cname = "gst_ptp_deinit")]
[Version (since = "1.6")]
@@ -136,6 +140,9 @@ namespace Gst {
[Version (since = "1.6")]
public static void ptp_statistics_callback_remove (ulong id);
[CCode (cheader_filename = "gst/net/net.h")]
+ [Version (replacement = "NetTimePacket.receive")]
+ public static Gst.Net.TimePacket time_packet_receive (GLib.Socket socket, out GLib.SocketAddress src_address) throws GLib.Error;
+ [CCode (cheader_filename = "gst/net/net.h")]
[Version (since = "1.18")]
public static bool utils_set_socket_tos (GLib.Socket socket, int qos_dscp);
}