Fix to calcurate next plane's offset 55/42255/1 accepted/tizen/mobile/20150708.015348 accepted/tizen/tv/20150708.015352 accepted/tizen/wearable/20150708.015356 submit/tizen/20150707.042913 submit/tizen/20150707.064642
authorHyongtaek Lim <hyongtaek.lim@samsung.com>
Thu, 25 Jun 2015 04:14:35 +0000 (13:14 +0900)
committerHyongtaek Lim <hyongtaek.lim@samsung.com>
Thu, 25 Jun 2015 04:15:15 +0000 (13:15 +0900)
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
Change-Id: Id6b9e336acc6651165b249d320466be6c93c830c

src/player.c [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index 51a5916..8c8b23d
@@ -844,7 +844,7 @@ static bool  __video_stream_callback(void *stream, void *user_data)
                                if(i < bo_num)
                                        info.planes[i].offset = 0;
                                else
-                                       info.planes[i].offset = info.planes[i - 1].size;
+                                       info.planes[i].offset = info.planes[i - 1].offset + info.planes[i - 1].size;
                                info.size += info.planes[i].size;
                        }
                        tsurf = tbm_surface_internal_create_with_bos(&info ,