SIGN IN SIGN UP

Rescale packet timestamp to container time base

Some containers force their own time base. For example, matroska
overwrite time_base to (AVRational) {1, 1000}.

Therefore, rescale our packet timestamps to the output stream time base.

Suggested-by: Steve Lhomme <robux4@ycbcr.xyz>
R
Romain Vimont committed
1aaad6ba35701f85d2500b0a23c573b2ee9ae62e
Parent: c8f0805