lavc: Add h264_redundant_pps bitstream filter
authorMark Thompson <sw@jkqxz.net>
Thu, 4 May 2017 22:10:19 +0000 (23:10 +0100)
committerMark Thompson <sw@jkqxz.net>
Tue, 17 Oct 2017 19:56:30 +0000 (20:56 +0100)
commit8b26306294ffe78cc73357e2ddd56dd463db50ab
tree500acf20283c80eff9c263aa3e77c3ece21f0f37
parenta308872b049e33f69f4b629a06f47e3681906b93
lavc: Add h264_redundant_pps bitstream filter

This applies a specific fixup to some Blu-ray streams which contain
redundant PPSs modifying irrelevant parameters of the stream which
confuse other transformations which require correct extradata.

A new single global PPS is created, and all of the redundant PPSs
within the stream are removed.

(cherry picked from commit e6874bc3af2f09af39b5d91b9c5f9ded67459696)
configure
doc/bitstream_filters.texi
libavcodec/Makefile
libavcodec/bitstream_filters.c
libavcodec/h264_redundant_pps_bsf.c [new file with mode: 0644]