Skip to content
This repository
Browse code

fixed: someone left his debug code laying around

  • Loading branch information...
commit 28d0e1bef8c4b53b9c2ef2a4651af8bf2ba478a3 1 parent 129f45c
bobo1on1 authored

Showing 1 changed file with 0 additions and 18 deletions. Show diff stats Hide diff stats

  1. +0 18 xbmc/cores/dvdplayer/DVDPlayerVideo.cpp
18 xbmc/cores/dvdplayer/DVDPlayerVideo.cpp
@@ -47,17 +47,6 @@
47 47
48 48 using namespace std;
49 49
50   -#include <time.h>
51   -#include <stdint.h>
52   -
53   -inline int64_t getTimeInMillis()
54   -{
55   - timespec time;
56   - clock_gettime(CLOCK_REALTIME, &time);
57   - return time.tv_sec * 1000L + time.tv_nsec / 1000000L;
58   -}
59   -
60   -
61 50 class CPulldownCorrection
62 51 {
63 52 public:
@@ -322,8 +311,6 @@ void CDVDPlayerVideo::Process()
322 311
323 312 while (!m_bStop)
324 313 {
325   - int64_t start = getTimeInMillis();
326   -
327 314 int iQueueTimeOut = (int)(m_stalled ? frametime / 4 : frametime * 10) / 1000;
328 315 int iPriority = (m_speed == DVD_PLAYSPEED_PAUSE && m_started) ? 1 : 0;
329 316
@@ -718,9 +705,6 @@ void CDVDPlayerVideo::Process()
718 705 }
719 706 }
720 707
721   - int64_t end = getTimeInMillis();
722   - //printf("Process: %d\n", int(end - start));
723   -
724 708 // all data is used by the decoder, we can safely free it now
725 709 pMsg->Release();
726 710 }
@@ -875,10 +859,8 @@ void CDVDPlayerVideo::ProcessOverlays(DVDVideoPicture* pSource, YV12Image* pDest
875 859 }
876 860 else
877 861 {
878   -#if 0
879 862 AutoCrop(pSource);
880 863 CDVDCodecUtils::CopyPicture(pDest, pSource);
881   -#endif
882 864 }
883 865 }
884 866

0 comments on commit 28d0e1b

Please sign in to comment.
Something went wrong with that request. Please try again.