[mythtv-commits] mythtv/master commit: 6aea755d8 by Gavin Hurlbut (Beirdo)

MythTV noreply at mythtv.org
Fri Jun 17 18:48:48 UTC 2011


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2011-06-17T11:46:27-07:00
   Push Date:  2011/06/17 11:48:37 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  6aea755d81b3d56e26c7ac9acfb4222ba57f029c
   Changeset:  https://github.com/MythTV/mythtv/commit/6aea755d8

Log:

Add a timeout to mythpreviewgen calls

When generating a preview, only wait for 5s, then bail.  I've seen far too many
previewgens that run for hours spinning at no avail.  If you can't get one
image out of the video in 5s, you're likely never to get one at all, just fail
fast, and try again later as the preview doesn't exist.

Also removed the > /dev/null, and changed it to --quiet to suppress console
logging.  Also logging return value on failure.

Later, this should have logpath propagation added.

Modified:

   mythtv/libs/libmythtv/previewgenerator.cpp



More information about the mythtv-commits mailing list