We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 196bb98 commit 36e1af6Copy full SHA for 36e1af6
VidCoderCommon/Model/JsonEncodeFactory.cs
@@ -990,7 +990,7 @@ private Video CreateVideo(
990
videoOptions = AdvancedOptionUtilities.Prepend("hyperencode=adaptive", videoOptions);
991
}
992
993
- if (!setHardwareDecoder && HandBrakeHardwareEncoderHelper.IsNVDecAvailable && jobConfiguration.EnableNVDec)
+ if (!setHardwareDecoder && HandBrakeHardwareEncoderHelper.IsNVDecAvailable && videoEncoder.IsNVEnc && jobConfiguration.EnableNVDec)
994
{
995
setHardwareDecoder = true;
996
video.HardwareDecode = NativeConstants.HB_DECODE_NVDEC;
0 commit comments