Commit 25950a88 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

http: fix caching value (fixes #16795)

parent 67017af2
......@@ -96,8 +96,8 @@ static int FileControl(access_t *access, int query, va_list args)
}
case ACCESS_GET_PTS_DELAY:
*va_arg(args, int64_t *) = var_InheritInteger(access,
"network-caching");
*va_arg(args, int64_t *) = INT64_C(1000) *
var_InheritInteger(access, "network-caching");
break;
case ACCESS_GET_CONTENT_TYPE:
......@@ -144,8 +144,8 @@ static int LiveControl(access_t *access, int query, va_list args)
break;
case ACCESS_GET_PTS_DELAY:
*va_arg(args, int64_t *) = var_InheritInteger(access,
"network-caching");
*va_arg(args, int64_t *) = INT64_C(1000) *
var_InheritInteger(access, "network-caching");
break;
case ACCESS_GET_CONTENT_TYPE:
......
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