summaryrefslogtreecommitdiff
path: root/omx/gstomxbufferpool.c
diff options
context:
space:
mode:
Diffstat (limited to 'omx/gstomxbufferpool.c')
-rw-r--r--omx/gstomxbufferpool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/omx/gstomxbufferpool.c b/omx/gstomxbufferpool.c
index 80bb83e..dfd5c62 100644
--- a/omx/gstomxbufferpool.c
+++ b/omx/gstomxbufferpool.c
@@ -223,8 +223,8 @@ gst_omx_buffer_pool_stop (GstBufferPool * bpool)
* GstBufferPool::free_buffer is not called while stopping the pool
* (because the queue is empty) */
for (i = 0; i < pool->buffers->len; i++)
- gst_omx_buffer_pool_free_buffer (bpool, g_ptr_array_index (pool->buffers,
- i));
+ GST_BUFFER_POOL_CLASS (gst_omx_buffer_pool_parent_class)->release_buffer
+ (bpool, g_ptr_array_index (pool->buffers, i));
/* Remove any buffers that are there */
g_ptr_array_set_size (pool->buffers, 0);