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

Improve skindesigner handling

This commit is contained in:
jojo61 2019-10-11 13:35:52 +02:00
parent 06918ebbd2
commit cd4611d5cd

View File

@ -2077,7 +2077,8 @@ cOglOsd::cOglOsd(int Left, int Top, uint Level, std::shared_ptr<cOglThread> oglT
isSubtitleOsd = false; isSubtitleOsd = false;
int osdWidth = 0; int osdWidth = 0;
int osdHeight = 0; int osdHeight = 0;
pthread_mutex_lock(&OSDMutex);
VideoGetOsdSize(&osdWidth, &osdHeight); VideoGetOsdSize(&osdWidth, &osdHeight);
// osdWidth = 1920; // osdWidth = 1920;
// osdHeight = 1080; // osdHeight = 1080;
@ -2100,6 +2101,7 @@ cOglOsd::cOglOsd(int Left, int Top, uint Level, std::shared_ptr<cOglThread> oglT
#ifdef VAAPI #ifdef VAAPI
OSD_release_context(); OSD_release_context();
#endif #endif
pthread_mutex_unlock(&OSDMutex);
} }
cOglOsd::~cOglOsd() { cOglOsd::~cOglOsd() {