From: jstebbins Date: Wed, 29 Jul 2015 22:39:46 +0000 (+0000) Subject: LinGui: load builtin-presets if I fail reading the presets file X-Git-Tag: 1.0.0~1003 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=abda8125956e85935f2d39d6bf3d92773c88f4bb;p=handbrake LinGui: load builtin-presets if I fail reading the presets file git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7385 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/gtk/src/presets.c b/gtk/src/presets.c index 6a6d030df..5db88440b 100644 --- a/gtk/src/presets.c +++ b/gtk/src/presets.c @@ -1524,7 +1524,9 @@ ghb_presets_load(signal_user_data_t *ud) { if (presets_add_config_file("presets") < 0) { - g_warning("Failed to read preset file"); + ghb_log("Failed to read preset file, initailizing new presets..."); + hb_presets_builtin_update(); + store_presets(); } } }