[rbp] The stillframe logic doesn't work on Pi and causes stuttering
authorpopcornmix <popcornmix@gmail.com>
Wed, 3 Apr 2013 00:58:02 +0000 (01:58 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 3 Apr 2013 14:49:40 +0000 (15:49 +0100)
xbmc/cores/omxplayer/OMXPlayerVideo.cpp

index ae2971e..d9326dd 100644 (file)
@@ -383,21 +383,6 @@ void OMXPlayerVideo::Process()
     }
     else if (ret == MSGQ_TIMEOUT)
     {
-      // if we only wanted priority messages, this isn't a stall
-      if( iPriority )
-        continue;
-
-      //Okey, start rendering at stream fps now instead, we are likely in a stillframe
-      if( !m_stalled )
-      {
-        if(m_started)
-          CLog::Log(LOGINFO, "COMXPlayerVideo - Stillframe detected, switching to forced %f fps", m_fFrameRate);
-        m_stalled = true;
-        pts += frametime*4;
-      }
-
-      pts += frametime;
-
       continue;
     }