[vlc-commits] dxva2_deinterlace: convert timestamps to msftime explicitly
Steve Lhomme
git at videolan.org
Wed Sep 19 13:23:49 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Sep 19 12:54:15 2018 +0200| [ecb1da552cd683bb028e0e1676aa4bb06f449142] | committer: Steve Lhomme
dxva2_deinterlace: convert timestamps to msftime explicitly
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ecb1da552cd683bb028e0e1676aa4bb06f449142
---
modules/hw/d3d9/dxva2_deinterlace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/hw/d3d9/dxva2_deinterlace.c b/modules/hw/d3d9/dxva2_deinterlace.c
index 76701d6a30..0f44ca442c 100644
--- a/modules/hw/d3d9/dxva2_deinterlace.c
+++ b/modules/hw/d3d9/dxva2_deinterlace.c
@@ -149,7 +149,7 @@ static void FillSample( DXVA2_VideoSample *p_sample,
DXVA2_SampleFieldInterleavedOddFirst;
FillExtendedFormat(p_fmt, &p_sample->SampleFormat);
p_sample->Start = 0;
- p_sample->End = GetFieldDuration(p_context, p_fmt, p_pic) * 10;
+ p_sample->End = MSFTIME_FROM_VLC_TICK(GetFieldDuration(p_context, p_fmt, p_pic));
p_sample->SampleData = DXVA2_SampleData_RFF_TFF_Present;
if (!i_field)
p_sample->SampleData |= DXVA2_SampleData_TFF;
More information about the vlc-commits
mailing list