From d0c4c00cae082cacf9cd06ac1460f9823eef2010 Mon Sep 17 00:00:00 2001 From: mswitch Date: Fri, 15 Mar 2002 17:24:27 +0000 Subject: [PATCH] No longer force the device into not using fame git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5098 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_dxr3.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libvo/vo_dxr3.c b/libvo/vo_dxr3.c index 8787c4356d..de12708e29 100644 --- a/libvo/vo_dxr3.c +++ b/libvo/vo_dxr3.c @@ -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 @@ static uint32_t preinit(const char *arg) { 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");