remote destructors are not synchronously executed by the binder...

This commit is contained in:
Andreas Huber
2009-12-10 15:32:12 -08:00
parent c1d5c921d6
commit 6ddcf01a90

View File

@ -544,6 +544,9 @@ void AwesomePlayer::onEvent(int32_t code) {
}
if (mVideoBuffer->range_length() == 0) {
// Some decoders, notably the PV AVC software decoder
// return spurious empty buffers that we just want to ignore.
mVideoBuffer->release();
mVideoBuffer = NULL;
continue;