-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "merge streamrelay related things with pli"
This reverts commit 72275c3. I can't tell why but timerecordings are crashing at isPlayable. PC: 000d1464 Fault Address: 00000000 Error Code:: 519 Backtrace: ./enigma2(_Z17handleFatalSignaliP9siginfo_tPv) [0xA77B0] /lib/libc.so.6(__default_rt_sa_restorer) [0xB5F08EC0] ./enigma2(_ZN11eDVBService10isPlayableERK17eServiceReferenceS2_b) [0xD1464] ./enigma2(n/a) [0x1C3154]
- Loading branch information
1 parent
65ee6fb
commit d07f7ed
Showing
5 changed files
with
27 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,6 @@ | |
#include <dvbsi++/satellite_delivery_system_descriptor.h> | ||
#include <dvbsi++/s2_satellite_delivery_system_descriptor.h> | ||
#include <dirent.h> | ||
#include <lib/nav/core.h> | ||
|
||
/* | ||
* Copyright (C) 2017 Marcus Metzler <[email protected]> | ||
|
@@ -222,35 +221,20 @@ bool eDVBService::isCrypted() | |
|
||
int eDVBService::isPlayable(const eServiceReference &ref, const eServiceReference &ignore, bool simulate) | ||
{ | ||
eServiceReferenceDVB sRelayOrigSref; | ||
ePtr<iPlayableService> refCur; | ||
eNavigation::getInstance()->getCurrentService(refCur); | ||
ePtr<iServiceInformation> tmp_info; | ||
refCur->info(tmp_info); | ||
std::string ref_s = tmp_info->getInfoString(iServiceInformation::sServiceref); | ||
eServiceReferenceDVB currentlyPlaying = eServiceReferenceDVB(ref_s); | ||
bool res = currentlyPlaying.getSROriginal(sRelayOrigSref); | ||
|
||
ePtr<eDVBResourceManager> res_mgr; | ||
bool remote_fallback_enabled = eConfigManager::getConfigBoolValue("config.usage.remote_fallback_enabled", false); | ||
|
||
if (eDVBResourceManager::getInstance(res_mgr)) | ||
eDebug("[eDVBService] isPlayble... no res manager!!"); | ||
else | ||
{ | ||
eDVBChannelID chid, chid_ignore, chid_ignore_sr; | ||
eDVBChannelID chid, chid_ignore; | ||
int system; | ||
|
||
((const eServiceReferenceDVB&)ref).getChannelID(chid); | ||
((const eServiceReferenceDVB&)ignore).getChannelID(chid_ignore); | ||
|
||
if (res) { | ||
sRelayOrigSref.getChannelID(chid_ignore_sr); | ||
} else { | ||
chid_ignore_sr = eDVBChannelID(); | ||
} | ||
|
||
if (res_mgr->canAllocateChannel(chid, chid_ignore, chid_ignore_sr, system, simulate)) | ||
if (res_mgr->canAllocateChannel(chid, chid_ignore, system, simulate)) | ||
{ | ||
bool use_ci_assignment = eConfigManager::getConfigBoolValue("config.misc.use_ci_assignment", false); | ||
if (use_ci_assignment) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters