diff options
author | Gabriel Burt <gabriel.burt@gmail.com> | 2011-05-06 14:13:28 -0500 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2011-05-09 09:12:55 +0200 |
commit | b724654dd59a6b5e20b3cbfb8df25c4e428ac016 (patch) | |
tree | b79f1d4c84a1e612a88f8bf2547c8eeffeaf16b3 | |
parent | e67cf80368a41f8807fd054f671b393cae3bac69 (diff) |
MissingPluginMessage: actually include in build
-rw-r--r-- | gstreamer-sharp/Makefile.am | 4 | ||||
-rw-r--r-- | gstreamer-sharp/MissingPluginMessage.cs | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/gstreamer-sharp/Makefile.am b/gstreamer-sharp/Makefile.am index 150a46e..33918ed 100644 --- a/gstreamer-sharp/Makefile.am +++ b/gstreamer-sharp/Makefile.am @@ -51,6 +51,7 @@ sources = \ PadQueryTypeFunction.cs \ TypeFindDelegates.cs \ PresetDefault.cs \ + MissingPluginMessage.cs \ MixerMessage.cs \ NavigationMessage.cs \ NavigationEvent.cs \ @@ -118,8 +119,7 @@ customs = \ VideoUtil.custom \ BitReader.custom \ ByteReader.custom \ - ByteWriter.custom \ - MissingPluginMessage.cs + ByteWriter.custom plugin_csfiles = $(builddir)/coreplugins/generated/*.cs \ $(builddir)/baseplugins/generated/*.cs \ diff --git a/gstreamer-sharp/MissingPluginMessage.cs b/gstreamer-sharp/MissingPluginMessage.cs index 08b789c..41b9f4f 100644 --- a/gstreamer-sharp/MissingPluginMessage.cs +++ b/gstreamer-sharp/MissingPluginMessage.cs @@ -9,10 +9,10 @@ namespace Gst.PbUtils { public static class MissingPluginMessage { [DllImport ("libgstpbutils-0.10.dll") ] - static extern IntPtr gst_is_missing_plugin_message (IntPtr msg); + static extern bool gst_is_missing_plugin_message (IntPtr msg); - public bool IsMissingPluginMessage (Gst.Message msg) { - return (msg != null) : gst_is_missing_plugin_message (msg.Handle) : false; + public static bool IsMissingPluginMessage (Gst.Message msg) { + return msg != null && gst_is_missing_plugin_message (msg.Handle); } [DllImport ("libgstpbutils-0.10.dll") ] |