Commit 0db69ac2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

avio: use network-caching (fixes #10844)

So far only network protocols (well, only RTMP) are aliased.
parent 374bd117
......@@ -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: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment