mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
hlsdemux: Fix comparison in bitrate selection
This commit is contained in:
parent
a6bfde1ea6
commit
bd54a212d3
1 changed files with 1 additions and 1 deletions
|
@ -823,7 +823,7 @@ gst_m3u8_client_get_playlist_for_bitrate (GstM3U8Client * client, guint bitrate)
|
||||||
current_variant = client->main->current_variant;
|
current_variant = client->main->current_variant;
|
||||||
|
|
||||||
/* Go to the highest possible bandwidth allowed */
|
/* Go to the highest possible bandwidth allowed */
|
||||||
while (GST_M3U8 (current_variant->data)->bandwidth < bitrate) {
|
while (GST_M3U8 (current_variant->data)->bandwidth <= bitrate) {
|
||||||
list = g_list_next (current_variant);
|
list = g_list_next (current_variant);
|
||||||
if (!list)
|
if (!list)
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue