1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 07:42:17 +00:00

Removed hardware syncing support. Actually movies seem to run much smoother without it.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3388 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
mswitch 2001-12-08 14:40:45 +00:00
parent 8fe59779d3
commit ba73fc159f
2 changed files with 0 additions and 7 deletions

View File

@ -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;

View File

@ -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 );