From 3aeece043b5439b8e01104f4a158b4873707b350 Mon Sep 17 00:00:00 2001 From: Hyunil Date: Tue, 23 Jul 2019 13:42:51 +0900 Subject: [PATCH] video-overlay: change input param data type for setting wl_surface_id Change-Id: Id6d2baaecac07673a28a9046bcc1ac2ed255d51a Signed-off-by: Hyunil --- gst-libs/gst/video/videooverlay.c | 2 +- gst-libs/gst/video/videooverlay.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gst-libs/gst/video/videooverlay.c b/gst-libs/gst/video/videooverlay.c index ba22b5f..2039f01 100644 --- a/gst-libs/gst/video/videooverlay.c +++ b/gst-libs/gst/video/videooverlay.c @@ -335,7 +335,7 @@ gst_video_overlay_get_type (void) */ void gst_video_overlay_set_wl_window_wl_surface_id (GstVideoOverlay * overlay, - guintptr wl_surface_id) + gint wl_surface_id) { GstVideoOverlayInterface *iface; diff --git a/gst-libs/gst/video/videooverlay.h b/gst-libs/gst/video/videooverlay.h index 4654dc9..ac60eb7 100644 --- a/gst-libs/gst/video/videooverlay.h +++ b/gst-libs/gst/video/videooverlay.h @@ -67,7 +67,7 @@ struct _GstVideoOverlayInterface { void (*set_window_handle) (GstVideoOverlay *overlay, guintptr handle); - void (*set_wl_window_wl_surface_id) (GstVideoOverlay * overlay, guintptr wl_surface_id); + void (*set_wl_window_wl_surface_id) (GstVideoOverlay * overlay, gint wl_surface_id); void (*set_display_roi_area) (GstVideoOverlay *overlay, gint x, gint y, @@ -105,7 +105,7 @@ void gst_video_overlay_prepare_window_handle (GstVideoOverlay * overl gboolean gst_is_video_overlay_prepare_window_handle_message (GstMessage * msg); void gst_video_overlay_set_wl_window_wl_surface_id (GstVideoOverlay * overlay, - guintptr wl_surface_id); + gint wl_surface_id); gboolean gst_video_overlay_set_display_roi_area (GstVideoOverlay * overlay, gint x, gint y, -- 2.7.4