[chronojump] On cancel test video is stopped
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] On cancel test video is stopped
- Date: Tue, 8 Jan 2013 00:04:28 +0000 (UTC)
commit a3a7eb5246bb4c70bf42e2b72b458a9dd9910fc9
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Jan 7 23:52:53 2013 +0100
On cancel test video is stopped
src/gui/eventExecute.cs | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/eventExecute.cs b/src/gui/eventExecute.cs
index 25e7c58..58e2fff 100644
--- a/src/gui/eventExecute.cs
+++ b/src/gui/eventExecute.cs
@@ -1997,6 +1997,13 @@ Log.WriteLine("Preparing reactive A");
void on_event_execute_button_cancel_clicked (object o, EventArgs args)
{
hideButtons();
+
+ if(videoOn) {
+ capturer.Stop();
+ capturer.Close();
+ capturer.Dispose();
+ //it will lbe recorded on temp, but chronojump will not move it to chronojump/multimedia folders
+ }
}
//when event finishes, we should put in the label_time, the correct totalTime, that comes from chronopic
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]