mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9911782cb2
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-01-06 (Sat, 06 Jan 2024)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2483,6 +2483,13 @@ bool CZapit::StartPlayBack(CZapitChannel *thisChannel)
|
|||||||
pcrDemux->Start();
|
pcrDemux->Start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* select audio output and start audio */
|
||||||
|
if (audio_pid) {
|
||||||
|
SetAudioStreamType(thisChannel->getAudioChannel()->audioChannelType);
|
||||||
|
audioDemux->Start();
|
||||||
|
audioDecoder->Start();
|
||||||
|
}
|
||||||
|
|
||||||
/* start video */
|
/* start video */
|
||||||
if (video_pid) {
|
if (video_pid) {
|
||||||
#if HAVE_CST_HARDWARE
|
#if HAVE_CST_HARDWARE
|
||||||
@@ -2494,13 +2501,6 @@ bool CZapit::StartPlayBack(CZapitChannel *thisChannel)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* select audio output and start audio */
|
|
||||||
if (audio_pid) {
|
|
||||||
SetAudioStreamType(thisChannel->getAudioChannel()->audioChannelType);
|
|
||||||
audioDemux->Start();
|
|
||||||
audioDecoder->Start();
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef USE_VBI
|
#ifdef USE_VBI
|
||||||
if(teletext_pid)
|
if(teletext_pid)
|
||||||
videoDecoder->StartVBI(teletext_pid);
|
videoDecoder->StartVBI(teletext_pid);
|
||||||
@@ -2510,7 +2510,7 @@ bool CZapit::StartPlayBack(CZapitChannel *thisChannel)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CZapit::StopPlayBack(bool send_pmt, bool __attribute__ ((unused)) blank)
|
bool CZapit::StopPlayBack(bool send_pmt, bool blank)
|
||||||
{
|
{
|
||||||
INFO("standby %d playing %d forced %d send_pmt %d", standby, playing, playbackStopForced, send_pmt);
|
INFO("standby %d playing %d forced %d send_pmt %d", standby, playing, playbackStopForced, send_pmt);
|
||||||
if(send_pmt)
|
if(send_pmt)
|
||||||
@@ -2529,14 +2529,13 @@ bool CZapit::StopPlayBack(bool send_pmt, bool __attribute__ ((unused)) blank)
|
|||||||
if (playbackStopForced)
|
if (playbackStopForced)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
videoDecoder->Stop(false);
|
|
||||||
videoDemux->Stop();
|
videoDemux->Stop();
|
||||||
audioDemux->Stop();
|
audioDemux->Stop();
|
||||||
pcrDemux->Stop();
|
pcrDemux->Stop();
|
||||||
audioDecoder->Stop();
|
audioDecoder->Stop();
|
||||||
|
|
||||||
/* hack. if standby, dont blank video -> for paused timeshift */
|
/* hack. if standby, dont blank video -> for paused timeshift */
|
||||||
//videoDecoder->Stop(standby ? false : blank);
|
videoDecoder->Stop(standby ? false : blank);
|
||||||
|
|
||||||
#if ENABLE_AITSCAN
|
#if ENABLE_AITSCAN
|
||||||
ait->Stop();
|
ait->Stop();
|
||||||
|
Reference in New Issue
Block a user