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: I0e507c05f377416961fa17347fd26403a8153a27
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
std::ostringstream oss;
oss << "[";
oss << "pixelBuffers:" << pixelBuffers.size() << " ";
- if(!pixelBuffers.empty())
+ if(!mPixelData.empty())
{
- oss << "size:" << pixelBuffers[0].GetWidth() << "x" << pixelBuffers[0].GetHeight() << " ";
+ oss << "size:" << mPixelData[0].GetWidth() << "x" << mPixelData[0].GetHeight() << " ";
oss << "premult:" << mPremultiplied << " ";
}
oss << "url:" << mUrl.GetUrl() << "]";