No longer force the device into not using fame

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5098 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
mswitch 2002-03-15 17:24:27 +00:00
parent 6cc953518a
commit d0c4c00cae
1 changed files with 5 additions and 2 deletions

View File

@ -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");