mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
fixup! Improve hwaccel error logic
This commit is contained in:
parent
90676ff8a4
commit
0ccb03f004
@ -10,7 +10,7 @@ func DetectHardwareAccel() HwAccelT {
|
||||
log.Printf("Using hardware acceleration: %s", name)
|
||||
|
||||
switch name {
|
||||
case "default":
|
||||
case "disabled":
|
||||
return HwAccelT{
|
||||
Name: "disabled",
|
||||
DecodeFlags: []string{},
|
||||
|
Loading…
x
Reference in New Issue
Block a user