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 cde2e75bcc
commit 0735908f44

View file

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