Add back code removed during testing/debugging

pull/2099/head
Petr Janda 5 years ago
parent 535390bb64
commit 3f43aef997

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

Loading…
Cancel
Save