mirror of https://github.com/mpv-player/mpv
139f6b5de7
Both AVFrame.pts and AVFrame.pkt_pts have existed for a long time. Until now, decoders always returned the pts via the pkt_pts field, while the pts field was used for encoding and libavfilter only. Recently, pkt_pts was deprecated, and pts was switched to always carry the pts. This means we have to be careful not to accidentally use the wrong field, depending on the libavcodec version. We have to explicitly check the version numbers. Of course the version numbers are completely idiotic, because idiotically the pkg-config and library names are the same for FFmpeg and Libav, so we have to deal with this explicitly as well. |
||
---|---|---|
.. | ||
cuda.c | ||
d3d.c | ||
d3d.h | ||
d3d11va.c | ||
dec_video.c | ||
dec_video.h | ||
dxva2.c | ||
lavc.h | ||
vaapi.c | ||
vd.h | ||
vd_lavc.c | ||
vdpau.c | ||
videotoolbox.c |