* Accessor for AVStream::start_time that replaces AV_NOPTS_VALUE with * zero. We can't use AV_NOPTS_VALUE in calculations, and we simply * assume that the stream's start time is zero, which appears to be * the best way out of that situation. */
| 160 | * the best way out of that situation. |
| 161 | */ |
| 162 | static constexpr int64_t |
| 163 | start_time_fallback(const AVStream &stream) |
| 164 | { |
| 165 | return FfmpegTimestampFallback(stream.start_time, 0); |
| 166 | } |
| 167 | |
| 168 | /** |
| 169 | * Convert AVPacket::pts to a stream-relative time stamp (still in |
no outgoing calls
no test coverage detected