mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
adaptivedemux: Use a simple queue instead of queue2
The reason we previously used queue2 was to calculate the download rate, but that wasn't entirely correct and we therefore calculate it before queue2. We therefore now just need a simple queue.
This commit is contained in:
parent
4f7e23fbee
commit
800aca8161
1 changed files with 3 additions and 3 deletions
|
@ -2554,12 +2554,12 @@ gst_adaptive_demux_stream_update_source (GstAdaptiveDemuxStream * stream,
|
|||
GObjectClass *gobject_class;
|
||||
gchar *internal_name, *bin_name;
|
||||
|
||||
/* Our src consists of a bin containing uri_handler -> queue2 . The
|
||||
* purpose of the queue2 is to allow the uri_handler to download an
|
||||
/* Our src consists of a bin containing uri_handler -> queue . The
|
||||
* purpose of the queue is to allow the uri_handler to download an
|
||||
* entire fragment without blocking, so we can accurately measure the
|
||||
* download bitrate. */
|
||||
|
||||
queue = gst_element_factory_make ("queue2", NULL);
|
||||
queue = gst_element_factory_make ("queue", NULL);
|
||||
if (queue == NULL)
|
||||
return FALSE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue