/*
* Copyright (C) 2005-2013 Team XBMC
- * http://www.xbmc.org
+ * http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
#include "utils/URIUtils.h"
#include "GUIInfoManager.h"
#include "guilib/GUIWindowManager.h"
+#include "guilib/StereoscopicsManager.h"
#include "Application.h"
#include "ApplicationMessenger.h"
#include "DVDPerformanceCounter.h"
OpenAudioStream( pPacket->iStreamId, pStream->source );
m_CurrentAudio.stream = (void*)pStream;
+ m_CurrentAudio.changes = pStream->changes;
}
// check if we are too slow and need to recache
OpenVideoStream(pPacket->iStreamId, pStream->source);
m_CurrentVideo.stream = (void*)pStream;
+ m_CurrentVideo.changes = pStream->changes;
}
// check if we are too slow and need to recache
OpenSubtitleStream(pPacket->iStreamId, pStream->source);
m_CurrentSubtitle.stream = (void*)pStream;
+ m_CurrentSubtitle.changes = pStream->changes;
}
UpdateTimestamps(m_CurrentSubtitle, pPacket);
OpenTeletextStream( pPacket->iStreamId, pStream->source );
m_CurrentTeletext.stream = (void*)pStream;
+ m_CurrentTeletext.changes = pStream->changes;
}
UpdateTimestamps(m_CurrentTeletext, pPacket);
if(pMenus && pMenus->IsInMenu())
hint.stills = true;
+ if (hint.stereo_mode.empty())
+ hint.stereo_mode = CStereoscopicsManager::Get().DetectStereoModeByString(m_filename);
+
if(m_CurrentVideo.id < 0
|| m_CurrentVideo.hint != hint)
{
info.videoCodecName = retVal;
info.videoAspectRatio = m_dvdPlayerVideo.GetAspectRatio();
m_dvdPlayerVideo.GetVideoRect(info.SrcRect, info.DestRect);
+ info.stereoMode = m_dvdPlayerVideo.GetStereoMode();
+ if (info.stereoMode == "mono")
+ info.stereoMode = "";
}
int CDVDPlayer::GetSourceBitrate()