Please sign in to comment.
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
- Loading branch information
Showing with 331 additions and 120 deletions.
Oops, something went wrong.