diff options
author | sr55 <[email protected]> | 2015-01-09 21:15:46 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2015-01-09 21:15:46 +0000 |
commit | 152cabeebf37e9f45c49769e8abe64cd5867ad86 (patch) | |
tree | c4619fa1725be90368a5dd52d15b803e6afb4b0c /win/CS/HandBrake.Interop/HandBrakeInterop/Helpers | |
parent | e224d30a0d2dad76e501ff5d25e90f1b39c73807 (diff) |
WinGui: Further API tidyup in the interop library. Moving some filesize calculation code into HandBrakeUtils. It's now the responsibility of the consumer to provide a valid title.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6705 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.Interop/HandBrakeInterop/Helpers')
-rw-r--r-- | win/CS/HandBrake.Interop/HandBrakeInterop/Helpers/Utilities.cs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Helpers/Utilities.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Helpers/Utilities.cs index 77106f72d..ef450c62d 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Helpers/Utilities.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Helpers/Utilities.cs @@ -47,20 +47,5 @@ namespace HandBrake.Interop.Helpers return GreatestCommonFactor(a, b % a);
}
-
- /// <summary>
- /// Determines if the given audio encoder is a passthrough encoder choice.
- /// </summary>
- /// <param name="encoder">The audio encoder to examine.</param>
- /// <returns>True if the encoder is passthrough.</returns>
- public static bool IsPassthrough(AudioEncoder encoder)
- {
- return encoder == AudioEncoder.Ac3Passthrough ||
- encoder == AudioEncoder.DtsHDPassthrough ||
- encoder == AudioEncoder.DtsPassthrough ||
- encoder == AudioEncoder.Mp3Passthru ||
- encoder == AudioEncoder.AacPassthru ||
- encoder == AudioEncoder.Passthrough;
- }
}
}
|