diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-04-11 12:58:19 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-04-11 12:58:19 +0200 |
commit | 086f8855befb98dc8836f37dc259d459e58309c8 (patch) | |
tree | 3cdc2720fa47a95b3f3f0b029dc122a49048f1f3 | |
parent | 74eb3cef2df6989d3840fa56ba5e2561b4999c3d (diff) |
queue2: set buffer to NULL before pull
-rw-r--r-- | tests/check/elements/queue2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/check/elements/queue2.c b/tests/check/elements/queue2.c index 5be7858bb..598cfef85 100644 --- a/tests/check/elements/queue2.c +++ b/tests/check/elements/queue2.c @@ -244,6 +244,7 @@ GST_START_TEST (test_filled_read) thread = g_thread_create ((GThreadFunc) push_buffer, sinkpad, TRUE, NULL); + buffer = NULL; fail_unless (gst_pad_get_range (srcpad, 1024, 4 * 1024, &buffer) == GST_FLOW_OK); |