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
This commit is contained in:
mswitch 2002-02-09 14:27:24 +00:00
parent ed96bb7688
commit 1d2ffe2e85
1 changed files with 1 additions and 6 deletions

View File

@ -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, &reg);
/* 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;