[mythtv-commits] mythtv commit: r27030 by markk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Fri Oct 29 03:06:06 UTC 2010


      Author: markk
        Date: 2010-10-29 03:06:06 +0000 (Fri, 29 Oct 2010)
New Revision: 27030
   Changeset: http://svn.mythtv.org/trac/changeset/27030

Log:

Backport r27011 from trunk to release-0-24-fixes.

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:

   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/playercontext.cpp
   branches/release-0-24-fixes/mythtv/libs/libmythtv/playercontext.h
   branches/release-0-24-fixes/mythtv/libs/libmythtv/tv_play.cpp
   branches/release-0-24-fixes/mythtv/libs/libmythtv/tv_play.h




More information about the mythtv-commits mailing list