summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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());
}