summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/avisubtitle.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/check/elements/avisubtitle.c b/tests/check/elements/avisubtitle.c
index 51a2dd4a..52f8586a 100644
--- a/tests/check/elements/avisubtitle.c
+++ b/tests/check/elements/avisubtitle.c
@@ -139,7 +139,8 @@ check_correct_buffer (guint8 * src_data, guint src_size, guint8 * dst_data,
"Seeking is not possible when there is no buffer yet");
fail_unless (gst_pad_push (mysrcpad, buffer) == GST_FLOW_OK,
"not accepted a correct buffer");
- ASSERT_BUFFER_REFCOUNT (buffer, "inbuffer", 1);
+ /* we gave away our reference to the buffer, don't assume anything */
+ buffer = NULL;
/* a new buffer is created in the list */
fail_unless (g_list_length (buffers) == 1,
"No new buffer in the buffers list");