diff options
Diffstat (limited to 'hlsPlayerControl.cpp')
-rw-r--r-- | hlsPlayerControl.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hlsPlayerControl.cpp b/hlsPlayerControl.cpp index b458f87..8d65310 100644 --- a/hlsPlayerControl.cpp +++ b/hlsPlayerControl.cpp @@ -40,6 +40,14 @@ cHlsPlayerControl::cHlsPlayerControl(cHlsPlayer* Player, plexclient::MediaContai cStatus::MsgReplaying(this, m_title.c_str(), m_pVideo->m_Media.m_sPartFile.c_str(), true); } +cHlsPlayerControl::~cHlsPlayerControl() +{ + dsyslog("[plex]: '%s'", __FUNCTION__); + delete player; + Hide(); + cStatus::MsgReplaying(this, NULL, NULL, false); +} + cString cHlsPlayerControl::GetHeader(void) { return m_title.c_str(); |