[mythtv-commits] mythtv/master commit: c9c2545ac by John Poet (jpoet)
MythTV
noreply at mythtv.org
Sun Feb 6 19:25:07 UTC 2011
Author: John Poet <jpoet at mythtv.org>
Change Date: 2011-02-06T11:09:19-08:00
Push Date: 2011/02/06 11:25:00 -0800
Repository: mythtv
Branch: master
New Revision: c9c2545ac67584af5e8d705486bbb294f3e7da50
Changeset: https://github.com/MythTV/mythtv/commit/c9c2545ac
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