From 50a9070021357bbfba3f330e81a1c00778a7340c Mon Sep 17 00:00:00 2001 From: jstebbins Date: Thu, 13 Aug 2015 16:33:30 +0000 Subject: [PATCH] presets: fix preset search by name It was not continuing if it failed to find the preset in the first folder git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7401 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/preset.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libhb/preset.c b/libhb/preset.c index e1097283e..ec0c9b26c 100644 --- a/libhb/preset.c +++ b/libhb/preset.c @@ -206,6 +206,8 @@ static int presets_do(preset_do_f do_func, hb_value_t *preset, continue; } ii++; + if (result == PRESET_DO_SKIP) + return PRESET_DO_NEXT; if (result != PRESET_DO_NEXT) return result; } -- 2.40.0