From 526e2415bd1e7e3f1f601ca2eb5e94513a830c9a Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Tue, 18 Dec 2012 22:10:32 +0100 Subject: lavfi/gradfun: support named options. This breaks usage for out-of-range values. --- libavfilter/gradfun.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavfilter/gradfun.h') diff --git a/libavfilter/gradfun.h b/libavfilter/gradfun.h index 939b129aaa..801ddddb96 100644 --- a/libavfilter/gradfun.h +++ b/libavfilter/gradfun.h @@ -26,6 +26,8 @@ /// Holds instance-specific information for gradfun. typedef struct GradFunContext { + const AVClass *class; + double strength; ///< user specified strength, used to define thresh int thresh; ///< threshold for gradient algorithm int radius; ///< blur radius int chroma_w; ///< width of the chroma planes -- cgit v1.2.3