Permalink
Browse files

[rbp] changed reduced omx clock access in omxplayer

  • Loading branch information...
huceke committed Dec 5, 2012
1 parent 905d248 commit 323294915230d6c55c6332a4be71595f6f5f68fa
Showing with 6 additions and 6 deletions.
  1. +6 −6 xbmc/cores/omxplayer/OMXPlayer.cpp
@@ -634,7 +634,7 @@ bool COMXPlayer::OpenInputStream()
SetAVDelay(g_settings.m_currentVideoSettings.m_AudioDelay);
SetSubTitleDelay(g_settings.m_currentVideoSettings.m_SubtitleDelay);
m_av_clock.Reset();
- m_av_clock.OMXReset();
+ //m_av_clock.OMXReset();
m_dvd.Clear();
m_iChannelEntryTimeOut = 0;
@@ -757,8 +757,8 @@ void COMXPlayer::OpenDefaultStreams(bool reset)
CloseTeletextStream(true);
*/
- m_av_clock.OMXStop();
- m_av_clock.OMXReset();
+ //m_av_clock.OMXStop();
+ //m_av_clock.OMXReset();
}
bool COMXPlayer::ReadPacket(DemuxPacket*& packet, CDemuxStream*& stream)
@@ -956,8 +956,8 @@ void COMXPlayer::Process()
if(g_guiSettings.GetBool("videoplayer.adjustrefreshrate"))
m_av_clock.HDMIClockSync();
- m_av_clock.OMXStateExecute();
- m_av_clock.OMXStart();
+ //m_av_clock.OMXStateExecute();
+ //m_av_clock.OMXStart();
//CLog::Log(LOGDEBUG, "COMXPlayer: Thread started");
@@ -3643,7 +3643,7 @@ bool COMXPlayer::GetCurrentSubtitle(CStdString& strSubtitle)
if (m_pInputStream && m_pInputStream->IsStreamType(DVDSTREAM_TYPE_DVD))
return false;
- double pts = m_av_clock.OMXMediaTime();
+ double pts = m_av_clock.OMXMediaTime(false);
m_player_subtitle.GetCurrentSubtitle(strSubtitle, pts - m_player_video.GetSubtitleDelay());

0 comments on commit 3232949

Please sign in to comment.