changeset 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 e47c6eeb1fa2
children 3a27cdfc6d87
files libvo/vo_dxr3.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
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++;
 }