diff options
author | jmarshallnz <jcmarsha@gmail.com> | 2014-03-15 08:52:03 +1300 |
---|---|---|
committer | jmarshallnz <jcmarsha@gmail.com> | 2014-03-15 08:52:03 +1300 |
commit | 7e7abf4e747e0aece996594e4b479b68e572ecf9 (patch) | |
tree | 260dfaee65937b6b8a236819e2585fc006e0d66c | |
parent | d4e3d572fe8a151cbc1f1fb9689d2b729726b578 (diff) | |
parent | 2b546cf015fc75cf0489e3ac6fc6c603ba1f0209 (diff) |
Merge pull request #4355 from popcornmix/reduce_video_swing
[omxplayer] Reduce rate of clock change to reduce video stutters
-rw-r--r-- | xbmc/cores/omxplayer/OMXPlayer.cpp | 2 | ||||
-rw-r--r-- | xbmc/linux/OMXClock.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/cores/omxplayer/OMXPlayer.cpp b/xbmc/cores/omxplayer/OMXPlayer.cpp index a3d3928db6..8705128591 100644 --- a/xbmc/cores/omxplayer/OMXPlayer.cpp +++ b/xbmc/cores/omxplayer/OMXPlayer.cpp @@ -1100,7 +1100,7 @@ void COMXPlayer::Process() m_bAbortRequest = true; return; } - if(CSettings::Get().GetBool("videoplayer.adjustrefreshrate")) + if(CSettings::Get().GetInt("videoplayer.adjustrefreshrate") != ADJUST_REFRESHRATE_OFF) m_av_clock.HDMIClockSync(); m_av_clock.OMXStateIdle(); m_av_clock.OMXStop(); diff --git a/xbmc/linux/OMXClock.cpp b/xbmc/linux/OMXClock.cpp index 4e31e3806c..241657bdf2 100644 --- a/xbmc/linux/OMXClock.cpp +++ b/xbmc/linux/OMXClock.cpp @@ -508,7 +508,7 @@ bool OMXClock::HDMIClockSync(bool lock /* = true */) latencyTarget.nFilter = 10; latencyTarget.nTarget = 0; latencyTarget.nShift = 3; - latencyTarget.nSpeedFactor = -200; + latencyTarget.nSpeedFactor = -60; latencyTarget.nInterFactor = 100; latencyTarget.nAdjCap = 100; |