Change-Id: I19daaa75e980a160ca322a7c7c10d8ce077b711c
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
}
} 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.");
}