[vlmc-devel] Add some debug
Hugo Beauzée-Luyssen
git at videolan.org
Sun Mar 2 12:50:41 CET 2014
vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Sat Mar 1 19:12:49 2014 +0100| [ca0e3cd34a855e5c5ba266a269917476d6552c03] | committer: Hugo Beauzée-Luyssen
Add some debug
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=ca0e3cd34a855e5c5ba266a269917476d6552c03
---
src/Backend/VLC/VLCSourceRenderer.cpp | 1 +
src/Renderer/WorkflowRenderer.cpp | 1 +
src/Workflow/ClipWorkflow.cpp | 3 +++
3 files changed, 5 insertions(+)
diff --git a/src/Backend/VLC/VLCSourceRenderer.cpp b/src/Backend/VLC/VLCSourceRenderer.cpp
index 2064dcf..3dbc17e 100644
--- a/src/Backend/VLC/VLCSourceRenderer.cpp
+++ b/src/Backend/VLC/VLCSourceRenderer.cpp
@@ -213,6 +213,7 @@ VLCSourceRenderer::time() const
void
VLCSourceRenderer::setTime( int64_t time )
{
+ vlmcDebug() << m_name << "Set time:" << time;
m_mediaPlayer->setTime( time );
}
diff --git a/src/Renderer/WorkflowRenderer.cpp b/src/Renderer/WorkflowRenderer.cpp
index 6a162b9..a3b4375 100644
--- a/src/Renderer/WorkflowRenderer.cpp
+++ b/src/Renderer/WorkflowRenderer.cpp
@@ -95,6 +95,7 @@ WorkflowRenderer::setupRenderer( quint32 width, quint32 height, double fps )
delete m_sourceRenderer;
m_sourceRenderer = m_source->createRenderer( m_eventWatcher );
+ m_sourceRenderer->setName( "WorkflowRenderer" );
m_sourceRenderer->enableMemoryInput( m_esHandler, getLockCallback(), getUnlockCallback() );
m_sourceRenderer->setOutputWidget( (void *) static_cast< RenderWidget* >( m_renderWidget )->id() );
}
diff --git a/src/Workflow/ClipWorkflow.cpp b/src/Workflow/ClipWorkflow.cpp
index 30a0731..6119ae5 100644
--- a/src/Workflow/ClipWorkflow.cpp
+++ b/src/Workflow/ClipWorkflow.cpp
@@ -35,6 +35,8 @@
#include "Tools/RendererEventWatcher.h"
#include "Workflow/Types.h"
+#include "Tools/VlmcDebug.h"
+
ClipWorkflow::ClipWorkflow( ClipHelper* ch )
: m_renderer( NULL )
, m_eventWatcher( NULL )
@@ -142,6 +144,7 @@ ClipWorkflow::stop()
void
ClipWorkflow::setTime( qint64 time )
{
+ vlmcDebug() << "Setting ClipWorkflow" << m_clipHelper->uuid() << "time:" << time;
m_renderer->setTime( time );
resyncClipWorkflow();
QWriteLocker lock( m_stateLock );
More information about the Vlmc-devel
mailing list