mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-09-01 19:43:09 +00:00
Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
parent
be72001ff9
commit
477b922e4a
4 changed files with 7 additions and 8 deletions
|
|
@ -1761,8 +1761,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
return false;
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(videoStream.VideoRangeType)
|
||||
&& !requestedRangeTypes.Contains(videoStream.VideoRangeType, StringComparison.OrdinalIgnoreCase))
|
||||
if (!requestedRangeTypes.Contains(videoStream.VideoRangeType, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue