From 9f4e6ff79f79f06a0122e4ecf5be1be07fac446b Mon Sep 17 00:00:00 2001 From: TangoCash Date: Sun, 15 Oct 2017 17:26:16 +0200 Subject: [PATCH] let playback handle devices Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/9f0397c36375daed6c258a03c6b90379d80a99d2 Author: TangoCash Date: 2017-10-15 (Sun, 15 Oct 2017) --- src/gui/movieplayer.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index 9f2ec3b4f..da33db0a2 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -288,11 +288,6 @@ 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 @@ -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);