From 1fa3b2662e010e7733f4c886b3d122753c9df8cd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 25 Jul 2011 15:05:08 +0200 Subject: [PATCH] omx: Ensure that the pAppPrivate pointer in OMX buffers is set correctly --- omx/gstomx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/omx/gstomx.c b/omx/gstomx.c index 5dbfc9f..6427921 100644 --- a/omx/gstomx.c +++ b/omx/gstomx.c @@ -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); } -- 2.7.4