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

Method stop

OpenHD/ohd_video/src/gstreamerstream.cpp:330–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328}
329
330void GStreamerStream::stop() {
331 m_console->debug("GStreamerStream::stop()");
332 assert(m_gst_pipeline != nullptr);
333 openhd::gst_element_set_set_state_and_log_result(m_gst_pipeline,
334 GST_STATE_PAUSED);
335 m_console->debug(
336 openhd::gst_element_get_current_state_as_string(m_gst_pipeline));
337}
338
339void GStreamerStream::cleanup_pipe() {
340 m_console->debug("GStreamerStream::cleanup_pipe() begin");

Callers 1

get_csi_camerasFunction · 0.45

Tested by

no test coverage detected