mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 09:06:50 +08:00
[buf_slot]: modify buffer slot management
1. add slot runtime log switch 2. add slot_assert for log and history dump 3. add extra MppFrame init/deinit so that the Mpp::get_frame will not share same MppFrame with buffer slot git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@256 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
@@ -111,6 +111,7 @@ int main()
|
||||
// interface with input and output separated
|
||||
for (i = 0; i < MPI_DEC_LOOP_COUNT; i++) {
|
||||
mpp_packet_init(&dec_in, buf, size);
|
||||
mpp_packet_set_pts(dec_in, i);
|
||||
|
||||
// IMPORTANT: eos flag will flush all decoded frame
|
||||
if (i == MPI_DEC_LOOP_COUNT - 1)
|
||||
|
Reference in New Issue
Block a user