queue2: set buffer to NULL before pull

This commit is contained in:
Wim Taymans 2012-04-11 12:58:19 +02:00
parent 74eb3cef2d
commit 086f8855be

View file

@ -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);