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
@ -1482,6 +1482,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 "
|
||||
|
Loading…
Reference in New Issue
Block a user