mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
let playback handle devices
Origin commit data
------------------
Commit: 9f0397c363
Author: TangoCash <eric@loxat.de>
Date: 2017-10-15 (Sun, 15 Oct 2017)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user