Fix bug in frame difference checker.

This commit is contained in:
Edward Barnard 2013-12-22 01:06:12 +00:00
parent aa6380c4bd
commit 6c94308ba0
1 changed files with 3 additions and 0 deletions

View File

@ -44,7 +44,10 @@ void LibvlcUnlockBuffer(void* opaque, void* picture, void *const *planes)
for(uint32_t i = 0; i < data->bufferSize; i++)
{
if(data->buffer[i] != data->prevBuffer[i])
{
newFrame = true;
break;
}
}
data->mutex.unlock();