From 168eefca72c8fcdf778809bbf9c9dcd9aaa13421 Mon Sep 17 00:00:00 2001 From: John Ellson Date: Mon, 9 Jan 2012 12:26:51 -0500 Subject: [PATCH] looks much better if I don't zero all config parameters --- plugin/webp/gvdevice_webp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugin/webp/gvdevice_webp.c b/plugin/webp/gvdevice_webp.c index 0d09d5882..8e97322f7 100644 --- a/plugin/webp/gvdevice_webp.c +++ b/plugin/webp/gvdevice_webp.c @@ -48,7 +48,7 @@ static void webp_format(GVJ_t * job) picture.writer = writer; picture.custom_ptr = (void*)job; -#if 1 +#if 0 picture.extra_info_type = 0; picture.colorspace = 0; @@ -69,6 +69,7 @@ static void webp_format(GVJ_t * job) config.preprocessing = 0; config.segments = 0; config.partition_limit = 0; +#endif #if 1 preset = WEBP_PRESET_DRAWING; @@ -79,6 +80,7 @@ static void webp_format(GVJ_t * job) } #endif +#if 1 if (!WebPValidateConfig(&config)) { fprintf(stderr, "Error! Invalid configuration.\n"); goto Error; -- 2.50.1