From 1d2ffe2e85db6b9bd9f350f10305caedd928280c Mon Sep 17 00:00:00 2001 From: mswitch Date: Sat, 9 Feb 2002 14:27:24 +0000 Subject: [PATCH] Removed some stuff from the em8300 driver, had to compensate git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4608 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_dxr3.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/libvo/vo_dxr3.c b/libvo/vo_dxr3.c index 94f3de2056..9f64e24868 100644 --- a/libvo/vo_dxr3.c +++ b/libvo/vo_dxr3.c @@ -164,17 +164,12 @@ static uint32_t config(uint32_t scr_width, uint32_t scr_height, uint32_t width, reg.val = MVCOMMAND_SYNC; ioctl(fd_control, EM8300_IOCTL_WRITEREG, ®); - /* Flush the buffer and make sure it is clean by syncing it */ - ioval = EM8300_SUBDEVICE_VIDEO; - ioctl(fd_control, EM8300_IOCTL_FLUSH, &ioval); + /* Clean buffer by syncing it */ fsync(fd_video); ioval = 0x900; ioctl(fd_control, EM8300_IOCTL_SCR_SETSPEED, &ioval); ioval = 0; ioctl(fd_control, EM8300_IOCTL_SCR_SET, &ioval); - /* We'll be nice and flush the audio buffer as well */ - ioval = EM8300_SUBDEVICE_AUDIO; - ioctl(fd_control, EM8300_IOCTL_FLUSH, &ioval); /* Store some variables statically that we need later in another scope */ img_format = format;