mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
only create animator if not existing
This commit is contained in:
parent
74f7250c74
commit
e75aaa6f33
@ -220,7 +220,10 @@ bool cView::Init(void) {
|
||||
int osdY = attribs->Y();
|
||||
int osdWidth = attribs->Width();
|
||||
int osdHeight = attribs->Height();
|
||||
if (!animator)
|
||||
animator = new cAnimator(&sdOsd);
|
||||
else
|
||||
esyslog("skindesigner: ERROR: animator already exists");
|
||||
return sdOsd.CreateOsd(osdX, osdY, osdWidth, osdHeight);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user