Commit edaf5473 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

v4l2 is not needed anymore

parent df4ecebb
...@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment