summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-09-12 18:16:59 +0200
committerlouis <louis.braun@gmx.de>2013-09-12 18:16:59 +0200
commitdcfc3b7083fed403555e0d33907f86699026cd45 (patch)
tree0606ac792b51f0b9dc27817942d03cffaf3476f0
parenta4ab679ff24e869bf0f50826b9a0514fac0cba8b (diff)
downloadskin-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--HISTORY2
-rw-r--r--displaychannel.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 86d7197..95e512a 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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());
}