[0.3.74] Evas visible setting requirement change for sync with libmm-player operation 12/151012/2
authorHyunil <hyunil46.park@samsung.com>
Tue, 19 Sep 2017 10:21:04 +0000 (19:21 +0900)
committerHyunil Park <hyunil46.park@samsung.com>
Tue, 19 Sep 2017 10:57:48 +0000 (10:57 +0000)
Change-Id: I1d80bb574bb863ea42723387ba12b6ba0180be2f
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
packaging/capi-media-player.spec
src/player.c

index c8d4a36..44c4dde 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-media-player
 Summary:    A Media Player API
-Version:    0.3.73
+Version:    0.3.74
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
index b100ce2..f81ed07 100644 (file)
@@ -2278,7 +2278,8 @@ int player_start(player_h player)
        LOGD("ENTER");
 #ifdef TIZEN_FEATURE_EVAS_RENDERER
        if (CALLBACK_INFO(pc) && EVAS_INFO(pc)->support_video) {
-               if (EVAS_HANDLE(pc) && EVAS_INFO(pc)->visible == EVAS_VISIBLE_NONE) {
+               if (EVAS_HANDLE(pc) && (EVAS_INFO(pc)->visible == EVAS_VISIBLE_NONE
+                       || EVAS_INFO(pc)->visible == EVAS_VISIBLE_TRUE)) {
                        ret = mm_evas_renderer_set_visible(EVAS_HANDLE(pc), true);
                        if (ret != MM_ERROR_NONE) {
                                LOGE("mm_evas_renderer_set_visible err 0x%x", ret);
@@ -2327,7 +2328,8 @@ int player_stop(player_h player)
 
 #ifdef TIZEN_FEATURE_EVAS_RENDERER
        if (CALLBACK_INFO(pc) && EVAS_HANDLE(pc) &&
-               EVAS_INFO(pc)->support_video && (EVAS_INFO(pc)->visible == EVAS_VISIBLE_TRUE)) {
+               EVAS_INFO(pc)->support_video && (EVAS_INFO(pc)->visible == EVAS_VISIBLE_NONE
+               || EVAS_INFO(pc)->visible == EVAS_VISIBLE_TRUE)) {
                ret = mm_evas_renderer_set_visible(EVAS_HANDLE(pc), false);
                if (ret != MM_ERROR_NONE) {
                        LOGE("mm_evas_renderer_set_visible err 0x%x", ret);