[mythtv-commits] mythtv/fixes/0.24 commit: 4a8c889f0 by John Poet (jpoet)

MythTV noreply at mythtv.org
Sat Feb 12 22:14:40 UTC 2011


      Author:  John Poet <jpoet at mythtv.org>
 Change Date:  2011-02-12T14:10:15-08:00
   Push Date:  2011/02/12 14:14:38 -0800
  Repository:  mythtv
      Branch:  fixes/0.24
New Revision:  4a8c889f056a9a9d38e885dc10a3dd769e8da7c7
   Changeset:  https://github.com/MythTV/mythtv/commit/4a8c889f0

Log:

Fix BBC frame detection.

Patch is by Paul Gardiner with some very minor tweaks by me.

Paul's comments:

Remove all assumptions of alignment between NALs and the packets passed into
the parser.

Prior to parsing the bodies of the various NALs, remove any
emulation-prevention bytes. This should improve results for all H264, not
just BBC HD.

Update the code for reading profile>=100 versions of the SPS.  The
scaling-list-present flag was being read, but not the lists themselves, and
since the log2_max_frame_num_minus4 field occurs after, frame numbers were
not being read correctly from slices. That was probably the biggest
contributor to BBC HD problems.

Fixes #9410

Modified:

   mythtv/libs/libmythtv/mpeg/H264Parser.cpp
   mythtv/libs/libmythtv/mpeg/H264Parser.h



More information about the mythtv-commits mailing list