]> git.sesse.net Git - mlt/commit
Remove audio processing from the worker threads.
authorDan Dennedy <dan@dennedy.org>
Wed, 16 Jun 2010 04:52:30 +0000 (21:52 -0700)
committerDan Dennedy <dan@dennedy.org>
Mon, 24 Jan 2011 02:09:43 +0000 (18:09 -0800)
commitb20de60c7924a17e2d93f45538b60cb5252e8755
tree5edafe768b95858cb14f871170fe9c5552da1678
parentf36f00491f9d681cbffaab4ebdf8522b89f6cc35
Remove audio processing from the worker threads.

This has a bad interaction with the avformat producer, which contains a
buffer of unused decoded samples. This shifts audio processing to the
main consumer thread, which is often light anyways. I recommend to set
the threads property to 2 or more on the avformat consumer to offload
video encoding to separate threads from the audio processing and
encoding.
src/framework/mlt_consumer.c