From e915f4813e214718881b88759c8380d7755c14a9 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sun, 24 May 2015 16:30:17 +0000 Subject: [PATCH] preset: fix application of mp4 mux options Fixes https://forum.handbrake.fr/viewtopic.php?f=10&t=32445&p=151040#p151008 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7219 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/preset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libhb/preset.c b/libhb/preset.c index ef83ea3cc..5035cacc9 100644 --- a/libhb/preset.c +++ b/libhb/preset.c @@ -1125,7 +1125,7 @@ hb_dict_t* hb_preset_job_init(hb_handle_t *h, int title_index, hb_dict_t *dest_dict = hb_dict_get(job_dict, "Destination"); hb_dict_set(dest_dict, "ChapterMarkers", hb_value_bool(chapters)); hb_dict_set(dest_dict, "Mux", hb_value_dup(mux_value)); - if (mux == HB_MUX_MASK_MP4) + if (mux & HB_MUX_MASK_MP4) { hb_dict_t *mp4_dict = hb_dict_init(); hb_dict_set(mp4_dict, "Mp4Optimize", -- 2.40.0