mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
infoviewer.cpp: fix segfault when playing Web-TV first after reboot or new start Neutrino
- thx DboxOldie
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9554f68ce9
Author: Frankenstone <dampf_acc@online.de>
Date: 2018-11-29 (Thu, 29 Nov 2018)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1041,7 +1041,7 @@ bool CInfoViewer::showLivestreamInfo()
|
||||
std::string title = "";
|
||||
std::vector<std::string> keys, values;
|
||||
cPlayback *playback = CMoviePlayerGui::getInstance().getPlayback();
|
||||
if (playback)
|
||||
if (playback && playback->IsPlaying())
|
||||
playback->GetMetadata(keys, values);
|
||||
size_t count = keys.size();
|
||||
if (count > 0)
|
||||
|
Reference in New Issue
Block a user