From b724654dd59a6b5e20b3cbfb8df25c4e428ac016 Mon Sep 17 00:00:00 2001 From: Gabriel Burt Date: Fri, 6 May 2011 14:13:28 -0500 Subject: [PATCH] MissingPluginMessage: actually include in build --- gstreamer-sharp/Makefile.am | 4 ++-- 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 150a46eb96..33918ed998 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 08b789cfb3..41b9f4f78f 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") ]