From b77c5ed8d709a3ee2769ffe8918368f285e9a0bd Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sun, 15 Oct 2017 17:26:16 +0200 Subject: [PATCH] let playback handle devices Signed-off-by: Thilo Graf Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/b9ed20ac536bd6221a84f263840965e2407faa46 Author: vanhofen Date: 2017-10-15 (Sun, 15 Oct 2017) ------------------ This commit was generated by Migit --- src/gui/movieplayer.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index 2691280bc..d56f65d9d 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -288,11 +288,6 @@ void CMoviePlayerGui::cutNeutrino() #endif 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 @@ -337,11 +332,6 @@ void CMoviePlayerGui::restoreNeutrino() if (isUPNP) return; -#ifdef HAVE_ARM_HARDWARE - videoDecoder->openDevice(); - audioDecoder->openDevice(); -#endif - g_Zapit->unlockPlayBack(); //CZapit::getInstance()->EnablePlayback(true);