[mythtv-firehose] mythtv/master commit: d207a0bdd by Mark Kendall (mark-kendall)

MythTV noreply at mythtv.org
Mon Nov 14 11:16:05 UTC 2011


      Author:  Mark Kendall <mkendall at mythtv.org>
 Change Date:  2011-11-14T03:15:37-08:00
   Push Date:  2011/11/14 03:15:42 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  d207a0bddddac4cb015746e2a4b4e5f841897c8c
   Changeset:  https://github.com/MythTV/mythtv/commit/d207a0bdd

Log:

RingBuffer: Low bitrate optimisations.

This adds a special case operation for low bitrate streams (e.g. dvb
radio and MHEG/interactive only) where the existing fill requirements
were high enough that, for live tv and in-progress recordings, the
buffer would not fill in time and playaback could and would fail.

I've tried to ensure this is triggered only as needed but there is still
the possibility that faulty bitrate detection may enable it (though even
in that case there should, fingers crossed, be no adverse effects).

There are still at least 2 other problems playing these very low.
Initial stream scanning of MHEG only streams can take over 20 seconds -
as the initial probe still requires 32Kb of data - and stopping playback
is problematic as the decoder thread is not exiting correctly.

Refs #9824

Modified:

   mythtv/libs/libmythtv/ringbuffer.cpp
   mythtv/libs/libmythtv/ringbuffer.h



More information about the mythtv-firehose mailing list