disable av sync in radio mode

- thx DbO ;-)


Origin commit data
------------------
Commit: f5d67c2d48
Author: Frankenstone <dampf_acc@online.de>
Date: 2019-02-26 (Tue, 26 Feb 2019)
This commit is contained in:
Frankenstone
2019-02-26 08:06:46 +01:00
committed by vanhofen
parent 2aed94b678
commit e9c0e72a62

View File

@@ -4473,6 +4473,9 @@ void CNeutrinoApp::tvMode( bool rezap )
#ifdef USEACTIONLOG #ifdef USEACTIONLOG
g_ActionLog->println("mode: tv"); g_ActionLog->println("mode: tv");
#endif #endif
videoDecoder->SetSyncMode((AVSYNC_TYPE)g_settings.avsync);
audioDecoder->SetSyncMode((AVSYNC_TYPE)g_settings.avsync);
} }
void CNeutrinoApp::scartMode( bool bOnOff ) void CNeutrinoApp::scartMode( bool bOnOff )
@@ -4742,6 +4745,9 @@ void CNeutrinoApp::radioMode( bool rezap)
if( rezap ) if( rezap )
channelRezap(); channelRezap();
frameBuffer->showFrame("radiomode.jpg"); frameBuffer->showFrame("radiomode.jpg");
videoDecoder->SetSyncMode((AVSYNC_TYPE)AVSYNC_DISABLED);
audioDecoder->SetSyncMode((AVSYNC_TYPE)AVSYNC_DISABLED);
} }
void CNeutrinoApp::channelRezap() void CNeutrinoApp::channelRezap()