diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-05-05 21:23:28 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-05-05 21:23:28 +0000 |
commit | dd17409ca075b35db85e56795078b718a702cf86 (patch) | |
tree | 591bc513472bf9ae5d459cb82e37f7e36eb14ac2 /ffmpeg.c | |
parent | 8a0c66a7e370ce87cbedf5630a7681fe60ba2761 (diff) |
next_pts fix by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
note, dont take the PSNR/stddev values serious, they are caused by a bug in ffmpeg.c which drops one frame before the last frame during encoding with b frames
Originally committed as revision 3110 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1003,7 +1003,7 @@ static int output_packet(AVInputStream *ist, int ist_index, void *buffer_to_free; if (pkt && pkt->pts != AV_NOPTS_VALUE) { - ist->pts = pkt->pts; + ist->next_pts = ist->pts = pkt->pts; } else { ist->pts = ist->next_pts; } |