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

◆ is_codec_valid()

bool MayaFlux::IO::VideoStreamContext::is_codec_valid ( ) const
inline

True if the codec context is open and ready to receive packets.

Does NOT require the SwsContext scaler to be initialised. Use this check in live-capture paths instead of is_valid().

Definition at line 94 of file VideoStreamContext.hpp.

95 {
96 return codec_context && stream_index >= 0;
97 }
AVCodecContext * codec_context
Owned; freed in destructor.