Code editor for Custom pattern gstreamer

Bugfix in Streamsource and UI
This commit is contained in:
Bruno Herbelin
2022-01-01 23:59:30 +01:00
parent f0ca13150f
commit 4426f70de7
8 changed files with 109 additions and 116 deletions

View File

@@ -158,7 +158,7 @@ StreamInfo StreamDiscoverer(const std::string &description, guint w, guint h)
std::mutex mtx;
std::unique_lock<std::mutex> lck(mtx);
if ( info.discovered.wait_for(lck,std::chrono::seconds(TIMEOUT)) == std::cv_status::timeout)
info.message = "Time out.";
info.message = "Time out";
// stop and delete pipeline
GstStateChangeReturn ret = gst_element_set_state (_pipeline, GST_STATE_NULL);