diff options
author | louis <louis.braun@gmx.de> | 2013-09-12 18:16:59 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-09-12 18:16:59 +0200 |
commit | dcfc3b7083fed403555e0d33907f86699026cd45 (patch) | |
tree | 0606ac792b51f0b9dc27817942d03cffaf3476f0 | |
parent | a4ab679ff24e869bf0f50826b9a0514fac0cba8b (diff) | |
download | skin-nopacity-dcfc3b7083fed403555e0d33907f86699026cd45.tar.gz skin-nopacity-dcfc3b7083fed403555e0d33907f86699026cd45.tar.bz2 |
Display stereo symbol in displayChannel if at least one mpeg track is available (and not two, closes Feature 1404)
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | displaychannel.c | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -247,3 +247,5 @@ Version 0.1.4 - Improved display of channel separators (closes tickets 1477 and 1482) - Added REC Icon in displayChannel for current and next event (closes Feature 1403) +- Display stereo symbol in displayChannel if at least one mpeg track + is available (and not two, closes Feature 1404) diff --git a/displaychannel.c b/displaychannel.c index 5a54395..082b43c 100644 --- a/displaychannel.c +++ b/displaychannel.c @@ -280,7 +280,7 @@ void cNopacityDisplayChannel::DrawIcons(const cChannel *Channel) { backX += iconSize; tColor colStereo = Theme.Color(clrChannelSymbolOff); - if (Channel->Apid(1)) { + if (Channel->Apid(0)) { colStereo = Theme.Color(clrChannelSymbolOn); } pixmapStreamInfoBack->DrawRectangle(cRect(backX, backY, iconSize-10, iconSize-10), colStereo); @@ -325,7 +325,7 @@ void cNopacityDisplayChannel::DrawIconsSingle(const cChannel *Channel) { iconX += iconSize; - if (Channel->Apid(1)) { + if (Channel->Apid(0)) { if (imgLoader.LoadIcon("skinIcons/stereoon", iconSize)) { pixmapStreamInfo->DrawImage(cPoint(iconX, 0), imgLoader.GetImage()); } |