[MediaPlayer] Fix svace issue (#3523)
authorHaesu Gwon <haesu.gwon@samsung.com>
Thu, 9 Sep 2021 01:55:24 +0000 (10:55 +0900)
committerGitHub <noreply@github.com>
Thu, 9 Sep 2021 01:55:24 +0000 (10:55 +0900)
src/Tizen.Multimedia.MediaPlayer/Player/Player.Properties.cs

index 81d189a..b06fd63 100644 (file)
@@ -358,7 +358,7 @@ namespace Tizen.Multimedia
                     throw new ArgumentException("The display has already been assigned to another.");
                 }
 
-                _uiSync = value.UiSync;
+                _uiSync = value?.UiSync ?? false;
 
                 SetDisplay(value).ThrowIfFailed(this, "Failed to configure display of the player");