fix[mpp]: Add encoder input/output pts log

Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I842b28c2528b393e8bff926e3a3f1f8a65810887
This commit is contained in:
Herman Chen
2024-05-10 11:28:43 +08:00
parent 1d1b8139db
commit a5d9fc609e

View File

@@ -629,6 +629,8 @@ MPP_RET Mpp::put_frame(MppFrame frame)
if (!mInitDone)
return MPP_ERR_INIT;
mpp_dbg_pts("%p input frame pts %lld\n", this, mpp_frame_get_pts(frame));
if (mInputTimeout == MPP_POLL_NON_BLOCK) {
set_io_mode(MPP_IO_MODE_NORMAL);
return put_frame_async(frame);
@@ -787,7 +789,7 @@ MPP_RET Mpp::get_packet(MppPacket *packet)
mpp_buffer_sync_ro_partial_begin(buf, offset, impl->length);
mpp_dbg_pts("pts %lld\n", impl->pts);
mpp_dbg_pts("%p output packet pts %lld\n", this, impl->pts);
}
// dump output