[vlc-commits] dshow: off by one
Rémi Denis-Courmont
git at videolan.org
Mon Jul 7 17:38:43 CEST 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jul 7 18:38:36 2014 +0300| [96095a84bf947d6be483cea56dd7c9539776ffba] | committer: Rémi Denis-Courmont
dshow: off by one
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=96095a84bf947d6be483cea56dd7c9539776ffba
---
modules/access/dshow/dshow.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/dshow/dshow.cpp b/modules/access/dshow/dshow.cpp
index eeac589..0e21fe4 100644
--- a/modules/access/dshow/dshow.cpp
+++ b/modules/access/dshow/dshow.cpp
@@ -1893,7 +1893,7 @@ static int Demux( demux_t *p_demux )
i_pts = sample.i_timestamp;
p_stream->b_pts = true;
}
- i_pts += (i_pts >= 0) ? +5 : -5;
+ i_pts += (i_pts >= 0) ? +5 : -4;
i_pts /= 10; /* 100-ns to µs conversion */
i_pts += VLC_TS_0;
}
More information about the vlc-commits
mailing list