Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
AMLPlayer.cpp - CMediaSettings not declared bug
#1
Missing include statement:

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:TongueRIORITY&' argument. kJobTypeMediaFlags is returned from a method in VideoThumbLoader.h as a const char*. I changed kJobTypeMediaFlags to CJob:TongueRIORITY_LOW in AMLPlayer.cpp just to get it compiled, but I am sure that is not right.
Reply

Logout Mark Read Team Forum Stats Members Help
AMLPlayer.cpp - CMediaSettings not declared bug0
This forum uses Lukasz Tkacz MyBB addons.