From 34cbaaa0a7c9d7663dd7196f47d7df2d2a50bedb Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sat, 23 Dec 2023 12:04:31 -0800 Subject: [PATCH] fix: use the correct name set in old VaapiCodec --- core/data/datastoreMigrations.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/data/datastoreMigrations.go b/core/data/datastoreMigrations.go index 66358ff33..b5b5f8b15 100644 --- a/core/data/datastoreMigrations.go +++ b/core/data/datastoreMigrations.go @@ -80,7 +80,7 @@ func migrateToDatastoreVaapiCodecSettingValue4(_ *Datastore) { // If the currently selected codec is "vaapi" then we need // to migrate the name to the updated name. currentCodec := GetVideoCodec() - if currentCodec != "vaapi" { + if currentCodec != "h264_vaapi" { return }