[mythtv-commits] mythtv/fixes/0.24 commit: a7acb7b0e by Taylor Ralph (tralph)

MythTV noreply at mythtv.org
Sat Feb 4 05:40:37 UTC 2012


      Author:  Taylor Ralph <tralph at mythtv.org>
 Change Date:  2012-02-03T21:13:22-08:00
   Push Date:  2012/02/03 21:40:30 -0800
  Repository:  mythtv
      Branch:  fixes/0.24
New Revision:  a7acb7b0e28c2373088be0cdd7f02088510e8e16
   Changeset:  https://github.com/MythTV/mythtv/commit/a7acb7b0e

Log:

avformatdecoder: improve fps detection in normalized_fps()

This should fix issues with mov style containers by using the avg_frame_rate
which is set by the demuxer.

NOTE: Using estimated_fps seems to always be accurate for everything except
matroska and mov. It appears that ffmpeg takes into account the codec and
container fps when generating estimated_fps. Also, XBMC uses
estimated_fps for everything except matroska. We should probably do the same.

Fixes #10300.
(cherry picked from commit 6c22eda37519a3da50558e468ce0a76e770b9399)

Modified:

   mythtv/libs/libmythtv/avformatdecoder.cpp



More information about the mythtv-commits mailing list