qtdemux: Disable usage of allocation queries
authorSebastian Dröge <slomo@circular-chaos.org>
Wed, 19 Jun 2013 09:06:37 +0000 (11:06 +0200)
committerSebastian Dröge <slomo@circular-chaos.org>
Wed, 19 Jun 2013 09:07:48 +0000 (11:07 +0200)
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

index 37fe581..7bb46b8 100644 (file)
@@ -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