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

Method start_looping

OpenHD/ohd_video/src/gstreamerstream.cpp:85–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83GStreamerStream::~GStreamerStream() { GStreamerStream::terminate_looping(); }
84
85void GStreamerStream::start_looping() {
86 m_keep_looping = true;
87 m_loop_thread =
88 std::make_unique<std::thread>(&GStreamerStream::loop_infinite, this);
89}
90
91void GStreamerStream::terminate_looping() {
92 m_keep_looping = false;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected