From 02ea7a16ab83342780a8ff9894caac8f0e00edf0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 7 Apr 2009 11:46:42 +0200 Subject: [PATCH] Fix compilation of unit test --- tests/PadTest.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/PadTest.cs b/tests/PadTest.cs index 9acbbf2..d19bcb8 100644 --- a/tests/PadTest.cs +++ b/tests/PadTest.cs @@ -251,14 +251,12 @@ public class PadTest Assert.AreEqual(caps.Refcount, 2, "caps"); Gst.Buffer buffer = new Gst.Buffer(); - buffer.Ref(); Assert.AreEqual(src.Push(buffer), FlowReturn.NotLinked); Assert.AreEqual(buffer.Refcount, 1, "buffer"); buffer.Dispose(); ulong handler_id = src.AddBufferProbe(new Pad.BufferProbeDelegate(ProbeHandler)); buffer = new Gst.Buffer(); - buffer.Ref(); Assert.AreEqual(src.Push(buffer), FlowReturn.Ok); buffer.Dispose(); src.RemoveBufferProbe((uint)handler_id); -- 2.7.4