diff --git a/src/zapit/src/zapit.cpp b/src/zapit/src/zapit.cpp index 5c6e8aa77..d598c7438 100644 --- a/src/zapit/src/zapit.cpp +++ b/src/zapit/src/zapit.cpp @@ -2126,6 +2126,15 @@ bool CZapit::StartPlayBack(CZapitChannel *thisChannel) pcrDemux->Start(); } +#if HAVE_AZBOX_HARDWARE + /* new (> 20130917) AZbox drivers switch to radio mode if audio is started first */ + /* start video */ + if (have_video) { + videoDecoder->Start(0, thisChannel->getPcrPid(), thisChannel->getVideoPid()); + videoDemux->Start(); + } +#endif + /* select audio output and start audio */ if (have_audio) { SetAudioStreamType(thisChannel->getAudioChannel()->audioChannelType); @@ -2133,12 +2142,8 @@ bool CZapit::StartPlayBack(CZapitChannel *thisChannel) audioDecoder->Start(); } +#if ! HAVE_AZBOX_HARDWARE /* start video */ -#if HAVE_AZBOX_HARDWARE - videoDemux->Start(); - /* no idea why we need to start *video* to get sound for radio... :-) */ - videoDecoder->Start(); -#else if (have_video) { videoDecoder->Start(0, thisChannel->getPcrPid(), thisChannel->getVideoPid()); videoDemux->Start();