diff options
author | jstebbins <[email protected]> | 2014-08-19 14:55:12 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2014-08-19 14:55:12 +0000 |
commit | 8a833e0fdb98e8ab31f197c520cc4b3c3900fce6 (patch) | |
tree | 840e49fd4eb873ff095bfd265f9de2d32c7c90c4 /gtk | |
parent | 289f49c8fb5a59faf5f0566c749c3477daf0f4ce (diff) |
LinGui: add translation for old x264OptionExtra preset key
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6316 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/presets.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/src/presets.c b/gtk/src/presets.c index 6e17d6a95..f39721129 100644 --- a/gtk/src/presets.c +++ b/gtk/src/presets.c @@ -2746,6 +2746,13 @@ import_xlat_preset(GValue *user_preset) if (videoLevel != NULL) ghb_settings_set_string(dict, "VideoLevel", videoLevel); + if (ghb_dict_lookup(user_preset, "x264OptionExtra") != NULL) + { + char *optionExtra; + optionExtra = ghb_settings_get_string(dict, "x264OptionExtra"); + ghb_settings_set_string(dict, "VideoOptionExtra", optionExtra); + } + return dict; } |