v4l2: fix double-unref in the v4l2 device provider
This commit is contained in:
parent
65d08e2154
commit
5f720cc3cb
@ -365,7 +365,6 @@ gst_v4l2_device_provider_stop (GstDeviceProvider * provider)
|
|||||||
g_main_context_unref (context);
|
g_main_context_unref (context);
|
||||||
|
|
||||||
g_thread_join (self->thread);
|
g_thread_join (self->thread);
|
||||||
g_thread_unref (self->thread);
|
|
||||||
self->thread = NULL;
|
self->thread = NULL;
|
||||||
self->started = FALSE;
|
self->started = FALSE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user