mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
src/gui/movieplayer.cpp: check return after playbeck start
This commit is contained in:
@@ -851,8 +851,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