Re: [FFmpeg-devel] [PATCH 7/9] avcodec/h264: add decode_params callback to AVHWAccel

2017-09-26 Thread Hendrik Leppkes
On Tue, Sep 26, 2017 at 2:36 AM, Aman Gupta wrote: > From: Aman Gupta > > 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

[FFmpeg-devel] [PATCH 7/9] avcodec/h264: add decode_params callback to AVHWAccel

2017-09-25 Thread Aman Gupta
From: Aman Gupta 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. --- libavcodec/avcodec.h | 12