mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 00:02:13 +00:00
working with 0.9.6 too (0.9.6 is coming with debian woody)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3652 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b14af38421
commit
13347b5376
@ -264,8 +264,13 @@ static uint32_t preinit()
|
|||||||
directfb_micro_version);
|
directfb_micro_version);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!fb_dev_name && !(fb_dev_name = getenv("FRAMEBUFFER"))) fb_dev_name = "/dev/fb0";
|
if ((directfb_major_version >= 0) &&
|
||||||
DFBCHECK (DirectFBSetOption ("fbdev",fb_dev_name));
|
(directfb_minor_version >= 9) &&
|
||||||
|
(directfb_micro_version >= 7))
|
||||||
|
{
|
||||||
|
if (!fb_dev_name && !(fb_dev_name = getenv("FRAMEBUFFER"))) fb_dev_name = "/dev/fb0";
|
||||||
|
DFBCHECK (DirectFBSetOption ("fbdev",fb_dev_name));
|
||||||
|
}
|
||||||
|
|
||||||
// uncomment this if you do not wish to create a new vt for DirectFB
|
// uncomment this if you do not wish to create a new vt for DirectFB
|
||||||
// DFBCHECK (DirectFBSetOption ("no-vt-switch",fb_dev_name));
|
// DFBCHECK (DirectFBSetOption ("no-vt-switch",fb_dev_name));
|
||||||
|
Loading…
Reference in New Issue
Block a user