mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-11 19:06:33 +00:00
196ad13ffb
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@65068 e3ebcda4-bce8-0310-ba0a-eca2169e7518
25 lines
516 B
Text
25 lines
516 B
Text
[DllImport("gstreamer-0.10")]
|
|
static extern IntPtr gst_mini_object_ref (IntPtr buf);
|
|
|
|
public void Ref()
|
|
{
|
|
IntPtr tmp = gst_mini_object_ref(this.Handle);
|
|
}
|
|
|
|
[DllImport("gstreamer-0.10")]
|
|
static extern void gst_mini_object_unref(IntPtr buf);
|
|
|
|
public void Unref()
|
|
{
|
|
gst_mini_object_unref(this.Handle);
|
|
}
|
|
|
|
[DllImport("gstreamersharpglue-0.10")]
|
|
static extern uint gstsharp_gst_buffer_refcount(IntPtr buf);
|
|
|
|
public uint Refcount
|
|
{
|
|
get {
|
|
return gstsharp_gst_buffer_refcount(this.Handle);
|
|
}
|
|
}
|