omxvideodec: Don't provide buffers to downstream

This only works reliable if we have a way to tell downstream to
release all our buffers for reconfiguration.
This commit is contained in:
Sebastian Dröge 2013-03-11 10:39:25 +01:00
parent 8bf902b69d
commit 448ea34b75

View file

@ -1173,7 +1173,10 @@ gst_omx_video_dec_allocate_output_buffers (GstOMXVideoDec * self)
port = self->dec_out_port;
pool = gst_video_decoder_get_buffer_pool (GST_VIDEO_DECODER (self));
if (pool) {
/* FIXME: Enable this once there's a way to request downstream to
* release all our buffers, e.g.
* http://cgit.freedesktop.org/~wtay/gstreamer/log/?h=release-pool */
if (FALSE && pool) {
GstAllocator *allocator;
config = gst_buffer_pool_get_config (pool);