projects
/
harmattan
/
cameraplus
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't ignore errors while stopping the pipeline.
[harmattan/cameraplus]
/
lib
/
qtcamdevice.cpp
diff --git
a/lib/qtcamdevice.cpp
b/lib/qtcamdevice.cpp
index
7d5acbf
..
a492287
100644
(file)
--- a/
lib/qtcamdevice.cpp
+++ b/
lib/qtcamdevice.cpp
@@
-217,8
+217,6
@@
bool QtCamDevice::stop(bool force) {
}
}
- d_ptr->stopping = true;
-
// First we go to ready:
GstStateChangeReturn st = gst_element_set_state(d_ptr->cameraBin, GST_STATE_READY);
if (st != GST_STATE_CHANGE_FAILURE) {
@@
-231,8
+229,6
@@
bool QtCamDevice::stop(bool force) {
d_ptr->viewfinder->stop();
- d_ptr->stopping = false;
-
return true;
}