xbmc/xbmc — pull request #2414 by dezi (2013-03-11 09:11:31+00:00)
Title: Adjusted OMXPlayer buffersize to be like DVDPlayer's.

Scenario: Playing a complex VOB File with 5 AC3 5.1 Audio Streams on a Raspberry PI over a WLAN-network from an Apple Airport shared disk via CIFS mount produces audio buffer underruns approx every 15 minutes. This results in re-caching, which annoys my lady.

See original queue sizes for DVDPlayer and OMXPlayer:

xbmc/cores/dvdplayer/DVDPlayerVideo.cpp:146: m_messageQueue.SetMaxDataSize(40 * 1024 * 1024);
xbmc/cores/dvdplayer/DVDPlayerAudio.cpp:132: m_messageQueue.SetMaxDataSize(6 * 1024 * 1024);
xbmc/cores/omxplayer/OMXPlayerAudio.cpp:86: m_messageQueue.SetMaxDataSize(3 * 1024 * 1024);
xbmc/cores/omxplayer/OMXPlayerVideo.cpp:95: m_messageQueue.SetMaxDataSize(10 * 1024 * 1024);

I adjusted OMXPlayers queue data size to be the same as DVDPlayer's, which solved my problem and made lady happy.