Waylandsink : Add plane size info to tbm_surface
authorHyunil <hyunil46.park@samsung.com>
Wed, 7 Jun 2017 06:45:21 +0000 (15:45 +0900)
committerHyunil <hyunil46.park@samsung.com>
Wed, 7 Jun 2017 08:30:28 +0000 (17:30 +0900)
Change-Id: I042dc83f489bda38526a4b156c575f42eff4568a
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
ext/wayland/wlshmallocator.c
packaging/gst-plugins-bad.spec

index f1cbc45..9cc70f7 100644 (file)
@@ -381,6 +381,8 @@ gst_wl_shm_memory_construct_wl_buffer (GstMemory * mem, GstWlDisplay * display,
       ts_info.format = format;
       ts_info.bpp = tbm_surface_internal_get_bpp (ts_info.format);
       ts_info.num_planes = tbm_surface_internal_get_num_planes (ts_info.format);
+      ts_info.planes[0].size = display->plane_size[0];
+      ts_info.planes[1].size = display->plane_size[1];
       ts_info.planes[0].stride = display->stride_width[0];
       ts_info.planes[1].stride = display->stride_width[1];
       ts_info.planes[0].offset = 0;
index 3f8070e..64ec68f 100644 (file)
@@ -4,7 +4,7 @@
 
 Name:           gst-plugins-bad
 Version:        1.6.1
-Release:        11
+Release:        12
 Summary:        GStreamer Streaming-Media Framework Plug-Ins
 License:        LGPL-2.0+
 Group:          Multimedia/Framework