[MPlayer-dev-eng] Re: [PATCH] vo_xvmc - bob deinterlacing
Carl Eugen Hoyos
cehoyos at ag.or.at
Mon Oct 16 11:09:46 CEST 2006
Rizwan Anwar <88mphster+mplayer <at> gmail.com> writes:
> I tried the latest code from trunk and bobinterlacing with xvmc doesn't work
> properly on my system (Core Duo 2 6600 + Nvidia 7600GT). I get a lot of
> "vo_xvmc: waiting retrace0" messages on screen and the video and audio become
> out of sync.
>
> I applied the original patch with the "usleep(500000 / vo_fps);" seems to fix
> the problem.
Could you try this patch instead? Do audio and video stay in sync after applying?
Carl Eugen
Index: libvo/vo_xvmc.c
===================================================================
--- libvo/vo_xvmc.c (Revision 20258)
+++ libvo/vo_xvmc.c (Arbeitskopie)
@@ -1321,7 +1321,7 @@
//all surfaces are busy, but there is one that will be free
//on next monitor retrace, we just have to wait
if(visible_rndr != NULL){
- printf("vo_xvmc: waiting retrace\n");
+ mp_msg(MSGT_VO,MSGL_V, "vo_xvmc: waiting retrace\n");
for(t=0;t<1000;t++){
usec_sleep(1000);//1ms
XvMCGetSurfaceStatus(mDisplay, visible_rndr->p_surface,&stat);
More information about the MPlayer-dev-eng
mailing list