src/gui/movieplayer.cpp: check return after playbeck start

This commit is contained in:
Jacek Jendrzej
2018-07-28 14:29:21 +02:00
parent ce5024052b
commit 1b71d71b4b

View File

@@ -851,7 +851,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();