[MPlayer-cvslog] CVS: main/libvo vo_xvmc.c,1.24,1.25
Ivan Kalvachev CVS
syncmail at mplayerhq.hu
Tue Dec 20 20:04:20 CET 2005
CVS change done by Ivan Kalvachev CVS
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv16410
Modified Files:
vo_xvmc.c
Log Message:
Print some error message,
as this function seems to fail on AMD64 and current NVidia drivers (8174) for unknow reason
Index: vo_xvmc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xvmc.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- vo_xvmc.c 21 Aug 2005 01:20:31 -0000 1.24
+++ vo_xvmc.c 20 Dec 2005 19:04:17 -0000 1.25
@@ -450,7 +450,10 @@
}
rez = XvMCCreateContext(mDisplay, xv_port,mode_id,width,height,XVMC_DIRECT,&ctx);
- if( rez != Success ) return -1;
+ if( rez != Success ){
+ printf("vo_xvmc: XvMCCreateContext failed with error %d\n",rez);
+ return -1;
+ }
if( ctx.flags & XVMC_DIRECT ){
printf("vo_xvmc: Allocated Direct Context\n");
}else{
More information about the MPlayer-cvslog
mailing list