[FFmpeg-soc] [soc]: r4663 - seek_api/utils.c
spyfeng
subversion at mplayerhq.hu
Sat Jul 11 19:31:39 CEST 2009
Author: spyfeng
Date: Sat Jul 11 19:31:39 2009
New Revision: 4663
Log:
add the pkt->pts as index timestamp
Modified:
seek_api/utils.c
Modified: seek_api/utils.c
==============================================================================
--- seek_api/utils.c Sat Jul 11 19:10:25 2009 (r4662)
+++ seek_api/utils.c Sat Jul 11 19:31:39 2009 (r4663)
@@ -943,7 +943,7 @@ static int av_read_frame_internal(AVForm
if((s->iformat->flags & AVFMT_GENERIC_INDEX) && pkt->flags & PKT_FLAG_KEY){
ff_reduce_index(s, st->index);
- av_add_index_entry(st, pkt->pos/*st->parser->frame_offset*/, pkt->dts,
+ av_add_index_entry(st, pkt->pos/*st->parser->frame_offset*/, pkt->pts,
0, 0, AVINDEX_KEYFRAME);
}
More information about the FFmpeg-soc
mailing list