diff --git a/src/gst/gstpipewirecore.c b/src/gst/gstpipewirecore.c index d9d78d5f2..acfe17c47 100644 --- a/src/gst/gstpipewirecore.c +++ b/src/gst/gstpipewirecore.c @@ -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)