diff options
author | jstebbins <[email protected]> | 2015-07-29 22:39:46 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2015-07-29 22:39:46 +0000 |
commit | abda8125956e85935f2d39d6bf3d92773c88f4bb (patch) | |
tree | 3ebe5bc7700a61e27baded339565a4720ce8d37b /gtk | |
parent | 74a6af7510b51516a34fd8fa18d909c6e4f90ce6 (diff) |
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
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/presets.c | 4 |
1 files changed, 3 insertions, 1 deletions
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(); } } } |