[MPlayer-cvslog] CVS: main/libmpdemux demux_ogg.c,1.66,1.67

Jindrich Makovicka CVS syncmail at mplayerhq.hu
Tue Feb 22 20:18:47 CET 2005


CVS change done by Jindrich Makovicka CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv10725/libmpdemux

Modified Files:
	demux_ogg.c 
Log Message:
Theora fixes:

- do not use negative stride (fixes -vf pp crash)
- pass true image dimensions to VO, not the aligned ones (fixes incorrect
aspect ratio bug & black bar under video)



Index: demux_ogg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_ogg.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- demux_ogg.c	6 Feb 2005 10:30:10 -0000	1.66
+++ demux_ogg.c	22 Feb 2005 19:18:45 -0000	1.67
@@ -847,8 +847,8 @@
 		(double)inf.fps_denominator;
 	    sh_v->frametime = ((double)inf.fps_denominator)/
 		(double)inf.fps_numerator;
-	    sh_v->disp_w = sh_v->bih->biWidth = inf.width;
-	    sh_v->disp_h = sh_v->bih->biHeight = inf.height;
+	    sh_v->disp_w = sh_v->bih->biWidth = inf.frame_width;
+	    sh_v->disp_h = sh_v->bih->biHeight = inf.frame_height;
 	    sh_v->bih->biBitCount = 24;
 	    sh_v->bih->biPlanes = 3;
 	    sh_v->bih->biSizeImage = ((sh_v->bih->biBitCount/8) * 




More information about the MPlayer-cvslog mailing list