[mythtv-commits] mythtv branch master updated by paulh. v0.28-pre-662-g193dc63

Git Repo Owner noreply at mythtv.org
Sat Jan 4 10:12:51 UTC 2014


The branch, master has been updated on the
mythtv repository by gitolite user paulh.
       via  193dc636e5fa5ac5edd3589094a58e79a6ab779b (commit)
      from  b383c329417a4e4b0b786e51e0d24962728a738b (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 193dc636e5fa5ac5edd3589094a58e79a6ab779b
Author:    Paul Harrison <pharrison at mythtv.org> at Sat, 4 Jan 2014 10:12:23 +0000
Committer: Paul Harrison <pharrison at mythtv.org> at Sat, 4 Jan 2014 10:12:23 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=193dc636e5fa5ac5edd3589094a58e79a6ab779b

MythMusic: avoid storing a pointer to the current playlist in the music player
Always get the current playlist from MusicData to avoid possibly referencing a
stale pointer. This can occur while doing a rescan.

Also add NULL checks everywhere just in case.

Refs #11906.



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

Summary of changes:
 mythplugins/mythmusic/mythmusic/musiccommon.cpp    |  102 ++++++++++++--------
 mythplugins/mythmusic/mythmusic/musicplayer.cpp    |   94 +++++++++++-------
 mythplugins/mythmusic/mythmusic/musicplayer.h      |    3 +-
 mythplugins/mythmusic/mythmusic/playlist.cpp       |    2 +-
 .../mythmusic/mythmusic/playlisteditorview.cpp     |   16 ++--
 mythplugins/mythmusic/mythmusic/searchview.cpp     |   15 ++-
 mythplugins/mythmusic/mythmusic/streamview.cpp     |    7 +-
 7 files changed, 144 insertions(+), 95 deletions(-)

-- 



More information about the mythtv-commits mailing list