| 287 | } |
| 288 | |
| 289 | AVRational 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 | |
| 298 | Size AVStreamWrapper::getFrameSize() |
| 299 | { |
no test coverage detected