Pad: Fixed Caps property
authorStephan Sundermann <stephansundermann@gmail.com>
Sat, 2 Nov 2013 16:01:23 +0000 (17:01 +0100)
committerStephan Sundermann <stephansundermann@gmail.com>
Sat, 21 Dec 2013 15:52:28 +0000 (16:52 +0100)
sources/custom/Pad.cs

index 3cab1faf98009cfd895b0fef2f26386bb2315e94..366270575e3dc24453a9333ea74f040558cac2c9 100644 (file)
@@ -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;
                        }