1
0
mirror of https://github.com/jojo61/vdr-plugin-softhdcuvid.git synced 2023-10-10 13:37:41 +02:00

Set cache to zero for broken vaapi

This commit is contained in:
jojo61 2020-02-20 16:00:16 +01:00
parent 2485929c2b
commit a5b81f8de1

View File

@ -1483,6 +1483,10 @@ void cOglThread::DoCmd(cOglCmd* cmd) {
int cOglThread::StoreImage(const cImage &image) {
if (!maxCacheSize) {
return 0;
}
if (image.Width() > maxTextureSize || image.Height() > maxTextureSize) {
esyslog("[softhddev] cannot store image of %dpx x %dpx "
"(maximum size is %dpx x %dpx) - falling back to "