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

Michael Niedermayer michaelni at gmx.at
Wed Mar 20 16:18:20 CET 2002


Hi

On Wednesday 20 March 2002 14:48, Alex Beregszaszi wrote:
> > > +    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)
that should work allready (untested though) ... but it seems the header isnt 
passed yet ... its the thing witch contains 00 00 01 20 

[...]

Michael



More information about the MPlayer-cvslog mailing list