[Mplayer-cvslog] CVS: main/libmpcodecs vd_ffmpeg.c,1.3,1.4

Alex Beregszaszi alex at naxine.org
Wed Mar 20 14:48:40 CET 2002


> > +    if ((ctx->width != sh->disp_w) ||
> > +	(ctx->height != sh->disp_h))
> > +    {
> > +	if (mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,IMGFMT_YV12))
> > +	    return NULL;
> > +    }	
> > +    
> 
> you should call mpcodecs_config_vo() with the new width/height values!

Ahh... you're right :(

Btw, Michael could you implement into lavc/mpeg4 to change the dimensions
in context according to mpeg4 frameheader? (this way we doesn't need to
hardcode some values to qt demuxer - as this was mentioned on ffmpeg list
with h263)

-
alex



More information about the MPlayer-cvslog mailing list