summaryrefslogtreecommitdiffstats
path: root/macosx/HBJob+HBJobConversion.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2017-06-18 16:11:25 +0200
committerDamiano Galassi <[email protected]>2017-06-18 16:11:25 +0200
commitf318325dc8a2665f10d5b8b9d0bafa66e172edf2 (patch)
treecd8bc41bb47ac5c01c1862e425c6505393be005b /macosx/HBJob+HBJobConversion.m
parent61db4e4b28df18dc17917a8d89ba7238ebaf4989 (diff)
MacGui: Add checkbox for Legacy A/V alignment behaviour for players that don't support MP4 Edit Lists. #778
Diffstat (limited to 'macosx/HBJob+HBJobConversion.m')
-rw-r--r--macosx/HBJob+HBJobConversion.m6
1 files changed, 5 insertions, 1 deletions
diff --git a/macosx/HBJob+HBJobConversion.m b/macosx/HBJob+HBJobConversion.m
index 3a28629a9..e67f39cf8 100644
--- a/macosx/HBJob+HBJobConversion.m
+++ b/macosx/HBJob+HBJobConversion.m
@@ -83,9 +83,13 @@
job->mux = self.container;
job->vcodec = self.video.encoder;
- // We set http optimized mp4 here
job->mp4_optimize = self.mp4HttpOptimize;
+ if (self.container & HB_MUX_MASK_MP4)
+ {
+ job->align_av_start = self.alignAVStart;
+ }
+
// We set the chapter marker extraction here based on the format being
// mpeg4 or mkv and the checkbox being checked.
if (self.chaptersEnabled)