Change-Id: I74f437bb9bb34c13a7c1e92befe19e6bf9afb955
Signed-off-by: Sukwon Suh <sukwon.suh@samsung.com>
for (int i = 0; i < _VIDEO_TEXTURE_BUFFER_MAX; i++)
{
- if (pDamageEvent != null && pDamageEvent->drawable == __pixmap[i])
+ if (__pVideoTexture != null && pDamageEvent != null && pDamageEvent->drawable == __pixmap[i])
{
__pVideoTexture->__pBuffer[i].__bufferState = _BUFFER_STATE_ENQUEUE;
SystemTime::GetTicks(__pVideoTexture->__pBuffer[i].__timeStamp);
- if (__pVideoTexture != null && __pVideoTexture->__pVideoTextureUpdateListener != null)
+ if (__pVideoTexture->__pVideoTextureUpdateListener != null)
{
int count = __pVideoTexture->__pVideoTextureUpdateListener->GetCount();
if (count > 0)