summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-04-04 21:09:12 +0000
committersr55 <[email protected]>2015-04-04 21:09:12 +0000
commit343ffe36398605c25349cc5d49a043706d42f6b5 (patch)
tree7db7b5ca8efad28356159892b3cea704f2900a3a /win/CS/HandBrake.ApplicationServices
parent8866868cf609fc66a304e80a11671727319f61d1 (diff)
WinGui: Adding Subtitle Burn-in Behaviour Support.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7052 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/Encode/Factories/EncodeFactory.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/Encode/Factories/EncodeFactory.cs b/win/CS/HandBrake.ApplicationServices/Services/Encode/Factories/EncodeFactory.cs
index bebfeca18..2ec14a1e2 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/Encode/Factories/EncodeFactory.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/Encode/Factories/EncodeFactory.cs
@@ -257,10 +257,10 @@ namespace HandBrake.ApplicationServices.Services.Encode.Factories
}
else
{
- video.Level = job.VideoLevel.ShortName;
+ video.Level = job.VideoLevel != null ? job.VideoLevel.ShortName : null;
video.Options = job.ExtraAdvancedArguments;
- video.Preset = job.VideoPreset.ShortName;
- video.Profile = job.VideoProfile.ShortName;
+ video.Preset = job.VideoPreset != null ? job.VideoPreset.ShortName : null;
+ video.Profile = job.VideoProfile != null ? job.VideoProfile.ShortName : null;
}
if (job.VideoEncodeRateType == VideoEncodeRateType.ConstantQuality) video.Quality = job.Quality;