Author: markk
Date: 2010-08-16 10:48:46 +0000 (Mon, 16 Aug 2010)
New Revision: 25701
Changeset: http://svn.mythtv.org/trac/changeset/25701
Modified:
trunk/mythtv/libs/libmythtv/mythplayer.cpp
trunk/mythtv/libs/libmythtv/mythplayer.h
trunk/mythtv/libs/libmythtv/teletextdecoder.cpp
Log:
Improved mutli-threaded approach to subtitle initialisation.
Firstly, improve the teletext viewer setup from r25696 and ensure the
viewer is always created by the player thread. This was causing problems
when subtitles are on by default and are initialised early by the
decoder thread.
Secondly, apply a similar fix to the TracksChanged method to ensure
subtitles are enabled from the player thread.