]> git.sesse.net Git - mlt/commit
Do not immediately destroy all cache items on purge.
authorDan Dennedy <dan@dennedy.org>
Fri, 27 May 2011 03:45:30 +0000 (20:45 -0700)
committerDan Dennedy <dan@dennedy.org>
Fri, 27 May 2011 03:45:30 +0000 (20:45 -0700)
commite03d3ff3b98f9332f32b9680404869f8f2db2684
tree30807948ac3ccfd78b93328c897cc5a413cec6d5
parentb9d55852c2b0037d9a51b95aa7fbb9857ae9f6e7
Do not immediately destroy all cache items on purge.

This is behaving badly with the addition of mlt_service_cache_purge in
the avformat producer because there were frames in consumer buffers
holding references to cache items calling mlt_cache_item_close on
destruction.
src/framework/mlt_cache.c