提交 d4efdfad 编写于 作者: Z Zhang Rui

ios/VideoToolbox: show vtb samples in decoding

上级 d487693d
......@@ -34,4 +34,6 @@
// #define FFP_NOTIFY_BUF_TIME
// #define FFP_NOTIFY_BUF_BYTES
// #define FFP_SHOW_VTB_IN_DECODING
#endif
......@@ -31,6 +31,7 @@
#include "libavformat/avc.h"
#include "ijksdl_vout_ios_gles2.h"
#include "h264_sps_parser.h"
#include "ijkplayer/ff_ffplay_debug.h"
#define IJK_VTB_FCC_AVC SDL_FOURCC('C', 'c', 'v', 'a')
#define IJK_VTB_FCC_ESD SDL_FOURCC('s', 'd', 's', 'e')
......@@ -349,6 +350,9 @@ void VTDecoderCallback(void *decompressionOutputRefCon,
newFrame->serial = sample_info->serial;
newFrame->nextframe = NULL;
sample_info_recycle(ctx, sample_info);
#ifdef FFP_SHOW_VTB_IN_DECODING
ALOGD("VTB: indecoding: %d\n", ctx->sample_infos_in_decoding);
#endif
}
ctx->last_sort = newFrame->sort;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册