changeset 5097:3456dd4a53f1

No longer force the device into not using fame
author mswitch
date Fri, 15 Mar 2002 17:24:27 +0000
parents 71517cc53155
children b884521bf7f9
files libvo/vo_dxr3.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_dxr3.c	Fri Mar 15 16:49:42 2002 +0000
+++ b/libvo/vo_dxr3.c	Fri Mar 15 17:24:27 2002 +0000
@@ -70,7 +70,6 @@
 #include "../postproc/rgb2rgb.h"
 #include "../postproc/swscale.h"
 
-#undef USE_LIBFAME
 #ifdef USE_LIBFAME
 #include "../libfame/fame.h"
 static unsigned char *outbuf = NULL;
@@ -471,7 +470,11 @@
 {
 	char devname[80];
 	int fdflags = O_WRONLY;
-	
+
+/* With fame we loose sync and seeking =( */
+#ifdef USE_LIBFAME
+	noprebuf = 1;
+#endif
 	/* Open the control interface */
 	if (arg && !strcmp("noprebuf", arg)) {
 		printf("VO: [dxr3] Disabling prebuffering.\n");