Add MM_ERROR_INVALID_ARGUMENT case in __convert_error_case() 2.1b_release accepted/tizen_2.1/20130425.035643 submit/tizen_2.1/20130424.230509
authorSangchul Lee <sc11.lee@samsung.com>
Thu, 4 Apr 2013 09:17:27 +0000 (18:17 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Thu, 4 Apr 2013 09:17:27 +0000 (18:17 +0900)
Change-Id: I46df516377765a7d8e0a43bac34182c2f752696a

packaging/capi-media-player.spec
src/player.c

index 0a2415c..c417dd2 100644 (file)
@@ -1,7 +1,7 @@
 Name:       capi-media-player
 Summary:    A Media Player library in Tizen Native API
 Version:    0.1.0
-Release:    55
+Release:    56
 Group:      TO_BE/FILLED_IN
 License:    TO BE FILLED IN
 Source0:    %{name}-%{version}.tar.gz
index 269584c..8f83b20 100644 (file)
@@ -62,6 +62,10 @@ static int __convert_error_code(int code, char* func_name)
                        ret = PLAYER_ERROR_NONE;
                        msg = "PLAYER_ERROR_NONE";
                        break;
+               case MM_ERROR_INVALID_ARGUMENT:
+                       ret = PLAYER_ERROR_INVALID_PARAMETER;
+                       msg = "PLAYER_ERROR_INVALID_PARAMETER";
+                       break;
                case MM_ERROR_PLAYER_CODEC_NOT_FOUND:
                case MM_ERROR_PLAYER_AUDIO_CODEC_NOT_FOUND:
                case MM_ERROR_PLAYER_VIDEO_CODEC_NOT_FOUND: