diff options
author | mswitch <mswitch@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-09 14:27:24 +0000 |
---|---|---|
committer | mswitch <mswitch@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-09 14:27:24 +0000 |
commit | 1d2ffe2e85db6b9bd9f350f10305caedd928280c (patch) | |
tree | 222dd9482c0804b47a399a61894cf2c7920188b0 /libvo/vo_dxr3.c | |
parent | ed96bb7688306cb4f5ec984a21ab8504840f96ed (diff) | |
download | mpv-1d2ffe2e85db6b9bd9f350f10305caedd928280c.tar.bz2 mpv-1d2ffe2e85db6b9bd9f350f10305caedd928280c.tar.xz |
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
Diffstat (limited to 'libvo/vo_dxr3.c')
-rw-r--r-- | libvo/vo_dxr3.c | 7 |
1 files changed, 1 insertions, 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; |