projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d697cd
)
adaptivedemux: Set connection-speed value as current download rate if set
author
Hosang Lee
<hosang10.lee@lge.com>
Mon, 10 Jul 2017 07:56:26 +0000
(16:56 +0900)
committer
Edward Hervey
<bilboed@bilboed.com>
Mon, 28 May 2018 14:02:45 +0000
(16:02 +0200)
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
gst-libs/gst/adaptivedemux/gstadaptivedemux.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c
b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c
index
a0c075b
..
48770b2
100644
(file)
--- a/
gst-libs/gst/adaptivedemux/gstadaptivedemux.c
+++ b/
gst-libs/gst/adaptivedemux/gstadaptivedemux.c
@@
-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;
}