diff --git a/xbmc/cores/VideoPlayer/VideoPlayer.cpp b/xbmc/cores/VideoPlayer/VideoPlayer.cpp index 0e70d0df2ad73..da5645d6b9194 100644 --- a/xbmc/cores/VideoPlayer/VideoPlayer.cpp +++ b/xbmc/cores/VideoPlayer/VideoPlayer.cpp @@ -4741,7 +4741,7 @@ float CVideoPlayer::GetRenderAspectRatio() RESOLUTION CVideoPlayer::GetRenderResolution() { - return m_renderManager.GetResolution(); + return g_graphicsContext.GetVideoResolution(); } bool CVideoPlayer::IsRenderingVideo() diff --git a/xbmc/cores/VideoPlayer/VideoPlayerVideo.cpp b/xbmc/cores/VideoPlayer/VideoPlayerVideo.cpp index ebaef13ab084b..fa5fd437cbc79 100644 --- a/xbmc/cores/VideoPlayer/VideoPlayerVideo.cpp +++ b/xbmc/cores/VideoPlayer/VideoPlayerVideo.cpp @@ -130,7 +130,7 @@ CVideoPlayerVideo::CVideoPlayerVideo(CDVDClock* pClock m_bRenderSubs = false; m_stalled = false; - m_syncState == IDVDStreamPlayer::SYNC_STARTING; + m_syncState = IDVDStreamPlayer::SYNC_STARTING; m_iVideoDelay = 0; m_iSubtitleDelay = 0; m_FlipTimeStamp = 0.0;