mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +00:00
plugins: remove gst_vaapi_plugin_base_driver_is_whitelisted()
Since nobody is calling gst_vaapi_plugin_base_driver_is_whitelisted(), it is deleted.
This commit is contained in:
parent
dcb0de8532
commit
fabcb4dc06
2 changed files with 0 additions and 30 deletions
|
@ -75,32 +75,6 @@ gst_vaapi_plugin_base_set_context (GstVaapiPluginBase * plugin,
|
|||
plugin_set_display (plugin, display);
|
||||
}
|
||||
|
||||
/**
|
||||
* gst_vaapi_plugin_base_driver_is_whitelisted:
|
||||
* @plugin: a #GstVaapiPluginBase instance
|
||||
*
|
||||
* Looks the VA-API driver vendors in an internal white-list.
|
||||
*
|
||||
* Returns: %TRUE if driver is in the white-list, otherwise %FALSE
|
||||
**/
|
||||
gboolean
|
||||
gst_vaapi_plugin_base_driver_is_whitelisted (GstVaapiPluginBase * plugin)
|
||||
{
|
||||
GstVaapiDisplay *display;
|
||||
|
||||
display = GST_VAAPI_PLUGIN_BASE_DISPLAY (plugin);
|
||||
if (!display)
|
||||
goto no_display;
|
||||
return gst_vaapi_driver_is_whitelisted (display);
|
||||
|
||||
/* ERRORS */
|
||||
no_display:
|
||||
{
|
||||
GST_WARNING_OBJECT (plugin, "no VA-API display available");
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
gst_vaapi_plugin_base_init_interfaces (GType g_define_type_id)
|
||||
{
|
||||
|
|
|
@ -226,10 +226,6 @@ GstFlowReturn
|
|||
gst_vaapi_plugin_base_get_input_buffer (GstVaapiPluginBase * plugin,
|
||||
GstBuffer * inbuf, GstBuffer ** outbuf_ptr);
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
gboolean
|
||||
gst_vaapi_plugin_base_driver_is_whitelisted (GstVaapiPluginBase * plugin);
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
void
|
||||
gst_vaapi_plugin_base_set_context (GstVaapiPluginBase * plugin,
|
||||
|
|
Loading…
Reference in a new issue