|
|
|
@ -1933,7 +1933,7 @@ static int AccessControl( stream_t *p_access, int i_query, va_list args ) |
|
|
|
case STREAM_GET_PTS_DELAY: |
|
|
|
pi_64 = va_arg( args, int64_t * ); |
|
|
|
*pi_64 = |
|
|
|
INT64_C(1000) * var_InheritInteger( p_access, "live-caching" ); |
|
|
|
VLC_TICK_FROM_MS( var_InheritInteger( p_access, "live-caching" ) ); |
|
|
|
break; |
|
|
|
|
|
|
|
case STREAM_GET_CONTENT_TYPE: |
|
|
|
@ -1982,7 +1982,7 @@ static int DemuxControl( demux_t *p_demux, int i_query, va_list args ) |
|
|
|
case DEMUX_GET_PTS_DELAY: |
|
|
|
pi64 = va_arg( args, int64_t * ); |
|
|
|
*pi64 = |
|
|
|
INT64_C(1000) * var_InheritInteger( p_demux, "live-caching" ); |
|
|
|
VLC_TICK_FROM_MS( var_InheritInteger( p_demux, "live-caching" ) ); |
|
|
|
return VLC_SUCCESS; |
|
|
|
|
|
|
|
case DEMUX_GET_TIME: |
|
|
|
|