mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 01:52:19 +00: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. |
||
---|---|---|
.. | ||
d3d11va.c | ||
d3d.c | ||
d3d.h | ||
dec_video.c | ||
dec_video.h | ||
dxva2.c | ||
lavc.h | ||
vaapi.c | ||
vd_lavc.c | ||
vd.h | ||
vdpau.c | ||
videotoolbox.c |