From 713f3686a132daee4c7524c9f5ebbd8ad87cf5c0 Mon Sep 17 00:00:00 2001 From: coderhyme Date: Thu, 20 Jul 2017 16:17:51 +0900 Subject: [PATCH] [MediaPlayer] Modified PlayerError. AudioCodecNotSupported, VideoCodecNotSupported are added. Values that are not used are removed. Change-Id: I829e971c1245bdcf5c7b9ee5c5aa77ebe03e2fc6 Signed-off-by: coderhyme --- .../Player/PlayerEnums.cs | 56 ++++------------------ .../Tizen.Multimedia.MediaPlayer.csproj | 2 +- 2 files changed, 10 insertions(+), 48 deletions(-) diff --git a/src/Tizen.Multimedia.MediaPlayer/Player/PlayerEnums.cs b/src/Tizen.Multimedia.MediaPlayer/Player/PlayerEnums.cs index 18ad88e..efc1c1d 100644 --- a/src/Tizen.Multimedia.MediaPlayer/Player/PlayerEnums.cs +++ b/src/Tizen.Multimedia.MediaPlayer/Player/PlayerEnums.cs @@ -40,25 +40,13 @@ namespace Tizen.Multimedia /// NoSpaceOnDevice = PlayerErrorCode.NoSpaceOnDevice, - //TODO must be removed. - /// - /// Not supported. - /// - FeatureNotSupported = ErrorCode.NotSupported, - - //TODO must be removed. - /// - /// Permission denined. - /// - PermissionDenied = ErrorCode.PermissionDenied, - /// /// Not enough buffer. /// BufferSpace = ErrorCode.BufferSpace, /// - /// failed. /// SeekFailed = PlayerErrorCode.SeekFailed, @@ -77,56 +65,30 @@ namespace Tizen.Multimedia /// InvalidUri = PlayerErrorCode.InvalidUri, - //TODO must be removed. - /// - /// Sound policy error. - /// - SoundPolicy = PlayerErrorCode.SoundPolicyError, - /// /// Connection to service failed. /// ConnectionFailed = PlayerErrorCode.ConnectionFailed, - // TODO must be removed. - /// - /// Capture failed. - /// - VideoCaptureFailed = PlayerErrorCode.VideoCaptureFailed, - - // TODO must be removed. - /// - /// DRM expired. - /// - DrmExpired = PlayerErrorCode.DrmExpired, - - // TODO must be removed. /// - /// No license of DRM. - /// - DrmNoLicense = PlayerErrorCode.DrmNoLicense, - - // TODO must be removed. - /// - /// Not used. + /// Not permitted DRM. /// - DrmFutureUse = PlayerErrorCode.DrmFutureUse, + DrmNotPermitted = PlayerErrorCode.DrmNotPermitted, /// - /// Not permitted DRM. + /// Service disconnected. /// - DrmNotPermitted = PlayerErrorCode.DrmNotPermitted, + ServiceDisconnected = PlayerErrorCode.ServiceDisconnected, - // TODO must be removed. /// - /// Not enough resource. + /// Not supported audio codec. /// - ResourceLimit = PlayerErrorCode.ResourceLimit, + AudioCodecNotSupported = PlayerErrorCode.NotSupportedAudioCodec, /// - /// Service disconnected. + /// Not supported video codec. /// - ServiceDisconnected = PlayerErrorCode.ServiceDisconnected, + VideoCodecNotSupported = PlayerErrorCode.NotSupportedVideoCodec, /// /// Not supported subtitle file. diff --git a/src/Tizen.Multimedia.MediaPlayer/Tizen.Multimedia.MediaPlayer.csproj b/src/Tizen.Multimedia.MediaPlayer/Tizen.Multimedia.MediaPlayer.csproj index 11c6ddc..2384ca2 100644 --- a/src/Tizen.Multimedia.MediaPlayer/Tizen.Multimedia.MediaPlayer.csproj +++ b/src/Tizen.Multimedia.MediaPlayer/Tizen.Multimedia.MediaPlayer.csproj @@ -3,7 +3,7 @@ - 1.0.3 + 1.0.4 Provides the Multimedia Player API for Tizen .NET -- 2.7.4