From 90676ff8a4204e3b9610863bfd19d5d3c52821b7 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Sat, 24 Feb 2024 16:14:29 +0000 Subject: [PATCH] Enable hwaccel flags in original mode --- transcoder/src/stream.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/transcoder/src/stream.go b/transcoder/src/stream.go index bef1cf5e..a7712a04 100644 --- a/transcoder/src/stream.go +++ b/transcoder/src/stream.go @@ -174,11 +174,7 @@ func (ts *Stream) run(start int32) error { "-nostats", "-hide_banner", "-loglevel", "warning", } - // do not enabled hardware accelaration when transmuxing - // this can either be slower or fail depending on hardware - if ts.handle.getFlags()&Transmux == 0 { - args = append(args, Settings.HwAccel.DecodeFlags...) - } + args = append(args, Settings.HwAccel.DecodeFlags...) if start_ref != 0 { if ts.handle.getFlags()&VideoF != 0 {