From abda8125956e85935f2d39d6bf3d92773c88f4bb Mon Sep 17 00:00:00 2001 From: jstebbins Date: Wed, 29 Jul 2015 22:39:46 +0000 Subject: 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 --- gtk/src/presets.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gtk/src') 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(); } } } -- cgit v1.2.3