summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-03-21 18:48:41 +0000
committerjstebbins <[email protected]>2009-03-21 18:48:41 +0000
commit42277b5bf8fb701832a058eea444dcad892fac21 (patch)
tree13dfec7460d092cef76368c8300f8cbc89fce6f6
parentceed502e29ab694df42ff9074103cd20dc0cec22 (diff)
LinGui: fix crash at start of a 2 pass encode
if you started an encode, then scanned another source, the second pass would crash. I was inadvertently deleting the 1st pass log file. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2270 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--gtk/src/callbacks.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c
index 5c58d053d..d76404993 100644
--- a/gtk/src/callbacks.c
+++ b/gtk/src/callbacks.c
@@ -619,7 +619,6 @@ ghb_do_scan(
path = ghb_settings_get_string( ud->settings, "source");
gtk_progress_bar_set_fraction (progress, 0);
gtk_progress_bar_set_text (progress, "Scanning ...");
- ghb_hb_cleanup(TRUE);
prune_logs(ud);
gint preview_count;
preview_count = ghb_settings_get_int(ud->settings, "preview_count");
@@ -2608,7 +2607,6 @@ drive_changed_cb(GVolumeMonitor *gvm, GDrive *gd, signal_user_data_t *ud)
gtk_progress_bar_set_text (progress, "Scanning ...");
gtk_progress_bar_set_fraction (progress, 0);
update_source_label(ud, device);
- ghb_hb_cleanup(TRUE);
prune_logs(ud);
gint preview_count;
preview_count = ghb_settings_get_int(ud->settings, "preview_count");
@@ -2616,7 +2614,6 @@ drive_changed_cb(GVolumeMonitor *gvm, GDrive *gd, signal_user_data_t *ud)
}
else
{
- ghb_hb_cleanup(TRUE);
prune_logs(ud);
ghb_backend_scan("/dev/null", 0, 1);
}