[vlc-commits] shm: fix PTS delay (fixes #7579)
Rémi Denis-Courmont
git at videolan.org
Sat Nov 24 22:03:35 CET 2012
vlc/vlc-2.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Nov 24 23:01:38 2012 +0200| [34f3f2f90f1d58f980b24c0457e70d8025e0e887] | committer: Rémi Denis-Courmont
shm: fix PTS delay (fixes #7579)
(cherry picked from commit 6eaec7cb6995c4f7c7a12d3c9e9fd6b05a446230)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=34f3f2f90f1d58f980b24c0457e70d8025e0e887
---
modules/access/shm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/shm.c b/modules/access/shm.c
index c4fbeb9..220ce7b 100644
--- a/modules/access/shm.c
+++ b/modules/access/shm.c
@@ -314,7 +314,7 @@ static int Control (demux_t *demux, int query, va_list args)
case DEMUX_GET_PTS_DELAY:
{
int64_t *v = va_arg (args, int64_t *);
- *v = INT64_C(1000) * var_GetInteger (demux, "live-caching");
+ *v = INT64_C(1000) * var_InheritInteger (demux, "live-caching");
return VLC_SUCCESS;
}
More information about the vlc-commits
mailing list