diff libvo/vo_dxr3.c @ 5497:14323f846fc8

Make fame the default encoder until lavc's mpeg1 encoder is repaired. Disable spu writes until lockup bug has been found.
author mswitch
date Fri, 05 Apr 2002 18:05:57 +0000
parents 846285e8e0b4
children 58864ce0eef7
line wrap: on
line diff
--- a/libvo/vo_dxr3.c	Fri Apr 05 17:16:18 2002 +0000
+++ b/libvo/vo_dxr3.c	Fri Apr 05 18:05:57 2002 +0000
@@ -136,10 +136,10 @@
 	MPG_CODEC_FAME
 };
 
-#if defined(USE_LIBAVCODEC)
+#if defined(USE_LIBFAME)
+static int mpeg_codec = MPG_CODEC_FAME;
+#elif defined(USE_LIBAVCODEC)
 static int mpeg_codec = MPG_CODEC_AVCODEC;
-#elif defined(USE_LIBFAME)
-static int mpeg_codec = MPG_CODEC_FAME;
 #else
 static int mpeg_codec = MPG_CODEC_NONE;
 #endif
@@ -510,7 +510,7 @@
 		if (!noprebuf) {
 			ioctl(fd_spu, EM8300_IOCTL_SPU_SETPTS, &vo_pts);
 		}
-		write(fd_spu, spued->data, spued->count);
+		/*write(fd_spu, spued->data, spued->count);*/
 	}
 	disposd++;
 }