[vlmc-devel] commit: ClipWorkflow: Fixing a flushing buffer bug. ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Sun Aug 22 22:54:23 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Sun Aug 22 20:55:56 2010 +0200| [21ece588bb6b2dd4906fb997e77ea3af98055a29] | committer: Hugo Beauzée-Luyssen 

ClipWorkflow: Fixing a flushing buffer bug.

Buffers were only flushed from the TrackWorkflow::stopClipWorkflow
method (when stopping the workflow itself), though the actual buffer
flushing didn't take place, as the renderer was already stopped, and the
stopClipWorkflow don't do anything in that case (easy and clear ain't it
?)

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

 src/Workflow/ClipWorkflow.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/Workflow/ClipWorkflow.cpp b/src/Workflow/ClipWorkflow.cpp
index 3a3c5ca..b33261a 100644
--- a/src/Workflow/ClipWorkflow.cpp
+++ b/src/Workflow/ClipWorkflow.cpp
@@ -144,6 +144,7 @@ ClipWorkflow::stopRenderer()
         m_mediaPlayer = NULL;
         delete m_vlcMedia;
         m_state = Stopped;
+        flushComputedBuffers();
     }
 }
 



More information about the Vlmc-devel mailing list