Movieplayer cleanup: remove unused, split huge PlayFile to functions, fix MB jumps, etc. Please test.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1977 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
focus
2011-12-16 13:42:43 +00:00
parent 23ac13f702
commit 1ed77d2b22
4 changed files with 667 additions and 921 deletions

View File

@@ -3771,11 +3771,11 @@ void stop_daemons(bool stopall)
g_Zapit->shutdown();
pthread_join(zapit_thread, NULL);
#endif
delete &CMoviePlayerGui::getInstance();
CZapit::getInstance()->Stop();
printf("zapit shutdown done\n");
CVFD::getInstance()->Clear();
if(stopall) {
CMoviePlayerGui::Delete(); //remove instance
if (cpuFreq)
cpuFreq->SetCpuFreq(g_settings.cpufreq * 1000 * 1000);
if (powerManager) {