zapit: changes for apollo.

Origin commit data
------------------
Commit: 55c155d0cf
Author: [CST] Bas <bas@coolstreamtech.com>
Date: 2012-09-10 (Mon, 10 Sep 2012)
This commit is contained in:
[CST] Bas
2012-09-10 07:38:57 +08:00
parent 2ced7346c2
commit c3e05de110

View File

@@ -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()*/);