diff options
Diffstat (limited to 'omx/gstomxbufferpool.c')
-rw-r--r-- | omx/gstomxbufferpool.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/omx/gstomxbufferpool.c b/omx/gstomxbufferpool.c index 4e2033f..995687b 100644 --- a/omx/gstomxbufferpool.c +++ b/omx/gstomxbufferpool.c @@ -247,6 +247,9 @@ gst_omx_buffer_pool_stop (GstBufferPool * bpool) /* Remove any buffers that are there */ g_ptr_array_set_size (pool->buffers, 0); + GST_DEBUG_OBJECT (pool, "deallocate OMX buffers"); + gst_omx_port_deallocate_buffers (pool->port); + if (pool->caps) gst_caps_unref (pool->caps); pool->caps = NULL; |