From fefe7f5fc6ac6cb725229b57eb2bb2052942b6e7 Mon Sep 17 00:00:00 2001 From: louis Date: Sat, 24 Aug 2013 09:32:56 +0200 Subject: fixed a bug that poster or banner is not displayed in displayChannel if fade in time is set to zero --- HISTORY | 2 ++ displaychannel.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index c97d440..fc62a62 100644 --- a/HISTORY +++ b/HISTORY @@ -229,3 +229,5 @@ Version 0.1.4 - fixed an possible uninitialised variable in recordings menu - fixed a bug that epg info is not displayed in schedules menu if fade in is set to zero +- fixed a bug that poster or banner is not displayed in displayChannel + if fade in is set to zero 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)) { -- cgit v1.2.3