mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
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
This commit is contained in:
parent
1cca847b2a
commit
4d1489b3de
1 changed files with 0 additions and 10 deletions
|
@ -2197,14 +2197,6 @@ gst_adaptive_demux_stream_wait_manifest_update (GstAdaptiveDemux * demux,
|
||||||
return ret;
|
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 */
|
/* must be called with manifest_lock taken */
|
||||||
static gboolean
|
static gboolean
|
||||||
gst_adaptive_demux_stream_update_source (GstAdaptiveDemuxStream * stream,
|
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-bytes", (guint) SRC_QUEUE_MAX_BYTES, NULL);
|
||||||
g_object_set (queue, "max-size-buffers", (guint) 0, NULL);
|
g_object_set (queue, "max-size-buffers", (guint) 0, NULL);
|
||||||
g_object_set (queue, "max-size-time", (guint64) 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);
|
uri_handler = gst_element_make_from_uri (GST_URI_SRC, uri, NULL, NULL);
|
||||||
if (uri_handler == NULL) {
|
if (uri_handler == NULL) {
|
||||||
|
|
Loading…
Reference in a new issue