avcodec/videotoolbox: pass through hevc param changes to the decoder
authorAman Gupta <aman@tmm1.net>
Fri, 10 Nov 2017 20:34:41 +0000 (12:34 -0800)
committerAman Gupta <aman@tmm1.net>
Mon, 13 Nov 2017 22:32:48 +0000 (14:32 -0800)
commit68ef503bb5f9f8bd4460191d6a9c9e2ec4179a26
treea938856c7f58639789fede83821340fc7442c7d1
parent3a91b3ae742425c25b9b80708f3c111537e570d3
avcodec/videotoolbox: pass through hevc param changes to the decoder

This includes the SEI_PREFIX/SEI_SUFFIX NALUs, which can contain
updates like HEVC_SEI_TYPE_ACTIVE_PARAMETER_SETS. Previously, hevc
samples with this SEI present would not playback correctly.

See for example https://github.com/lhc70000/iina/issues/1123

Signed-off-by: Aman Gupta <aman@tmm1.net>
libavcodec/videotoolbox.c