From 86e7ad4ec16e3a717ded31a64e9155a245155214 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Tue, 7 Nov 2017 18:23:49 +0100 Subject: [PATCH] src/gui/movieplayer.cpp fix break record after play on cst (after hd51 merge) --- src/gui/movieplayer.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index 01883e8b7..d35793bc8 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -331,10 +331,11 @@ void CMoviePlayerGui::restoreNeutrino() if (isUPNP) return; - +#if ! HAVE_COOL_HARDWARE g_Zapit->unlockPlayBack(); - //CZapit::getInstance()->EnablePlayback(true); - +#else + CZapit::getInstance()->EnablePlayback(true); +#endif printf("%s: restore mode %x\n", __func__, m_LastMode);fflush(stdout); #if 0 if (m_LastMode == NeutrinoMessages::mode_tv) @@ -1809,7 +1810,6 @@ void CMoviePlayerGui::PlayFileLoop(void) #if HAVE_SPARK_HARDWARE || HAVE_DUCKBOX_HARDWARE } else if (msg == (neutrino_msg_t) g_settings.mpkey_next3dmode) { frameBuffer->set3DMode((CFrameBuffer::Mode3D)(((frameBuffer->get3DMode()) + 1) % CFrameBuffer::Mode3D_SIZE)); -#endif } else if (msg == (neutrino_msg_t) g_settings.key_next43mode) { g_videoSettings->next43Mode(); } else if (msg == (neutrino_msg_t) g_settings.key_switchformat) { @@ -1819,6 +1819,7 @@ void CMoviePlayerGui::PlayFileLoop(void) playback->RequestAbort(); filelist.clear(); repeat_mode = REPEAT_OFF; +#endif } else if (msg == (neutrino_msg_t) g_settings.mpkey_play) { if (time_forced) { time_forced = false;