Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-15 16:21:00 +0300
committerMichael Niedermayer <michaelni@gmx.at>2008-02-15 16:21:00 +0300
commite942293db183d4aac355c144d5fcdf258e1796a4 (patch)
tree9e4e2adc4ea374a78ff6594edf9073befba0443d /libavformat
parent6881b8e5671248e41582faac149bdf6abd0501e2 (diff)
It appears last_pts was not set ...
Originally committed as revision 11939 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/nutenc.c1
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)