[mythtv-firehose] mythtv/mythtv-rec2 commit: 098438f8d by Gavin Hurlbut (Beirdo)

MythTV noreply at mythtv.org
Mon Jun 27 21:29:49 UTC 2011


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2011-06-24T14:12:56-07:00
   Push Date:  2011/06/27 14:29:39 -0700
  Repository:  mythtv
      Branch:  mythtv-rec2
New Revision:  098438f8de4cf304c0b1501fd9ed88770ea8f8e3
   Changeset:  https://github.com/MythTV/mythtv/commit/098438f8d

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-firehose mailing list