matroskademux: Don't use gst_pad_alloc_buffer()
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 22 Dec 2010 18:58:21 +0000 (19:58 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 22 Dec 2010 19:01:16 +0000 (20:01 +0100)
commit1d74f568a3ae8ba24fd6909b838e8a9fb7d47a90
treef308fdb0f67e35d96c31da95a621c9986f332af2
parent331bcfbdfc1a00149fe5e989cdb739387f1a2030
matroskademux: Don't use gst_pad_alloc_buffer()

Using this in a demuxer will cause deadlocks if there's
a pad with a pending pad-block downstream, no matter if
there is a queue between the pad or not. Queues pass
bufferalloc downstream from the same thread and only
act as a thread boundary for events and buffers.
gst/matroska/matroska-demux.c