mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 23:18:52 +00:00
queue: fix segfault in test
This commit is contained in:
parent
c485918405
commit
351de88529
1 changed files with 2 additions and 2 deletions
|
@ -572,8 +572,8 @@ GST_START_TEST (test_newsegment)
|
||||||
GstBuffer *buffer;
|
GstBuffer *buffer;
|
||||||
|
|
||||||
g_signal_connect (queue, "overrun", G_CALLBACK (queue_overrun), NULL);
|
g_signal_connect (queue, "overrun", G_CALLBACK (queue_overrun), NULL);
|
||||||
g_object_set (G_OBJECT (queue), "max-size-buffers", 1, "max-size-time", 0,
|
g_object_set (G_OBJECT (queue), "max-size-buffers", 1, "max-size-time",
|
||||||
"leaky", 2, NULL);
|
(guint64) 0, "leaky", 2, NULL);
|
||||||
|
|
||||||
GST_DEBUG ("starting");
|
GST_DEBUG ("starting");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue