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:
parent
2485929c2b
commit
a5b81f8de1
@ -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 "
|
||||
|
Loading…
Reference in New Issue
Block a user