summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2017-01-10 16:27:28 +0100
committerEdward Hervey <bilboed@bilboed.com>2017-01-10 16:31:40 +0100
commit800aca816129d8f4d0b2ffb81180f80c0bd60216 (patch)
tree3574010e8cf5a11533d99b187335996753fc6f16
parent4f7e23fbeef45119858255bc5783674d4fda124a (diff)
downloadgstreamer-plugins-bad-800aca816129d8f4d0b2ffb81180f80c0bd60216.tar.gz
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.
-rw-r--r--gst-libs/gst/adaptivedemux/gstadaptivedemux.c6
1 files 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;