mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
just more prints
This commit is contained in:
@@ -76,6 +76,7 @@ int Video::getHeight() const
|
||||
}
|
||||
|
||||
void Video::update() {
|
||||
//std::cout << "XXX Video::update()!" << std::endl;
|
||||
impl_->runVideo();
|
||||
}
|
||||
|
||||
|
||||
+3
-1
@@ -19,6 +19,7 @@
|
||||
*/
|
||||
#include "VideoImpl.h"
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
|
||||
// -------- 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) {
|
||||
|
||||
Reference in New Issue
Block a user