CFbAccelCSHD[1|2]::setMode(): Insert cVideo::updateOsdScreenInfo()

This commit is contained in:
M. Liebmann
2017-03-28 23:55:03 +02:00
parent 5e00bc5b4c
commit 40a4ec4262
3 changed files with 10 additions and 0 deletions

View File

@@ -370,6 +370,10 @@ int CFbAccelCSHD1::setMode(unsigned int, unsigned int, unsigned int)
yRes = screeninfo.yres;
bpp = screeninfo.bits_per_pixel;
printf(LOGTAG "%dx%dx%d line length %d. using %s graphics accelerator.\n", xRes, yRes, bpp, stride, _fix.id);
if (videoDecoder != NULL)
videoDecoder->updateOsdScreenInfo();
int needmem = stride * yRes * 2;
if (available >= needmem)
{