From 65521800552da2b6d0ec1de41d1a627cb764705a Mon Sep 17 00:00:00 2001 From: LepilkinaElena Date: Wed, 2 Dec 2020 11:51:20 +0300 Subject: [PATCH] Missed enum in videoplayer sample (#4568) --- .../videoplayer/src/videoPlayerMain/kotlin/VideoPlayer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")