From b08ca4a640d6b067c5767704008de864d442cd6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 3 Oct 2009 09:29:45 +0200 Subject: [PATCH] First step of adding gstpbutils bindings Fixes bug #596110. --- gstreamer-sharp/Application.cs | 5 + gstreamer-sharp/gstreamer-api.raw | 166 ++++++++++++++++++++++++++++++ source/gstreamer-sharp-source.xml | 5 + 3 files changed, 176 insertions(+) diff --git a/gstreamer-sharp/Application.cs b/gstreamer-sharp/Application.cs index 263f6055c1..720c3c4d32 100644 --- a/gstreamer-sharp/Application.cs +++ b/gstreamer-sharp/Application.cs @@ -41,6 +41,7 @@ namespace Gst { gst_init (ref argc, ref argv); gst_controller_init (ref argc, ref argv); + gst_pb_utils_init (); RegisterManagedTypes (); } @@ -148,6 +149,7 @@ namespace Gst { } gst_controller_init (ref argc, ref argv_ptr); + gst_pb_utils_init (); if (argc <= 1) { args = new string[0]; @@ -168,6 +170,9 @@ namespace Gst { [DllImport ("libgstcontroller-0.10.dll") ] private static extern void gst_controller_init (ref int argc, ref IntPtr argv); + [DllImport ("libgstpbutils-0.10.dll") ] + private static extern void gst_pb_utils_init (); + [DllImport ("libgstreamer-0.10.dll") ] private static extern void gst_deinit(); } diff --git a/gstreamer-sharp/gstreamer-api.raw b/gstreamer-sharp/gstreamer-api.raw index 412b0f7db5..78577c0bf8 100644 --- a/gstreamer-sharp/gstreamer-api.raw +++ b/gstreamer-sharp/gstreamer-api.raw @@ -9882,4 +9882,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/source/gstreamer-sharp-source.xml b/source/gstreamer-sharp-source.xml index 9faceca93b..5116cbaedd 100644 --- a/source/gstreamer-sharp-source.xml +++ b/source/gstreamer-sharp-source.xml @@ -68,5 +68,10 @@ ../../gst-plugins-base/gst-libs/gst/video + + + ../../gst-plugins-base/gst-libs/gst/pbutils + +