summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-03-15 10:38:43 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-03-15 10:38:58 +0100
commit84c6fd44d26efeed5e7f9728a354504fea62e57c (patch)
tree8f658224fb01c2471b48aed93c1d2eaf428289f0
parentd7862b927c0c38e8199d11bedf4bd2b29c4e88f5 (diff)
downloadgst-omx-84c6fd44d26efeed5e7f9728a354504fea62e57c.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 a3ea2f4..89ef59b 100644
--- a/omx/gstomxvideodec.c
+++ b/omx/gstomxvideodec.c
@@ -2027,7 +2027,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)