update translations

This commit is contained in:
Luke Pulverenti
2014-04-08 00:17:18 -04:00
parent 63aea3d908
commit 2c6a9892f2
42 changed files with 245 additions and 65 deletions

View File

@@ -319,7 +319,7 @@ namespace MediaBrowser.Api.Playback
{
var param = string.Empty;
var isVc1 = state.VideoStream != null &&
var isVc1 = state.VideoStream != null &&
string.Equals(state.VideoStream.Codec, "vc1", StringComparison.OrdinalIgnoreCase);
var qualitySetting = GetQualitySetting();
@@ -438,9 +438,12 @@ namespace MediaBrowser.Api.Playback
var channels = GetNumAudioChannelsParam(state.Request, state.AudioStream);
// Boost volume to 200% when downsampling from 6ch to 2ch
if (channels.HasValue && channels.Value <= 2 && state.AudioStream.Channels.HasValue && state.AudioStream.Channels.Value > 5)
if (channels.HasValue && channels.Value <= 2)
{
volParam = ",volume=2.000000";
if (state.AudioStream != null && state.AudioStream.Channels.HasValue && state.AudioStream.Channels.Value > 5)
{
volParam = ",volume=2.000000";
}
}
if (state.Request.AudioSampleRate.HasValue)
@@ -1625,7 +1628,7 @@ namespace MediaBrowser.Api.Playback
return SupportsAutomaticVideoStreamCopy;
}
protected virtual bool SupportsAutomaticVideoStreamCopy
{
get