diff options
author | NAMJEONGYOON <just.nam@samsung.com> | 2016-11-08 17:53:32 +0900 |
---|---|---|
committer | NAMJEONGYOON <just.nam@samsung.com> | 2016-11-08 17:54:35 +0900 |
commit | 4ac84c3140fda8ae34f0b733646c8ee3d5606670 (patch) | |
tree | f5487c9c42a71a862429853692557bd5de0e3f65 | |
parent | 87f73c42c57924ae648a2329a03ab554fb197cba (diff) | |
download | libmm-evas-renderer-4ac84c3140fda8ae34f0b733646c8ee3d5606670.tar.gz libmm-evas-renderer-4ac84c3140fda8ae34f0b733646c8ee3d5606670.tar.bz2 libmm-evas-renderer-4ac84c3140fda8ae34f0b733646c8ee3d5606670.zip |
[0.0.7] remove unclear API(update_param)
Change-Id: I3e5a60921cd48fee46446fa23eb97277b5b22a5c
-rw-r--r-- | packaging/libmm-evas-renderer.spec | 2 | ||||
-rw-r--r-- | src/include/mm_evas_renderer.h | 2 | ||||
-rwxr-xr-x | src/mm_evas_renderer.c | 47 |
3 files changed, 1 insertions, 50 deletions
diff --git a/packaging/libmm-evas-renderer.spec b/packaging/libmm-evas-renderer.spec index fb00a53..77aa9c5 100644 --- a/packaging/libmm-evas-renderer.spec +++ b/packaging/libmm-evas-renderer.spec @@ -1,6 +1,6 @@ Name: libmm-evas-renderer Summary: Multimedia Framework Evas Renderer Library -Version: 0.0.6 +Version: 0.0.7 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 diff --git a/src/include/mm_evas_renderer.h b/src/include/mm_evas_renderer.h index 87103d8..b388881 100644 --- a/src/include/mm_evas_renderer.h +++ b/src/include/mm_evas_renderer.h @@ -152,8 +152,6 @@ int mm_evas_renderer_get_roi_area(MMHandleType handle, int *x, int *y, int *w, i /* set and get flip value */ int mm_evas_renderer_set_flip(MMHandleType handle, int flip); int mm_evas_renderer_get_flip(MMHandleType handle, int *flip); -/* update all properties */ -int mm_evas_renderer_update_param(MMHandleType handle); /* call ecore_pipe_write, when packet is sent */ void mm_evas_renderer_write(media_packet_h packet, void *data); /* if user want to retrieve all packets, this API will be called */ diff --git a/src/mm_evas_renderer.c b/src/mm_evas_renderer.c index 11b7bf6..0a6f2ac 100755 --- a/src/mm_evas_renderer.c +++ b/src/mm_evas_renderer.c @@ -1238,53 +1238,6 @@ INVALID_PARAM: return; } -int mm_evas_renderer_update_param(MMHandleType handle) -{ - MMER_FENTER(); - - int ret = MM_ERROR_NONE; - mm_evas_info *evas_info = (mm_evas_info *)handle; - - if (!evas_info) { - LOGW("skip it. it is not evas surface type."); - return ret; - } - - /* when handle is realized, we need to update all properties */ - if (evas_info) { - LOGD("set video param : evas-object %x, method %d", evas_info->eo, evas_info->display_geometry_method); - LOGD("set video param : visible %d", evas_info->visible); - LOGD("set video param : rotate %d", evas_info->rotate_angle); - - ret = _mm_evas_renderer_apply_geometry(evas_info); - if (ret != MM_ERROR_NONE) - return ret; - - if (evas_info->epipe) { - ret = ecore_pipe_write(evas_info->epipe, &evas_info->visible, UPDATE_VISIBILITY); - if (!ret) { - LOGW("fail to ecore_pipe_write() for updating visibility\n"); - return MM_ERROR_EVASRENDER_INTERNAL; - } - evas_info->update_needed = TRUE; - /* FIXME: pause state only */ - g_mutex_lock(&evas_info->idx_lock); - ret = ecore_pipe_write(evas_info->epipe, evas_info, UPDATE_TBM_SURF); - if (!ret) { - LOGW("fail to ecore_pipe_write() for updating visibility\n"); - ret = MM_ERROR_EVASRENDER_INTERNAL; - } else { - ret = MM_ERROR_NONE; - } - g_mutex_unlock(&evas_info->idx_lock); - } - } - - MMER_FLEAVE(); - - return ret; -} - int mm_evas_renderer_create(MMHandleType *handle, Evas_Object *eo) { MMER_FENTER(); |