# HG changeset patch # User michaelni # Date 1049663004 0 # Node ID 86d5a33eaec8cf27c9eb73b6c9bf90e3b4151070 # Parent 9d257357ce0772b0fbc8e0802958be362b1598cf pict_type & quality fix diff -r 9d257357ce07 -r 86d5a33eaec8 mpegvideo.c --- a/mpegvideo.c Sun Apr 06 19:45:02 2003 +0000 +++ b/mpegvideo.c Sun Apr 06 21:03:24 2003 +0000 @@ -923,7 +923,11 @@ s->current_picture_ptr= &s->picture[i]; } + s->current_picture_ptr->pict_type= s->pict_type; + s->current_picture_ptr->quality= s->qscale; + s->current_picture= *s->current_picture_ptr; + if(s->out_format != FMT_H264){ if (s->pict_type != B_TYPE) { s->last_picture_ptr= s->next_picture_ptr;