mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-08 02:05:26 +00:00
uriplaylistbin: fix number of streaming items
One more item than intended was allowed.
This commit is contained in:
parent
cde2e75bcc
commit
0735908f44
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue