| 319 | } |
| 320 | |
| 321 | void 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 | |
| 330 | void GStreamerStream::stop() { |
| 331 | m_console->debug("GStreamerStream::stop()"); |
nothing calls this directly
no test coverage detected