[mythtv-commits] mythtv commit: r23612 by tralph

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Fri Feb 26 05:07:48 UTC 2010


      Author: tralph
        Date: 2010-02-26 05:07:48 +0000 (Fri, 26 Feb 2010)
New Revision: 23612
   Changeset: http://svn.mythtv.org/trac/changeset/23612

Modified:

   trunk/mythtv/libs/libmythtv/avformatdecoder.cpp

Log:

Correct the video timestamp fixup code by making the following changes:

 * Perform fixup when PTS is not available which is indicated by temppts == 0.

 * Calculate temppts using fps instead of context->time_base. The prior calculation was actually wrong since it also needed to be multiplied by context->ticks_per_frame. Using fps also allows us to be consistent with normalized_fps().

This commit is a slight modification of the provided patch. 

Thanks to Peter Alm for the patch and sample.

Fixes #7961.





More information about the mythtv-commits mailing list