[GEM-dev] ffmpeg plugin

Patrice Colet colet.patrice at free.fr
Wed Aug 28 11:43:18 CEST 2019


Le 14/08/2019 à 15:45, Patrice Colet a écrit :

> When a file is opened, if thread message is set to '1', the cpu meter 
> goes to 100%
>
I've found out how cpu load is going over 100%, this is caused by a loop 
in pix_film.cpp where gem::thread::usleep() doesn't seem to work 
properly with my code, but I don't know why.

  Adding Sleep(5) after gem::thread::usleep(5000) in pix_film.cpp :172 
resolves the cpu load problem, but I'd like to resolve this problem 
without changing anything in Gem.







More information about the GEM-dev mailing list