Index: libmpcodecs/vd_ffmpeg.c =================================================================== --- libmpcodecs/vd_ffmpeg.c (Revision 22255) +++ libmpcodecs/vd_ffmpeg.c (Arbeitskopie) @@ -498,7 +498,7 @@ // it is possible another vo buffers to be used after vo config() // lavc reset its buffers on width/heigh change but not on aspect change!!! - if (// aspect != ctx->last_aspect || + if ( rint(10*aspect) != rint(10*ctx->last_aspect) || width != sh->disp_w || height != sh->disp_h || pix_fmt != ctx->pix_fmt || @@ -507,7 +507,7 @@ mp_msg(MSGT_DECVIDEO, MSGL_V, "[ffmpeg] aspect_ratio: %f\n", aspect); ctx->last_aspect = aspect; // if(ctx->last_aspect>=0.01 && ctx->last_aspect<100) - if(sh->aspect==0.0) +// if(sh->aspect==0.0) sh->aspect = ctx->last_aspect; sh->disp_w = width; sh->disp_h = height;