[Mplayer-cvslog] CVS: main/libmpcodecs vd_ffmpeg.c,1.52,1.53
Michael Niedermayer
michael at mplayerhq.hu
Fri Sep 27 01:54:04 CEST 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv29699
Modified Files:
vd_ffmpeg.c
Log Message:
pass fourcc to lavc
Index: vd_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- vd_ffmpeg.c 19 Sep 2002 09:47:37 -0000 1.52
+++ vd_ffmpeg.c 26 Sep 2002 23:53:50 -0000 1.53
@@ -160,6 +160,9 @@
#if LIBAVCODEC_BUILD >= 4614
if(lavc_param_gray) avctx->flags|= CODEC_FLAG_GRAY;
#endif
+#if LIBAVCODEC_BUILD >= 4628
+ avctx->fourcc= sh->format;
+#endif
mp_dbg(MSGT_DECVIDEO,MSGL_DBG2,"libavcodec.size: %d x %d\n",avctx->width,avctx->height);
if (sh->format == mmioFOURCC('R', 'V', '1', '3'))
More information about the MPlayer-cvslog
mailing list