[MPlayer-cvslog] CVS: main/libvo vo_directx.c,1.61,1.62

Reimar Döffinger CVS syncmail at mplayerhq.hu
Sun Feb 5 10:41:55 CET 2006


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv4899

Modified Files:
	vo_directx.c 
Log Message:
reinitialize adapter_count to 0, EnumCallbackEx will not work otherwise
(when playing more that one file). Fixes bug #429.
Based on patch by Miguel Scaramozzino - dyingshell at yahoo com


Index: vo_directx.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_directx.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- vo_directx.c	11 Nov 2005 13:26:24 -0000	1.61
+++ vo_directx.c	5 Feb 2006 09:41:53 -0000	1.62
@@ -416,6 +416,7 @@
 	LPDIRECTDRAWENUMERATEEX OurDirectDrawEnumerateEx;
 	HINSTANCE user32dll=LoadLibrary("user32.dll");
 	
+	adapter_count = 0;
 	if(user32dll){
 		myGetMonitorInfo=GetProcAddress(user32dll,"GetMonitorInfoA");
 		if(!myGetMonitorInfo && vo_adapter_num){




More information about the MPlayer-cvslog mailing list