Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@onestream.live>2022-04-22 15:40:18 +0300
committerGuillaume Desmottes <guillaume.desmottes@onestream.live>2022-04-22 16:46:01 +0300
commit0735908f446ab4b88191caaf8ca2a37dc7286073 (patch)
treefc19ff41465a2aa4a3175bbbff609defb01aa2ce
parentcde2e75bcc856fb6ec87de5697a2294d2c65e393 (diff)
uriplaylistbin: fix number of streaming items
One more item than intended was allowed.
-rw-r--r--utils/uriplaylistbin/src/uriplaylistbin/imp.rs2
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,