From c9a81cb2f5fb10e26a8f6173563c139c69537aa1 Mon Sep 17 00:00:00 2001 From: kszaq Date: Sat, 15 Apr 2017 21:40:54 +0200 Subject: VideoSyncAML: Increase rendering thread prioroty --- xbmc/windowing/amlogic/VideoSyncAML.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xbmc/windowing/amlogic/VideoSyncAML.cpp b/xbmc/windowing/amlogic/VideoSyncAML.cpp index e44aa91866..d2a9f98495 100644 --- a/xbmc/windowing/amlogic/VideoSyncAML.cpp +++ b/xbmc/windowing/amlogic/VideoSyncAML.cpp @@ -49,6 +49,9 @@ void CVideoSyncAML::Run(CEvent& stopEvent) unsigned int waittime (3000 / m_fps); uint64_t numVBlanks (0); + /* This shouldn't be very busy and timing is important so increase priority */ + CThread::GetCurrentThread()->SetPriority(CThread::GetCurrentThread()->GetPriority() + 1); + while (!stopEvent.Signaled() && !m_abort) { int countVSyncs(1); -- cgit v1.2.3