summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-08-13 16:33:30 +0000
committerjstebbins <[email protected]>2015-08-13 16:33:30 +0000
commit50a9070021357bbfba3f330e81a1c00778a7340c (patch)
treea5799318011f9ee94ebe4ada6ab23c877cc7a3a9 /libhb
parentdff02b382d289d95b21f3f5466367a4801df528b (diff)
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
Diffstat (limited to 'libhb')
-rw-r--r--libhb/preset.c2
1 files changed, 2 insertions, 0 deletions
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;
}