[CinCV TNG] Debugging motion blur

Johannes Sixt j6t at kdbg.org
Fri Apr 3 22:22:15 CEST 2015


Am 03.04.2015 um 06:05 schrieb Nicola Ferralis:
> Hi, I am checking if there is any clue from the coverity scan that can
> suggest why motion blur doesn't work. One interesting bit comes from:
>
> plugins/blur/blur.C, line 377:
>
> void BlurEngine::run()
> {
>          int i, j, k, l;
>          int strip_size;
>      while(1)
>      {
>          input_lock.lock();
>          ...
>
>     lock: lock locks this->input_lock.mutex.
>     CID 57861 (#1 of 1): Double lock (LOCK)322. double_lock: lock locks
> this->input_lock.mutex twice.
>
> Essentially, there might be an issue with the lock leading to a program
> hang...
>
> Not sure here, thoughts?

Indeed, that looks wrong. It looks like these objects should not be 
Mutex, but Conditional. That does not explain why some of the blur 
plugins that use BlurEngine work, though.

-- Hannes



More information about the Cinelerra mailing list