gui/movieplayer.cpp: add support to play files from upnp browser,

add support to stop playback while open in progress, to interrupt i.e. ffmpeg analyze etc, based on code (c) martii <m4rtii@gmx.de>
This commit is contained in:
[CST] Focus
2013-09-03 12:18:02 +04:00
parent 2df40249d6
commit 6fe70ff17d
2 changed files with 80 additions and 20 deletions

View File

@@ -98,6 +98,9 @@ class CMoviePlayerGui : public CMenuTarget
/* playback from MB */
bool isMovieBrowser;
bool isHTTP;
bool isUPNP;
bool showStartingHint;
CMovieBrowser* moviebrowser;
MI_MOVIE_INFO * p_movie_info;
const static short MOVIE_HINT_BOX_TIMER = 5; // time to show bookmark hints in seconds
@@ -138,6 +141,9 @@ class CMoviePlayerGui : public CMenuTarget
void clearSubtitle();
void selectChapter();
void Cleanup();
static void *ShowStartHint(void *arg);
CMoviePlayerGui(const CMoviePlayerGui&) {};
CMoviePlayerGui();
@@ -155,6 +161,7 @@ class CMoviePlayerGui : public CMenuTarget
void UpdatePosition();
int timeshift;
int file_prozent;
void SetFile(std::string &name, std::string &file) { file_name = name; full_name = file; }
};
#endif