Commit 3f33a255 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

smooth: provide PTS delay

parent 11b71919
...@@ -757,6 +757,10 @@ static int Control( stream_t *s, int i_query, va_list args ) ...@@ -757,6 +757,10 @@ static int Control( stream_t *s, int i_query, va_list args )
case STREAM_GET_SIZE: case STREAM_GET_SIZE:
*(va_arg( args, uint64_t * )) = FAKE_STREAM_SIZE; *(va_arg( args, uint64_t * )) = FAKE_STREAM_SIZE;
break; break;
case STREAM_GET_PTS_DELAY:
*va_arg (args, int64_t *) =
var_InheritInteger(s, "network-caching");
break;
default: default:
return VLC_EGENERIC; return VLC_EGENERIC;
} }
......
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