Mercurial > mplayer.hg
changeset 3387:f8bfaa1c9487
Removed hardware syncing support. Actually movies seem to run much smoother without it.
author | mswitch |
---|---|
date | Sat, 08 Dec 2001 14:40:45 +0000 |
parents | 245d32959ebe |
children | 595c4561b1a8 |
files | libao2/ao_dxr3.c libvo/vo_dxr3.c |
diffstat | 2 files changed, 0 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/libao2/ao_dxr3.c Sat Dec 08 13:30:35 2001 +0000 +++ b/libao2/ao_dxr3.c Sat Dec 08 14:40:45 2001 +0000 @@ -207,8 +207,6 @@ // return: number of bytes played static int play(void* data,int len,int flags) { - if( ioctl( fd_audio, EM8300_IOCTL_AUDIO_SETPTS, &ao_data.pts ) < 0 ) - printf( "AO: [dxr3] Unable to set PTS\n" ); if( ao_data.samplerate < 44100 ) { int i,j,ratio,len2;
--- a/libvo/vo_dxr3.c Sat Dec 08 13:30:35 2001 +0000 +++ b/libvo/vo_dxr3.c Sat Dec 08 14:40:45 2001 +0000 @@ -68,8 +68,6 @@ void write_dxr3( rte_context* context, void* data, size_t size, void* user_data ) { - if( ioctl( fd_video, EM8300_IOCTL_VIDEO_SETPTS, &vo_pts ) < 0 ) - printf( "VO: [dxr3] Unable to set video PTS\n" ); write( fd_video, data, size ); } @@ -268,9 +266,6 @@ int data_left; vo_mpegpes_t *p=(vo_mpegpes_t *)src[0]; - if( ioctl( fd_video, EM8300_IOCTL_VIDEO_SETPTS, &vo_pts ) < 0 ) - printf( "VO: [dxr3] Unable to set video PTS\n" ); - data_left = p->size; while( data_left ) data_left -= write( fd_video, &((unsigned char*)p->data)[p->size-data_left], data_left );