fixup! Improve hwaccel error logic

This commit is contained in:
Zoe Roux
2024-02-24 20:02:51 +00:00
parent 90676ff8a4
commit 0ccb03f004
+1 -1
View File
@@ -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{},