Commit 9c611354 authored by Youness Alaoui's avatar Youness Alaoui

Merge commit 'tester/gst-fix' into nice-kakaroto

parents 4f2c02a8 e4b7e06a
...@@ -213,10 +213,15 @@ gst_nice_src_unlock_idler (gpointer data) ...@@ -213,10 +213,15 @@ gst_nice_src_unlock_idler (gpointer data)
{ {
GstNiceSrc *nicesrc = GST_NICE_SRC (data); GstNiceSrc *nicesrc = GST_NICE_SRC (data);
g_main_loop_quit (nicesrc->mainloop); GST_OBJECT_LOCK (nicesrc);
if (nicesrc->unlocked)
g_main_loop_quit (nicesrc->mainloop);
g_source_unref (nicesrc->idle_source); if (nicesrc->idle_source) {
nicesrc->idle_source = NULL; g_source_unref (nicesrc->idle_source);
nicesrc->idle_source = NULL;
}
GST_OBJECT_UNLOCK (nicesrc);
return FALSE; return FALSE;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment