unlink(MS_SCANNER_FIFO_PATH_RES);
unlink(MS_SCANNER_FIFO_PATH_REQ);
- g_source_destroy(g_main_context_find_source_by_id(g_main_loop_get_context (mainloop), alarm_id));
- g_source_destroy(g_main_context_find_source_by_id(g_main_loop_get_context (mainloop), receive_id));
+ g_source_destroy(g_main_context_find_source_by_id(g_main_loop_get_context(mainloop), alarm_id));
+ g_source_destroy(g_main_context_find_source_by_id(g_main_loop_get_context(mainloop), receive_id));
scanner_cleaned = true;
receive_id = g_source_attach(res_source, res_context);
g_source_unref(res_source);
- _ms_add_timeout(30, (GSourceFunc)_ms_stop_scanner, res_channel);
+ _ms_add_timeout(60, (GSourceFunc)_ms_stop_scanner, res_channel);
ret = MS_MEDIA_ERR_NONE;
} else {