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:
Jacek Jendrzej
2018-07-28 17:10:23 +02:00
committed by vanhofen
parent ec79f66188
commit 08d889251b

View File

@@ -850,7 +850,7 @@ 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
if (res)
playback->SetSpeed(1);
if (!res) {
playback->Close();