[Mplayer-cvslog] CVS: main/libvo vo_xv.c,1.146,1.147
Attila Kinali CVS
attila at mplayerhq.hu
Sun Sep 7 16:45:32 CEST 2003
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv16847
Modified Files:
vo_xv.c
Log Message:
adaptors are not ports
Index: vo_xv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xv.c,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -r1.146 -r1.147
--- vo_xv.c 6 Sep 2003 22:42:02 -0000 1.146
+++ vo_xv.c 7 Sep 2003 14:45:10 -0000 1.147
@@ -623,7 +623,7 @@
}
/* check adaptors */
- if(xv_port >= adaptors || xv_port < 0)
+ if(xv_port >= ai[0].num_ports || xv_port < 0) // FIXME: ai[0] should not be hardcoded
{
mp_msg(MSGT_VO, MSGL_WARN,"Xv: Invalid port parameter, overriding with port 0\n");
xv_port = 0;
More information about the MPlayer-cvslog
mailing list