From 69640f8e323eb50674ba5e8056dac778ba8d8beb Mon Sep 17 00:00:00 2001 From: Alexandre Quessy Date: Sat, 26 Apr 2014 08:50:10 -0400 Subject: [PATCH] just more prints --- MediaImpl.cpp | 2 ++ Paint.cpp | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/MediaImpl.cpp b/MediaImpl.cpp index aaccde2..9947054 100644 --- a/MediaImpl.cpp +++ b/MediaImpl.cpp @@ -23,6 +23,7 @@ */ #include "MediaImpl.h" #include +#include // -------- private implementation of VideoImpl ------- @@ -430,6 +431,7 @@ bool MediaImpl::runVideo() { } _videoNewBufferCounter--; + std::cout << "VideoImpl::runVideo: read frame #" << _videoNewBufferCounter << std::endl; } _postRun(); diff --git a/Paint.cpp b/Paint.cpp index b201781..3fe6eb0 100644 --- a/Paint.cpp +++ b/Paint.cpp @@ -76,8 +76,8 @@ int Media::getHeight() const } void Media::update() { - if (impl_->runVideo()) - bitsChanged = true; + //std::cout << "XXX Video::update()!" << std::endl; + impl_->runVideo(); } const uchar* Media::_getBits() const