mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
CFbAccelCSHD[1|2]::setMode(): Insert cVideo::updateOsdScreenInfo()
Origin commit data
------------------
Commit: 40a4ec4262
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-03-28 (Tue, 28 Mar 2017)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
@@ -289,6 +289,9 @@ max res 1920x1080
|
||||
stride 7680
|
||||
*/
|
||||
|
||||
if (videoDecoder != NULL)
|
||||
videoDecoder->updateOsdScreenInfo();
|
||||
|
||||
int needmem = stride * yRes * 2;
|
||||
if (available >= needmem)
|
||||
{
|
||||
|
@@ -36,4 +36,7 @@
|
||||
#include <system/debug.h>
|
||||
|
||||
#include <cs_api.h>
|
||||
#include <video_cs.h>
|
||||
#include <cnxtfb.h>
|
||||
|
||||
extern cVideo * videoDecoder;
|
||||
|
Reference in New Issue
Block a user