Commit d99bf09b authored by Francois Cartegnie's avatar Francois Cartegnie

stream_filter: smooth: fix always zero get_lead()

Was downloading regardless of consumer
parent 191c2781
......@@ -547,7 +547,7 @@ static inline uint64_t get_lead( stream_t *s )
else
lead = alead;
if( p_sys->playback.toffset > lead )
if( p_sys->playback.toffset < lead )
lead -= p_sys->playback.toffset;
else
lead = 0;
......
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