From a19425df9de4080e9ebf9eb96c29e9a1dc877e05 Mon Sep 17 00:00:00 2001
From: Hugo Lefeuvre <hugo.lefeuvre@savoirfairelinux.com>
Date: Thu, 14 Jun 2018 10:48:45 -0400
Subject: [PATCH] recordable: update recording_ in stopRecording()

Currently the recording_ variable isn't updated by stopRecording()
in the Recordable class.

This patch addresses this issue.

Change-Id: I8400eac2380890c9a9a897258e2ccc84d80f0452
Reviewed-by: Philippe Gorley <philippe.gorley@savoirfairelinux.com>
---
 src/media/recordable.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/media/recordable.cpp b/src/media/recordable.cpp
index df1fe59db0..7e7757e2c2 100644
--- a/src/media/recordable.cpp
+++ b/src/media/recordable.cpp
@@ -68,6 +68,7 @@ Recordable::stopRecording()
         return;
     if (recorder_)
         recorder_->stopRecording();
+    recording_ = false;
     recorder_.reset();
 }
 
-- 
GitLab