mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 09:36:49 +08:00
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:
@@ -629,6 +629,8 @@ MPP_RET Mpp::put_frame(MppFrame frame)
|
|||||||
if (!mInitDone)
|
if (!mInitDone)
|
||||||
return MPP_ERR_INIT;
|
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) {
|
if (mInputTimeout == MPP_POLL_NON_BLOCK) {
|
||||||
set_io_mode(MPP_IO_MODE_NORMAL);
|
set_io_mode(MPP_IO_MODE_NORMAL);
|
||||||
return put_frame_async(frame);
|
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_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
|
// dump output
|
||||||
|
Reference in New Issue
Block a user