aboutsummaryrefslogtreecommitdiff
path: root/lib/UnrarXLib/coder.cpp
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@xbmc.org>2013-08-28 19:56:48 +0300
committerAnssi Hannula <anssi@xbmc.org>2013-08-28 20:14:53 +0300
commitbfc2e2e0606ef6c3a616783d9c4a77e771afb676 (patch)
tree4fdd41467d48942265cc0a1f0d82ae32b55cd018 /lib/UnrarXLib/coder.cpp
parent11b36956042aa8d071182a0825ca9f9b5c2e0f76 (diff)
SoftAE: Fix A/V sync issues caused by wrong buffer time calculation
CSoftAE::GetDelay(), CSoftAE::GetCacheTime(), and CSoftAE::GetCacheTotal() assume in their calculations that m_buffer contains frames that have sink/encoder frame size. However, m_buffer actually contains frames in the format received from CSoftAEStream. This causes varying levels of A/V de-sync depending on other conditions. On my Linux system I encounter this always when using using HDMI audio and having the display refresh rate set at 24Hz. Fix those functions to use the correct frame size.
Diffstat (limited to 'lib/UnrarXLib/coder.cpp')
0 files changed, 0 insertions, 0 deletions