From 5761badebd04bd567f05280bcf14bf19371d9bcc Mon Sep 17 00:00:00 2001 From: TangoCash Date: Mon, 7 Oct 2024 20:24:49 +0200 Subject: [PATCH] streamts: add fallback to FindChannel48() Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/4ebfb3d8ff94e680c43a7c85e0abf85c20880218 Author: TangoCash 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 --- src/driver/streamts.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/driver/streamts.cpp b/src/driver/streamts.cpp index d35a9a2b8..6baa0be70 100644 --- a/src/driver/streamts.cpp +++ b/src/driver/streamts.cpp @@ -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; tmp_channel = CServiceManager::getInstance()->FindChannel48Pos(tmpid, satpos >> 16); + if (tmp_channel == NULL) + tmp_channel = CServiceManager::getInstance()->FindChannel48(tmpid); if (tmp_channel) { printf("CStreamManager::Parse:E: channel_id %" PRIx64 " [%s] \n", tmp_channel->getChannelID(), tmp_channel->getName().c_str());