[vlc-commits] httplive: provide PTS delay
Rémi Denis-Courmont
git at videolan.org
Sun Nov 10 17:08:46 CET 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Nov 10 18:01:47 2013 +0200| [11b719198944bc60c6a7daa3f6e069bed86025e7] | committer: Rémi Denis-Courmont
httplive: provide PTS delay
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=11b719198944bc60c6a7daa3f6e069bed86025e7
---
modules/stream_filter/httplive.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
index 9f965cb..c449579 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -2666,6 +2666,10 @@ static int Control(stream_t *s, int i_query, va_list args)
case STREAM_GET_SIZE:
*(va_arg (args, uint64_t *)) = GetStreamSize(s);
break;
+ case STREAM_GET_PTS_DELAY:
+ *va_arg (args, int64_t *) =
+ var_InheritInteger(s, "network-caching");
+ break;
default:
return VLC_EGENERIC;
}
More information about the vlc-commits
mailing list