Showing the changes to libavfilter/avfilter.c (1 of 9 files). Show all
Unified · Split
| @@ -354,7 +354,7 @@ static const AVClass *filter_child_class_next(const AVClass *prev) · 353 unmodified lines | |||
| 354 | 354 | ||
| 355 | #define OFFSET(x) offsetof(AVFilterContext, x) | 355 | #define OFFSET(x) offsetof(AVFilterContext, x) |
| 356 | #define FLAGS AV_OPT_FLAG_VIDEO_PARAM | 356 | #define FLAGS AV_OPT_FLAG_VIDEO_PARAM |
| 357 | static const AVOption options[] = { | 357 | static const AVOption avfilter_options[] = { |
| 358 | { "thread_type", "Allowed thread types", OFFSET(thread_type), AV_OPT_TYPE_FLAGS, | 358 | { "thread_type", "Allowed thread types", OFFSET(thread_type), AV_OPT_TYPE_FLAGS, |
| 359 | { .i64 = AVFILTER_THREAD_SLICE }, 0, INT_MAX, FLAGS, "thread_type" }, | 359 | { .i64 = AVFILTER_THREAD_SLICE }, 0, INT_MAX, FLAGS, "thread_type" }, |
| 360 | { "slice", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AVFILTER_THREAD_SLICE }, .unit = "thread_type" }, | 360 | { "slice", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AVFILTER_THREAD_SLICE }, .unit = "thread_type" }, |
| @@ -367,7 +367,7 @@ static const AVClass avfilter_class = { · 6 unmodified lines | |||
| 367 | .version = LIBAVUTIL_VERSION_INT, | 367 | .version = LIBAVUTIL_VERSION_INT, |
| 368 | .child_next = filter_child_next, | 368 | .child_next = filter_child_next, |
| 369 | .child_class_next = filter_child_class_next, | 369 | .child_class_next = filter_child_class_next, |
| 370 | .option = options, | 370 | .option = avfilter_options, |
| 371 | }; | 371 | }; |
| 372 | 372 | ||
| 373 | static int default_execute(AVFilterContext *ctx, action_func *func, void *arg, | 373 | static int default_execute(AVFilterContext *ctx, action_func *func, void *arg, |