[v0.3.24] change evas error code 71/90071/1
authorNAMJEONGYOON <just.nam@samsung.com>
Wed, 28 Sep 2016 07:37:30 +0000 (16:37 +0900)
committerNAMJEONGYOON <just.nam@samsung.com>
Wed, 28 Sep 2016 07:37:30 +0000 (16:37 +0900)
Change-Id: Ie630e05cf57f837138dfe592fbb6644fbc4815f5

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

index 89699da..085457f 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-media-player
 Summary:    A Media Player API
-Version:    0.3.23
+Version:    0.3.24
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
index f6769a4..dfc8aae 100644 (file)
@@ -2438,7 +2438,7 @@ int player_set_display_roi_area(player_h player, int x, int y, int width, int he
 #ifdef TIZEN_FEATURE_EVAS_RENDERER
        if (EVAS_HANDLE(pc)) {
                ret = mm_evas_renderer_set_roi_area(EVAS_HANDLE(pc), x, y, width, height);
-               if (ret == MM_ERROR_INVALID_ARGUMENT)
+               if (ret == MM_ERROR_EVASRENDER_INVALID_ARGUMENT)
                        return PLAYER_ERROR_INVALID_PARAMETER;
                else if (ret != MM_ERROR_NONE)
                        return PLAYER_ERROR_INVALID_OPERATION;