mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-19 16:01:45 +00:00
gst: init last_error
Otherwise, it may be used uninitalized.
This commit is contained in:
parent
d4207d3b0c
commit
744a8aaeb7
|
@ -73,6 +73,7 @@ static GstPipeWireCore *make_core (int fd)
|
|||
core->loop = pw_thread_loop_new ("pipewire-main-loop", NULL);
|
||||
core->context = pw_context_new (pw_thread_loop_get_loop(core->loop), NULL, 0);
|
||||
core->last_seq = -1;
|
||||
core->last_error = 0;
|
||||
GST_DEBUG ("loop %p context %p", core->loop, core->context);
|
||||
|
||||
if (pw_thread_loop_start (core->loop) < 0)
|
||||
|
|
Loading…
Reference in a new issue