Diff of /xbmc/VideoReferenceClock.h [7475bc] .. [6603ef]  Maximize  Restore

Repo status: analyzing...

  Switch to side-by-side view

--- a/xbmc/VideoReferenceClock.h
+++ b/xbmc/VideoReferenceClock.h
@@ -69,6 +69,7 @@
     bool    WaitStarted(int MSecs);
     bool    GetClockInfo(int& MissedVblanks, double& ClockSpeed, int& RefreshRate);
     void    SetFineAdjust(double fineadjust);
+    void    RefreshChanged() { m_RefreshChanged = 1; }
 #if defined(__APPLE__)
     void VblankHandler(int64_t nowtime, double fps);
@@ -93,6 +94,7 @@
     int64_t m_RefreshRate;       //current refreshrate
     int     m_PrevRefreshRate;   //previous refreshrate, used for log printing and getting refreshrate from nvidia-settings
     int     m_MissedVblanks;     //number of clock updates missed by the vblank clock
+    int     m_RefreshChanged;    //1 = we changed the refreshrate, 2 = we should check the refreshrate forced
     int     m_TotalMissedVblanks;//total number of clock updates missed, used by codec information screen
     int64_t m_VblankTime;        //last time the clock was updated when using vblank as clock

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks