aboutsummaryrefslogtreecommitdiff
path: root/lib/nav
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-12-21 20:32:51 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-12-21 20:32:51 +0000
commit1a3bd31e5cfcba89f2db03a2b4fa550de1fa2823 (patch)
tree78ffeb782c3df9319437d064d88484b902f4648e /lib/nav
parent7b46919af63cfcb6adbe72d8d4183a203dfcfce7 (diff)
downloadenigma2-1a3bd31e5cfcba89f2db03a2b4fa550de1fa2823.tar.gz
enigma2-1a3bd31e5cfcba89f2db03a2b4fa550de1fa2823.zip
format, ac3 and crypted indicators now working
TODO: get format/aspect infos from the mpeg decoder ( EIT information is not working on every service )
Diffstat (limited to 'lib/nav')
-rw-r--r--lib/nav/core.cpp3
-rw-r--r--lib/nav/core.h3
-rw-r--r--lib/nav/pcore.cpp3
-rw-r--r--lib/nav/pcore.h3
4 files changed, 10 insertions, 2 deletions
diff --git a/lib/nav/core.cpp b/lib/nav/core.cpp
index 45771f15..deec3739 100644
--- a/lib/nav/core.cpp
+++ b/lib/nav/core.cpp
@@ -43,6 +43,9 @@ void eNavigation::serviceEvent(iPlayableService* service, int event)
case iPlayableService::evUpdatedEventInfo:
m_event(this, evUpdatedEventInfo);
break;
+ case iPlayableService::evUpdatedInfo:
+ m_event(this, evUpdatedInfo);
+ break;
default:
break;
}
diff --git a/lib/nav/core.h b/lib/nav/core.h
index 8b9502d3..b71a0fd1 100644
--- a/lib/nav/core.h
+++ b/lib/nav/core.h
@@ -25,7 +25,8 @@ public:
evNewService, /** a new "current" service was just started */
evPlayFailed, /** the next service (in playlist) or the one given in playService failed to play */
evPlaylistDone, /** the last service in the playlist was just played */
- evUpdatedEventInfo /** the "currently running" event info was updated */
+ evUpdatedEventInfo, /** the "currently running" event info was updated */
+ evUpdatedInfo /** the program info of this service was updated */
};
RESULT playService(const eServiceReference &service);
diff --git a/lib/nav/pcore.cpp b/lib/nav/pcore.cpp
index 3dbe7106..0ee94cc6 100644
--- a/lib/nav/pcore.cpp
+++ b/lib/nav/pcore.cpp
@@ -71,5 +71,8 @@ void pNavigation::navEvent(eNavigation *nav, int event)
case eNavigation::evUpdatedEventInfo:
m_event(evUpdatedEventInfo);
break;
+ case eNavigation::evUpdatedInfo:
+ m_event(evUpdatedInfo);
+ break;
}
}
diff --git a/lib/nav/pcore.h b/lib/nav/pcore.h
index 20d7f94b..9d4cd00e 100644
--- a/lib/nav/pcore.h
+++ b/lib/nav/pcore.h
@@ -18,7 +18,8 @@ public:
evNewService, /** a new "current" service was just started */
evPlayFailed, /** the next service (in playlist) or the one given in playService failed to play */
evPlaylistDone, /** the last service in the playlist was just played */
- evUpdatedEventInfo /** the "currently running" event info was updated */
+ evUpdatedEventInfo, /** the "currently running" event info was updated */
+ evUpdatedInfo, /** the program info of this service was updated */
};
pNavigation();