[vlc-commits] vdpau:display: convert vlc_tick_t to milliseconds using MS_FROM_VLC_TICK()
Steve Lhomme
git at videolan.org
Fri Jul 6 16:07:22 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jun 14 13:54:42 2018 +0200| [e770b6a87eabc79400d14c9a5c87a78814995a32] | committer: Steve Lhomme
vdpau:display: convert vlc_tick_t to milliseconds using MS_FROM_VLC_TICK()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e770b6a87eabc79400d14c9a5c87a78814995a32
---
modules/hw/vdpau/display.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/hw/vdpau/display.c b/modules/hw/vdpau/display.c
index 053ab81de4..5e0536be56 100644
--- a/modules/hw/vdpau/display.c
+++ b/modules/hw/vdpau/display.c
@@ -281,7 +281,7 @@ static void Queue(vout_display_t *vd, picture_t *pic, subpicture_t *subpic,
msg_Dbg(vd, "picture date corrupt: delay of %"PRId64" us", delay);
delay = VLC_TICK_FROM_MS(20);
}
- pts += delay * 1000;
+ pts += MS_FROM_VLC_TICK(delay);
/* Queue picture */
err = vdp_presentation_queue_display(sys->vdp, sys->queue, surface, 0, 0,
More information about the vlc-commits
mailing list