+ if (!force && last_scan_file != NULL &&
+ strcmp(last_scan_file, filename) == 0)
+ {
+ if (ghb_queue_edit_settings)
+ {
+ gint jstatus;
+
+ jstatus = ghb_settings_get_int(ghb_queue_edit_settings, "job_status");
+ ghb_settings_to_ui(ud, ghb_queue_edit_settings);
+ ghb_set_audio(ud, ghb_queue_edit_settings);
+ if (jstatus == GHB_QUEUE_PENDING)
+ {
+ ghb_value_free(ghb_queue_edit_settings);
+ }
+ ghb_queue_edit_settings = NULL;
+ }
+ return;
+ }
+ if (last_scan_file != NULL)
+ g_free(last_scan_file);
+ last_scan_file = NULL;