[MPlayer-dev-eng] possible bug with ffmpeg and xv

Andreas Hess jaska at gmx.net
Fri Apr 5 13:40:28 CEST 2002


Hello,

some days ago Arpi changed the behaviour of the video output driver
init in vd_ffmpeg.c so that is initialized in decode() and not in
init(). At least for xv output this is not ok, because the xv port
has to be known before decoding the first frame.


Andreas
-------------- next part --------------
Index: libmpcodecs/vd_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v
retrieving revision 1.10
diff -u -r1.10 vd_ffmpeg.c
--- libmpcodecs/vd_ffmpeg.c     5 Apr 2002 04:48:15 -0000       1.10
+++ libmpcodecs/vd_ffmpeg.c     5 Apr 2002 12:01:12 -0000
@@ -89,7 +89,7 @@
     }
     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 mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,IMGFMT_YV12);
 }

 // uninit driver


More information about the MPlayer-dev-eng mailing list