[mythtv-commits] mythtv commit: r18098 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Aug 7 23:01:09 UTC 2008


      Author: danielk
        Date: 2008-08-07 23:01:09 +0000 (Thu, 07 Aug 2008)
New Revision: 18098
   Changeset: http://cvs.mythtv.org/trac/changeset/18098

Modified:

   trunk/mythtv/libs/libmythtv/remoteencoder.cpp
   trunk/mythtv/libs/libmythtv/remoteencoder.h
   trunk/mythtv/libs/libmythtv/tv_play.cpp

Log:

Fixes a number of segfaults on error conditions and exits the TV event loop when TV::errored is set.

The data structure for QStringList has changed in Qt4 and will now segfault if you try to read past the end of the string list, so we need to check the length of the list returned in remoteencoder.

This usually only happens when the backend dies, so this isn't a regular occurance; but it can also happen on simple network timeouts.






More information about the mythtv-commits mailing list