mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
neutrino.cpp: fix webtv subtitles crash when subtitle arrive
while other gui on the screen (re-post deleted msg)
Origin commit data
------------------
Branch: ni/coolstream
Commit: b047fe0261
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2016-02-02 (Tue, 02 Feb 2016)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2712,7 +2712,8 @@ int CNeutrinoApp::handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data)
|
||||
return messages_return::handled;
|
||||
}
|
||||
if (mode == mode_webtv && msg == NeutrinoMessages::EVT_SUBT_MESSAGE) {
|
||||
CMoviePlayerGui::getInstance().showSubtitle(data);
|
||||
CMoviePlayerGui::getInstance(true).showSubtitle(data);
|
||||
return messages_return::handled;
|
||||
}
|
||||
if(msg == NeutrinoMessages::EVT_ZAP_COMPLETE) {
|
||||
CZapit::getInstance()->GetAudioMode(g_settings.audio_AnalogMode);
|
||||
|
Reference in New Issue
Block a user