mirror of https://github.com/mpv-player/mpv
Removed fb_dev_name handling.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13061 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
cf5c653d9d
commit
43a23a54d3
|
@ -118,13 +118,6 @@ static int is_g200 = 0;
|
|||
#define DSPF_ARGB1555 DSPF_RGB15
|
||||
#endif
|
||||
|
||||
/* command line/config file options */
|
||||
#ifdef HAVE_FBDEV
|
||||
extern char *fb_dev_name;
|
||||
#else
|
||||
char *fb_dev_name;
|
||||
#endif
|
||||
|
||||
static uint32_t in_width;
|
||||
static uint32_t in_height;
|
||||
static uint32_t screen_width;
|
||||
|
@ -384,12 +377,6 @@ preinit( const char *arg )
|
|||
return -1;
|
||||
}
|
||||
|
||||
if (!fb_dev_name && !(fb_dev_name = getenv( "FRAMEBUFFER" )))
|
||||
fb_dev_name = "/dev/fb0";
|
||||
DirectFBSetOption( "fbdev", fb_dev_name );
|
||||
DirectFBSetOption( "no-cursor", "" );
|
||||
DirectFBSetOption( "bg-color", "00000000" );
|
||||
|
||||
switch (tvnorm) {
|
||||
case 0:
|
||||
DirectFBSetOption( "matrox-tv-standard", "pal" );
|
||||
|
|
Loading…
Reference in New Issue