summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/win/MediaPlayerPrivateQuickTimeWin.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/win/MediaPlayerPrivateQuickTimeWin.h')
-rw-r--r--WebCore/platform/graphics/win/MediaPlayerPrivateQuickTimeWin.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/win/MediaPlayerPrivateQuickTimeWin.h b/WebCore/platform/graphics/win/MediaPlayerPrivateQuickTimeWin.h
index 37b5b05..c4c893c 100644
--- a/WebCore/platform/graphics/win/MediaPlayerPrivateQuickTimeWin.h
+++ b/WebCore/platform/graphics/win/MediaPlayerPrivateQuickTimeWin.h
@@ -33,6 +33,10 @@
#include <QTMovieWin.h>
#include <wtf/OwnPtr.h>
+#ifndef DRAW_FRAME_RATE
+#define DRAW_FRAME_RATE 0
+#endif
+
namespace WebCore {
class GraphicsContext;
@@ -111,6 +115,11 @@ private:
MediaPlayer::ReadyState m_readyState;
bool m_startedPlaying;
bool m_isStreaming;
+#if DRAW_FRAME_RATE
+ int m_frameCountWhilePlaying;
+ int m_timeStartedPlaying;
+ int m_timeStoppedPlaying;
+#endif
};
}