fix blank screen on start (after merge)

This commit is contained in:
Jacek Jendrzej
2017-11-03 12:14:26 +01:00
parent 39440333e8
commit 0e2efeb9a8

View File

@@ -2281,8 +2281,13 @@ bool CZapit::StartPlayBack(CZapitChannel *thisChannel)
#if ! HAVE_AZBOX_HARDWARE #if ! HAVE_AZBOX_HARDWARE
/* start video */ /* start video */
if (video_pid) { if (video_pid) {
#if HAVE_COOL_HARDWARE
videoDecoder->Start(0, pcr_pid, video_pid);
videoDemux->Start();
#else
videoDemux->Start(); videoDemux->Start();
videoDecoder->Start(0, pcr_pid, video_pid); videoDecoder->Start(0, pcr_pid, video_pid);
#endif
} }
#endif #endif
#ifdef USE_VBI #ifdef USE_VBI