[Kdenlive-devel] kthumb crash? (was Re: [PATCH mlt] Clear audio and video context to NULL)

jb jb at kdenlive.org
Fri Oct 14 20:00:49 UTC 2011


On Wednesday 12 October 2011 21:17:32 Mikko Rapeli wrote:
> On Wed, Oct 12, 2011 at 10:25:57AM -0700, Dan Dennedy wrote:
> > On Tue, Oct 11, 2011 at 11:02 PM, Mikko Rapeli <mikko.rapeli at iki.fi> 
wrote:
> > > On Tue, Oct 11, 2011 at 03:32:57PM -0700, Dan Dennedy wrote:
> > >> Can you please test with this experiment?
> > >> put a return on the first line within
> > >> mlt_service.c:mlt_service_cache_set_size() and change
> > >> mlt_cache.c:DEFAULT_CACHE_SIZE to 100

Hi!

I wanted to let you know that I rewrote thread handling in Kdenlive. Now, we 
use a maximum of 3 concurrent threads (to create the audio / video thumbnails 
and query a clip's info).

I also just added a check in Kdenlive that will dynamically increase the cache 
size for avformat_producer to the number of tracks + 4, so we should hopefully 
be safe on that side.

Mikko, I would be interested to know if these changes have an influence on the 
crashes you experienced.

regards
jb




More information about the Kdenlive mailing list