[mythtv-commits] mythtv/master commit: 3721bc0a1 by Gavin Hurlbut (Beirdo)

MythTV noreply at mythtv.org
Fri Apr 8 19:56:41 UTC 2011


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2011-04-08T12:56:07-07:00
   Push Date:  2011/04/08 12:56:39 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  3721bc0a1c6c0b4b109abf61c24d91a2ce879e1f
   Changeset:  https://github.com/MythTV/mythtv/commit/3721bc0a1

Log:

Handle decoded frame number of -1 more gracefully

Fixes #9699.  The proposed fix in the ticket has been implemented.  As the
frameNumber can be -1, the type of lastDecodedFrameNumber must be signed.  This
is to fix a premature exit during transcoding, but it quite likely could rear
its ugly head in other contexts too.

A better permanent fix would be to treat the special case of frameNumber == -1
and deal with it specifically.

Thanks to ghaushe for the find.

Modified:

   mythtv/libs/libmythtv/mythplayer.cpp



More information about the mythtv-commits mailing list