zapit: align to ddt

Origin commit data
------------------
Branch: ni/coolstream
Commit: 409b7b9df5
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-01-02 (Tue, 02 Jan 2024)

Origin message was:
------------------
- zapit: align to ddt

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2024-01-02 00:43:08 +01:00
parent 03019a8a8a
commit 6c2e38e8a2

View File

@@ -2473,6 +2473,17 @@ bool CZapit::StartPlayBack(CZapitChannel *thisChannel)
pcrDemux->Start();
}
/* start video */
if (video_pid) {
#if HAVE_CST_HARDWARE
videoDecoder->Start(0, pcr_pid, video_pid);
videoDemux->Start();
#else
videoDemux->Start();
videoDecoder->Start(0, pcr_pid, video_pid);
#endif
}
/* select audio output and start audio */
if (audio_pid) {
SetAudioStreamType(thisChannel->getAudioChannel()->audioChannelType);
@@ -2480,17 +2491,6 @@ bool CZapit::StartPlayBack(CZapitChannel *thisChannel)
audioDecoder->Start();
}
/* start video */
if (video_pid) {
#if HAVE_CST_HARDWARE
videoDecoder->Start(0, pcr_pid, video_pid);
videoDemux->Start();
#else
videoDemux->Start();
videoDecoder->Start(0, pcr_pid, video_pid);
#endif
}
#ifdef USE_VBI
if(teletext_pid)
videoDecoder->StartVBI(teletext_pid);