mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
gstomx: remove gst_omx_buffer_set_omx_buf/get_omx_buf
They are no longer used anywhere
This commit is contained in:
parent
783e58fc48
commit
fbe0d07068
2 changed files with 0 additions and 21 deletions
18
omx/gstomx.c
18
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));
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue