Commit 835aefca authored by alex's avatar alex

report keyframes


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3608 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7a4a412f
......@@ -151,6 +151,10 @@ static int flv_read_packet(AVFormatContext *s, AVPacket *pkt)
pkt->size = ret;
pkt->pts = pts;
pkt->stream_index = st->index;
if (!is_audio && ((flags >> 4)==1))
pkt->flags |= PKT_FLAG_KEY;
return ret;
}
......
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