mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
Merge commit 'b5a138652ff8a5b987d3e1191e67fd9f6575527e'
* commit 'b5a138652ff8a5b987d3e1191e67fd9f6575527e': Give less generic names to global library option arrays Conflicts: libavcodec/options_table.h libavfilter/avfilter.c libavformat/options_table.h libswscale/options.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -539,7 +539,7 @@ static const AVClass *filter_child_class_next(const AVClass *prev)
|
||||
|
||||
#define OFFSET(x) offsetof(AVFilterContext, x)
|
||||
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM
|
||||
static const AVOption options[] = {
|
||||
static const AVOption avfilter_options[] = {
|
||||
{ "thread_type", "Allowed thread types", OFFSET(thread_type), AV_OPT_TYPE_FLAGS,
|
||||
{ .i64 = AVFILTER_THREAD_SLICE }, 0, INT_MAX, FLAGS, "thread_type" },
|
||||
{ "slice", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AVFILTER_THREAD_SLICE }, .unit = "thread_type" },
|
||||
@@ -554,7 +554,7 @@ static const AVClass avfilter_class = {
|
||||
.category = AV_CLASS_CATEGORY_FILTER,
|
||||
.child_next = filter_child_next,
|
||||
.child_class_next = filter_child_class_next,
|
||||
.option = options,
|
||||
.option = avfilter_options,
|
||||
};
|
||||
|
||||
static int default_execute(AVFilterContext *ctx, action_func *func, void *arg,
|
||||
|
||||
Reference in New Issue
Block a user