mirror of
https://github.com/mpv-player/mpv
synced 2024-10-30 04:46:41 +01:00
0110b738d5
These are different AVCodecContext fields. pkt_timebase is the correct one for identifying the unit of packet/frame timestamps when decoding, while time_base is for encoding. Some decoders also overwrite the time_base field with some unrelated codec metadata. pkt_timebase does not exist in Libav, so an #if is required. |
||
---|---|---|
.. | ||
ad_lavc.c | ||
ad_spdif.c | ||
ad.h | ||
dec_audio.c | ||
dec_audio.h |