summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-05-24 16:30:17 +0000
committerjstebbins <[email protected]>2015-05-24 16:30:17 +0000
commite915f4813e214718881b88759c8380d7755c14a9 (patch)
treec8e2c1547c392f91cbfac66c8ecc868fac09a76c
parent28b6d0ad4dc60ad55924eaffc4abdba31a116e70 (diff)
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
-rw-r--r--libhb/preset.c2
1 files changed, 1 insertions, 1 deletions
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",