projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c771c5
)
Fix compilation of unit test
author
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Tue, 7 Apr 2009 09:46:42 +0000
(11:46 +0200)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Tue, 7 Apr 2009 09:46:42 +0000
(11:46 +0200)
tests/PadTest.cs
patch
|
blob
|
history
diff --git
a/tests/PadTest.cs
b/tests/PadTest.cs
index
9acbbf2
..
d19bcb8
100644
(file)
--- 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);