summaryrefslogtreecommitdiff
path: root/displaychannel.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-08-24 09:32:56 +0200
committerlouis <louis.braun@gmx.de>2013-08-24 09:32:56 +0200
commitfefe7f5fc6ac6cb725229b57eb2bb2052942b6e7 (patch)
tree8a899f4e2be43dd5d80388e6c42d31137fae0d3d /displaychannel.c
parentf5c2c9931818df5e20655e9e50cac4274185e85c (diff)
downloadskin-nopacity-fefe7f5fc6ac6cb725229b57eb2bb2052942b6e7.tar.gz
skin-nopacity-fefe7f5fc6ac6cb725229b57eb2bb2052942b6e7.tar.bz2
fixed a bug that poster or banner is not displayed in displayChannel if fade in time is set to zero
Diffstat (limited to 'displaychannel.c')
-rw-r--r--displaychannel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/displaychannel.c b/displaychannel.c
index ce04d3f..96b9b11 100644
--- a/displaychannel.c
+++ b/displaychannel.c
@@ -708,7 +708,7 @@ void cNopacityDisplayChannel::DrawPoster(const cEvent *event) {
config.channelBorderBottom,
mediaWidth + 2*config.channelBorderVertical,
mediaHeight + 2*config.channelBorderBottom));
- if (initial)
+ if (initial && config.channelFadeTime)
pixmapPoster->SetAlpha(0);
cImageLoader imgLoader;
if (imgLoader.LoadPoster(call.media.path.c_str(), mediaWidth, mediaHeight)) {