1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

pict_type & quality fix

Originally committed as revision 1739 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2003-04-06 21:03:24 +00:00
parent be6784dc8a
commit 9f2e61b6a3

View File

@ -923,7 +923,11 @@ alloc:
s->current_picture_ptr= &s->picture[i]; 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; s->current_picture= *s->current_picture_ptr;
if(s->out_format != FMT_H264){ if(s->out_format != FMT_H264){
if (s->pict_type != B_TYPE) { if (s->pict_type != B_TYPE) {
s->last_picture_ptr= s->next_picture_ptr; s->last_picture_ptr= s->next_picture_ptr;