From ecf13c2d1856ba332ecefbe7f33b0e0c0b263390 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 28 May 2009 14:51:44 +0200 Subject: [PATCH] Override GLib.Opaque.Copy() vm --- gstreamer-sharp/Caps.custom | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gstreamer-sharp/Caps.custom b/gstreamer-sharp/Caps.custom index 9798cd5dc5..046a3d04ad 100644 --- a/gstreamer-sharp/Caps.custom +++ b/gstreamer-sharp/Caps.custom @@ -238,3 +238,8 @@ class FinalizerInfo { FinalizerInfo info = new FinalizerInfo (Handle); GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler)); } + +protected override GLib.Opaque Copy (IntPtr raw) { + return GLib.Opaque.GetOpaque (gst_caps_ref (raw), typeof (Caps), true); +} +