remove build warning 87/190587/2 accepted/tizen/5.0/unified/20181102.025200 accepted/tizen/unified/20181005.012359 submit/tizen/20181004.053133 submit/tizen_5.0/20181101.000006
authorSejun Park <sejun79.park@samsung.com>
Thu, 4 Oct 2018 04:25:49 +0000 (13:25 +0900)
committerSejun Park <sejun79.park@samsung.com>
Thu, 4 Oct 2018 05:02:51 +0000 (14:02 +0900)
Change-Id: Ia859e1074778e493e5bfa1b8680f33360430c5c2

tizenwlsink/src/tizen-wlshmallocator.c
video360/src/gstvideo360.c

index 84b9ef2..ac6fce4 100644 (file)
@@ -25,6 +25,7 @@
 #ifdef TIZEN_FEATURE_WLSINK_ENHANCEMENT
 #include "tizen-wlvideoformat.h"
 #include <tbm_surface_internal.h>
+#include <gst/allocators/gsttizenmemory.h>
 #endif
 #include <stdio.h>
 #include <stdlib.h>
index 3151c71..dea5920 100644 (file)
@@ -877,7 +877,7 @@ gst_video360_chain (GstPad * pad, GstObject * parent, GstBuffer * in_buf)
       gst_memory_map (in_mem, &in_info, GST_MAP_READ);
     }
 
-    out_info.data = (tbm_surface_h) surface;
+    out_info.data = (guint8 *) surface;
 #else
     out_mem = gst_buffer_peek_memory (out_buf, 0);
     gst_memory_map (in_mem, &in_info, GST_MAP_READ);