src/modules/avformat/producer_avformat.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
New commits: commit b416e89bdd072abf3c9276e69eee54f346da2dbf Author: Dan Dennedy <d...@dennedy.org> Date: Sun May 22 11:30:32 2011 -0700 Fix full closure of avformat on explicit close. JBM wrote: Creating a video4linux producer like (simplified code): producer = new Mlt::Producer(*profile, "video4linux2:/dev/video0"); consumer->connect(*producer); consumer->start(); It works fine. But when I want to stop the capture, there is no way to stop the video4linux producer. Deleting the producer and the consumer still leaves the video4linux device open. After a few hours of struggling, I figured out that some stuff was kept in the cache. Adding : mlt_service_cache_purge( MLT_PRODUCER_SERVICE(parent) ); to producer_close (as already done for the qimage producer for example) fixes the issue. ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Mlt-devel mailing list Mlt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mlt-devel