[mythtv-commits] mythtv commit: r26647 by markk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Oct 5 04:53:09 UTC 2010


      Author: markk
        Date: 2010-10-05 04:53:09 +0000 (Tue, 05 Oct 2010)
New Revision: 26647
   Changeset: http://svn.mythtv.org/trac/changeset/26647

Log:

Don't leak threads when using multithreaded video decoding.

Each call to avcodec_thread_init creates X new threads regardless of how
many already exist and those existing threads are leaked. So clear any
existing threads if we have already initialised multi-threaded decoding.

This was particularily obvious with dvd playback which re-configures the
video each time it hits a new scene or still frame.


Modified:

   trunk/mythtv/libs/libmythtv/avformatdecoder.cpp




More information about the mythtv-commits mailing list