summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-03-15 10:38:43 +0100
committerJosep Torra <n770galaxy@gmail.com>2013-03-15 10:59:57 +0100
commitb5ff4b04f9f05d08c025c610bca75bad39bd718a (patch)
tree0b23d61c2a2057c49bc308826200850314a4cc23
parentfcef9f2eba294de4b10a64f0893491ff71a25d21 (diff)
downloadgst-omx-b5ff4b04f9f05d08c025c610bca75bad39bd718a.tar.gz
omxvideodec: Deallocate output buffers with the right function
-rw-r--r--omx/gstomxvideodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c
index ac8fd89..ebf4645 100644
--- a/omx/gstomxvideodec.c
+++ b/omx/gstomxvideodec.c
@@ -1296,7 +1296,7 @@ gst_omx_video_dec_set_format (GstVideoDecoder * decoder,
return FALSE;
if (gst_omx_port_deallocate_buffers (self->dec_in_port) != OMX_ErrorNone)
return FALSE;
- if (gst_omx_port_deallocate_buffers (self->dec_out_port) != OMX_ErrorNone)
+ if (gst_omx_video_dec_deallocate_output_buffers (self) != OMX_ErrorNone)
return FALSE;
if (gst_omx_port_wait_enabled (self->dec_in_port,
1 * GST_SECOND) != OMX_ErrorNone)