diff options
Diffstat (limited to 'sources/custom')
| -rw-r--r-- | sources/custom/Adapter.cs | 4 | ||||
| -rw-r--r-- | sources/custom/Application.cs | 8 | ||||
| -rw-r--r-- | sources/custom/AudioFilter.cs | 2 | ||||
| -rw-r--r-- | sources/custom/Buffer.cs | 4 | ||||
| -rw-r--r-- | sources/custom/DeviceProvider.cs | 8 | ||||
| -rw-r--r-- | sources/custom/DynamicSignal.cs | 16 | ||||
| -rw-r--r-- | sources/custom/Element.cs | 10 | ||||
| -rw-r--r-- | sources/custom/FFTF32.cs | 6 | ||||
| -rw-r--r-- | sources/custom/Iterator.cs | 4 | ||||
| -rw-r--r-- | sources/custom/Message.cs | 6 | ||||
| -rw-r--r-- | sources/custom/MiniObject.cs | 6 | ||||
| -rw-r--r-- | sources/custom/Object.cs | 2 | ||||
| -rw-r--r-- | sources/custom/Value.cs | 64 | ||||
| -rw-r--r-- | sources/custom/Version.cs | 4 |
14 files changed, 72 insertions, 72 deletions
diff --git a/sources/custom/Adapter.cs b/sources/custom/Adapter.cs index c5d6e8e..f418cac 100644 --- a/sources/custom/Adapter.cs +++ b/sources/custom/Adapter.cs @@ -21,7 +21,7 @@ namespace Gst.Base { public partial class Adapter { - [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_adapter_copy(IntPtr raw, out IntPtr dest, int offset, int size); public byte[] Copy(int offset, int size) { @@ -36,7 +36,7 @@ namespace Gst.Base { return bytes; } - [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gst_adapter_map(IntPtr raw, out int size); public byte[] Map() { diff --git a/sources/custom/Application.cs b/sources/custom/Application.cs index 6a5f022..2cbf40d 100644 --- a/sources/custom/Application.cs +++ b/sources/custom/Application.cs @@ -36,10 +36,10 @@ namespace Gst { GLib.GType.Register(Gst.WebRTC.WebRTCSessionDescription.GType, typeof(Gst.WebRTC.WebRTCSessionDescription)); } - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_init(ref int argc, ref IntPtr[] argv); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_init(IntPtr argc, IntPtr argv); private static void CheckVersion() { @@ -66,10 +66,10 @@ namespace Gst { CheckVersion(); } - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool gst_init_check(ref int argc, ref IntPtr[] argv, out IntPtr error); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool gst_init_check(IntPtr argc, IntPtr argv, out IntPtr error); public static bool InitCheck() { diff --git a/sources/custom/AudioFilter.cs b/sources/custom/AudioFilter.cs index fcbacd7..2f20914 100644 --- a/sources/custom/AudioFilter.cs +++ b/sources/custom/AudioFilter.cs @@ -27,7 +27,7 @@ namespace Gst.Audio { partial class AudioFilter { - [DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_audio_filter_class_add_pad_templates(IntPtr klass, IntPtr allowed_caps); public void AddPadTemplates(Gst.Caps allowed_caps) { diff --git a/sources/custom/Buffer.cs b/sources/custom/Buffer.cs index 3ebdea1..464ad7e 100644 --- a/sources/custom/Buffer.cs +++ b/sources/custom/Buffer.cs @@ -21,7 +21,7 @@ namespace Gst { using System.Runtime.InteropServices; partial class Buffer { - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern UIntPtr gst_buffer_extract(IntPtr raw, UIntPtr offset, byte[] dest, UIntPtr size); public ulong Extract(ulong offset, ref byte[] dest) { @@ -30,7 +30,7 @@ namespace Gst { return ret; } - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_buffer_extract_dup(IntPtr raw, UIntPtr offset, UIntPtr size, out IntPtr dest, out UIntPtr dest_size); public ulong ExtractDup(ulong offset, ulong size, out byte[] dest) { diff --git a/sources/custom/DeviceProvider.cs b/sources/custom/DeviceProvider.cs index 463823d..72a0277 100644 --- a/sources/custom/DeviceProvider.cs +++ b/sources/custom/DeviceProvider.cs @@ -27,7 +27,7 @@ namespace Gst { partial class DeviceProvider { - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_device_provider_class_add_metadata(IntPtr klass, IntPtr key, IntPtr value); public void AddMetadata(string key, string value) { @@ -38,7 +38,7 @@ namespace Gst { GLib.Marshaller.Free (native_value); } - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_device_provider_class_add_static_metadata(IntPtr klass, IntPtr key, IntPtr value); public void AddStaticMetadata(string key, string value) { @@ -50,7 +50,7 @@ namespace Gst { GLib.Marshaller.Free (native_value); } - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_device_provider_class_set_metadata(IntPtr klass, IntPtr longname, IntPtr classification, IntPtr description, IntPtr author); public void SetMetadata(string longname, string classification, string description, string author) { @@ -65,7 +65,7 @@ namespace Gst { GLib.Marshaller.Free (native_author); } - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_device_provider_class_set_static_metadata(IntPtr klass, IntPtr longname, IntPtr classification, IntPtr description, IntPtr author); public void SetStaticMetadata(string longname, string classification, string description, string author) { diff --git a/sources/custom/DynamicSignal.cs b/sources/custom/DynamicSignal.cs index 86d045e..f335eba 100644 --- a/sources/custom/DynamicSignal.cs +++ b/sources/custom/DynamicSignal.cs @@ -289,14 +289,14 @@ namespace Gst } - [DllImport ("libgobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport ("gobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr g_closure_new_simple (int size, IntPtr data); - [DllImport ("libgobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport ("gobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern uint g_signal_connect_closure (IntPtr instance, string name, IntPtr closure, bool after); - [DllImport ("libgobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport ("gobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void g_closure_set_meta_marshal (IntPtr closure, IntPtr data, GClosureMarshal marshal); class GTypeSignalKey @@ -432,16 +432,16 @@ namespace Gst return ret; } - [DllImport ("libgobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport ("gobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern int g_signal_handler_disconnect (IntPtr o, uint handler_id); - [DllImport ("libgobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport ("gobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern uint g_signal_lookup (IntPtr name, IntPtr itype); - [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport ("glib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern uint g_quark_from_string (IntPtr str); - [DllImport ("libgobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport ("gobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void g_signal_emitv (GLib.Value[] parameters, uint signal_id, uint detail, ref GLib.Value return_value); [StructLayout (LayoutKind.Sequential)] @@ -456,7 +456,7 @@ namespace Gst public IntPtr param_types; } - [DllImport ("libgobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport ("gobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void g_signal_query (uint signal_id, ref GSignalQuery query); } } diff --git a/sources/custom/Element.cs b/sources/custom/Element.cs index 5a1881a..73de646 100644 --- a/sources/custom/Element.cs +++ b/sources/custom/Element.cs @@ -46,7 +46,7 @@ namespace Gst { } } - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_element_class_add_metadata(IntPtr klass, IntPtr key, IntPtr value); public void AddMetadata(string key, string value) { @@ -57,14 +57,14 @@ namespace Gst { GLib.Marshaller.Free (native_value); } - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_element_class_add_pad_template(IntPtr klass, IntPtr templ); public void AddPadTemplate(Gst.PadTemplate templ) { gst_element_class_add_pad_template(LookupGType().GetClassPtr (), templ == null ? IntPtr.Zero : templ.OwnedHandle); } - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_element_class_add_static_metadata(IntPtr klass, IntPtr key, IntPtr value); public void AddStaticMetadata(string key, string value) { @@ -75,7 +75,7 @@ namespace Gst { GLib.Marshaller.Free (native_value); } - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_element_class_set_metadata(IntPtr klass, IntPtr longname, IntPtr classification, IntPtr description, IntPtr author); public void SetMetadata(string longname, string classification, string description, string author) { @@ -90,7 +90,7 @@ namespace Gst { GLib.Marshaller.Free (native_author); } - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_element_class_set_static_metadata(IntPtr klass, IntPtr longname, IntPtr classification, IntPtr description, IntPtr author); public void SetStaticMetadata(string longname, string classification, string description, string author) { diff --git a/sources/custom/FFTF32.cs b/sources/custom/FFTF32.cs index a51ee7b..70a7e19 100644 --- a/sources/custom/FFTF32.cs +++ b/sources/custom/FFTF32.cs @@ -24,21 +24,21 @@ namespace Gst.FFT { public partial class FFTF32 : GLib.Opaque { - [DllImport("libgstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gst_fft_f32_new (int len, bool inverse); public FFTF32 (int len, bool inverse) { Raw = gst_fft_f32_new (len, inverse); } - [DllImport("libgstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_fft_f32_fft(IntPtr raw, float[] timedata, [MarshalAs (UnmanagedType.LPArray, ArraySubType=UnmanagedType.Struct)] FFTF32Complex[] freqdata); public void Fft(float[] timedata, Gst.FFT.FFTF32Complex[] freqdata) { gst_fft_f32_fft(Handle, timedata, freqdata); } - [DllImport("libgstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_fft_f32_window(IntPtr raw, float[] timedata, int window); public void Window(float[] timedata, Gst.FFT.FFTWindow window) { diff --git a/sources/custom/Iterator.cs b/sources/custom/Iterator.cs index 360f66a..36db444 100644 --- a/sources/custom/Iterator.cs +++ b/sources/custom/Iterator.cs @@ -33,10 +33,10 @@ namespace Gst { public partial class Iterator : IEnumerable { - [DllImport ("libgobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport ("gobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr g_value_reset (ref GLib.Value val); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern int gst_iterator_next(IntPtr raw, ref GLib.Value elem); public Gst.IteratorResult Next(ref GLib.Value elem) { diff --git a/sources/custom/Message.cs b/sources/custom/Message.cs index 089fa67..99483a5 100644 --- a/sources/custom/Message.cs +++ b/sources/custom/Message.cs @@ -22,7 +22,7 @@ namespace Gst { partial class Message { - [DllImport ("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport ("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_message_parse_error (IntPtr msg, out IntPtr err, out IntPtr debug); public void ParseError (out GLib.GException error, out string debug) { @@ -43,10 +43,10 @@ namespace Gst { error = new GLib.GException (err); } - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gst_message_get_stream_status_object(IntPtr raw); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_message_set_stream_status_object(IntPtr raw, IntPtr value); public GLib.Value StreamStatusObject { diff --git a/sources/custom/MiniObject.cs b/sources/custom/MiniObject.cs index c0892b8..84062b0 100644 --- a/sources/custom/MiniObject.cs +++ b/sources/custom/MiniObject.cs @@ -24,7 +24,7 @@ namespace Gst { { protected MiniObject () {} - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool gst_mini_object_replace(IntPtr olddata, IntPtr newdata); public static bool Replace(ref Gst.MiniObject olddata, Gst.MiniObject newdata) { @@ -35,14 +35,14 @@ namespace Gst { return Replace (ref olddata, null); } - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool gst_mini_object_take(IntPtr olddata, IntPtr newdata); public static bool Take(ref Gst.MiniObject olddata, Gst.MiniObject newdata) { return gst_mini_object_take(olddata.Handle, newdata == null ? IntPtr.Zero : newdata.Handle); } - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gst_mini_object_make_writable(IntPtr mini_object); public void MakeWritable() { diff --git a/sources/custom/Object.cs b/sources/custom/Object.cs index d0458da..bc9346c 100644 --- a/sources/custom/Object.cs +++ b/sources/custom/Object.cs @@ -48,7 +48,7 @@ namespace Gst { { private Dictionary <string, bool> PropertyNameCache = new Dictionary<string, bool> (); - [DllImport ("libgobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport ("gobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr g_object_class_find_property (IntPtr klass, IntPtr name); bool PropertyExists (string name) { diff --git a/sources/custom/Value.cs b/sources/custom/Value.cs index 5885f93..9c8c34d 100644 --- a/sources/custom/Value.cs +++ b/sources/custom/Value.cs @@ -144,19 +144,19 @@ namespace Gst return new Fraction (a.Numerator * b.Denominator, a.Denominator * b.Numerator); } - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern void gst_value_set_fraction (ref GLib.Value v, int numerator, int denominator); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern int gst_value_get_fraction_numerator (ref GLib.Value v); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern int gst_value_get_fraction_denominator (ref GLib.Value v); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern IntPtr gst_fraction_get_type (); } @@ -205,19 +205,19 @@ namespace Gst return val; } - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern IntPtr gst_double_range_get_type (); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern void gst_value_set_double_range (ref GLib.Value v, double min, double max); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern double gst_value_get_double_range_min (ref GLib.Value v); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern double gst_value_get_double_range_max (ref GLib.Value v); } @@ -266,19 +266,19 @@ namespace Gst return val; } - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern IntPtr gst_int_range_get_type (); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern void gst_value_set_int_range (ref GLib.Value v, int min, int max); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern int gst_value_get_int_range_min (ref GLib.Value v); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern int gst_value_get_int_range_max (ref GLib.Value v); } @@ -345,19 +345,19 @@ namespace Gst return val; } - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern IntPtr gst_fraction_range_get_type (); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern void gst_value_set_fraction_range (ref GLib.Value v, ref GLib.Value min, ref GLib.Value max); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern IntPtr gst_value_get_fraction_range_min (ref GLib.Value v); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern IntPtr gst_value_get_fraction_range_max (ref GLib.Value v); } @@ -432,30 +432,30 @@ namespace Gst return val; } - [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport ("glib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern byte g_date_get_day (IntPtr date); - [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport ("glib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern int g_date_get_month (IntPtr date); - [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport ("glib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern ushort g_date_get_year (IntPtr date); - [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport ("glib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern IntPtr g_date_new_dmy (byte day, int month, ushort year); - [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport ("glib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern void g_date_free (IntPtr date); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern IntPtr gst_date_get_type (); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern IntPtr gst_value_get_date (ref GLib.Value val); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern void gst_value_set_date (ref GLib.Value val, IntPtr date); } @@ -538,19 +538,19 @@ namespace Gst } } - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern IntPtr gst_value_list_get_type (); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern uint gst_value_list_get_size (ref GLib.Value val); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern IntPtr gst_value_list_get_value (ref GLib.Value val, uint index); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern void gst_value_list_append_value (ref GLib.Value val, ref GLib.Value el); } @@ -633,19 +633,19 @@ namespace Gst } } - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern IntPtr gst_value_array_get_type (); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern uint gst_value_array_get_size (ref GLib.Value val); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern IntPtr gst_value_array_get_value (ref GLib.Value val, uint index); - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern void gst_value_array_append_value (ref GLib.Value val, ref GLib.Value el); } diff --git a/sources/custom/Version.cs b/sources/custom/Version.cs index 8de1b2e..9b6af17 100644 --- a/sources/custom/Version.cs +++ b/sources/custom/Version.cs @@ -75,10 +75,10 @@ namespace Gst } } - [DllImport ("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport ("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern void gst_version (out uint major, out uint minor, out uint micro, out uint nano); - [DllImport ("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport ("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] private static extern IntPtr gst_version_string (); } } |
