int slice_count;
int swap_uv;//indicate VCR2
int save_aspect_info;
+ int save_width, save_height;
AVRational frame_rate_ext; ///< MPEG-2 specific framerate modificator
} Mpeg1Context;
(s1->mpeg_enc_ctx_allocated == 0)||
avctx->coded_width != s->width ||
avctx->coded_height != s->height||
+ s1->save_width != s->width ||
+ s1->save_height != s->height ||
s1->save_aspect_info != s->aspect_ratio_info||
0)
{
avcodec_set_dimensions(avctx, s->width, s->height);
avctx->bit_rate = s->bit_rate;
s1->save_aspect_info = s->aspect_ratio_info;
+ s1->save_width = s->width;
+ s1->save_height = s->height;
//low_delay may be forced, in this case we will have B frames
//that behave like P frames