diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index 011f5df43..630460880 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -100,6 +100,7 @@ bool glcd_play = false; extern cVideo * videoDecoder; +extern cAudio * audioDecoder; extern CRemoteControl *g_RemoteControl; /* neutrino.cpp */ extern CVolume* g_volume; @@ -287,6 +288,11 @@ void CMoviePlayerGui::cutNeutrino() g_Zapit->lockPlayBack(); +#ifdef HAVE_ARM_HARDWARE + videoDecoder->closeDevice(); + audioDecoder->closeDevice(); +#endif + #ifdef HAVE_AZBOX_HARDWARE /* we need sectionsd to get idle and zapit to release the demuxes * and decoders so that the external player can do its work @@ -331,6 +337,11 @@ void CMoviePlayerGui::restoreNeutrino() if (isUPNP) return; +#ifdef HAVE_ARM_HARDWARE + videoDecoder->openDevice(); + audioDecoder->openDevice(); +#endif + g_Zapit->unlockPlayBack(); //CZapit::getInstance()->EnablePlayback(true);