projects
/
platform
/
upstream
/
v4l-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e63d02b
)
qv4l2: fix segfault when openGL is not compiled in.
author
Hans Verkuil
<hans.verkuil@cisco.com>
Sat, 9 Aug 2014 09:36:33 +0000
(11:36 +0200)
committer
Hans Verkuil
<hans.verkuil@cisco.com>
Sat, 9 Aug 2014 09:36:33 +0000
(11:36 +0200)
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/qv4l2/qv4l2.cpp
patch
|
blob
|
history
diff --git
a/utils/qv4l2/qv4l2.cpp
b/utils/qv4l2/qv4l2.cpp
index
fafdf88
..
2b3bb91
100644
(file)
--- a/
utils/qv4l2/qv4l2.cpp
+++ b/
utils/qv4l2/qv4l2.cpp
@@
-963,7
+963,9
@@
void ApplicationWindow::stopStreaming()
m_capture->stop();
m_snapshotAct->setDisabled(true);
+#ifdef HAVE_QTGL
m_useGLAct->setEnabled(CaptureWinGL::isSupported());
+#endif
switch (m_capMethod) {
case methodRead:
if (v4l_type_is_capture(g_type())) {