From 5e4a622ed6931b543e77e1abdf4bfc1a51168e68 Mon Sep 17 00:00:00 2001 From: Hyunil Date: Tue, 23 Jul 2019 12:44:10 +0900 Subject: [PATCH] Change input value type for parent_id Change-Id: I2e3d6a3285d97a056c9495d935fc545e48848924 Signed-off-by: Hyunil --- include/media_streamer_priv.h | 2 +- src/media_streamer_node.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/media_streamer_priv.h b/include/media_streamer_priv.h index a2a49ce..8c3c2e4 100644 --- a/include/media_streamer_priv.h +++ b/include/media_streamer_priv.h @@ -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 */ diff --git a/src/media_streamer_node.c b/src/media_streamer_node.c index beda130..9528930 100644 --- a/src/media_streamer_node.c +++ b/src/media_streamer_node.c @@ -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; } -- 2.7.4