diff --git a/sources/custom/Pad.cs b/sources/custom/Pad.cs index 3cab1faf98..366270575e 100644 --- a/sources/custom/Pad.cs +++ b/sources/custom/Pad.cs @@ -23,7 +23,7 @@ namespace Gst { public Gst.Caps Caps { get { GLib.Value val = GetProperty ("caps"); - Gst.Caps ret = new Gst.Caps ((IntPtr)val); + Gst.Caps ret = (Gst.Caps) val.Val; val.Dispose (); return ret; }