summaryrefslogtreecommitdiff
path: root/libavutil/opt.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-02-15 08:14:03 +0100
committerAnton Khirnov <anton@khirnov.net>2014-02-19 21:52:17 +0100
commit6bb8720f00e2e6209665f819fb351fd42b82d5d0 (patch)
treeab2e59c9796541a77c17cddacc4da4d9755ff971 /libavutil/opt.h
parent521726ff577ca80b399d1abb687e3e1fd4840e4a (diff)
AVOptions: deprecate unused AV_OPT_FLAG_METADATA
It was never used since it was added and the things it was intended for are now exported differently.
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 0181379b78..2568a7103e 100644
--- a/libavutil/opt.h
+++ b/libavutil/opt.h
@@ -262,7 +262,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