avcodec/h264: implement new decode_params callback for PPS/SPS
authorAman Gupta <aman@tmm1.net>
Fri, 10 Nov 2017 20:18:35 +0000 (12:18 -0800)
committerAman Gupta <aman@tmm1.net>
Mon, 13 Nov 2017 22:32:48 +0000 (14:32 -0800)
commit872add08540fb36b2d2ca75df86da7d8ac9579a1
tree63654dc33b85c2eda64682eaaca8cbacf18e7825
parent76f169368da4928308b932eaea528b841bc34f9e
avcodec/h264: implement new decode_params callback for PPS/SPS

This callback will be used by the VideoToolbox H264 hwaccel so that it
can receive SPS and PPS NALUs. VideoToolbox requires PPS changes to be
fed into the decoder session, and for the session to be recreated when
the SPS changes.

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