diff options
Diffstat (limited to 'win/CS/HandBrake.Interop/HandBrakeInterop.Test/TestEncodes.cs')
-rw-r--r-- | win/CS/HandBrake.Interop/HandBrakeInterop.Test/TestEncodes.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop.Test/TestEncodes.cs b/win/CS/HandBrake.Interop/HandBrakeInterop.Test/TestEncodes.cs index 47498ef76..3e625a986 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop.Test/TestEncodes.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop.Test/TestEncodes.cs @@ -51,13 +51,13 @@ namespace HandBrakeInterop.Test if (job.SourceType == SourceType.File)
{
job.SourcePath = Path.Combine(Environment.CurrentDirectory, Path.GetFileName(job.SourcePath));
- }
-
- string extension;
- if (job.EncodingProfile.OutputFormat == OutputFormat.Mkv)
- {
- extension = ".mkv";
- }
+ } + + string extension; + if (job.EncodingProfile.OutputFormat == Container.Mkv) + { + extension = ".mkv"; + } else
{
extension = ".mp4";
|