[mythtv-commits] mythtv commit: r26850 by beirdo

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sun Oct 17 17:35:21 UTC 2010

      Author: beirdo
        Date: 2010-10-17 17:35:21 +0000 (Sun, 17 Oct 2010)
New Revision: 26850
   Changeset: http://svn.mythtv.org/trac/changeset/26850


Stop skipping the rest of the video when encountering a slice header in parsing
in FindPSKeyFrames.  On some ivtv setups, and also on saa7164 (aka HVR-2250),
this can at times miss a large number of frames in the frame count, as it seems
more than one frame is passed back at once in the PES packet (it looks like),
and this optimization would skip them.  The net result was the frame count
being off by a fairly large margin, often showing 1/3 to 1/10 of the actual
frame number.  This didn't seem to be a change in FFmpeg code, nor in ours, but
apparently in driver/firmware behavior.

This function can use a rework after release, but for now, this seems to fix
the issue at hand.

Fixes #7978



More information about the mythtv-commits mailing list