From e1a6ddb198819be554d2c128b1ffe7127a7980cc Mon Sep 17 00:00:00 2001 From: Stephan Sundermann Date: Sat, 2 Nov 2013 17:01:23 +0100 Subject: [PATCH] Pad: Fixed Caps property --- sources/custom/Pad.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }