uriplaylistbin: fix number of streaming items

One more item than intended was allowed.
This commit is contained in:
Guillaume Desmottes 2022-04-22 14:40:18 +02:00
parent 03fcc2cb9a
commit d69b4edfbc

View file

@ -1051,7 +1051,7 @@ impl UriPlaylistBin {
} }
let n_streaming = state.streaming.len(); let n_streaming = state.streaming.len();
if n_streaming > MAX_STREAMING_ITEMS { if n_streaming >= MAX_STREAMING_ITEMS {
gst::log!( gst::log!(
CAT, CAT,
obj: element, obj: element,