From e9c0e72a62e81ef2e09cd926d32912068bdfe782 Mon Sep 17 00:00:00 2001 From: Frankenstone Date: Tue, 26 Feb 2019 08:06:46 +0100 Subject: [PATCH] disable av sync in radio mode - thx DbO ;-) Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/f5d67c2d485587b38cd4578e0fa5d7ebb0ce20b7 Author: Frankenstone Date: 2019-02-26 (Tue, 26 Feb 2019) --- src/neutrino.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 263abe80a..b5397caff 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -4473,6 +4473,9 @@ void CNeutrinoApp::tvMode( bool rezap ) #ifdef USEACTIONLOG g_ActionLog->println("mode: tv"); #endif + + videoDecoder->SetSyncMode((AVSYNC_TYPE)g_settings.avsync); + audioDecoder->SetSyncMode((AVSYNC_TYPE)g_settings.avsync); } void CNeutrinoApp::scartMode( bool bOnOff ) @@ -4742,6 +4745,9 @@ void CNeutrinoApp::radioMode( bool rezap) if( rezap ) channelRezap(); frameBuffer->showFrame("radiomode.jpg"); + + videoDecoder->SetSyncMode((AVSYNC_TYPE)AVSYNC_DISABLED); + audioDecoder->SetSyncMode((AVSYNC_TYPE)AVSYNC_DISABLED); } void CNeutrinoApp::channelRezap()