summaryrefslogtreecommitdiff
path: root/libavutil/log.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-05-22 13:25:19 +0200
committerAnton Khirnov <anton@khirnov.net>2011-06-16 20:24:56 +0200
commitdc59ec5e79d813228e3dfbc8942a5fe424b399a0 (patch)
tree140dace29d599a0478455f7394de015bbb7a9939 /libavutil/log.h
parent7e83e1c511baf0d02f3af75b6180d6af4d50aa99 (diff)
downloadffmpeg-dc59ec5e79d813228e3dfbc8942a5fe424b399a0.tar.gz
AVOptions: add av_opt_find() as a replacement for av_find_opt.
Diffstat (limited to 'libavutil/log.h')
-rw-r--r--libavutil/log.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavutil/log.h b/libavutil/log.h
index 1cd9269c43..c823a763ee 100644
--- a/libavutil/log.h
+++ b/libavutil/log.h
@@ -70,6 +70,13 @@ typedef struct {
* can be NULL of course
*/
int parent_log_context_offset;
+
+ /**
+ * A function for extended searching, e.g. in possible
+ * children objects.
+ */
+ const struct AVOption* (*opt_find)(void *obj, const char *name, const char *unit,
+ int opt_flags, int search_flags);
} AVClass;
/* av_log API */