From 46308d7cde4104ef71355d42a82f173cb088f841 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sat, 30 May 2009 21:49:32 +0000 Subject: LinGui: fix subtitle selection when title has no subtitles when the preset had a subtitle enabled and the title has no subtitles subtitle selection was being set to "auto" which causes a pointless indepth scan git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2465 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- gtk/src/hb-backend.c | 4 ++-- gtk/src/internal_defaults.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'gtk') diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c index a2a305032..3fbc03ad3 100644 --- a/gtk/src/hb-backend.c +++ b/gtk/src/hb-backend.c @@ -2022,7 +2022,7 @@ ghb_find_pref_subtitle_track(const gchar *lang) return subtitle_opts.map[ii].ivalue; } } - return -1; + return -2; } gint @@ -2067,7 +2067,7 @@ ghb_find_subtitle_track( } } } - return -1; + return -2; } gint diff --git a/gtk/src/internal_defaults.xml b/gtk/src/internal_defaults.xml index 3f408dff2..3349c30c6 100644 --- a/gtk/src/internal_defaults.xml +++ b/gtk/src/internal_defaults.xml @@ -144,7 +144,7 @@ show_presets show_preview - + use_source_name update_skip_version -- cgit v1.2.3