Mercurial > mplayer.hg
changeset 3621:1b95a1467cc0
Inproved mpeg sync on fast computers
author | mswitch |
---|---|
date | Wed, 19 Dec 2001 18:26:08 +0000 |
parents | 0da05bcc72ba |
children | 2e6e613d9f35 |
files | libvo/vo_dxr3.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 );