mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
put the uncoolinit hack directly in CZapit::Start()
This commit is contained in:
@@ -157,7 +157,7 @@ endif
|
||||
if BOXTYPE_COOL
|
||||
if BOXMODEL_APOLLO
|
||||
else
|
||||
bin_PROGRAMS += uncoolinit
|
||||
noinst_PROGRAMS = uncoolinit
|
||||
uncoolinit_SOURCES = uncoolinit.cpp
|
||||
uncoolinit_LDADD = \
|
||||
@AVFORMAT_LIBS@ \
|
||||
|
@@ -2393,8 +2393,14 @@ bool CZapit::Start(Z_start_arg *ZapStart_arg)
|
||||
pipDecoder = cVideo::GetDecoder(1);
|
||||
pipDecoder->SetDemux(pipDemux);
|
||||
#endif
|
||||
#else
|
||||
#if HAVE_COOL_HARDWARE
|
||||
/* work around broken drivers: when starting up with 720p50 image is pink on hd1 */
|
||||
videoDecoder = new cVideo(VIDEO_STD_1080I50, videoDemux->getChannel(), videoDemux->getBuffer());
|
||||
videoDecoder->SetVideoSystem(video_mode);
|
||||
#else
|
||||
videoDecoder = new cVideo(video_mode, videoDemux->getChannel(), videoDemux->getBuffer());
|
||||
#endif
|
||||
videoDecoder->Standby(false);
|
||||
|
||||
audioDecoder = new cAudio(audioDemux->getBuffer(), videoDecoder->GetTVEnc(), NULL /*videoDecoder->GetTVEncSD()*/);
|
||||
|
Reference in New Issue
Block a user