streamts: add fallback to FindChannel48()

Origin commit data
------------------
Branch: ni/coolstream
Commit: 4ebfb3d8ff
Author: TangoCash <eric@loxat.de>
Date: 2024-10-07 (Mon, 07 Oct 2024)

Origin message was:
------------------
- streamts: add fallback to FindChannel48()

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2024-10-07 20:24:49 +02:00
committed by vanhofen
parent 74f5c52759
commit 5761badebd

View File

@@ -474,6 +474,8 @@ bool CStreamManager::Parse(int fd, stream_pids_t &pids, t_channel_id &chid, CFro
{ {
tmpid = (((t_channel_id)i3) << 32) | (((t_channel_id)i4) << 16) | (t_channel_id)i2; tmpid = (((t_channel_id)i3) << 32) | (((t_channel_id)i4) << 16) | (t_channel_id)i2;
tmp_channel = CServiceManager::getInstance()->FindChannel48Pos(tmpid, satpos >> 16); tmp_channel = CServiceManager::getInstance()->FindChannel48Pos(tmpid, satpos >> 16);
if (tmp_channel == NULL)
tmp_channel = CServiceManager::getInstance()->FindChannel48(tmpid);
if (tmp_channel) if (tmp_channel)
{ {
printf("CStreamManager::Parse:E: channel_id %" PRIx64 " [%s] \n", tmp_channel->getChannelID(), tmp_channel->getName().c_str()); printf("CStreamManager::Parse:E: channel_id %" PRIx64 " [%s] \n", tmp_channel->getChannelID(), tmp_channel->getName().c_str());