[mythtv-commits] mythtv commit: r27326 by tralph
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Tue Nov 23 21:19:27 UTC 2010
Author: tralph
Date: 2010-11-23 21:19:26 +0000 (Tue, 23 Nov 2010)
New Revision: 27326
Changeset: http://svn.mythtv.org/trac/changeset/27326
Log:
Several changes to fix the current position and duration of the playback OSD
* Start using the currently displayed video timecode for the OSD position instead of frame number and total frames which is inaccurate.
* Use FFmpeg duration for pre-recorded and video playback length. LiveTV is already correct since it uses the actual recording times but in-progress recordings still uses frames written and fps which is obviously wrong for variable framerate and repeat frame material. The problem with in-progress duration should be able to be fixed by using recording times like livetv does. An update to mythplayer and the recorder class will be necessary.
* Refactor and clean-up some timestamp/timecode handling.
Refs #8631.
Fixes #9109.
Modified:
trunk/mythtv/libs/libmythtv/avformatdecoder.cpp
trunk/mythtv/libs/libmythtv/avformatdecoder.h
trunk/mythtv/libs/libmythtv/frame.h
trunk/mythtv/libs/libmythtv/mythplayer.cpp
trunk/mythtv/libs/libmythtv/mythplayer.h
More information about the mythtv-commits
mailing list