summaryrefslogtreecommitdiffstats
path: root/media/tools/player_wtl/view.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/tools/player_wtl/view.h')
-rw-r--r--media/tools/player_wtl/view.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/media/tools/player_wtl/view.h b/media/tools/player_wtl/view.h
index dd1aaaf..cbb0a48 100644
--- a/media/tools/player_wtl/view.h
+++ b/media/tools/player_wtl/view.h
@@ -182,7 +182,8 @@ class WtlVideoWindow : public CScrollWindowImpl<WtlVideoWindow> {
}
// Append each frame to end of file.
- bool enable_dump_yuv_file = media::Movie::get()->GetDumpYuvFileEnable();
+ bool enable_dump_yuv_file =
+ media::Movie::GetInstance()->GetDumpYuvFileEnable();
if (enable_dump_yuv_file) {
DumpYUV(video_frame);
}
@@ -191,7 +192,7 @@ class WtlVideoWindow : public CScrollWindowImpl<WtlVideoWindow> {
double yuv_time_start = GetTime(); // Start timer.
#endif
- bool enable_draw = media::Movie::get()->GetDrawEnable();
+ bool enable_draw = media::Movie::GetInstance()->GetDrawEnable();
if (enable_draw) {
DCHECK(bm.bmBitsPixel == 32);
DrawYUV(video_frame,