Index: libmpcodecs/vd_ffmpeg.c =================================================================== RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v retrieving revision 1.159 diff -u -r1.159 vd_ffmpeg.c --- libmpcodecs/vd_ffmpeg.c 8 Feb 2006 23:22:29 -0000 1.159 +++ libmpcodecs/vd_ffmpeg.c 23 Mar 2006 09:41:43 -0000 @@ -58,6 +58,7 @@ typedef struct { AVCodecContext *avctx; AVFrame *pic; + enum PixelFormat pix_fmt; float last_aspect; int do_slices; int do_dr1; @@ -533,6 +519,7 @@ if (// aspect != ctx->last_aspect || width != sh->disp_w || height != sh->disp_h || + pix_fmt != ctx->pix_fmt || !ctx->vo_inited) { mp_msg(MSGT_DECVIDEO, MSGL_V, "[ffmpeg] aspect_ratio: %f\n", aspect);