v4l2: fix double-unref in the v4l2 device provider

This commit is contained in:
Nirbheek Chauhan 2015-10-28 23:47:30 +05:30 committed by Tim-Philipp Müller
parent 65d08e2154
commit 5f720cc3cb

View file

@ -365,7 +365,6 @@ gst_v4l2_device_provider_stop (GstDeviceProvider * provider)
g_main_context_unref (context);
g_thread_join (self->thread);
g_thread_unref (self->thread);
self->thread = NULL;
self->started = FALSE;
}