mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-06 01:19:38 +00:00
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:
parent
8bf902b69d
commit
448ea34b75
1 changed files with 4 additions and 1 deletions
|
@ -1173,7 +1173,10 @@ gst_omx_video_dec_allocate_output_buffers (GstOMXVideoDec * self)
|
||||||
port = self->dec_out_port;
|
port = self->dec_out_port;
|
||||||
|
|
||||||
pool = gst_video_decoder_get_buffer_pool (GST_VIDEO_DECODER (self));
|
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;
|
GstAllocator *allocator;
|
||||||
|
|
||||||
config = gst_buffer_pool_get_config (pool);
|
config = gst_buffer_pool_get_config (pool);
|
||||||
|
|
Loading…
Reference in a new issue