diff options
author | jstebbins <[email protected]> | 2009-05-20 16:00:52 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-05-20 16:00:52 +0000 |
commit | 998a6adf0e9f4697ea6cfa6fdff8cf8c0f3af1a1 (patch) | |
tree | cb8c9d48a86d0cfc5e74ffa80f5e051c1990335f /gtk/src/queuehandler.c | |
parent | 05b33621d3c1c742f003129e3ab2e90e9851905a (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.c | 5 |
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)) { |