comparison libvo/vo_dxr3.c @ 5097:3456dd4a53f1

No longer force the device into not using fame
author mswitch
date Fri, 15 Mar 2002 17:24:27 +0000
parents 0d0694219daf
children cfccb5dbe992
comparison
equal deleted inserted replaced
5096:71517cc53155 5097:3456dd4a53f1
68 #include "video_out_internal.h" 68 #include "video_out_internal.h"
69 #include "aspect.h" 69 #include "aspect.h"
70 #include "../postproc/rgb2rgb.h" 70 #include "../postproc/rgb2rgb.h"
71 #include "../postproc/swscale.h" 71 #include "../postproc/swscale.h"
72 72
73 #undef USE_LIBFAME
74 #ifdef USE_LIBFAME 73 #ifdef USE_LIBFAME
75 #include "../libfame/fame.h" 74 #include "../libfame/fame.h"
76 static unsigned char *outbuf = NULL; 75 static unsigned char *outbuf = NULL;
77 static fame_parameters_t fame_params; 76 static fame_parameters_t fame_params;
78 static fame_yuv_t fame_yuv; 77 static fame_yuv_t fame_yuv;
469 468
470 static uint32_t preinit(const char *arg) 469 static uint32_t preinit(const char *arg)
471 { 470 {
472 char devname[80]; 471 char devname[80];
473 int fdflags = O_WRONLY; 472 int fdflags = O_WRONLY;
474 473
474 /* With fame we loose sync and seeking =( */
475 #ifdef USE_LIBFAME
476 noprebuf = 1;
477 #endif
475 /* Open the control interface */ 478 /* Open the control interface */
476 if (arg && !strcmp("noprebuf", arg)) { 479 if (arg && !strcmp("noprebuf", arg)) {
477 printf("VO: [dxr3] Disabling prebuffering.\n"); 480 printf("VO: [dxr3] Disabling prebuffering.\n");
478 noprebuf = 1; 481 noprebuf = 1;
479 fdflags |= O_NONBLOCK; 482 fdflags |= O_NONBLOCK;