mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
queue2: set buffer to NULL before pull
This commit is contained in:
parent
74eb3cef2d
commit
086f8855be
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue