X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=dependencies%2Fffmpeg%2Finclude%2Flibavutil%2Fopt.h;h=cd1b18e4c0b6ea716acc46f6be8e4547aa184780;hb=a5fa8d0968fbbd3b51a3d61a38ce2787896b346e;hp=14faa6e066ee747fdfa1dbf750a749feb6e07101;hpb=d447b77c6b8e5c1deee237f3fa425a0cb10c4196;p=casparcg diff --git a/dependencies/ffmpeg/include/libavutil/opt.h b/dependencies/ffmpeg/include/libavutil/opt.h index 14faa6e06..cd1b18e4c 100644 --- a/dependencies/ffmpeg/include/libavutil/opt.h +++ b/dependencies/ffmpeg/include/libavutil/opt.h @@ -282,10 +282,21 @@ 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 +/** + * The option is inteded for exporting values to the caller. + */ +#define AV_OPT_FLAG_EXPORT 64 +/** + * The option may not be set through the AVOptions API, only read. + * This flag only makes sense when AV_OPT_FLAG_EXPORT is also set. + */ +#define AV_OPT_FLAG_READONLY 128 #define AV_OPT_FLAG_FILTERING_PARAM (1<<16) ///< a generic parameter which can be set by the user for filtering //FIXME think about enc-audio, ... style flags