[mythtv-firehose] mythtv branch master updated by jstichnoth. v0.27-pre2-592-g5758c2a

Git Repo Owner noreply at mythtv.org
Fri Feb 1 14:55:48 UTC 2013

The branch, master has been updated on the
mythtv repository by gitolite user jstichnoth.
       via  5758c2a1d8ce448fce51fd5af3ce1a95494a3408 (commit)
      from  7349a860a4416017ec9d6e2c2cd0641ec2b3d4e4 (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 5758c2a1d8ce448fce51fd5af3ce1a95494a3408
Author:    Jim Stichnoth <jstichnoth at mythtv.org> at Fri, 1 Feb 2013 06:27:27 -0800
Committer: Jim Stichnoth <jstichnoth at mythtv.org> at Fri, 1 Feb 2013 06:27:27 -0800
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=5758c2a1d8ce448fce51fd5af3ce1a95494a3408

Fix Live TV startup, particularly for analog PVR-xxx tuners.
At the start of playback, ffmpeg scans the start of the file for
stream info.  While reading packets, it uses ffio_limit() to truncate
packets during attempts to read past the size of the file.  The file
size is cached at the start of playback, and may be inordinately small
for live TV files, triggering a storm of packet truncation and failure
to start playback.  We fix this by faking a large file size for live
TV playback during the initial call to avformat_find_stream_info().


Summary of changes:
 mythtv/libs/libmythtv/avformatdecoder.cpp |    2 ++
 mythtv/libs/libmythtv/avfringbuffer.cpp   |    4 ++++
 mythtv/libs/libmythtv/avfringbuffer.h     |    6 +++++-
 3 files changed, 11 insertions(+), 1 deletions(-)


More information about the mythtv-firehose mailing list