We will pretend that we have the same camera resources used by the overlay
authorMohammed Sameer <msameer@foolab.org>
Mon, 15 Jul 2013 16:39:06 +0000 (19:39 +0300)
committerMohammed Sameer <msameer@foolab.org>
Mon, 15 Jul 2013 20:28:48 +0000 (23:28 +0300)
This is to prevent stopping the pipeline when we move to post capture.
As it hurts the transition

qml/PostCaptureView.qml

index 59924fa..7be86a1 100644 (file)
 import QtQuick 1.1
 import CameraPlus 1.0
 import com.nokia.meego 1.1
+import QtCamera 1.0
 
 Item {
     property bool pressed: view.currentItem ? view.currentItem.playing : false
-    property int policyMode: CameraResources.None
+    property int policyMode: settings.mode == Camera.VideoMode ? CameraResources.Video
+        : CameraResources.Image
     property bool available: view.currentItem ? view.currentItem.itemData.available : false
 
     Component.onCompleted: postCaptureModel.reload()