summaryrefslogtreecommitdiffstats
path: root/gtk/src/queuehandler.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-05-20 16:00:52 +0000
committerjstebbins <[email protected]>2009-05-20 16:00:52 +0000
commit998a6adf0e9f4697ea6cfa6fdff8cf8c0f3af1a1 (patch)
treecb8c9d48a86d0cfc5e74ffa80f5e051c1990335f /gtk/src/queuehandler.c
parent05b33621d3c1c742f003129e3ab2e90e9851905a (diff)
LinGui: give feedback indicating problems with subtitle selections
- highlight subtitles that can not be encoded for some reason example: user adds several subtitles, then changes container from mkv to mp4 - validate subtitle list when adding to queue and show warning popup when there's a problem git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2432 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/queuehandler.c')
-rw-r--r--gtk/src/queuehandler.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c
index 1ac36ca89..41a207f12 100644
--- a/gtk/src/queuehandler.c
+++ b/gtk/src/queuehandler.c
@@ -625,6 +625,11 @@ validate_settings(signal_user_data_t *ud)
{
return FALSE;
}
+ // Validate audio settings
+ if (!ghb_validate_subtitles(ud))
+ {
+ return FALSE;
+ }
// Validate video settings
if (!ghb_validate_video(ud))
{