From c3e05de110d33ef726fc3de14ddbc43a6fc8d8ed Mon Sep 17 00:00:00 2001 From: "[CST] Bas" Date: Mon, 10 Sep 2012 07:38:57 +0800 Subject: [PATCH] zapit: changes for apollo. Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/55c155d0cf4e9e532454a8d7e541fda0ae24debe Author: [CST] Bas Date: 2012-09-10 (Mon, 10 Sep 2012) --- src/zapit/src/zapit.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/zapit/src/zapit.cpp b/src/zapit/src/zapit.cpp index 646515a06..15b57c156 100644 --- a/src/zapit/src/zapit.cpp +++ b/src/zapit/src/zapit.cpp @@ -1954,7 +1954,9 @@ bool CZapit::Start(Z_start_arg *ZapStart_arg) audioDemux = new cDemux(); audioDemux->Open(DMX_AUDIO_CHANNEL); - videoDecoder = new cVideo(video_mode, videoDemux->getChannel(), videoDemux->getBuffer()); + videoDecoder = cVideo::GetDecoder(); + videoDecoder->SetDemux(videoDemux); + videoDecoder->SetVideoSystem(video_mode); videoDecoder->Standby(false); audioDecoder = new cAudio(audioDemux->getBuffer(), videoDecoder->GetTVEnc(), NULL /*videoDecoder->GetTVEncSD()*/);