diff --git a/kotlin-native/samples/videoplayer/src/videoPlayerMain/kotlin/VideoPlayer.kt b/kotlin-native/samples/videoplayer/src/videoPlayerMain/kotlin/VideoPlayer.kt index 7384943787b..d636e972224 100644 --- a/kotlin-native/samples/videoplayer/src/videoPlayerMain/kotlin/VideoPlayer.kt +++ b/kotlin-native/samples/videoplayer/src/videoPlayerMain/kotlin/VideoPlayer.kt @@ -166,7 +166,7 @@ fun main(args: Array) { val argParser = ArgParser("videoplayer") val mode by argParser.option( ArgType.Choice(), shortName = "m", description = "Play mode") - .default(BOTH) + .default(Mode.BOTH) val size by argParser.option(ArgType.Int, shortName = "s", description = "Required size of videoplayer window") .delimiter(",") val fileName by argParser.argument(ArgType.String, description = "File to play")