[mythtv-commits] mythtv/master commit: 3b83dbd6d by Gavin Hurlbut (Beirdo)

MythTV noreply at mythtv.org
Tue Jan 3 08:43:24 UTC 2012


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2012-01-03T00:42:48-08:00
   Push Date:  2012/01/03 00:43:13 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  3b83dbd6de293f1f5844675ff20da17a78e3a5ff
   Changeset:  https://github.com/MythTV/mythtv/commit/3b83dbd6d

Log:

Make the ThumbGenerator thread actually abort

When you exit mythgallery, it deletes the ThumbGenerator, which causes it to
wait for completion.  As the inner code was never checking for an abort,
sometimes this would take a very long time, especially when dealing with
RAW format pictures.

Now, when cancel() is called, a flag is set that is checked in the inner
loops to cause a more immediate exit.

Fixes #10185

Modified:

   mythplugins/mythgallery/mythgallery/thumbgenerator.cpp
   mythplugins/mythgallery/mythgallery/thumbgenerator.h



More information about the mythtv-commits mailing list