[mythtv-commits] mythtv/master commit: ebf194444 by Chris Pinkham (cpinkham)

MythTV noreply at mythtv.org
Wed Dec 7 05:44:43 UTC 2011


      Author:  Chris Pinkham <cpinkham at mythtv.org>
 Change Date:  2011-12-06T21:36:10-08:00
   Push Date:  2011/12/06 21:44:32 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  ebf194444c30eb6c7d1d6d272045674fc45a2e65
   Changeset:  https://github.com/MythTV/mythtv/commit/ebf194444

Log:

Fix video duration for videos without a seektable.

3924df8 removed an extra call to av_estimate_timings() for playback
startup optimization, but this call appears necessary to set the
duration of videos without a seektable in the DB.  There may be
a proper fix inside avformatdecoder.cpp or the ffmpeg code,
but I haven't figured out one yet.  This commit adds back the
call to av_estimate_timings() in another location in the code so
that it only executes if we were unable to determine the video
duration by any other methods.  This should allow faster startup as
intended in 3924df8 but also allowing for valid duration detection
for files without a seektable in the database.

Modified:

   mythtv/libs/libmythtv/avformatdecoder.cpp



More information about the mythtv-commits mailing list