core: avoid using sh_video->pts as "current pts"
commitff706ee86d4ca1e31de6c6c322a3bedb819ead05
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 14 Dec 2010 20:31:39 +0000 (14 22:31 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 14 Dec 2010 20:33:12 +0000 (14 22:33 +0200)
tree91d1906a2ad112e8864824661df8a1f9dbc0bd9b
parent4f610adfc29a2aa2f1159ded016ca4f8960c52e9
core: avoid using sh_video->pts as "current pts"

Add a new field "video_pts" to mpctx. It records the time of the last
frame flipped visible on VO. Change various code which used
sh_video->pts to use either the new field or get_current_time(mpctx).
command.c
mp_core.h
mplayer.c