projects
/
harmattan
/
cameraplus
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Initialize sink before trying to fill it via g_object_get()
[harmattan/cameraplus]
/
lib
/
qtcamdevice_p.h
diff --git
a/lib/qtcamdevice_p.h
b/lib/qtcamdevice_p.h
index
d532ab5
..
7421652
100644
(file)
--- a/
lib/qtcamdevice_p.h
+++ b/
lib/qtcamdevice_p.h
@@
-101,7
+101,7
@@
public:
}
bool setViewfinderSink() {
- GstElement *sink;
+ GstElement *sink
= 0
;
g_object_get(cameraBin, "viewfinder-sink", &sink, NULL);
if (sink) {