diff options
author | jstebbins <[email protected]> | 2009-05-30 21:49:32 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-05-30 21:49:32 +0000 |
commit | 46308d7cde4104ef71355d42a82f173cb088f841 (patch) | |
tree | 4ef5547d7b95c5250d29b7d1818c1b19c5a4de70 /gtk | |
parent | 5138cea42c62cb994f53bf492d29757fb2fe3dd9 (diff) |
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
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/hb-backend.c | 4 | ||||
-rw-r--r-- | gtk/src/internal_defaults.xml | 2 |
2 files changed, 3 insertions, 3 deletions
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 @@ <key>show_presets</key> <true /> <key>show_preview</key> - <false /> + <true /> <key>use_source_name</key> <true /> <key>update_skip_version</key> |