[vlmc-devel] ClipRenderer: Fix play/stop
Hugo Beauzée-Luyssen
git at videolan.org
Sat Mar 1 14:10:42 CET 2014
vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Sat Mar 1 14:09:14 2014 +0100| [5f5bcc8c291605bbeabeea6b54ce3bbdba01b37e] | committer: Hugo Beauzée-Luyssen
ClipRenderer: Fix play/stop
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=5f5bcc8c291605bbeabeea6b54ce3bbdba01b37e
---
src/Renderer/ClipRenderer.cpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/Renderer/ClipRenderer.cpp b/src/Renderer/ClipRenderer.cpp
index 684202e..bb37156 100644
--- a/src/Renderer/ClipRenderer.cpp
+++ b/src/Renderer/ClipRenderer.cpp
@@ -134,6 +134,11 @@ ClipRenderer::togglePlayPause()
m_sourceRenderer->playPause();
m_paused = !m_paused;
}
+ else
+ {
+ m_sourceRenderer->start();
+ m_isRendering = true;
+ }
}
int
More information about the Vlmc-devel
mailing list