]> git.sesse.net Git - ffmpeg/commitdiff
AVOptions: deprecate unused AV_OPT_FLAG_METADATA
authorAnton Khirnov <anton@khirnov.net>
Sat, 15 Feb 2014 07:14:03 +0000 (08:14 +0100)
committerAnton Khirnov <anton@khirnov.net>
Wed, 19 Feb 2014 20:52:17 +0000 (21:52 +0100)
It was never used since it was added and the things it was intended for
are now exported differently.

doc/APIchanges
libavutil/opt.h
libavutil/version.h

index d3939e4e1207c7395762fddb1914c31fc81a5871..e25728a5680afb6a194ce6f0de72fc28dd06f67c 100644 (file)
@@ -13,6 +13,9 @@ libavutil:     2013-12-xx
 
 API changes, most recent first:
 
+2014-xx-xx - xxxxxxx - lavu 53.03.01 - opt.h
+  Deprecate unused AV_OPT_FLAG_METADATA.
+
 2014-02-xx - xxxxxxx - lavu 53.3.0 - frame.h
   Add AV_FRAME_DATA_DOWNMIX_INFO value to the AVFrameSideDataType enum and
   downmix_info.h API, which identify downmix-related metadata.
index 0181379b78eb155f75b09aea776f8c79c505c997..2568a7103ed9892c48b7c48fcbfa24a8f2129985 100644 (file)
@@ -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
index 5196a674dea4d2ecf43693eb842346ced13bc829..74946d0f5cc28d28c0cd9e965890176b9f406685 100644 (file)
@@ -55,7 +55,7 @@
 
 #define LIBAVUTIL_VERSION_MAJOR 53
 #define LIBAVUTIL_VERSION_MINOR  3
-#define LIBAVUTIL_VERSION_MICRO  0
+#define LIBAVUTIL_VERSION_MICRO  1
 
 #define LIBAVUTIL_VERSION_INT   AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
                                                LIBAVUTIL_VERSION_MINOR, \
 #ifndef FF_API_XVMC
 #define FF_API_XVMC                     (LIBAVUTIL_VERSION_MAJOR < 54)
 #endif
+#ifndef FF_API_OPT_TYPE_METADATA
+#define FF_API_OPT_TYPE_METADATA        (LIBAVUTIL_VERSION_MAJOR < 54)
+#endif
 
 /**
  * @}