[vlmc-devel] ClipRenderer: Fix a crash when unloading a clip that hasn' t been rendered yet

Hugo Beauzée-Luyssen git at videolan.org
Mon Feb 24 20:09:41 CET 2014


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Feb 24 14:39:27 2014 +0200| [2ad8d7c762e76b41f7c168258c8a908a5fbac507] | committer: Hugo Beauzée-Luyssen

ClipRenderer: Fix a crash when unloading a clip that hasn't been rendered yet

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=2ad8d7c762e76b41f7c168258c8a908a5fbac507
---

 src/Renderer/ClipRenderer.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Renderer/ClipRenderer.cpp b/src/Renderer/ClipRenderer.cpp
index 4db6bb1..4e8bd72 100644
--- a/src/Renderer/ClipRenderer.cpp
+++ b/src/Renderer/ClipRenderer.cpp
@@ -202,7 +202,7 @@ ClipRenderer::clipUnloaded( const QUuid& uuid )
 {
     if ( m_selectedClip != NULL && m_selectedClip->uuid() == uuid )
     {
-        m_sourceRenderer->stop();
+        stop();
         m_clipLoaded = false;
         m_selectedClip = NULL;
         m_isRendering = false;



More information about the Vlmc-devel mailing list