mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Enable hwaccel flags in original mode
This commit is contained in:
parent
2cacd94f41
commit
90676ff8a4
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user