diff options
author | Martin Storsjö <martin@martin.st> | 2018-10-11 16:03:10 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2018-11-05 15:52:14 +0200 |
commit | 882ae091d48b112004b977314884176841f12cef (patch) | |
tree | 2c6874736b576b6c434581d43fcaf6c333891f3a /libavformat/flv.h | |
parent | 4e9cff2824769e792c7867b09e1efb67278abe79 (diff) | |
download | ffmpeg-882ae091d48b112004b977314884176841f12cef.tar.gz |
libx264: Pass the reordered_opaque field through the encoder
libx264 does have a field for opaque data to pass along with frames
through the encoder, but it is a pointer, while the libavcodec
reordered_opaque field is an int64_t. Therefore, allocate an array
within the libx264 wrapper, where reordered_opaque values in flight
are stored, and pass a pointer to this array to libx264.
Update the public libavcodec documentation for the AVCodecContext
field to explain this usage, and add a codec capability that allows
detecting whether an encoder handles this field.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/flv.h')
0 files changed, 0 insertions, 0 deletions