MCPcopy Create free account
hub / github.com/IENT/YUView / getCodecID

Method getCodecID

YUViewLib/src/ffmpeg/AVStreamWrapper.cpp:265–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263}
264
265AVCodecID AVStreamWrapper::getCodecID()
266{
267 this->update();
268 if (this->stream == nullptr)
269 return AV_CODEC_ID_NONE;
270
271 if (this->libVer.avformat.major <= 56 || !this->codecpar)
272 return this->codec.getCodecID();
273 else
274 return this->codecpar.getCodecID();
275}
276
277AVCodecContextWrapper &AVStreamWrapper::getCodec()
278{

Callers 7

decoderFFmpegMethod · 0.45
getCodecIDFromWrapperMethod · 0.45
getVideoStreamCodecIDMethod · 0.45
getParameterSetsMethod · 0.45

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected