summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-03-10 11:12:13 +0100
committerAnton Khirnov <anton@khirnov.net>2020-05-12 09:37:47 +0200
commitc584409643d5806688e074d00d0a531cad336794 (patch)
tree54a58269b62acd3a3d2f01d47171b86eb84b1092 /libavcodec/avcodec.h
parentb84a2b91fdfc5c90a8f0afc97d87b02af0b0854e (diff)
lavc: add a flag for exporting AVVideoEncParams from decoders
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 2bce39f94b..c9baf859ac 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -531,6 +531,11 @@ typedef struct RcOverride{
* Export encoder Producer Reference Time through packet side data
*/
#define AV_CODEC_EXPORT_DATA_PRFT (1 << 1)
+/**
+ * Decoding only.
+ * Export the AVVideoEncParams structure through frame side data.
+ */
+#define AV_CODEC_EXPORT_DATA_VIDEO_ENC_PARAMS (1 << 2)
/**
* Pan Scan area.