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

◆ is_valid()

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

True if the codec and scaler are ready for decoding.

Definition at line 108 of file VideoStreamContext.hpp.

109 {
110 return codec_context && sws_context && stream_index >= 0;
111 }
SwsContext * sws_context
Owned; freed in destructor.
AVCodecContext * codec_context
Owned; freed in destructor.