summaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorEvan Nemerson <evan@coeus-group.com>2017-11-20 12:25:33 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2017-12-09 14:34:49 +0100
commit968562c843d20af652aeed40b0d63e3ece111817 (patch)
tree288f7633318b0bbaaeb3a61df5143e4a8a41b15b /vapi
parent10837842582497ef8b5b97962db889af14f7bd21 (diff)
downloadvala-968562c843d20af652aeed40b0d63e3ece111817.tar.gz
gstreamer-1.0: Bind GST_DEBUG_BIN_TO_DOT_FILE/*_WITH_TS
https://bugzilla.gnome.org/show_bug.cgi?id=785215
Diffstat (limited to 'vapi')
-rw-r--r--vapi/gstreamer-1.0.vapi4
-rw-r--r--vapi/metadata/Gst-1.0-custom.vala7
2 files changed, 11 insertions, 0 deletions
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 0782acbf8..32169575b 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -9,6 +9,10 @@ namespace Gst {
public const int FG_MASK;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_DEBUG_FORMAT_MASK")]
public const int FORMAT_MASK;
+ [CCode (cheader_filename = "gst/gst.h", cname = "GST_DEBUG_BIN_TO_DOT_FILE")]
+ public static void BIN_TO_DOT_FILE (Gst.Bin bin, Gst.DebugGraphDetails details, string file_name);
+ [CCode (cheader_filename = "gst/gst.h", cname = "GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS")]
+ public static void BIN_TO_DOT_FILE_WITH_TS (Gst.Bin bin, Gst.DebugGraphDetails details, string file_name);
[CCode (cheader_filename = "gst/gst.h")]
public static void add_log_function (owned Gst.LogFunction func);
[CCode (cheader_filename = "gst/gst.h")]
diff --git a/vapi/metadata/Gst-1.0-custom.vala b/vapi/metadata/Gst-1.0-custom.vala
index 87467efad..f467c7d4b 100644
--- a/vapi/metadata/Gst-1.0-custom.vala
+++ b/vapi/metadata/Gst-1.0-custom.vala
@@ -1,4 +1,11 @@
namespace Gst {
+ namespace Debug {
+ [CCode (cheader_filename = "gst/gst.h", cname = "GST_DEBUG_BIN_TO_DOT_FILE")]
+ public static void BIN_TO_DOT_FILE (Gst.Bin bin, Gst.DebugGraphDetails details, string file_name);
+ [CCode (cheader_filename = "gst/gst.h", cname = "GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS")]
+ public static void BIN_TO_DOT_FILE_WITH_TS (Gst.Bin bin, Gst.DebugGraphDetails details, string file_name);
+ }
+
[Compact, CCode (copy_function = "gst_allocation_params_copy", free_function = "gst_allocation_params_free", type_id = "gst_allocation_params_get_type ()")]
public class AllocationParams {
}