fix: use the correct name set in old VaapiCodec

This commit is contained in:
Gabe Kangas 2023-12-23 12:04:31 -08:00
parent b97214f59f
commit 34cbaaa0a7
No known key found for this signature in database
GPG Key ID: 4345B2060657F330

View File

@ -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
}