mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-16 01:43:35 +02:00
[PATCH] sectionsd: make commandPauseScanning really stop demuxers
From: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: Sun, 19 Feb 2012 18:49:56 +0100
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2128 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: c3305aeaee
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2012-02-27 (Mon, 27 Feb 2012)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2318,10 +2318,14 @@ static void commandPauseScanning(int connfd, char *data, const unsigned dataLeng
|
||||
|
||||
if (scanning && pause)
|
||||
{
|
||||
scanning = 0;
|
||||
dmxCN.request_pause();
|
||||
pthread_cond_broadcast(&dmxCN.change_cond);
|
||||
dmxEIT.request_pause();
|
||||
pthread_cond_broadcast(&dmxEIT.change_cond);
|
||||
#ifdef ENABLE_FREESATEPG
|
||||
dmxFSEIT.request_pause();
|
||||
pthread_cond_broadcast(&dmxFSEIT.change_cond);
|
||||
#endif
|
||||
#ifdef UPDATE_NETWORKS
|
||||
dmxNIT.request_pause();
|
||||
@@ -2330,7 +2334,6 @@ static void commandPauseScanning(int connfd, char *data, const unsigned dataLeng
|
||||
#ifdef ENABLE_PPT
|
||||
dmxPPT.request_pause();
|
||||
#endif
|
||||
scanning = 0;
|
||||
}
|
||||
else if (!pause && !scanning)
|
||||
{
|
||||
|
Reference in New Issue
Block a user