summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorPhilippe Normand <philn@igalia.com>2016-01-20 15:33:28 +0100
committerSebastian Dröge <sebastian@centricular.com>2016-02-16 17:11:03 +0200
commit4d1489b3de383998e0794f73cb85e0afacfd15c2 (patch)
tree381abc58cd26970a828b47ceee0d5405bd1185c3 /gst-libs
parent1cca847b2a667918d2f54301b03a41cc13d8878a (diff)
downloadgstreamer-plugins-bad-4d1489b3de383998e0794f73cb85e0afacfd15c2.tar.gz
adaptivedemux: remove queue2 overrun notification
Due to performance impact concerns this is removed. An alternative approach would be to rely on buffering messages monitoring. https://bugzilla.gnome.org/show_bug.cgi?id=733959
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/adaptivedemux/gstadaptivedemux.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c
index e3c3b51bb..40cb42ad5 100644
--- a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c
+++ b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c
@@ -2197,14 +2197,6 @@ gst_adaptive_demux_stream_wait_manifest_update (GstAdaptiveDemux * demux,
return ret;
}
-static void
-gst_adaptive_demux_stream_queue_overrun (GstElement * queue, gpointer user_data)
-{
- GstAdaptiveDemuxStream *stream = (GstAdaptiveDemuxStream *) user_data;
- GST_WARNING_OBJECT (stream->pad,
- "Queue overrun! The fragment to download is too big according to the current queue size limit");
-}
-
/* must be called with manifest_lock taken */
static gboolean
gst_adaptive_demux_stream_update_source (GstAdaptiveDemuxStream * stream,
@@ -2276,8 +2268,6 @@ gst_adaptive_demux_stream_update_source (GstAdaptiveDemuxStream * stream,
g_object_set (queue, "max-size-bytes", (guint) SRC_QUEUE_MAX_BYTES, NULL);
g_object_set (queue, "max-size-buffers", (guint) 0, NULL);
g_object_set (queue, "max-size-time", (guint64) 0, NULL);
- g_signal_connect (queue, "overrun",
- G_CALLBACK (gst_adaptive_demux_stream_queue_overrun), stream);
uri_handler = gst_element_make_from_uri (GST_URI_SRC, uri, NULL, NULL);
if (uri_handler == NULL) {