diff options
author | wm4 <wm4@nowhere> | 2016-01-25 20:47:13 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-01-25 21:46:39 +0100 |
commit | 271cabe6a5bd8342b56ab855d033abba63dfead6 (patch) | |
tree | d56df2cfb236ecca5f70123aeb891bfdae15aab7 /video/decode/dec_video.h | |
parent | 7f300b4204d33e33308d24eea9107ff60db36cc8 (diff) | |
download | mpv-271cabe6a5bd8342b56ab855d033abba63dfead6.tar.bz2 mpv-271cabe6a5bd8342b56ab855d033abba63dfead6.tar.xz |
video: cleanup pts/dts passing between decoder components
Instead of using semi-public codec_pts/codec_dts fields in
struct dec_video, pass them via mp_image fields.
Diffstat (limited to 'video/decode/dec_video.h')
-rw-r--r-- | video/decode/dec_video.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/decode/dec_video.h b/video/decode/dec_video.h index 012f42c510..9e9f2d54c2 100644 --- a/video/decode/dec_video.h +++ b/video/decode/dec_video.h @@ -45,6 +45,8 @@ struct dec_video { void *priv; // for free use by vd_driver + // Strictly internal (dec_video.c). + // Last PTS from decoder (set with each vd_driver->decode() call) double codec_pts; int num_codec_pts_problems; @@ -57,8 +59,6 @@ struct dec_video { double buffered_pts[128]; int num_buffered_pts; - // Strictly internal (dec_video.c). - // PTS or DTS of packet first read double first_packet_pdts; |