Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed: someone left his debug code laying around

  • Loading branch information...
commit 28d0e1bef8c4b53b9c2ef2a4651af8bf2ba478a3 1 parent 129f45c
bobo1on1 authored
Showing with 0 additions and 18 deletions.
  1. +0 −18 xbmc/cores/dvdplayer/DVDPlayerVideo.cpp
18 xbmc/cores/dvdplayer/DVDPlayerVideo.cpp
View
@@ -47,17 +47,6 @@
using namespace std;
-#include <time.h>
-#include <stdint.h>
-
-inline int64_t getTimeInMillis()
-{
- timespec time;
- clock_gettime(CLOCK_REALTIME, &time);
- return time.tv_sec * 1000L + time.tv_nsec / 1000000L;
-}
-
-
class CPulldownCorrection
{
public:
@@ -322,8 +311,6 @@ void CDVDPlayerVideo::Process()
while (!m_bStop)
{
- int64_t start = getTimeInMillis();
-
int iQueueTimeOut = (int)(m_stalled ? frametime / 4 : frametime * 10) / 1000;
int iPriority = (m_speed == DVD_PLAYSPEED_PAUSE && m_started) ? 1 : 0;
@@ -718,9 +705,6 @@ void CDVDPlayerVideo::Process()
}
}
- int64_t end = getTimeInMillis();
- //printf("Process: %d\n", int(end - start));
-
// all data is used by the decoder, we can safely free it now
pMsg->Release();
}
@@ -875,10 +859,8 @@ void CDVDPlayerVideo::ProcessOverlays(DVDVideoPicture* pSource, YV12Image* pDest
}
else
{
-#if 0
AutoCrop(pSource);
CDVDCodecUtils::CopyPicture(pDest, pSource);
-#endif
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.