Fix bug in frame difference checker.
This commit is contained in:
parent
aa6380c4bd
commit
6c94308ba0
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue