1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-05 06:30:06 +00:00
mpv/mpvcore/player
wm4 4205bbf243 video: pass PTS as part of demux_packet/AVPacket and mp_image/AVFrame
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).
2013-11-25 23:08:29 +01:00
..
lua
timeline timeline: reject mplayer2 EDL files, change EDL header 2013-11-21 15:59:00 +01:00
audio.c audio: respect --end/--length with spdif passthrough 2013-11-23 21:42:31 +01:00
command.c Rename sub.c/.h to osd.c/.h 2013-11-24 14:44:58 +01:00
command.h
configfiles.c configure: uniform the defines to #define HAVE_xxx (0|1) 2013-11-03 21:59:54 +01:00
loadfile.c player: close demuxer before stream 2013-11-24 14:44:58 +01:00
main.c Rename sub.c/.h to osd.c/.h 2013-11-24 14:44:58 +01:00
misc.c Reduce stheader.h includes, move stream types to mp_common.h 2013-11-23 22:08:42 +01:00
mp_core.h Reduce stheader.h includes, move stream types to mp_common.h 2013-11-23 22:08:42 +01:00
mp_lua.c Rename sub.c/.h to osd.c/.h 2013-11-24 14:44:58 +01:00
mp_lua.h
osd.c Rename sub.c/.h to osd.c/.h 2013-11-24 14:44:58 +01:00
playloop.c Rename sub.c/.h to osd.c/.h 2013-11-24 14:44:58 +01:00
screenshot.c osd: remove mp_osd_res.video_par field 2013-11-24 14:44:58 +01:00
screenshot.h
sub.c dec_video: make vf_input and hwdec_info statically allocated 2013-11-23 21:39:07 +01:00
video.c video: pass PTS as part of demux_packet/AVPacket and mp_image/AVFrame 2013-11-25 23:08:29 +01:00