Improved Device support for V4L2 streams

Allow to reload list of devices, avoid timestamp warning in Loopback, clear UI menu.
This commit is contained in:
Bruno Herbelin
2023-03-26 17:36:18 +02:00
parent 85a25a0a39
commit c9cf6baf4b
4 changed files with 20 additions and 16 deletions

View File

@@ -86,7 +86,7 @@ std::string Loopback::init(GstCaps *caps)
return std::string("Loopback : Invalid caps");
// create a gstreamer pipeline
std::string description = "appsrc name=src ! videoconvert ! ";
std::string description = "appsrc name=src ! videoconvert ! queue ! ";
// complement pipeline with sink
description += Loopback::loopback_sink_ + " name=sink";