From: Hyunil Date: Tue, 19 Sep 2017 10:21:04 +0000 (+0900) Subject: [0.3.74] Evas visible setting requirement change for sync with libmm-player operation X-Git-Tag: submit/tizen_4.0/20170922.022806~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d87eb2ec74da1e1470f74909839c90a92963e66e;p=platform%2Fcore%2Fapi%2Fplayer.git [0.3.74] Evas visible setting requirement change for sync with libmm-player operation Change-Id: I1d80bb574bb863ea42723387ba12b6ba0180be2f Signed-off-by: Hyunil --- diff --git a/packaging/capi-media-player.spec b/packaging/capi-media-player.spec index c8d4a36..44c4dde 100644 --- a/packaging/capi-media-player.spec +++ b/packaging/capi-media-player.spec @@ -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 diff --git a/src/player.c b/src/player.c index b100ce2..f81ed07 100644 --- a/src/player.c +++ b/src/player.c @@ -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);