Some coding style fixes
[harmattan/cameraplus] / declarative / videomode.cpp
index 7be1d77..eac2d54 100644 (file)
@@ -1,7 +1,7 @@
 /*!
  * This file is part of CameraPlus.
  *
- * Copyright (C) 2012 Mohammed Sameer <msameer@foolab.org>
+ * Copyright (C) 2012-2013 Mohammed Sameer <msameer@foolab.org>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -38,9 +38,9 @@ bool VideoMode::startRecording(const QString& fileName, const QString& tmpFileNa
   return m_video ? m_video->startRecording(fileName, tmpFileName) : false;
 }
 
-void VideoMode::stopRecording() {
+void VideoMode::stopRecording(bool sync) {
   if (m_video) {
-    m_video->stopRecording();
+    m_video->stopRecording(sync);
   }
 }