Commit 369fe599 authored by Thomas Jarosch's avatar Thomas Jarosch Committed by Michael Niedermayer

pts encoding fix patch by (Thomas Jarosch <tomj at simonv dot com>)

Originally committed as revision 1394 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 826f429a
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment