Add back code removed during testing/debugging

This commit is contained in:
Petr Janda 2019-12-06 16:04:29 +10:30
parent 535390bb64
commit 3f43aef997

View file

@ -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;