adaptivedemux: Set connection-speed value as current download rate if set
If connection-speed property is in use, this value should be used as the current download rate since subclasses might read it to figure out which playlist variant they will use. https://bugzilla.gnome.org/show_bug.cgi?id=784592
This commit is contained in:
parent
5d697cd804
commit
9992564102
@ -2228,6 +2228,7 @@ gst_adaptive_demux_stream_update_current_bitrate (GstAdaptiveDemux * demux,
|
||||
if (demux->connection_speed) {
|
||||
GST_LOG_OBJECT (demux, "Connection-speed is set to %u kbps, using it",
|
||||
demux->connection_speed / 1000);
|
||||
stream->current_download_rate = demux->connection_speed;
|
||||
return demux->connection_speed;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user