[MPlayer-users] another bug? libavcodec + xv

pl p_l at gmx.fr
Fri Apr 5 13:59:02 CEST 2002


On Fri, Apr 05, 2002 at 03:42:42PM +0700, Alexey Morozov wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Just in case: did you try other video codecs w/ -vo xv? Try to download
> DivX4/5 and/or Windows Codecs and check if the error still exists. Maybe
> -vo xv is broken somehow (either on your local configuration or in
> latest CVS snaps). The pair ffmpeg/xv does work (ffmpeg w/o
> postprocessing though) works for me up to 20020331 snaps (i.e. 5 days
> old).

Should be fixed in CVS soon.

Temp workaround:

Index: vd_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v
retrieving revision 1.10
diff -u -r1.10 vd_ffmpeg.c
--- vd_ffmpeg.c 5 Apr 2002 04:48:15 -0000       1.10
+++ vd_ffmpeg.c 5 Apr 2002 11:56:01 -0000
@@ -89,7 +89,8 @@
     }
     mp_msg(MSGT_DECVIDEO,MSGL_V,"INFO: libavcodec init OK!\n");
     ctx->last_aspect=-3;
-    return 1;
//mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,IMGFMT_YV12);
+//    return 1;
//mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,IMGFMT_YV12);
+    return mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,IMGFMT_YV12);
 }
 
 // uninit driver

-- 
Best regards,
  pl




More information about the MPlayer-users mailing list