2013-04-05, 02:08
Missing include statement:
Also, there is an issue with the following statement in AMLPlayer.cpp
The UnPause method in JobManager.cpp requires a 'const CJob:RIORITY&' argument. kJobTypeMediaFlags is returned from a method in VideoThumbLoader.h as a const char*. I changed kJobTypeMediaFlags to CJob:RIORITY_LOW in AMLPlayer.cpp just to get it compiled, but I am sure that is not right.
Code:
diff --git a/xbmc/cores/amlplayer/AMLPlayer.cpp b/xbmc/cores/amlplayer/AMLPlayer.cpp
index bd9c755..d6b7bdf 100644
--- a/xbmc/cores/amlplayer/AMLPlayer.cpp
+++ b/xbmc/cores/amlplayer/AMLPlayer.cpp
@@ -37,6 +37,7 @@
#include "guilib/GUIWindowManager.h"
#include "guilib/LocalizeStrings.h"
#include "settings/AdvancedSettings.h"
+#include "settings/MediaSettings.h"
#include "settings/GUISettings.h"
#include "settings/Settings.h"
#include "settings/VideoSettings.h"
Also, there is an issue with the following statement in AMLPlayer.cpp
Code:
CJobManager::GetInstance().UnPause(kJobTypeMediaFlags);
The UnPause method in JobManager.cpp requires a 'const CJob:RIORITY&' argument. kJobTypeMediaFlags is returned from a method in VideoThumbLoader.h as a const char*. I changed kJobTypeMediaFlags to CJob:RIORITY_LOW in AMLPlayer.cpp just to get it compiled, but I am sure that is not right.