mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
Merge branch 'master' into pu/mp
This commit is contained in:
@@ -843,7 +843,7 @@ bool CMoviePlayerGui::luaGetUrl(const std::string &script, const std::string &fi
|
||||
return false;
|
||||
}
|
||||
|
||||
string errMsg = "";
|
||||
std::string errMsg = "";
|
||||
Json::Value root;
|
||||
bool ok = parseJsonFromString(result_string, &root, &errMsg);
|
||||
if (!ok) {
|
||||
@@ -2619,7 +2619,7 @@ void CMoviePlayerGui::showSubtitle(neutrino_msg_data_t data)
|
||||
size_t start = 0, end = 0;
|
||||
/* split string with \N as newline */
|
||||
std::string delim("\\N");
|
||||
while ((end = str.find(delim, start)) != string::npos) {
|
||||
while ((end = str.find(delim, start)) != std::string::npos) {
|
||||
subtext.push_back(str.substr(start, end - start));
|
||||
start = end + 2;
|
||||
}
|
||||
|
Reference in New Issue
Block a user