[mythtv-commits] mythtv/master commit: f6d8c69a9 by Mark Kendall (mark-kendall)

MythTV noreply at mythtv.org
Mon Nov 21 08:48:11 UTC 2011


      Author:  Mark Kendall <mkendall at mythtv.org>
 Change Date:  2011-11-21T00:47:54-08:00
   Push Date:  2011/11/21 00:47:58 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  f6d8c69a9652e5c47618253fe768844211396e6a
   Changeset:  https://github.com/MythTV/mythtv/commit/f6d8c69a9

Log:

Playback: Improved triggers for low bitrate optimisations.

The optimisations added in d207a0bddddac are being triggered
unnecessarily. This is due to a combination of different initial
thresholds in that commit and lowering the acceptable bitrate in
a1022c6f508c3.

The fix is twofold:-

- adjust the initial bitrate thresholds to ensure any optimisations are
only triggerred for streams with a bitrate below 500Kb/s.
- any video codec scanned in AvFormatDecoder that has a zero bitrate is
forced to 500Kb/s. This is an extension of the previous hack for H.264
streams.

Overall, this ensures that the previous behaviour (initial fill size of
32KB, rising as needed) is preserved for anything with a video stream
and generally in the vast majority of cases.

Fixes recent playback of avi files and, amongst others, BB HD (both
detected as zero bitrate).

Refs #9824.

Modified:

   mythtv/libs/libmythtv/avformatdecoder.cpp
   mythtv/libs/libmythtv/ringbuffer.cpp



More information about the mythtv-commits mailing list