diff --git a/gst/vaapi/gstvaapipluginbase.c b/gst/vaapi/gstvaapipluginbase.c index b9c579932e..b8092fa06c 100644 --- a/gst/vaapi/gstvaapipluginbase.c +++ b/gst/vaapi/gstvaapipluginbase.c @@ -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) { diff --git a/gst/vaapi/gstvaapipluginbase.h b/gst/vaapi/gstvaapipluginbase.h index 53dd928d12..9526d8ff10 100644 --- a/gst/vaapi/gstvaapipluginbase.h +++ b/gst/vaapi/gstvaapipluginbase.h @@ -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,