hlsdemux: Fix comparison in bitrate selection
This commit is contained in:
parent
a6bfde1ea6
commit
bd54a212d3
@ -823,7 +823,7 @@ gst_m3u8_client_get_playlist_for_bitrate (GstM3U8Client * client, guint bitrate)
|
||||
current_variant = client->main->current_variant;
|
||||
|
||||
/* 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);
|
||||
if (!list)
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user