Waylandsink : Add plane size info to tbm_surface 87/132687/2
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 f1cbc45d2f97aa3b14abc3e4d230b759557d21e4..9cc70f755122b1602c4ae82d5223ad5ee12d095a 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 3f8070e12760afb04a3ef1dfdab1f3997649a6ed..64ec68f935edf4876e253b54a09865bdb19b8eeb 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