[Mplayer-cvslog] CVS: main dec_video.c,1.106,1.107
Arpi of Ize
arpi at mplayer.dev.hu
Sun Feb 17 21:51:52 CET 2002
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv1230
Modified Files:
dec_video.c
Log Message:
ffmjpeg yv12 422 fixed
Index: dec_video.c
===================================================================
RCS file: /cvsroot/mplayer/main/dec_video.c,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -r1.106 -r1.107
--- dec_video.c 17 Feb 2002 15:54:58 -0000 1.106
+++ dec_video.c 17 Feb 2002 20:51:50 -0000 1.107
@@ -1024,6 +1024,10 @@
mpi->stride[0]=lavc_picture.linesize[0];
mpi->stride[1]=lavc_picture.linesize[1];
mpi->stride[2]=lavc_picture.linesize[2];
+ if(lavc_context.pix_fmt==PIX_FMT_YUV422P){
+ mpi->stride[1]*=2;
+ mpi->stride[2]*=2;
+ }
//stride[1]=stride[2]=0;
//stride[0]/=2;
More information about the MPlayer-cvslog
mailing list