mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-03 21:54:26 -04:00
Remove duplicated check
Signed-off-by: gnattu <gnattuoc@me.com>
This commit is contained in:
parent
487dbf3e85
commit
7d9e315593
@ -6293,12 +6293,6 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||||||
|
|
||||||
if (is8bitSwFormatsVt)
|
if (is8bitSwFormatsVt)
|
||||||
{
|
{
|
||||||
if (string.Equals("avc", videoStream.Codec, StringComparison.OrdinalIgnoreCase)
|
|
||||||
|| string.Equals("h264", videoStream.Codec, StringComparison.OrdinalIgnoreCase))
|
|
||||||
{
|
|
||||||
return GetHwaccelType(state, options, "h264", bitDepth, useHwSurface);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (string.Equals("vp8", videoStream.Codec, StringComparison.OrdinalIgnoreCase))
|
if (string.Equals("vp8", videoStream.Codec, StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
return GetHwaccelType(state, options, "vp8", bitDepth, useHwSurface);
|
return GetHwaccelType(state, options, "vp8", bitDepth, useHwSurface);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user