fix: Fix "The given value for videoStabilizationMode could not be parsed" error (#2353)

This commit is contained in:
Marc Rousavy 2024-01-05 15:51:34 +01:00 committed by GitHub
parent ef4e9fabf9
commit 833ffb8478
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,7 @@ enum class VideoStabilizationMode(override val unionValue: String) : JSUnionValu
override fun fromUnionValue(unionValue: String?): VideoStabilizationMode =
when (unionValue) {
"off" -> OFF
"auto" -> OFF
"standard" -> STANDARD
"cinematic" -> CINEMATIC
"cinematic-extended" -> CINEMATIC_EXTENDED