omx: Ensure that the pAppPrivate pointer in OMX buffers is set correctly
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 25 Jul 2011 13:05:08 +0000 (15:05 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 25 Jul 2011 13:05:08 +0000 (15:05 +0200)
omx/gstomx.c

index 5dbfc9f..6427921 100644 (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);
   }