omx: Ensure that the pAppPrivate pointer in OMX buffers is set correctly

This commit is contained in:
Sebastian Dröge 2011-07-25 15:05:08 +02:00
parent 8ac445abd8
commit 1fa3b2662e

View file

@ -1186,6 +1186,8 @@ gst_omx_port_allocate_buffers_unlocked (GstOMXPort * port)
goto error;
}
g_assert (buf->omx_buf->pAppPrivate == buf);
/* In the beginning all buffers are not owned by the component */
g_queue_push_tail (port->pending_buffers, buf);
}