mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
src/gui/movieplayer.cpp: check return after playback start
Origin commit data
------------------
Branch: ni/coolstream
Commit: 886140c10b
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2018-07-28 (Sat, 28 Jul 2018)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -850,8 +850,8 @@ bool CMoviePlayerGui::StartWebtv(void)
|
||||
playback->Open(is_file_player ? PLAYMODE_FILE : PLAYMODE_TS);
|
||||
|
||||
bool res = playback->Start((char *) file_name.c_str(), cookie_header);//url with cookies
|
||||
|
||||
playback->SetSpeed(1);
|
||||
if (res)
|
||||
playback->SetSpeed(1);
|
||||
if (!res) {
|
||||
playback->Close();
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user