[mythtv-commits] mythtv commit: r27419 - in branches/release-0-24-fixes by markk
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Thu Dec 2 15:10:13 UTC 2010
Author: markk
Date: 2010-12-02 15:10:13 +0000 (Thu, 02 Dec 2010)
New Revision: 27419
Changeset: http://svn.mythtv.org/trac/changeset/27419
Log:
Backport r27381 from trunk to release-0-24-fixes
Refactor TeletextDecoder and TeletextScreen and add a new TeletextReader
class.
This follows the approach used in the other subtitle and caption classes
whereby the screen object handles OSD representation of the data, the
reader object holds the state and data and the decoder object feeds new
data into the reader.
This simplifies setup and initialisation of the teletext objects and
removes the requirement to lock the OSD from the decoder, which was
causing endless problems.
The previous behaviour of always decoding teletext packets is also
reinstated which radically improves responsiveness. Actually decoding
and parsing the packets is trivial for a modern processor and hence
should have no impact on performance.
Closes #9271
Added:
branches/release-0-24-fixes/mythtv/libs/libmythtv/teletextreader.cpp
branches/release-0-24-fixes/mythtv/libs/libmythtv/teletextreader.h
Modified:
branches/release-0-24-fixes/
branches/release-0-24-fixes/mythtv/libs/libmythtv/avformatdecoder.cpp
branches/release-0-24-fixes/mythtv/libs/libmythtv/avformatdecoder.h
branches/release-0-24-fixes/mythtv/libs/libmythtv/decoderbase.h
branches/release-0-24-fixes/mythtv/libs/libmythtv/libmythtv.pro
branches/release-0-24-fixes/mythtv/libs/libmythtv/mythplayer.cpp
branches/release-0-24-fixes/mythtv/libs/libmythtv/mythplayer.h
branches/release-0-24-fixes/mythtv/libs/libmythtv/teletextdecoder.cpp
branches/release-0-24-fixes/mythtv/libs/libmythtv/teletextdecoder.h
branches/release-0-24-fixes/mythtv/libs/libmythtv/teletextscreen.cpp
branches/release-0-24-fixes/mythtv/libs/libmythtv/teletextscreen.h
More information about the mythtv-commits
mailing list