1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-14 02:45:43 +00:00
mpv/audio/decode
wm4 139f6b5de7 ad_lavc, vd_lavc: fix a recent libavcodec deprecation warning
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.
2016-10-17 19:18:03 +02:00
..
ad_lavc.c ad_lavc, vd_lavc: fix a recent libavcodec deprecation warning 2016-10-17 19:18:03 +02:00
ad_spdif.c ad_spdif: take care of deprecated libavcodec API usage 2016-04-20 19:37:45 +02:00
ad.h audio: move direct packet reading from decoders to common code 2016-01-19 22:24:38 +01:00
dec_audio.c audio: dump timestamp difference 2016-10-02 12:55:22 +02:00
dec_audio.h Rewrite ordered chapters and timeline stuff 2016-02-15 21:04:07 +01:00