[vlc-commits] avio: use network-caching (fixes #10844)
Rémi Denis-Courmont
git at videolan.org
Mon Mar 3 18:38:20 CET 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Mar 3 19:37:25 2014 +0200| [0db69ac2a51b5441a1364683feebe5775c1b0d72] | committer: Rémi Denis-Courmont
avio: use network-caching (fixes #10844)
So far only network protocols (well, only RTMP) are aliased.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0db69ac2a51b5441a1364683feebe5775c1b0d72
---
modules/access/avio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/avio.c b/modules/access/avio.c
index 866e58e..9839366 100644
--- a/modules/access/avio.c
+++ b/modules/access/avio.c
@@ -437,7 +437,7 @@ static int Control(access_t *access, int query, va_list args)
return VLC_SUCCESS;
case ACCESS_GET_PTS_DELAY: {
int64_t *delay = va_arg(args, int64_t *);
- *delay = DEFAULT_PTS_DELAY; /* FIXME */
+ *delay = INT64_C(1000) * var_InheritInteger(access, "network-caching");
return VLC_SUCCESS;
}
case ACCESS_SET_PAUSE_STATE: {
More information about the vlc-commits
mailing list