Mercurial > libavcodec.hg
comparison mpegvideo.c @ 2235:0c04463f79d8 libavcodec
10l (scene change pict_type was wrong after coded_frame fix) patch by (Loren Merritt <lorenm at u dot washington dot edu>)
author | michael |
---|---|
date | Thu, 16 Sep 2004 17:36:39 +0000 |
parents | c87bab25f89f |
children | b8bad8bbbc64 |
comparison
equal
deleted
inserted
replaced
2234:dff53892ff8a | 2235:0c04463f79d8 |
---|---|
4843 s->intra_matrix, s->intra_quant_bias, 8, 8); | 4843 s->intra_matrix, s->intra_quant_bias, 8, 8); |
4844 s->qscale= 8; | 4844 s->qscale= 8; |
4845 } | 4845 } |
4846 | 4846 |
4847 //FIXME var duplication | 4847 //FIXME var duplication |
4848 s->current_picture_ptr->key_frame= | |
4848 s->current_picture.key_frame= s->pict_type == I_TYPE; //FIXME pic_ptr | 4849 s->current_picture.key_frame= s->pict_type == I_TYPE; //FIXME pic_ptr |
4850 s->current_picture_ptr->pict_type= | |
4849 s->current_picture.pict_type= s->pict_type; | 4851 s->current_picture.pict_type= s->pict_type; |
4850 | 4852 |
4851 if(s->current_picture.key_frame) | 4853 if(s->current_picture.key_frame) |
4852 s->picture_in_gop_number=0; | 4854 s->picture_in_gop_number=0; |
4853 | 4855 |