From cf1ebbc2087abe9ac9ac14c2284397db754b597c Mon Sep 17 00:00:00 2001 From: Scott Date: Sat, 24 Oct 2015 21:23:33 +0100 Subject: [PATCH] Update HandBrakeCLI to read presets.json on Windows. This is the file that windows gui stores all presets in now. This should allow the CLI to read GUI presets now. --- libhb/preset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libhb/preset.c b/libhb/preset.c index 2b072f188..c4907fcbd 100644 --- a/libhb/preset.c +++ b/libhb/preset.c @@ -16,8 +16,8 @@ #define HB_PRESET_PLIST_FILE "ghb/presets" #define HB_PRESET_JSON_FILE "ghb/presets.json" #elif defined(SYS_MINGW) -#define HB_PRESET_PLIST_FILE "HandBrake\\user_presets.xml" -#define HB_PRESET_JSON_FILE "HandBrake\\user_presets.json" +#define HB_PRESET_PLIST_FILE "HandBrake\\presets.xml" +#define HB_PRESET_JSON_FILE "HandBrake\\presets.json" #elif defined(SYS_DARWIN) #define HB_PRESET_PLIST_FILE "HandBrake/UserPresets.plist" #define HB_PRESET_JSON_FILE "HandBrake/UserPresets.json" -- 2.40.0