summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2019-03-26 12:26:03 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>2019-04-25 09:09:42 +0530
commitfbe0d07068d018a3c10db36a7c712b702cc92d77 (patch)
treed526b2c2d654c2cf0a43a8bb15adb60a054a8724
parent783e58fc48d9556d6b9a31be1b2009f230640de4 (diff)
downloadgst-omx-fbe0d07068d018a3c10db36a7c712b702cc92d77.tar.gz
gstomx: remove gst_omx_buffer_set_omx_buf/get_omx_buf
They are no longer used anywhere
-rw-r--r--omx/gstomx.c18
-rw-r--r--omx/gstomx.h3
2 files changed, 0 insertions, 21 deletions
diff --git a/omx/gstomx.c b/omx/gstomx.c
index 038ce32..c5814ad 100644
--- a/omx/gstomx.c
+++ b/omx/gstomx.c
@@ -70,8 +70,6 @@ static GHashTable *core_handles;
G_LOCK_DEFINE_STATIC (buffer_flags_str);
static GHashTable *buffer_flags_str;
-static GQuark gst_omx_buffer_data_quark = 0;
-
GstOMXCore *
gst_omx_core_acquire (const gchar * filename)
{
@@ -3739,20 +3737,6 @@ gst_omx_set_default_role (GstOMXClassData * class_data,
class_data->component_role = default_role;
}
-void
-gst_omx_buffer_set_omx_buf (GstBuffer * buffer, GstOMXBuffer * omx_buf)
-{
- gst_mini_object_set_qdata (GST_MINI_OBJECT_CAST (buffer),
- gst_omx_buffer_data_quark, omx_buf, NULL);
-}
-
-GstOMXBuffer *
-gst_omx_buffer_get_omx_buf (GstBuffer * buffer)
-{
- return gst_mini_object_get_qdata (GST_MINI_OBJECT_CAST (buffer),
- gst_omx_buffer_data_quark);
-}
-
static void
_class_init (gpointer g_class, gpointer data)
{
@@ -3923,8 +3907,6 @@ plugin_init (GstPlugin * plugin)
GST_DEBUG_CATEGORY_INIT (OMX_API_TRACE, "OMX_API_TRACE", 0,
"gst-omx performace");
- gst_omx_buffer_data_quark = g_quark_from_static_string ("GstOMXBufferData");
-
/* Read configuration file gstomx.conf from the preferred
* configuration directories */
env_config_dir = g_strdup (g_getenv (*env_config_name));
diff --git a/omx/gstomx.h b/omx/gstomx.h
index 4b61343..8ffef39 100644
--- a/omx/gstomx.h
+++ b/omx/gstomx.h
@@ -483,9 +483,6 @@ 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);