decode: add a per-frame private data for hwaccel use

Multimedia / FFmpeg - Anton Khirnov [khirnov.net] - 10 November 2017 18:48 EST

This will be useful in the CUVID hwaccel. It should also eventually replace current decoder-specific mechanisms used by various other hwaccels.

Merges Libav commit 704311b2946d74a80f65906961cd9baaa18683a3.

81c021c6a2 decode: add a per-frame private data for hwaccel use
libavcodec/decode.c | 3 +++
libavcodec/decode.h | 6 ++++++
2 files changed, 9 insertions(+)

  • Share