Change input value type for parent_id 17/210617/2 accepted/tizen/unified/20190725.220543 submit/tizen/20190724.035455
authorHyunil <hyunil46.park@samsung.com>
Tue, 23 Jul 2019 03:44:10 +0000 (12:44 +0900)
committerHyunil <hyunil46.park@samsung.com>
Tue, 23 Jul 2019 04:39:16 +0000 (13:39 +0900)
Change-Id: I2e3d6a3285d97a056c9495d935fc545e48848924
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
include/media_streamer_priv.h
src/media_streamer_node.c

index a2a49ce..8c3c2e4 100644 (file)
@@ -147,7 +147,7 @@ typedef struct {
 } media_streamer_node_s;
 
 typedef struct _media_streamer_wl_info_s {
-       int parent_id;
+       gint parent_id;
 } media_streamer_wl_info_s;
 
 /* Private functions definition */
index beda130..9528930 100644 (file)
@@ -1695,7 +1695,7 @@ int __ms_node_set_display(media_streamer_node_s *ms_node, const char *param_valu
 
        LOGD("wayland global surface id : %d", wl_info.parent_id);
 
-       gst_video_overlay_set_wl_window_wl_surface_id(GST_VIDEO_OVERLAY(ms_node->gst_element), (guintptr)wl_info.parent_id);
+       gst_video_overlay_set_wl_window_wl_surface_id(GST_VIDEO_OVERLAY(ms_node->gst_element), wl_info.parent_id);
 
        return ret;
 }