1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

Originally committed as revision 1394 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Thomas Jarosch 2003-01-05 17:17:14 +00:00 committed by Michael Niedermayer
parent 826f429ae9
commit 369fe5993f

View File

@ -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;