diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-25 17:10:09 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-08 01:34:28 +0100 |
commit | a8e0d51bb8141bbe64d4e22aec72742199208192 (patch) | |
tree | c595a019f9cd97d7b978b86cf18bc19649be26f6 /libavutil/log.h | |
parent | 419ade4b6193c6eb626cda01b21e7091f42b2cc2 (diff) | |
download | ffmpeg-streaming-a8e0d51bb8141bbe64d4e22aec72742199208192.zip ffmpeg-streaming-a8e0d51bb8141bbe64d4e22aec72742199208192.tar.gz |
opt: Add support to query ranges
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/log.h')
-rw-r--r-- | libavutil/log.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavutil/log.h b/libavutil/log.h index ba7315f..6c44553 100644 --- a/libavutil/log.h +++ b/libavutil/log.h @@ -40,6 +40,8 @@ typedef enum { AV_CLASS_CATEGORY_NB, ///< not part of ABI/API }AVClassCategory; +struct AVOptionRanges; + /** * Describe the class of an AVClass context structure. That is an * arbitrary struct of which the first field is a pointer to an @@ -114,6 +116,12 @@ typedef struct AVClass { * available since version (51 << 16 | 59 << 8 | 100) */ AVClassCategory (*get_category)(void* ctx); + + /** + * Callback to return the supported/allowed ranges. + * available since version (52.12) + */ + int (*query_ranges)(struct AVOptionRanges **, void *obj, const char *key, int flags); } AVClass; /* av_log API */ |