[mythtv-commits] mythtv branch master updated by peper03. v0.28-pre-2360-gf54d267

Git Repo Owner noreply at mythtv.org
Thu Oct 30 21:07:27 UTC 2014


The branch, master has been updated on the
mythtv repository by gitolite user peper03.
       via  f54d2672f224ba24224c8edd12fb0318797b3425 (commit)
      from  0bf91f1af368f3aff75d8f1af505c33b4f57052a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f54d2672f224ba24224c8edd12fb0318797b3425
Author:    Richard Hulme <peper03 at mythtv.org> at Thu, 30 Oct 2014 22:04:57 +0100
Committer: Richard Hulme <peper03 at mythtv.org> at Thu, 30 Oct 2014 22:07:06 +0100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=f54d2672f224ba24224c8edd12fb0318797b3425

Limit audio buffer to 700ms.  This prevents the frontend locking up when trying to stop playing an audio-only stream (e.g. DVB radio).  Without this patch the buffer tends to fill to around the 1500ms, which is below the current 2000ms limit, and AvFormatDecoder never leaves GetFrame.
Normally AvFormatDecoder::GetFrame is exited when a video frame is decoded.  In this case the audio buffer is usually no more than about 500ms full.

Also, buffering less audio data means less lag is noticeable when altering the volume if software mixing is used.



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythtv/audioplayer.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-- 



More information about the mythtv-commits mailing list