mirror of
https://github.com/mpv-player/mpv
synced 2025-01-05 06:30:06 +00:00
4205bbf243
Instead of passing the PTS as separate field, pass it as part of the usual data structures. Basically, this removes strange artifacts from the API. (It's not finished, though: the final decoded PTS goes through strange paths, and filter_video() finally overwrites the decoded mp_image's pts field with it.) We also stop using libavcodec's reordered_opaque fields, and use AVPacket.pts and AVFrame.pkt_pts. This is slightly unorthodox, because these pts fields are not "really" opaque anymore, yet we treat them as such. But the end result should be the same, and reordered_opaque is marked as partially deprecated (it's not clear whether it's really deprecated). |
||
---|---|---|
.. | ||
lua | ||
timeline | ||
audio.c | ||
command.c | ||
command.h | ||
configfiles.c | ||
loadfile.c | ||
main.c | ||
misc.c | ||
mp_core.h | ||
mp_lua.c | ||
mp_lua.h | ||
osd.c | ||
playloop.c | ||
screenshot.c | ||
screenshot.h | ||
sub.c | ||
video.c |