diff options
author | Matthieu Bouron <matthieu.bouron@stupeflix.com> | 2016-10-06 11:53:13 +0200 |
---|---|---|
committer | Matthieu Bouron <matthieu.bouron@stupeflix.com> | 2016-10-12 09:50:42 +0200 |
commit | a458ed65b5d1007a9184226edd39fa78d01f694b (patch) | |
tree | 4e07198b06b4d82f2b6ff7bf8a286131264ad75a /libavcodec/mediacodecdec.c | |
parent | 8063978bfc864e6e57621d9e103169f995e7d95b (diff) | |
download | ffmpeg-a458ed65b5d1007a9184226edd39fa78d01f694b.tar.gz |
lavc/mediacodecdec: remove first output buffer timing debug log
Diffstat (limited to 'libavcodec/mediacodecdec.c')
-rw-r--r-- | libavcodec/mediacodecdec.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c index 6683de7751..e0d71d3109 100644 --- a/libavcodec/mediacodecdec.c +++ b/libavcodec/mediacodecdec.c @@ -449,9 +449,6 @@ static int mediacodec_dec_flush_codec(AVCodecContext *avctx, MediaCodecDecContex return AVERROR_EXTERNAL; } - s->first_buffer = 0; - s->first_buffer_at = av_gettime(); - return 0; } @@ -468,7 +465,6 @@ int ff_mediacodec_dec_init(AVCodecContext *avctx, MediaCodecDecContext *s, AV_PIX_FMT_NONE, }; - s->first_buffer_at = av_gettime(); s->refcount = 1; pix_fmt = ff_get_format(avctx, pix_fmts); @@ -645,10 +641,6 @@ int ff_mediacodec_dec_decode(AVCodecContext *avctx, MediaCodecDecContext *s, if (index >= 0) { int ret; - if (!s->first_buffer++) { - av_log(avctx, AV_LOG_DEBUG, "Got first buffer after %fms\n", (av_gettime() - s->first_buffer_at) / 1000); - } - av_log(avctx, AV_LOG_DEBUG, "Got output buffer %zd" " offset=%" PRIi32 " size=%" PRIi32 " ts=%" PRIi64 " flags=%" PRIu32 "\n", index, info.offset, info.size, |