MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / loop_infinite

Method loop_infinite

OpenHD/ohd_video/src/gstreamerstream.cpp:434–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

432}
433
434void GStreamerStream::loop_infinite() {
435 while (m_keep_looping) {
436 try {
437 stream_once();
438 } catch (std::exception& ex) {
439 std::cerr << "GStreamerStream::Error: " << ex.what() << std::endl;
440 } catch (...) {
441 std::cerr << "GStreamerStream::Unknown exception occurred" << std::endl;
442 }
443 }
444}
445
446void GStreamerStream::stream_once() {
447 // The user can disable streaming for a camera, in which case a restart is

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected