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 15:50:42 +0300 |
commit | d69b4edfbc8013c7ae411e650a656b7cbb0a53a4 (patch) | |
tree | 50c241680f1f4c4695da3b5d6cc2944eb4e61cb7 /utils/uriplaylistbin | |
parent | 03fcc2cb9a8d42cf7afe7da7ef501b3c91191962 (diff) |
uriplaylistbin: fix number of streaming items
One more item than intended was allowed.
Diffstat (limited to 'utils/uriplaylistbin')
-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 535ea182b..b7c598e99 100644 --- a/utils/uriplaylistbin/src/uriplaylistbin/imp.rs +++ b/utils/uriplaylistbin/src/uriplaylistbin/imp.rs @@ -1051,7 +1051,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, |