diff options
author | Guillaume Desmottes <guillaume.desmottes@onestream.live> | 2022-04-22 15:40:18 +0300 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@onestream.live> | 2022-04-22 16:46:01 +0300 |
commit | 0735908f446ab4b88191caaf8ca2a37dc7286073 (patch) | |
tree | fc19ff41465a2aa4a3175bbbff609defb01aa2ce | |
parent | cde2e75bcc856fb6ec87de5697a2294d2c65e393 (diff) |
uriplaylistbin: fix number of streaming items
One more item than intended was allowed.
-rw-r--r-- | utils/uriplaylistbin/src/uriplaylistbin/imp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/uriplaylistbin/src/uriplaylistbin/imp.rs b/utils/uriplaylistbin/src/uriplaylistbin/imp.rs index 38da133db..d4d38dcbe 100644 --- a/utils/uriplaylistbin/src/uriplaylistbin/imp.rs +++ b/utils/uriplaylistbin/src/uriplaylistbin/imp.rs @@ -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, |