Change input value type for wl_surface_id 19/210619/2 accepted/tizen/unified/20190725.220530 submit/tizen/20190724.035455
authorHyunil <hyunil46.park@samsung.com>
Tue, 23 Jul 2019 04:30:50 +0000 (13:30 +0900)
committerHyunil <hyunil46.park@samsung.com>
Tue, 23 Jul 2019 05:22:09 +0000 (14:22 +0900)
Change-Id: I19daaa75e980a160ca322a7c7c10d8ce077b711c
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
src/mm_camcorder_gstcommon.c

index ccff837..a63c595 100644 (file)
@@ -1462,8 +1462,8 @@ int _mmcamcorder_videosink_window_set(MMHandleType handle, type_element* Videosi
                }
        } else if (!strcmp(videosink_name, "tizenwlsink") || !strcmp(videosink_name, "directvideosink")) {
                if (overlay) {
-                       _mmcam_dbg_log("wayland global surface id : %d", *(int *)(overlay));
-                       gst_video_overlay_set_wl_window_wl_surface_id(GST_VIDEO_OVERLAY(vsink), (guintptr)*(int *)(overlay));
+                       _mmcam_dbg_log("wayland global surface id : %d", *overlay);
+                       gst_video_overlay_set_wl_window_wl_surface_id(GST_VIDEO_OVERLAY(vsink), *overlay);
                } else {
                        _mmcam_dbg_warn("Handle is NULL. skip setting.");
                }