Commit 3f27c900 authored by michaelni's avatar michaelni

pict_type & quality fix


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1739 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1a7abbb6
...@@ -923,7 +923,11 @@ alloc: ...@@ -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;
......
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