diff --git a/libao2/ao_dxr3.c b/libao2/ao_dxr3.c index b9d770216b..711f5367af 100644 --- a/libao2/ao_dxr3.c +++ b/libao2/ao_dxr3.c @@ -207,8 +207,6 @@ static int get_space() // 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; diff --git a/libvo/vo_dxr3.c b/libvo/vo_dxr3.c index e8c1814b61..25aef07d23 100644 --- a/libvo/vo_dxr3.c +++ b/libvo/vo_dxr3.c @@ -68,8 +68,6 @@ static vo_info_t vo_info = 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 @@ 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, &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 );