# HG changeset patch # User mswitch # Date 1008786368 0 # Node ID 1b95a1467cc0d4bcc3e249779c525d9b127ea6aa # Parent 0da05bcc72ba807a417a5899348600cbee5f9b86 Inproved mpeg sync on fast computers diff -r 0da05bcc72ba -r 1b95a1467cc0 libvo/vo_dxr3.c --- a/libvo/vo_dxr3.c Wed Dec 19 17:30:08 2001 +0000 +++ b/libvo/vo_dxr3.c Wed Dec 19 18:26:08 2001 +0000 @@ -275,6 +275,8 @@ int data_left; vo_mpegpes_t *p=(vo_mpegpes_t *)src[0]; + if(ioctl(fd_video,EM8300_IOCTL_VIDEO_SETPTS,&p->timestamp) < 0) + printf( "VO: [dxr3] Unable to set pts\n" ); data_left = p->size; while( data_left ) data_left -= write( fd_video, &((unsigned char*)p->data)[p->size-data_left], data_left );