mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00
[mpp_enc_impl]: Add async empty task process
NOTE: Allow MppFrame output with empty MppBuffer. Change-Id: I4caa1be867d79f68205b276a57ff59a43a102e55 Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
@@ -952,9 +952,8 @@ void *enc_test_output(void *arg)
|
||||
|
||||
mpp_assert(frm);
|
||||
frm_buf = mpp_frame_get_buffer(frm);
|
||||
mpp_assert(frm_buf);
|
||||
|
||||
{
|
||||
if (frm_buf) {
|
||||
AutoMutex autolock(list_buf->mutex());
|
||||
list_buf->add_at_tail(&frm_buf, sizeof(frm_buf));
|
||||
list_buf->signal();
|
||||
|
Reference in New Issue
Block a user