fix gstreamer playback

Origin commit data
------------------
Branch: ni/coolstream
Commit: c93b2a9b0b
Author: TangoCash <eric@loxat.de>
Date: 2017-10-06 (Fri, 06 Oct 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2017-10-06 21:59:22 +02:00
committed by Thilo Graf
parent 4c9b094f4e
commit 063b8e24bf

View File

@@ -288,6 +288,11 @@ 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
@@ -332,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);