mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Fix hw transcoding not detecting filtering errors (#4934)
This commit is contained in:
@@ -186,7 +186,7 @@ func (o TranscodeOptions) makeStreamArgs(sm *StreamManager) Args {
|
||||
|
||||
codec := o.FileGetCodec(sm, maxTranscodeSize)
|
||||
|
||||
fullhw := sm.config.GetTranscodeHardwareAcceleration() && sm.encoder.hwCanFullHWTranscode(sm.context, o.VideoFile, codec)
|
||||
fullhw := sm.config.GetTranscodeHardwareAcceleration() && sm.encoder.hwCanFullHWTranscode(sm.context, codec, o.VideoFile, maxTranscodeSize)
|
||||
args = sm.encoder.hwDeviceInit(args, codec, fullhw)
|
||||
args = append(args, extraInputArgs...)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user