comparison mpegvideo.c @ 1658:d4637a0eaab1 libavcodec

export top_field_first & interlaced_frame
author michael
date Fri, 05 Dec 2003 00:19:46 +0000
parents c92147a61d97
children 3075fc11a974
comparison
equal deleted inserted replaced
1657:aaaa1767acc2 1658:d4637a0eaab1
1149 1149
1150 if( alloc_picture(s, (Picture*)pic, 0) < 0) 1150 if( alloc_picture(s, (Picture*)pic, 0) < 0)
1151 return -1; 1151 return -1;
1152 1152
1153 s->current_picture_ptr= (Picture*)pic; 1153 s->current_picture_ptr= (Picture*)pic;
1154 s->current_picture_ptr->top_field_first= s->top_field_first; //FIXME use only the vars from current_pic
1155 s->current_picture_ptr->interlaced_frame= !s->progressive_frame;
1154 } 1156 }
1155 1157
1156 s->current_picture_ptr->pict_type= s->pict_type; 1158 s->current_picture_ptr->pict_type= s->pict_type;
1157 // if(s->flags && CODEC_FLAG_QSCALE) 1159 // if(s->flags && CODEC_FLAG_QSCALE)
1158 // s->current_picture_ptr->quality= s->new_picture_ptr->quality; 1160 // s->current_picture_ptr->quality= s->new_picture_ptr->quality;