aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/xcbgrab.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2018-10-11 16:03:10 +0300
committerMartin Storsjö <martin@martin.st>2018-11-05 15:41:14 +0200
commit80f85a95da293e9894c071b440c5a2e002e26ede (patch)
tree0147b5256fd24a71eebba3fb258643a1cbca7609 /libavdevice/xcbgrab.c
parenta3a501df240fa179fe12c2cf5dbbb4f1d9f650ca (diff)
downloadffmpeg-80f85a95da293e9894c071b440c5a2e002e26ede.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 'libavdevice/xcbgrab.c')
0 files changed, 0 insertions, 0 deletions