evas/cserve2: Re-enable speculative load

I've tested it and I can confirm that it's working fine with the new
scalecache support on Cserve2. So, let's use it again.

Signed-off-by: Paulo Alcantara <pcacjr@profusion.mobi>

Patch by: Paulo Alcantara <pcacjr@profusion.mobi>



SVN revision: 80177
This commit is contained in:
Paulo Alcantara 2012-12-04 15:40:00 +00:00 committed by Iván Briano
parent dcd25a2d9c
commit 633e29c5a5
1 changed files with 3 additions and 4 deletions

View File

@ -2138,10 +2138,9 @@ cserve2_cache_image_opts_set(Client *client, Msg_Setopts *msg)
fentry = entry->file;
fentry->images = eina_list_append(fentry->images, entry);
if ((!entry->opts.scale_dst_w) && (!entry->opts.scale_dst_h))
entry->base.request = cserve2_request_add(CSERVE2_REQ_IMAGE_SPEC_LOAD,
0, NULL, fentry->base.request,
&_load_funcs, entry);
entry->base.request = cserve2_request_add(CSERVE2_REQ_IMAGE_SPEC_LOAD,
0, NULL, fentry->base.request,
&_load_funcs, entry);
return 0;
}