|
|
@ -2737,16 +2737,18 @@ namespace MediaBrowser.Api.Playback
|
|
|
|
|
|
|
|
|
|
|
|
private string GetDecoderFromCodec(string codec)
|
|
|
|
private string GetDecoderFromCodec(string codec)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (string.Equals(codec, "mp2", StringComparison.OrdinalIgnoreCase))
|
|
|
|
return null;
|
|
|
|
{
|
|
|
|
|
|
|
|
return null;
|
|
|
|
//if (string.Equals(codec, "mp2", StringComparison.OrdinalIgnoreCase))
|
|
|
|
}
|
|
|
|
//{
|
|
|
|
if (string.Equals(codec, "aac_latm", StringComparison.OrdinalIgnoreCase))
|
|
|
|
// return null;
|
|
|
|
{
|
|
|
|
//}
|
|
|
|
return null;
|
|
|
|
//if (string.Equals(codec, "aac_latm", StringComparison.OrdinalIgnoreCase))
|
|
|
|
}
|
|
|
|
//{
|
|
|
|
|
|
|
|
// return null;
|
|
|
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
|
|
return codec;
|
|
|
|
//return codec;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|