diff options
author | sr55 <[email protected]> | 2017-09-06 19:47:14 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2017-09-06 19:48:03 +0100 |
commit | ace69e90e6c40d2587f3ff02598d144956dc416e (patch) | |
tree | 9ce5d7e1fe2651a0ce599a6b495393b06de427a1 | |
parent | 33c4731f38e205075e3b7ef9d068c506a7d32d3e (diff) |
WinGui: Change some json model data types from int to long #851
3 files changed, 6 insertions, 6 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/HandBrakeEncoderHelpers.cs b/win/CS/HandBrake.ApplicationServices/Interop/HandBrakeEncoderHelpers.cs index 519d0480a..b0e72976a 100644 --- a/win/CS/HandBrake.ApplicationServices/Interop/HandBrakeEncoderHelpers.cs +++ b/win/CS/HandBrake.ApplicationServices/Interop/HandBrakeEncoderHelpers.cs @@ -402,7 +402,7 @@ namespace HandBrake.ApplicationServices.Interop /// </param>
/// <param name="channelLayout">channel layout of the source track</param>
/// <returns>True if available.</returns>
- public static bool MixdownIsSupported(HBMixdown mixdown, HBAudioEncoder encoder, int channelLayout)
+ public static bool MixdownIsSupported(HBMixdown mixdown, HBAudioEncoder encoder, long channelLayout)
{
return HBFunctions.hb_mixdown_is_supported(mixdown.Id, (uint)encoder.Id, (uint)channelLayout) > 0;
}
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/Json/Encode/Range.cs b/win/CS/HandBrake.ApplicationServices/Interop/Json/Encode/Range.cs index 1fb42f1db..f4b3724d2 100644 --- a/win/CS/HandBrake.ApplicationServices/Interop/Json/Encode/Range.cs +++ b/win/CS/HandBrake.ApplicationServices/Interop/Json/Encode/Range.cs @@ -23,16 +23,16 @@ namespace HandBrake.ApplicationServices.Interop.Json.Encode /// <summary>
/// Gets or sets the chapter start.
/// </summary>
- public int? Start { get; set; }
+ public long? Start { get; set; }
/// <summary>
/// Gets or sets the frame to start.
/// </summary>
- public int? End { get; set; }
+ public long? End { get; set; }
/// <summary>
/// Gets or sets the seek points.
/// </summary>
- public int? SeekPoints { get; set; }
+ public long? SeekPoints { get; set; }
}
}
\ No newline at end of file diff --git a/win/CS/HandBrakeWPF/Services/Scan/Model/Audio.cs b/win/CS/HandBrakeWPF/Services/Scan/Model/Audio.cs index c0da86ecc..0d32db623 100644 --- a/win/CS/HandBrakeWPF/Services/Scan/Model/Audio.cs +++ b/win/CS/HandBrakeWPF/Services/Scan/Model/Audio.cs @@ -51,7 +51,7 @@ namespace HandBrakeWPF.Services.Scan.Model /// <param name="channelLayout"> /// The channel Layout. /// </param> - public Audio(int trackNumber, string language, string languageCode, string description, int codec, int sampleRate, int bitrate, int channelLayout) + public Audio(int trackNumber, string language, string languageCode, string description, int codec, int sampleRate, int bitrate, long channelLayout) { this.ChannelLayout = channelLayout; this.TrackNumber = trackNumber; @@ -101,7 +101,7 @@ namespace HandBrakeWPF.Services.Scan.Model /// <summary> /// Gets or sets the channel layout of the source track (mixdown) /// </summary> - public int ChannelLayout { get; set; } + public long ChannelLayout { get; set; } /// <summary> /// Override of the ToString method to make this object easier to use in the UI |