Browse Source

fix: use the correct name set in old VaapiCodec

gek/ffmpeg-6
Gabe Kangas 1 year ago
parent
commit
34cbaaa0a7
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 2
      core/data/datastoreMigrations.go

2
core/data/datastoreMigrations.go

@ -80,7 +80,7 @@ func migrateToDatastoreVaapiCodecSettingValue4(_ *Datastore) { @@ -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
}

Loading…
Cancel
Save