summaryrefslogtreecommitdiffstats
path: root/src/plugins/gstreamer/mediacapture/qgstreamerrecordercontrol.cpp
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@digia.com>2013-12-10 17:38:45 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-06 15:45:20 +0100
commite26f5093c6d99c5b9632c3a0375c202bf4dbe627 (patch)
tree9a527317aeedffd69cf98bcac996014e773f9dbb /src/plugins/gstreamer/mediacapture/qgstreamerrecordercontrol.cpp
parent02245571bf13e29512f096d1566d6107d5a229de (diff)
GStreamer: add missing breaks in QGstreamerRecorderControl.
Task-number: QTBUG-34914 Change-Id: I8237201cb656a3cde23e3d750939fe11e35519cd Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'src/plugins/gstreamer/mediacapture/qgstreamerrecordercontrol.cpp')
-rw-r--r--src/plugins/gstreamer/mediacapture/qgstreamerrecordercontrol.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/gstreamer/mediacapture/qgstreamerrecordercontrol.cpp b/src/plugins/gstreamer/mediacapture/qgstreamerrecordercontrol.cpp
index f08ba328..25744215 100644
--- a/src/plugins/gstreamer/mediacapture/qgstreamerrecordercontrol.cpp
+++ b/src/plugins/gstreamer/mediacapture/qgstreamerrecordercontrol.cpp
@@ -98,11 +98,14 @@ QMediaRecorder::Status QGstreamerRecorderControl::status() const
switch ( m_session->state() ) {
case QGstreamerCaptureSession::RecordingState:
sessionState = QMediaRecorder::RecordingState;
+ break;
case QGstreamerCaptureSession::PausedState:
sessionState = QMediaRecorder::PausedState;
+ break;
case QGstreamerCaptureSession::PreviewState:
case QGstreamerCaptureSession::StoppedState:
sessionState = QMediaRecorder::StoppedState;
+ break;
}
return statusTable[m_state][sessionState];