mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Removed disabling of video pass-through
This commit is contained in:
parent
38235bc53e
commit
f540acfe20
@ -43,15 +43,6 @@ namespace MediaBrowser.Api.HttpHandlers
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
protected override bool RequiresConversion()
|
protected override bool RequiresConversion()
|
||||||
{
|
{
|
||||||
string currentFormat = Path.GetExtension(LibraryItem.Path).Replace(".", string.Empty);
|
|
||||||
|
|
||||||
// For now we won't allow these to pass through.
|
|
||||||
// Later we'll add some intelligence to allow it when possible
|
|
||||||
if (currentFormat.Equals("mp4", StringComparison.OrdinalIgnoreCase) || currentFormat.Equals("mkv", StringComparison.OrdinalIgnoreCase) || currentFormat.Equals("m4v", StringComparison.OrdinalIgnoreCase))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (base.RequiresConversion())
|
if (base.RequiresConversion())
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user