diff options
author | jstebbins <[email protected]> | 2009-11-21 23:52:50 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-11-21 23:52:50 +0000 |
commit | 96a7d55eb6c5d800af1f2a2c181f7724721f4e08 (patch) | |
tree | 23f25decefeb7c9495371d5c7b680b344935c56c /gtk | |
parent | 1fdb8349786a103ac7543416613bdc87c8f3c1a4 (diff) |
LinGui: fix problem with loading preset that has deinterlace enabled
setting a radio box to false doesn't automatically set it's
counterpart to true. Must explicitly enable deinterlace when decomb is false
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2952 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/presets.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gtk/src/presets.c b/gtk/src/presets.c index fe6493dff..bac7bb895 100644 --- a/gtk/src/presets.c +++ b/gtk/src/presets.c @@ -906,6 +906,19 @@ preset_to_ui(signal_user_data_t *ud, GValue *dict) init_settings_from_dict(ud->settings, hidden, dict); init_ui_from_dict(ud, internal, dict); init_ui_from_dict(ud, hidden, dict); + + if (dict != NULL) + { + GValue *val; + gboolean dd; + + val = ghb_dict_lookup(dict, "PictureDecombDeinterlace"); + if (val != NULL) + { + dd = ghb_value_boolean(val); + ghb_ui_update(ud, "PictureDeinterlaceDecomb", ghb_boolean_value(!dd)); + } + } } void |