mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
fix multistream, fix record streams
Origin commit data
------------------
Branch: ni/coolstream
Commit: 05a0e4d04a
Author: TangoCash <eric@loxat.de>
Date: 2022-09-12 (Mon, 12 Sep 2022)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -4330,16 +4330,16 @@ int CNeutrinoApp::handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data)
|
||||
return messages_return::handled;
|
||||
}
|
||||
else if (msg == NeutrinoMessages::EVT_STREAM_START) {
|
||||
int fd = (int) data;
|
||||
printf("NeutrinoMessages::EVT_STREAM_START: fd %d\n", fd);
|
||||
printf("NeutrinoMessages::EVT_STREAM_START\n");
|
||||
wakeupFromStandby();
|
||||
if (g_Radiotext)
|
||||
g_Radiotext->setPid(0);
|
||||
|
||||
if (!CStreamManager::getInstance()->AddClient(fd)) {
|
||||
close(fd);
|
||||
g_RCInput->postMsg(NeutrinoMessages::EVT_STREAM_STOP, 0);
|
||||
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
|
||||
if (!CRecordManager::getInstance()->GetRecordCount()) {
|
||||
CVFD::getInstance()->ShowIcon(FP_ICON_CAM1, false);
|
||||
}
|
||||
#endif
|
||||
return messages_return::handled;
|
||||
}
|
||||
else if (msg == NeutrinoMessages::EVT_STREAM_STOP) {
|
||||
|
Reference in New Issue
Block a user