Merge "CCodec: don't drop work with format change" into rvc-dev

gugelfrei
Wonsik Kim 4 years ago committed by Android (Google) Code Review
commit e226124fd3

@ -1705,8 +1705,8 @@ bool CCodecBufferChannel::handleWork(
} }
} }
if (!buffer && !flags) { if (!buffer && !flags && outputFormat == nullptr) {
ALOGV("[%s] onWorkDone: Not reporting output buffer (%lld)", ALOGV("[%s] onWorkDone: nothing to report from the work (%lld)",
mName, work->input.ordinal.frameIndex.peekull()); mName, work->input.ordinal.frameIndex.peekull());
return true; return true;
} }

Loading…
Cancel
Save