mirror of https://github.com/mpv-player/mpv
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. |
||
---|---|---|
.. | ||
decode | ||
filter | ||
out | ||
audio.c | ||
audio.h | ||
audio_buffer.c | ||
audio_buffer.h | ||
chmap.c | ||
chmap.h | ||
chmap_sel.c | ||
chmap_sel.h | ||
fmt-conversion.c | ||
fmt-conversion.h | ||
format.c | ||
format.h |