err =
OMX_UseBuffer (comp->handle, &buf->omx_buf, port->index, buf,
port->port_def.nBufferSize, l->data);
+ buf->eglimage = FALSE;
} else if (images) {
err =
OMX_UseEGLImage (comp->handle, &buf->omx_buf, port->index, buf,
l->data);
+ buf->eglimage = TRUE;
} else {
err =
OMX_AllocateBuffer (comp->handle, &buf->omx_buf, port->index, buf,
port->port_def.nBufferSize);
+ buf->eglimage = FALSE;
}
if (err != OMX_ErrorNone) {
/* Cookie of the settings when this buffer was allocated */
gint settings_cookie;
+
+ /* TRUE if this is an EGLImage */
+ gboolean eglimage;
};
struct _GstOMXClassData {