From b001da292626c16c3cfa995585673380f65a9f4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 19 Jun 2013 11:06:37 +0200 Subject: [PATCH] qtdemux: Disable usage of allocation queries This can only reliably work if demuxers have a separate streaming thread per srcpad. This should be done in a demuxer base class, which integrates parts of multiqueue https://bugzilla.gnome.org/show_bug.cgi?id=701856 --- gst/isomp4/qtdemux.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index 37fe581cb0..7bb46b8523 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -5457,6 +5457,14 @@ qtdemux_tree_get_sibling_by_type (GNode * node, guint32 fourcc) static void qtdemux_do_allocation (GstQTDemux * qtdemux, QtDemuxStream * stream) { +/* FIXME: This can only reliably work if demuxers have a + * separate streaming thread per srcpad. This should be + * done in a demuxer base class, which integrates parts + * of multiqueue + * + * https://bugzilla.gnome.org/show_bug.cgi?id=701856 + */ +#if 0 GstQuery *query; query = gst_query_new_allocation (stream->caps, FALSE); @@ -5480,6 +5488,7 @@ qtdemux_do_allocation (GstQTDemux * qtdemux, QtDemuxStream * stream) stream->use_allocator = FALSE; } gst_query_unref (query); +#endif } static gboolean