MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ stop_decode_thread()

void MayaFlux::IO::FFmpegCameraReader::stop_decode_thread ( )
private

Definition at line 374 of file FFmpegCameraReader.cpp.

375{
376 if (!m_decode_active.load())
377 return;
378
379 m_decode_stop.store(true);
380 m_decode_cv.notify_all();
381
382 if (m_decode_thread.joinable())
383 m_decode_thread.join();
384
385 m_decode_active.store(false);
386}

References m_decode_active, m_decode_cv, m_decode_stop, and m_decode_thread.

Referenced by close(), and start_decode_thread().

+ Here is the caller graph for this function: