]> git.sesse.net Git - ffmpeg/commit
h264_sei: parse the picture timing SEIs correctly
authorAnton Khirnov <anton@khirnov.net>
Fri, 19 May 2017 08:44:59 +0000 (10:44 +0200)
committerAnton Khirnov <anton@khirnov.net>
Fri, 10 Apr 2020 13:52:22 +0000 (15:52 +0200)
commitec7f33a38e341807c0ff9530e4dc7e175a86f437
treeecb68bac55d7bfd820da689579ccf4cd2b29f3f8
parent1e9615c5d4d1697816037057133b20da4fd9e57b
h264_sei: parse the picture timing SEIs correctly

Those SEIs refer to the currently active SPS. However, since the SEI
NALUs precede the coded picture data in the bitstream, the active SPS is
in general not known when we are decoding the SEI.

Therefore, store the content of the picture timing SEIs and actually
parse it when the active SPS is known.
libavcodec/h264_parser.c
libavcodec/h264_sei.c
libavcodec/h264_sei.h
libavcodec/h264_slice.c