From 8a833e0fdb98e8ab31f197c520cc4b3c3900fce6 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Tue, 19 Aug 2014 14:55:12 +0000 Subject: LinGui: add translation for old x264OptionExtra preset key git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6316 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- gtk/src/presets.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gtk/src/presets.c') 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; } -- cgit v1.2.3