mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
MissingPluginMessage: actually include in build
This commit is contained in:
parent
e67cf80368
commit
b724654dd5
2 changed files with 5 additions and 5 deletions
|
@ -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 \
|
||||
|
|
|
@ -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") ]
|
||||
|
|
Loading…
Reference in a new issue