summaryrefslogtreecommitdiffstats
path: root/video/decode/dec_video.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-25 23:12:18 +0100
committerwm4 <wm4@nowhere>2013-11-25 23:12:18 +0100
commitd8b59aa17fda6aff7bf3031abbd716adc1268422 (patch)
tree6e8c87b03ebcd32cb7cd1c95736cb2bc37515d2f /video/decode/dec_video.h
parent88fa420b200bef230c446c65d4cc1a038c4eaf2d (diff)
downloadmpv-d8b59aa17fda6aff7bf3031abbd716adc1268422.tar.bz2
mpv-d8b59aa17fda6aff7bf3031abbd716adc1268422.tar.xz
player: merge no-correct-pts with correct-pts code
Now the --no-correct-pts mode is like the normal mode, just with different timestamp calculations. The semantics should be about the same as before this commit.
Diffstat (limited to 'video/decode/dec_video.h')
-rw-r--r--video/decode/dec_video.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/decode/dec_video.h b/video/decode/dec_video.h
index 3856d12043..827dcb6237 100644
--- a/video/decode/dec_video.h
+++ b/video/decode/dec_video.h
@@ -58,6 +58,7 @@ struct dec_video {
float fps; // FPS from demuxer or from user override
float initial_decoder_aspect;
+ double last_packet_pts;
// State used only by player/video.c
double last_pts;
};