diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-15 13:21:00 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-15 13:21:00 +0000 |
commit | e942293db183d4aac355c144d5fcdf258e1796a4 (patch) | |
tree | 9e4e2adc4ea374a78ff6594edf9073befba0443d /libavformat/nutenc.c | |
parent | 6881b8e5671248e41582faac149bdf6abd0501e2 (diff) | |
download | ffmpeg-e942293db183d4aac355c144d5fcdf258e1796a4.tar.gz |
It appears last_pts was not set ...
Originally committed as revision 11939 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nutenc.c')
-rw-r--r-- | libavformat/nutenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c index f3f8ef9fd7..5c0975c281 100644 --- a/libavformat/nutenc.c +++ b/libavformat/nutenc.c @@ -727,6 +727,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt){ put_buffer(bc, pkt->data + nut->header_len[header_idx], pkt->size - nut->header_len[header_idx]); nus->last_flags= flags; + nus->last_pts= pkt->pts; //FIXME just store one per syncpoint if(flags & FLAG_KEY) |