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