changeset 4607:da09673aea00

Removed some stuff from the em8300 driver, had to compensate
author mswitch
date Sat, 09 Feb 2002 14:27:24 +0000
parents e406d918e361
children b9c19fe73850
files libvo/vo_dxr3.c
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_dxr3.c	Sat Feb 09 13:58:37 2002 +0000
+++ b/libvo/vo_dxr3.c	Sat Feb 09 14:27:24 2002 +0000
@@ -164,17 +164,12 @@
 	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;