[Mplayer-cvslog] CVS: main/libvo vo_dxr3.c,1.50,1.51

David Holm mswitch at mplayer.dev.hu
Sat Feb 9 15:27:26 CET 2002


Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv4810/libvo

Modified Files:
	vo_dxr3.c 
Log Message:
Removed some stuff from the em8300 driver, had to compensate


Index: vo_dxr3.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dxr3.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- vo_dxr3.c	9 Feb 2002 11:35:24 -0000	1.50
+++ vo_dxr3.c	9 Feb 2002 14:27:24 -0000	1.51
@@ -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;




More information about the MPlayer-cvslog mailing list