Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kamoso
Commits
edaf5473
Commit
edaf5473
authored
Sep 12, 2020
by
Aleix Pol Gonzalez
🐧
Browse files
v4l2 is not needed anymore
parent
df4ecebb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/video/webcamcontrol.cpp
View file @
edaf5473
...
@@ -280,9 +280,6 @@ bool WebcamControl::playDevice(Device *device)
...
@@ -280,9 +280,6 @@ bool WebcamControl::playDevice(Device *device)
<<
"please make sure all required gstreamer plugins are installed."
;
<<
"please make sure all required gstreamer plugins are installed."
;
return
false
;
return
false
;
}
}
auto
source
=
gst_element_factory_make
(
"v4l2src"
,
"v4l2src"
);
g_object_set
(
m_cameraSource
.
data
(),
"video-source"
,
source
,
nullptr
);
}
}
GstElement
*
source
;
GstElement
*
source
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment