Commit 4696f763 authored by Steven Liu's avatar Steven Liu Committed by Michael Niedermayer

avformat/flvdec: add debug message to list keyframes index metadata

when parsing keyframe index metadata, list the message by trace log
Signed-off-by: 's avatarSteven Liu <lq@chinaffmpeg.org>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 7289aa2d
......@@ -114,6 +114,8 @@ static void add_keyframes_index(AVFormatContext *s)
if (stream->nb_index_entries == 0) {
for (i = 0; i < flv->keyframe_count; i++) {
av_log(s, AV_LOG_TRACE, "keyframe filepositions = %"PRId64" times = %"PRId64"\n",
flv->keyframe_filepositions[i], flv->keyframe_times[i] * 1000);
av_add_index_entry(stream, flv->keyframe_filepositions[i],
flv->keyframe_times[i] * 1000, 0, 0, AVINDEX_KEYFRAME);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment