|
|
@ -2203,6 +2203,8 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|
|
|
|
|
|
|
|
|
|
|
if (!string.IsNullOrEmpty(videoDecoder))
|
|
|
|
if (!string.IsNullOrEmpty(videoDecoder))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
inputModifier += " " + videoDecoder;
|
|
|
|
|
|
|
|
|
|
|
|
if ((videoDecoder ?? string.Empty).IndexOf("_cuvid", StringComparison.OrdinalIgnoreCase) != -1)
|
|
|
|
if ((videoDecoder ?? string.Empty).IndexOf("_cuvid", StringComparison.OrdinalIgnoreCase) != -1)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var videoStream = state.VideoStream;
|
|
|
|
var videoStream = state.VideoStream;
|
|
|
|