let playback handle devices

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Branch: ni/coolstream
Commit: b9ed20ac53
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-10-15 (Sun, 15 Oct 2017)



------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-10-15 17:26:16 +02:00
committed by Thilo Graf
parent 146257e948
commit b77c5ed8d7

View File

@@ -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);