[mythtv-commits] mythtv commit: r27011 by markk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Oct 28 07:20:24 UTC 2010


      Author: markk
        Date: 2010-10-28 07:20:24 +0000 (Thu, 28 Oct 2010)
New Revision: 27011
   Changeset: http://svn.mythtv.org/trac/changeset/27011

Log:

Add a lock around the OSD object in MythPlayer.

With the recent changes in MythPlayer, the OSD is accessed and modified
almost exclusively from the main playback/UI thread. The one exception
to this is when the decoder triggers a video stream change and the
VideoOutput object is recreated - which may recreate the OSD painter.

Post 0.24, I'll move the video object recreation into the main thread as
well but it is a fairly significant change with huge potential for
locking up the player - and hence it needs to wait.


Modified:

   trunk/mythtv/libs/libmythtv/mythplayer.cpp
   trunk/mythtv/libs/libmythtv/mythplayer.h
   trunk/mythtv/libs/libmythtv/playercontext.cpp
   trunk/mythtv/libs/libmythtv/playercontext.h
   trunk/mythtv/libs/libmythtv/tv_play.cpp
   trunk/mythtv/libs/libmythtv/tv_play.h




More information about the mythtv-commits mailing list