summaryrefslogtreecommitdiffstats
path: root/gtk/src/hb-backend.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-05-30 21:49:32 +0000
committerjstebbins <[email protected]>2009-05-30 21:49:32 +0000
commit46308d7cde4104ef71355d42a82f173cb088f841 (patch)
tree4ef5547d7b95c5250d29b7d1818c1b19c5a4de70 /gtk/src/hb-backend.c
parent5138cea42c62cb994f53bf492d29757fb2fe3dd9 (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/src/hb-backend.c')
-rw-r--r--gtk/src/hb-backend.c4
1 files changed, 2 insertions, 2 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