From 63554782ac6cab43dce1222150500b38ea589655 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Fri, 13 Nov 2009 19:16:33 +0000 Subject: [PATCH] LinGui: fix cosmetic issue with the display of the number of passes in the queue git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2925 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- gtk/src/queuehandler.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c index 761072300..4ba095710 100644 --- a/gtk/src/queuehandler.c +++ b/gtk/src/queuehandler.c @@ -72,7 +72,7 @@ add_to_queue_list(signal_user_data_t *ud, GValue *settings, GtkTreeIter *piter) gchar *fps, *vcodec_abbr; gint title, start_chapter, end_chapter, width, height; gint source_width, source_height; - gboolean pass2, keep_aspect, vqtype, turbo; + gboolean pass2 = FALSE, keep_aspect, vqtype, turbo; gint pic_par; gboolean tweaks; gchar *escape; @@ -86,11 +86,14 @@ add_to_queue_list(signal_user_data_t *ud, GValue *settings, GtkTreeIter *piter) title = ghb_settings_get_int(settings, "titlenum"); start_chapter = ghb_settings_get_int(settings, "start_chapter"); end_chapter = ghb_settings_get_int(settings, "end_chapter"); - pass2 = ghb_settings_get_boolean(settings, "VideoTwoPass"); vol_name = ghb_settings_get_string(settings, "volume_label"); dest = ghb_settings_get_string(settings, "destination"); basename = g_path_get_basename(dest); escape = g_markup_escape_text(basename, -1); + + vqtype = ghb_settings_get_boolean(settings, "vquality_type_constant"); + if (!vqtype) + pass2 = ghb_settings_get_boolean(settings, "VideoTwoPass"); info = g_strdup_printf ( "%s " -- 2.40.0