[vlc-commits] shm: fix PTS delay (fixes #7579)

Rémi Denis-Courmont git at videolan.org
Sat Nov 24 22:02:50 CET 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Nov 24 23:01:38 2012 +0200| [6eaec7cb6995c4f7c7a12d3c9e9fd6b05a446230] | committer: Rémi Denis-Courmont

shm: fix PTS delay (fixes #7579)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6eaec7cb6995c4f7c7a12d3c9e9fd6b05a446230
---

 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 9de1603..20adf14 100644
--- a/modules/access/shm.c
+++ b/modules/access/shm.c
@@ -289,7 +289,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