From b041c8cbddb4127ee6d362642e3bf3a317fcfa9b Mon Sep 17 00:00:00 2001 From: Alexandre Quessy Date: Sat, 26 Apr 2014 08:50:10 -0400 Subject: [PATCH] just more prints --- Paint.cpp | 1 + VideoImpl.cpp | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Paint.cpp b/Paint.cpp index 1f4d4b8..9dd4f03 100644 --- a/Paint.cpp +++ b/Paint.cpp @@ -76,6 +76,7 @@ int Video::getHeight() const } void Video::update() { + //std::cout << "XXX Video::update()!" << std::endl; impl_->runVideo(); } diff --git a/VideoImpl.cpp b/VideoImpl.cpp index 5d6978d..8162668 100644 --- a/VideoImpl.cpp +++ b/VideoImpl.cpp @@ -19,6 +19,7 @@ */ #include "VideoImpl.h" #include +#include // -------- private implementation of VideoImpl ------- @@ -421,6 +422,7 @@ void VideoImpl::runVideo() { _videoNewBufferCounter--; + std::cout << "VideoImpl::runVideo: read frame #" << _videoNewBufferCounter << std::endl; } _postRun(); @@ -596,7 +598,7 @@ void VideoImpl::_setReady(bool ready) } void VideoImpl::_setFinished(bool finished) { - qDebug() << "Clip " << (finished ? "finished" : "not finished") << endl; + // qDebug() << "Clip " << (finished ? "finished" : "not finished") << endl; } void VideoImpl::gstPadAddedCallback(GstElement *src, GstPad *newPad, VideoImpl::GstPadHandlerData* data) {