[mythtv-commits] mythtv commit: r14009 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Jul 18 17:49:05 UTC 2007


      Author: danielk
        Date: 2007-07-18 17:49:04 +0000 (Wed, 18 Jul 2007)
New Revision: 14009
   Changeset: http://cvs.mythtv.org/trac/changeset/14009

Modified:

   branches/mythtv-vid/libs/libmythtv/avformatdecoder.cpp
   branches/mythtv-vid/libs/libmythtv/videoout_xv.cpp

Log:

Refs #3680. Avoids segfault on failed video resolution changes.

Darek's video contained some errors that made MythTV think the resolution had suddenly changed to 1328x3536. VideoOutputXv failed to allocate a buffer of this size for XVideo. This change makes sure that VideoOutputXv enters the error state which propagates to both NuppelVideoPlayer and AvFormatDecoder so that decoding can be shut down before we try to use non-existant buffers in AvFormatDecoder::GetFrame() after the error.






More information about the mythtv-commits mailing list