[mythtv-commits] mythtv commit: r8080 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Nov 29 18:32:46 EST 2005


      Author: danielk
        Date: 2005-11-29 23:32:45 +0000 (Tue, 29 Nov 2005)
New Revision: 8080
   Changeset: http://cvs.mythtv.org/trac/changeset/8080

Modified:

   trunk/mythtv/libs/libmythtv/dtvrecorder.cpp

Log:

Fixes #692.

FindKeyFrames() stopped looking for frames once it had seen
a keyframe stream id. But FindKeyFrames() doesn't just find
key frames, it also tracks the total number of frames seen.
So this meant that streams that contain GOP headers would be
undercounted by one frame per keyframe interval.

This doesn't effect all streams, so I put a little note of
warning into the comments for anyone wishing to optimize
this function in the future.






More information about the mythtv-commits mailing list