[Tizen] Fix crash issue when FastTrackUploading load YUV 83/302083/1 accepted/tizen/8.0/unified/20231130.180820
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 30 Nov 2023 02:49:44 +0000 (11:49 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Thu, 30 Nov 2023 06:45:37 +0000 (15:45 +0900)
commit4fb22416bdc46097b9dc5f26551021b122e956c9
tree4250d0ddfbb6eea3fc919b2cb3cd694866cd768b
parent8033380acf79d16877614eaffebafa00e2fdcca9
[Tizen] Fix crash issue when FastTrackUploading load YUV

This reverts commit 9d65c3e06944bdd0a27146c7673e03dc8a387e34.

Fix crash issue when FastTrackUploading load YUV

pixelBuffer[0] was already invalidated after PixelBuffer::Convert.
So, we should use mPixelData[0] when we want to get the size of image.

Change-Id: I2773f0abc1e8db230b24eae503bd2d80f6908d44
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-toolkit/internal/image-loader/fast-track-loading-task.cpp