summaryrefslogtreecommitdiff
path: root/omx/gstomx.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2018-05-15 16:21:26 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2018-08-30 10:59:30 +0200
commit457e1b9a5ea17b1055ac153d213d5b9575311c06 (patch)
treeb76fc043c6912ce6382346b76e9c203b9660fb06 /omx/gstomx.h
parent092788a96810e3897bd143746eb17a25f9f3a5de (diff)
downloadgst-omx-457e1b9a5ea17b1055ac153d213d5b9575311c06.tar.gz
omx: factor out gst_omx_buffer_get/set_omx_buf()
Move the qdata code to helper functions as I'm going to need them in omxvideoenc to implement dmabuf export. https://bugzilla.gnome.org/show_bug.cgi?id=796918
Diffstat (limited to 'omx/gstomx.h')
-rw-r--r--omx/gstomx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/omx/gstomx.h b/omx/gstomx.h
index 075cfd6..81b49dd 100644
--- a/omx/gstomx.h
+++ b/omx/gstomx.h
@@ -469,6 +469,9 @@ gboolean gst_omx_buffer_import_fd (GstOMXBuffer * buffer, GstBuffer * i
void gst_omx_set_default_role (GstOMXClassData *class_data, const gchar *default_role);
+void gst_omx_buffer_set_omx_buf (GstBuffer * buffer, GstOMXBuffer * omx_buf);
+GstOMXBuffer * gst_omx_buffer_get_omx_buf (GstBuffer * buffer);
+
/* refered by plugin_init */
GST_DEBUG_CATEGORY_EXTERN (gst_omx_video_debug_category);