mirror of
https://github.com/mpv-player/mpv
synced 2024-12-18 12:55:16 +00:00
config() parameters change
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7273 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
50241a915f
commit
000e8626d1
@ -379,7 +379,7 @@ return DFENUM_OK;
|
||||
|
||||
static uint32_t config(uint32_t s_width, uint32_t s_height, uint32_t d_width,
|
||||
uint32_t d_height, uint32_t fullscreen, char *title,
|
||||
uint32_t format,const vo_tune_info_t *info)
|
||||
uint32_t format)
|
||||
{
|
||||
/*
|
||||
* (Locals)
|
||||
@ -539,11 +539,12 @@ static uint32_t config(uint32_t s_width, uint32_t s_height, uint32_t d_width,
|
||||
|
||||
// test surface for flipping
|
||||
DFBCHECK(primary->GetCapabilities(primary,&caps));
|
||||
|
||||
// primary->Clear(primary,0,0,0,0);
|
||||
flipping = 0;
|
||||
if (caps & DSCAPS_FLIPPING) {
|
||||
ret = primary->Flip(primary,NULL,0);
|
||||
if (ret==DFB_OK) {
|
||||
// primary->Clear(primary,0,0,0,0);
|
||||
flipping = 1;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user