From a88da91269e63d06e79dd23e8aa435c21051d6fc Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Mon, 28 Mar 2016 15:26:18 +0300 Subject: [PATCH] gui/movieplayer.cpp clear cookie_header before call lua script --- src/gui/movieplayer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index b33d2de7e..5667ed958 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -964,6 +964,7 @@ bool CMoviePlayerGui::PlayBackgroundStart(const std::string &file, const std::st std::string realUrl = file; std::string _pretty_name = name; + cookie_header.clear(); if (!getLiveUrl(chan, file, script, realUrl, _pretty_name, livestreamInfo1, livestreamInfo2, cookie_header)) { /* FIXME: lua->runScript calling channelRezap, which makes neutrino to loop at start, let playback start -> drop messages in ShowStartHint */