rage thumb - limit max parallel thumb fetch to 4 at a time

if you have 128 cores, running 64 of these isnt a brilliant idea.
v-0.4.0
Carsten Haitzler 4 years ago
parent 02cb1632c0
commit 268e125104
  1. 1
      src/bin/videothumb.c

@ -239,6 +239,7 @@ _cb_videothumb_delay(void *data)
Evas_Object *obj = data;
Videothumb *sd = evas_object_smart_data_get(obj);
unsigned int maxnum = (eina_cpu_count() / 2) + 1;
if (maxnum > 4) maxnum = 4;
if (!sd) return EINA_FALSE;
if (eina_list_count(busy_thumbs) < maxnum)
{

Loading…
Cancel
Save