From: Andreas Monzner Date: Sun, 7 Jan 2007 00:36:28 +0000 (+0000) Subject: small fix X-Git-Tag: 2.6.0~2509 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/04e1a55f8d2552c1db0865ef86c40b3f523a6b48 small fix --- diff --git a/lib/nav/core.cpp b/lib/nav/core.cpp index 0b690b81..062a7d00 100644 --- a/lib/nav/core.cpp +++ b/lib/nav/core.cpp @@ -4,9 +4,9 @@ void eNavigation::serviceEvent(iPlayableService* service, int event) { - if (service != m_runningService) + if (m_runningService && service != m_runningService) { - eDebug("nav: event for other service"); + eDebug("nav: event %d for other service", event); return; } m_event(event); @@ -96,8 +96,11 @@ RESULT eNavigation::stopRecordService(ePtr &service) if (it != m_recordings.end()) { m_recordings.erase(it); + /* send stop event */ + m_record_event(service, iRecordableService::evEnd); return 0; } + eDebug("try to stop non running recording!!"); // this should not happen return -1; }