mirror of https://github.com/mpv-player/mpv
vo_vdpau: fix unintended truncation of 64 bit timestamps to 32 bit
How embarrassing... This code is inactive for all VOs other than vo_vdpau. For vo_vdpau, this caused various issues, such as stuttering after about an hour of running mpv; see github issue #403.
This commit is contained in:
parent
895932aa0a
commit
79b09592c8
|
@ -262,7 +262,7 @@ void vo_draw_osd(struct vo *vo, struct osd_state *osd)
|
|||
vo->driver->draw_osd(vo, osd);
|
||||
}
|
||||
|
||||
void vo_flip_page(struct vo *vo, unsigned int pts_us, int duration)
|
||||
void vo_flip_page(struct vo *vo, int64_t pts_us, int duration)
|
||||
{
|
||||
if (!vo->config_ok)
|
||||
return;
|
||||
|
|
|
@ -292,7 +292,7 @@ int vo_get_buffered_frame(struct vo *vo, bool eof);
|
|||
void vo_skip_frame(struct vo *vo);
|
||||
void vo_new_frame_imminent(struct vo *vo);
|
||||
void vo_draw_osd(struct vo *vo, struct osd_state *osd);
|
||||
void vo_flip_page(struct vo *vo, unsigned int pts_us, int duration);
|
||||
void vo_flip_page(struct vo *vo, int64_t pts_us, int duration);
|
||||
void vo_check_events(struct vo *vo);
|
||||
void vo_seek_reset(struct vo *vo);
|
||||
void vo_destroy(struct vo *vo);
|
||||
|
|
Loading…
Reference in New Issue