summaryrefslogtreecommitdiff
path: root/libavutil/opt.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-02-20 01:50:26 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-02-20 01:50:26 +0100
commitf4c8d002231afbc181e97c512e459ec6860f7098 (patch)
tree1e54b1287f49f89e3156284c40b5b87365c9a10a /libavutil/opt.h
parentca9f7e1832785414362bb8aeef1c7eb0a454d92e (diff)
parent6bb8720f00e2e6209665f819fb351fd42b82d5d0 (diff)
Merge commit '6bb8720f00e2e6209665f819fb351fd42b82d5d0'
* commit '6bb8720f00e2e6209665f819fb351fd42b82d5d0': AVOptions: deprecate unused AV_OPT_FLAG_METADATA Conflicts: doc/APIchanges libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/opt.h')
-rw-r--r--libavutil/opt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/opt.h b/libavutil/opt.h
index 14faa6e066..56b0e0f6ba 100644
--- a/libavutil/opt.h
+++ b/libavutil/opt.h
@@ -282,7 +282,9 @@ typedef struct AVOption {
int flags;
#define AV_OPT_FLAG_ENCODING_PARAM 1 ///< a generic parameter which can be set by the user for muxing or encoding
#define AV_OPT_FLAG_DECODING_PARAM 2 ///< a generic parameter which can be set by the user for demuxing or decoding
+#if FF_API_OPT_TYPE_METADATA
#define AV_OPT_FLAG_METADATA 4 ///< some data extracted or inserted into the file like title, comment, ...
+#endif
#define AV_OPT_FLAG_AUDIO_PARAM 8
#define AV_OPT_FLAG_VIDEO_PARAM 16
#define AV_OPT_FLAG_SUBTITLE_PARAM 32