[0.3.76] ecore wl display api for setting display is changed 89/152089/1 accepted/tizen/4.0/unified/20170929.075406 submit/tizen_4.0/20170927.030919
authorHyunil <hyunil46.park@samsung.com>
Mon, 25 Sep 2017 04:56:31 +0000 (13:56 +0900)
committerHyunil Park <hyunil46.park@samsung.com>
Mon, 25 Sep 2017 05:02:47 +0000 (05:02 +0000)
Change-Id: Id9de704874e825635b8fbc70969bf5f3829f806f
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
include/player_internal.h
packaging/capi-media-player.spec
src/player_internal.c

index 51a6d93..fbfd7b9 100644 (file)
@@ -236,12 +236,16 @@ int player_unset_media_stream_buffer_status_cb_ex(player_h player, player_stream
 int player_set_media_stream_dynamic_resolution(player_h player, bool drc);
 
 /**
- * @brief Sets the ecore wayland window video display.
+ * @brief Sets the ecore wayland video display.
  * @since_tizen 3.0
  * @remarks This API support PLAYER_DISPLAY_TYPE_OVERLAY type only.
  * @param[in]   player The handle to the media player
  * @param[in]   type The display type
  * @param[in]   ecore_wl_window The ecore wayland window handle
+ * @param[in]   x the x coordinate of window
+ * @param[in]   y the y coordinate of window
+ * @param[in]   width the width of window
+ * @param[in]   height the height of window
  * @return @c 0 on success,
  *         otherwise a negative error value
  * @retval #PLAYER_ERROR_NONE Successful
@@ -251,7 +255,7 @@ int player_set_media_stream_dynamic_resolution(player_h player, bool drc);
  * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED.
  * @see player_set_display_rotation
  */
-int player_set_ecore_wl_win_display(player_h player, player_display_type_e type, void *ecore_wl_window);
+int player_set_ecore_wl_display(player_h player, player_display_type_e type, void *ecore_wl_window, int x, int y, int width, int height);
 
 /**
  * @brief Called when no free space in buffer.
index 17ecb05..a94e86f 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-media-player
 Summary:    A Media Player API
-Version:    0.3.75
+Version:    0.3.76
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
index 18408e3..45591b4 100644 (file)
@@ -180,7 +180,7 @@ int player_set_media_stream_dynamic_resolution(player_h player, bool drc)
        return ret;
 }
 
-int player_set_ecore_wl_win_display(player_h player, player_display_type_e type, void *ecore_wl_window)
+int player_set_ecore_wl_display(player_h player, player_display_type_e type, void *ecore_wl_window, int x, int y, int width, int height)
 {
        PLAYER_INSTANCE_CHECK(player);
        int ret = PLAYER_ERROR_NONE;