From 800aca816129d8f4d0b2ffb81180f80c0bd60216 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Tue, 10 Jan 2017 16:27:28 +0100 Subject: 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. --- gst-libs/gst/adaptivedemux/gstadaptivedemux.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c index d6c3fb03f..8cb800374 100644 --- a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c +++ b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c @@ -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; -- cgit v1.2.1