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

Method getTimeBase

YUViewLib/src/ffmpeg/AVStreamWrapper.cpp:289–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287}
288
289AVRational AVStreamWrapper::getTimeBase()
290{
291 this->update();
292 if (this->time_base.den == 0 || this->time_base.num == 0)
293 // The stream time_base seems not to be set. Try the time_base in the codec.
294 return this->codec.getTimeBase();
295 return this->time_base;
296}
297
298Size AVStreamWrapper::getFrameSize()
299{

Callers 2

getTimeBaseAllStreamsMethod · 0.45

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected