projects
/
harmattan
/
cameraplus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95694e4
)
Initialize sink before trying to fill it via g_object_get()
author
Mohammed Sameer
<msameer@foolab.org>
Mon, 7 Jan 2013 22:03:51 +0000
(
00:03
+0200)
committer
Mohammed Sameer
<msameer@foolab.org>
Mon, 7 Jan 2013 22:03:51 +0000
(
00:03
+0200)
lib/qtcamdevice_p.h
patch
|
blob
|
history
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) {