looks much better if I don't zero all config parameters
authorJohn Ellson <ellson@research.att.com>
Mon, 9 Jan 2012 17:26:51 +0000 (12:26 -0500)
committerJohn Ellson <ellson@research.att.com>
Mon, 9 Jan 2012 17:26:51 +0000 (12:26 -0500)
plugin/webp/gvdevice_webp.c

index 0d09d58826aeb35d8aefb8285f59e78a25c4ba8e..8e97322f7499f4c9690825d497bccaed01b716c8 100644 (file)
@@ -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;