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

Method start

OpenHD/ohd_video/src/gstreamerstream.cpp:321–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

319}
320
321void GStreamerStream::start() {
322 m_console->debug("GStreamerStream::start()");
323 assert(m_gst_pipeline != nullptr);
324 openhd::register_message_cb(m_gst_pipeline);
325 const auto ret = gst_element_set_state(m_gst_pipeline, GST_STATE_PLAYING);
326 m_console->debug("State change ret:{}",
327 openhd::gst_state_change_return_to_string(ret));
328}
329
330void GStreamerStream::stop() {
331 m_console->debug("GStreamerStream::stop()");

Callers

nothing calls this directly

Calls 3

register_message_cbFunction · 0.85
debugMethod · 0.80

Tested by

no test coverage detected