remote destructors are not synchronously executed by the binder...
This commit is contained in:
@ -544,6 +544,9 @@ void AwesomePlayer::onEvent(int32_t code) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (mVideoBuffer->range_length() == 0) {
|
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->release();
|
||||||
mVideoBuffer = NULL;
|
mVideoBuffer = NULL;
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user