[Release version 0.10.36] Add new video overlay interface for wl_surface id 60/58860/3 accepted/tizen/mobile/20160217.011013 accepted/tizen/tv/20160217.011033 accepted/tizen/wearable/20160217.011044 submit/tizen/20160216.083712 submit/tizen/20160216.102007 submit/tizen_common/20160218.142243
authorHyunil <hyunil46.park@samsung.com>
Thu, 4 Feb 2016 06:37:57 +0000 (15:37 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Thu, 4 Feb 2016 06:53:24 +0000 (15:53 +0900)
Change-Id: Ia27bc7eda607c13e41d25b044766404fa26001fe
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
packaging/libmm-camcorder.spec
src/include/mm_camcorder.h
src/mm_camcorder_attribute.c
src/mm_camcorder_gstcommon.c

index 61f6c44..447857e 100644 (file)
@@ -2,7 +2,7 @@
 
 Name:       libmm-camcorder
 Summary:    Camera and recorder library
-Version:    0.10.35
+Version:    0.10.36
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0
index c5f3b30..10f589c 100644 (file)
@@ -1797,7 +1797,7 @@ typedef struct _MMCamFaceDetectInfo {
  * Wayland information
  */
 typedef struct _MMCamWaylandInfo {
-       int parent_id;
+       int global_surface_id;
        int window_x;
        int window_y;
        int window_width;
index 64fec71..fbec727 100644 (file)
@@ -3266,9 +3266,9 @@ bool _mmcamcorder_commit_display_handle(MMHandleType handle, int attr_idx, const
                } else if (!strcmp(videosink_name, "waylandsink")) {
                        MMCamWaylandInfo *wl_info = (MMCamWaylandInfo *)p_handle;
 
-                       _mmcam_dbg_log("parent id : %d", wl_info->parent_id);
+                       _mmcam_dbg_log("wayland global surface id : %d", wl_info->global_surface_id);
 
-                       gst_video_overlay_set_window_handle(GST_VIDEO_OVERLAY(sc->element[_MMCAMCORDER_VIDEOSINK_SINK].gst), (guintptr)wl_info->parent_id);
+                       gst_video_overlay_set_wl_window_wl_surface_id(GST_VIDEO_OVERLAY(sc->element[_MMCAMCORDER_VIDEOSINK_SINK].gst), (guintptr)wl_info->global_surface_id);
                        gst_video_overlay_set_render_rectangle(GST_VIDEO_OVERLAY(sc->element[_MMCAMCORDER_VIDEOSINK_SINK].gst),
                                wl_info->window_x, wl_info->window_y, wl_info->window_width, wl_info->window_height);
 #endif /* HAVE_WAYLAND */
index 8f0da1d..3ad6ec2 100644 (file)
@@ -1266,8 +1266,8 @@ int _mmcamcorder_videosink_window_set(MMHandleType handle, type_element* Videosi
        } else if (!strcmp(videosink_name, "waylandsink")) {
                MMCamWaylandInfo *wl_info = (MMCamWaylandInfo *)overlay;
                if (wl_info) {
-                       _mmcam_dbg_log("parent id : %d", wl_info->parent_id);
-                       gst_video_overlay_set_window_handle(GST_VIDEO_OVERLAY(vsink), (guintptr)wl_info->parent_id);
+                       _mmcam_dbg_log("wayland global surface id : %d", wl_info->global_surface_id);
+                       gst_video_overlay_set_wl_window_wl_surface_id(GST_VIDEO_OVERLAY(vsink), (guintptr)wl_info->global_surface_id);
                        gst_video_overlay_set_render_rectangle(GST_VIDEO_OVERLAY(vsink),
                                wl_info->window_x, wl_info->window_y, wl_info->window_width, wl_info->window_height);
                } else {