diff options
author | sr55 <[email protected]> | 2019-12-09 17:32:21 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2019-12-09 17:32:21 +0000 |
commit | 56a0493beb33fea858bb3f795799994f37523614 (patch) | |
tree | 0566250e54e94e537bf8c0a57813c25a5653aaf5 /win/CS/HandBrakeWPF/Services/Encode/Factories | |
parent | 667554622bbb22e214cdd312e408a37247008310 (diff) |
WinGui: Limit iPod atom to H.264. Fixes #2490
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Encode/Factories')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeTaskFactory.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeTaskFactory.cs b/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeTaskFactory.cs index 003f13f17..35bd86c39 100644 --- a/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeTaskFactory.cs +++ b/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeTaskFactory.cs @@ -23,6 +23,7 @@ namespace HandBrakeWPF.Services.Encode.Factories using HandBrake.Interop.Interop.Model.Encoding; using HandBrake.Interop.Model; + using HandBrakeWPF.Helpers; using HandBrakeWPF.Utilities; using Newtonsoft.Json.Linq; @@ -150,7 +151,7 @@ namespace HandBrakeWPF.Services.Encode.Factories File = job.Destination, Mp4Options = new Mp4Options { - IpodAtom = job.IPod5GSupport, + IpodAtom = VideoEncoderHelpers.IsH264(job.VideoEncoder) ? job.IPod5GSupport : false, Mp4Optimize = job.OptimizeMP4 }, ChapterMarkers = job.IncludeChapterMarkers, |