oggdemux: Don't use gst_pad_alloc_buffer()
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Wed, 22 Dec 2010 19:06:56 +0000 (19:06 +0000)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 22 Dec 2010 19:19:15 +0000 (20:19 +0100)
commite443ae6000ddfd4d469c6614914fd700396558b1
tree452425ad9f0ca84b920708ec6fbe1cc887d2cf7d
parentc76a6ef8ea47f2517c641da6f117df4feb1afe14
oggdemux: Don't use gst_pad_alloc_buffer()

allocate buffers using gst_buffer_new_and_alloc() instead of
gst_pad_alloc_buffer_and_set_caps(), as the first one will
cause the pad to block, and we don't want that since that will
prevent subsequent pads from being fed if a block occurs at
start, when all pads must be fed for playback to start.

This fixes autoplugging of the tiger element and other things.

https://bugzilla.gnome.org/show_bug.cgi?id=637822
ext/ogg/gstoggdemux.c