[mythtv-commits] mythtv branch master updated by danielk. v0.26-alpha-20-ge29f47d

Git Repo Owner noreply at mythtv.org
Sat Jul 21 16:03:28 UTC 2012


The branch, master has been updated on the
mythtv repository by gitolite user danielk.
       via  e29f47d57c439ccbe6cac2476d8a616323eed44c (commit)
      from  84aac9d80f98a30d3cb68caf4827e9e92caedbc1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e29f47d57c439ccbe6cac2476d8a616323eed44c
Author:    Daniel Kristjansson <danielk at cuymedia.net> at Sat, 21 Jul 2012 12:03:13 -0400
Committer: Daniel Kristjansson <danielk at cuymedia.net> at Sat, 21 Jul 2012 12:03:13 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=e29f47d57c439ccbe6cac2476d8a616323eed44c

Fixes #10926. Safely teardown MythPainters.
The deadlock was actually the least of our problems.
Since MythPainter::DeleteFormatImagePriv() is a pure
virtual in MythPainter calling ExpireImages() in
the dtor is unsafe. This puts the teardown code
into a Teardown() method which is called from all
the child classes where it is safe to do the teardown.



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythbase/mythversion.h        |    2 +-
 mythtv/libs/libmythui/mythpainter.cpp        |   40 ++++++++++++-------------
 mythtv/libs/libmythui/mythpainter.h          |   18 +++++++++--
 mythtv/libs/libmythui/mythpainter_d3d9.cpp   |    2 +-
 mythtv/libs/libmythui/mythpainter_d3d9.h     |    3 +-
 mythtv/libs/libmythui/mythpainter_ogl.cpp    |    2 +-
 mythtv/libs/libmythui/mythpainter_qimage.cpp |    2 +-
 mythtv/libs/libmythui/mythpainter_qt.cpp     |    1 +
 mythtv/libs/libmythui/mythpainter_vdpau.cpp  |    3 +-
 mythtv/libs/libmythui/mythpainter_vdpau.h    |    2 +-
 mythtv/libs/libmythui/mythpainter_yuva.cpp   |    1 +
 11 files changed, 45 insertions(+), 31 deletions(-)

-- 



More information about the mythtv-commits mailing list