mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
neutrino.cpp: stop stream before pip start
Origin commit data
------------------
Branch: ni/coolstream
Commit: 305455e004
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-03-25 (Mon, 25 Mar 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -3878,8 +3878,11 @@ bool CNeutrinoApp::StartPip(const t_channel_id channel_id)
|
|||||||
if (!channel)
|
if (!channel)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
if (channel->getRecordDemux() == channel->getPipDemux())
|
||||||
|
CStreamManager::getInstance()->StopStream(channel_id);
|
||||||
|
|
||||||
int recmode = CRecordManager::getInstance()->GetRecordMode(channel_id);
|
int recmode = CRecordManager::getInstance()->GetRecordMode(channel_id);
|
||||||
if ((channel->getRecordDemux() != channel->getPipDemux()) || (recmode == CRecordManager::RECMODE_OFF)) {
|
if ((recmode == CRecordManager::RECMODE_OFF) || (channel->getRecordDemux() != channel->getPipDemux())) {
|
||||||
if (!g_Zapit->zapTo_pip(channel_id))
|
if (!g_Zapit->zapTo_pip(channel_id))
|
||||||
DisplayErrorMessage(g_Locale->getText(LOCALE_VIDEOMENU_PIP_ERROR));
|
DisplayErrorMessage(g_Locale->getText(LOCALE_VIDEOMENU_PIP_ERROR));
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user