diff options
author | louis <louis.braun@gmx.de> | 2014-02-01 13:16:20 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2014-02-01 13:16:20 +0100 |
commit | 5ab9ad2ed362150cd7c06b4782d444495495f2db (patch) | |
tree | 0c12ad94720e55999395f2d7bd670788f4bd8eda /displaychannelview.c | |
parent | af70b4e06b5229343a3a68935d84200d637d417b (diff) | |
download | skin-nopacity-5ab9ad2ed362150cd7c06b4782d444495495f2db.tar.gz skin-nopacity-5ab9ad2ed362150cd7c06b4782d444495495f2db.tar.bz2 |
Fixed a bug with xine as output plugin that VDR crashes if xine plugin gets closed
Diffstat (limited to 'displaychannelview.c')
-rw-r--r-- | displaychannelview.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/displaychannelview.c b/displaychannelview.c index d4c219f..0b8a5ed 100644 --- a/displaychannelview.c +++ b/displaychannelview.c @@ -52,11 +52,14 @@ cNopacityDisplayChannelView::~cNopacityDisplayChannelView() { delete osd; } -void cNopacityDisplayChannelView::createOsd(void) { +bool cNopacityDisplayChannelView::createOsd(void) { osd = CreateOsd(geoManager->osdLeft, geoManager->osdTop, geoManager->osdWidth, geoManager->osdHeight); + if (!osd) + return false; + return true; } void cNopacityDisplayChannelView::CreatePixmaps(void) { |