diff options
author | mswitch <mswitch@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-19 18:26:08 +0000 |
---|---|---|
committer | mswitch <mswitch@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-19 18:26:08 +0000 |
commit | 0618d45a0306e73b7b9053d3d7e146b320137999 (patch) | |
tree | 6b81a45d5b312c0c9885b4a4c283608076164f23 | |
parent | ebd30bb0d6a516b46dd95a260da7541eb614eb80 (diff) |
Inproved mpeg sync on fast computers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3622 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libvo/vo_dxr3.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/vo_dxr3.c b/libvo/vo_dxr3.c index 434f62956b..0324675049 100644 --- a/libvo/vo_dxr3.c +++ b/libvo/vo_dxr3.c @@ -275,6 +275,8 @@ static uint32_t draw_frame(uint8_t * src[]) 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 ); |