Evas: Disable TGV save debugging and fix error log

Disable time stats & quality check
Remove an invalid error message (was logged in case of success)
This commit is contained in:
Jean-Philippe Andre 2015-10-29 21:13:00 +09:00
parent 3f264677fb
commit 509ee0f275
2 changed files with 7 additions and 7 deletions

View File

@ -586,7 +586,6 @@ eet_data_image_etc2_decode(const void *data,
Emile_Image_Load_Error error;
Eina_Bool found = EINA_FALSE;
int i;
int r = 0;
// Fix for ABI incompatibility between 1.10 and 1.11
if (cspace == 8) cspace = 9;
@ -655,14 +654,15 @@ eet_data_image_etc2_decode(const void *data,
if ((cspace == EMILE_COLORSPACE_ARGB8888) && !prop.premul)
_eet_argb_premul(p, prop.w * prop.h);
r = 1;
emile_image_close(image);
eina_binbuf_free(bin);
return 1;
on_error:
ERR("Failed to decode image inside Eet");
emile_image_close(image);
eina_binbuf_free(bin);
return r;
return 0;
}
static void *

View File

@ -20,9 +20,9 @@
#include "rg_etc1.h"
// FIXME: Remove DEBUG
#ifndef DEBUG
# define DEBUG
#endif
//#ifndef DEBUG
//# define DEBUG
//#endif
#if defined(DEBUG) && defined(HAVE_CLOCK_GETTIME) && defined(_POSIX_MONOTONIC_CLOCK)
# include <time.h>
# define DEBUG_STATS