diff options
author | sr55 <[email protected]> | 2011-07-16 15:45:38 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-07-16 15:45:38 +0000 |
commit | 5045c6feeec292db6b538bfe4363c1e3790997fb (patch) | |
tree | 4e998dfaf92d9bf80ffbcfea29a0b0122ec909cc /win/CS/HandBrake.ApplicationServices/Functions | |
parent | a3ceaf6979ff137b3e71ebaeee3a52942aeac3fa (diff) |
WinGui: Another duplicate model removed.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4110 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Functions')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Functions/InteropModelCreator.cs | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Functions/InteropModelCreator.cs b/win/CS/HandBrake.ApplicationServices/Functions/InteropModelCreator.cs index 2b6980466..70dc8ea9c 100644 --- a/win/CS/HandBrake.ApplicationServices/Functions/InteropModelCreator.cs +++ b/win/CS/HandBrake.ApplicationServices/Functions/InteropModelCreator.cs @@ -143,16 +143,7 @@ namespace HandBrake.ApplicationServices.Functions profile.Quality = work.Quality.HasValue ? work.Quality.Value : 0;
profile.UseDisplayWidth = true;
profile.VideoBitrate = work.VideoBitrate.HasValue ? work.VideoBitrate.Value : 0;
-
- switch (work.VideoEncodeRateType)
- {
- case VideoEncodeRateMode.AverageBitrate:
- profile.VideoEncodeRateType = VideoEncodeRateType.AverageBitrate;
- break;
- case VideoEncodeRateMode.ConstantQuality:
- profile.VideoEncodeRateType = VideoEncodeRateType.ConstantQuality;
- break;
- }
+ profile.VideoEncodeRateType = work.VideoEncodeRateType;
switch (work.VideoEncoder)
{
|