aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Jarosch <tomj@simonv.com>2003-01-05 17:17:14 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-01-05 17:17:14 +0000
commit369fe5993f4df8796081ffd47ffd9d83a6529cb6 (patch)
tree04c5c8ab8d573199197b35b3dd68c9faf7d923a9
parent826f429ae9990632a04b06bd375afa54ffe54b76 (diff)
downloadffmpeg-369fe5993f4df8796081ffd47ffd9d83a6529cb6.tar.gz
pts encoding fix patch by (Thomas Jarosch <tomj at simonv dot com>)
Originally committed as revision 1394 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/mpegvideo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 219a86767f..ce3c435044 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -1056,6 +1056,7 @@ static int load_input_picture(MpegEncContext *s, AVFrame *pic_arg){
}
pic->quality= pic_arg->quality;
pic->pict_type= pic_arg->pict_type;
+ pic->pts = pic_arg->pts;
if(s->input_picture[encoding_delay])
pic->display_picture_number= s->input_picture[encoding_delay]->display_picture_number + 1;