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

◆ is_open()

bool MayaFlux::IO::CameraReader::is_open ( ) const

True if the device is open and codec is ready.

Definition at line 121 of file CameraReader.cpp.

122{
123 std::shared_lock lock(m_ctx_mutex);
124 return m_demux->is_open() && m_video->is_codec_valid();
125}
std::shared_mutex m_ctx_mutex
std::shared_ptr< VideoStreamContext > m_video
std::shared_ptr< FFmpegDemuxContext > m_demux

References m_ctx_mutex, m_demux, and m_video.