diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-08-13 18:30:44 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-01 22:51:52 +0400 |
commit | 8d61c684423c0b78d8ab076fef00d7095e339a97 (patch) | |
tree | ad5f8de6ff043fa3ec6647dee384b209e7d96945 /libavfilter | |
parent | d155fdefb88ac45d90600252cd2348d3d6d2cf36 (diff) |
vf_unsharp: set default chroma size value to 5x5
The previous default value 0x0 was not good, since it is not even
valid.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
(cherry picked from commit 1ee20141900c98f9dc25eca121c66c3ff468c1e4)
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_unsharp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_unsharp.c b/libavfilter/vf_unsharp.c index 2bc090f26a..3a58a480b9 100644 --- a/libavfilter/vf_unsharp.c +++ b/libavfilter/vf_unsharp.c @@ -129,8 +129,8 @@ static void set_filter_param(FilterParam *fp, int msize_x, int msize_y, double a static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque) { UnsharpContext *unsharp = ctx->priv; - int lmsize_x = 5, cmsize_x = 0; - int lmsize_y = 5, cmsize_y = 0; + int lmsize_x = 5, cmsize_x = 5; + int lmsize_y = 5, cmsize_y = 5; double lamount = 1.0f, camount = 0.0f; if (args) |