mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
fix: use the correct name set in old VaapiCodec
This commit is contained in:
parent
b97214f59f
commit
34cbaaa0a7
@ -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…
x
Reference in New Issue
Block a user