aboutsummaryrefslogtreecommitdiff
path: root/xbmc/cores/VideoPlayer/VideoPlayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/cores/VideoPlayer/VideoPlayer.cpp')
-rw-r--r--xbmc/cores/VideoPlayer/VideoPlayer.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/xbmc/cores/VideoPlayer/VideoPlayer.cpp b/xbmc/cores/VideoPlayer/VideoPlayer.cpp
index b43fe8c622..78e9cc3cdc 100644
--- a/xbmc/cores/VideoPlayer/VideoPlayer.cpp
+++ b/xbmc/cores/VideoPlayer/VideoPlayer.cpp
@@ -17,6 +17,7 @@
#include "DVDDemuxers/DVDFactoryDemuxer.h"
#include "DVDInputStreams/DVDFactoryInputStream.h"
#include "DVDInputStreams/DVDInputStream.h"
+#include "network/NetworkFileItemClassify.h"
#if defined(HAVE_LIBBLURAY)
#include "DVDInputStreams/DVDInputStreamBluray.h"
#endif
@@ -46,6 +47,7 @@
#include "input/actions/Action.h"
#include "input/actions/ActionIDs.h"
#include "messaging/ApplicationMessenger.h"
+#include "network/NetworkFileItemClassify.h"
#include "settings/AdvancedSettings.h"
#include "settings/Settings.h"
#include "settings/SettingsComponent.h"
@@ -68,6 +70,7 @@
#include <mutex>
#include <utility>
+using namespace KODI;
using namespace std::chrono_literals;
//------------------------------------------------------------------------------
@@ -999,7 +1002,7 @@ void CVideoPlayer::OpenDefaultStreams(bool reset)
CloseStream(m_CurrentAudioID3, false);
// disable demux streams
- if (m_item.IsRemote() && m_pDemuxer)
+ if (NETWORK::IsRemote(m_item) && m_pDemuxer)
{
for (auto &stream : m_SelectionStreams.m_Streams)
{