[Mplayer-cvslog] CVS: main/libmpcodecs vd_libmpeg2.c,1.27,1.28

Ivan Kalvachev CVS syncmail at mplayerhq.hu
Sat Jun 12 18:35:55 CEST 2004


CVS change done by Ivan Kalvachev CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv13998

Modified Files:
	vd_libmpeg2.c 
Log Message:
display height may be a lot smaller or larger than picture height, sample provided by winnicki

Index: vd_libmpeg2.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_libmpeg2.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- vd_libmpeg2.c	11 Oct 2003 11:21:54 -0000	1.27
+++ vd_libmpeg2.c	12 Jun 2004 16:35:52 -0000	1.28
@@ -84,9 +84,9 @@
     stride[1]=stride[2]=mpeg2dec->decoder.uv_stride;
 
     mpcodecs_draw_slice(sh, (uint8_t **)src,
-		stride, info->sequence->display_width,
-		(y+16<=info->sequence->display_height) ? 16 :
-		    info->sequence->display_height-y,
+		stride, info->sequence->picture_width,
+		(y+16<=info->sequence->picture_height) ? 16 :
+		    info->sequence->picture_height-y,
 		0, y);
 }
 




More information about the MPlayer-cvslog mailing list