Commit 34f3f2f9 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

shm: fix PTS delay (fixes #7579)

(cherry picked from commit 6eaec7cb6995c4f7c7a12d3c9e9fd6b05a446230)
parent a1f6bd08
...@@ -314,7 +314,7 @@ static int Control (demux_t *demux, int query, va_list args) ...@@ -314,7 +314,7 @@ static int Control (demux_t *demux, int query, va_list args)
case DEMUX_GET_PTS_DELAY: case DEMUX_GET_PTS_DELAY:
{ {
int64_t *v = va_arg (args, int64_t *); 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; return VLC_SUCCESS;
} }
......
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