[vlmc-devel] MainWorkflow: Fix segfault when finishing the rendering

Yikai Lu git at videolan.org
Tue Jun 6 18:19:14 CEST 2017


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Mon Jun  5 16:55:59 2017 +0900| [3daf090ba6c1482106686dedabfc8e03e34dec77] | committer: Yikai Lu

MainWorkflow: Fix segfault when finishing the rendering

> https://code.videolan.org/videolan/vlmc/commit/3daf090ba6c1482106686dedabfc8e03e34dec77
---

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

diff --git a/src/Workflow/MainWorkflow.cpp b/src/Workflow/MainWorkflow.cpp
index f7276eb8..14202a4a 100644
--- a/src/Workflow/MainWorkflow.cpp
+++ b/src/Workflow/MainWorkflow.cpp
@@ -349,7 +349,7 @@ MainWorkflow::startRenderToFile( const QString &outputFileName, quint32 width, q
             dialog.updatePreview( input->image( width, height ) );
         }
     });
-    connect( this, &MainWorkflow::mainWorkflowEndReached, &dialog, &WorkflowFileRendererDialog::accept );
+    connect( &cEventWatcher, &OutputEventWatcher::stopped, &dialog, &WorkflowFileRendererDialog::accept );
 #endif
 
     input->setPosition( 0 );



More information about the Vlmc-devel mailing list