summaryrefslogtreecommitdiff
path: root/gst/vaapi/gstvaapipluginbase.h
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2014-12-03 15:45:52 +0100
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2015-02-24 15:20:03 +0100
commit9aa5eac5e3e2636f08a85a7d4f850f5b9dff8c7b (patch)
treefd5db678b88b54333fc71798362d08ead61819cd /gst/vaapi/gstvaapipluginbase.h
parentd9c082168b64ea7175dd2b469e1955d2d79e39e3 (diff)
plugins: ensure VA display matches GL context expectations.
If a GstGLContext is supplied by the downstream element, then make sure that the VA plugin element gets a compatible display to what is requested by the GL context. e.g. re-allocate a VA/GLX display when a GLX context is provided by the downstream element.
Diffstat (limited to 'gst/vaapi/gstvaapipluginbase.h')
-rw-r--r--gst/vaapi/gstvaapipluginbase.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gst/vaapi/gstvaapipluginbase.h b/gst/vaapi/gstvaapipluginbase.h
index 717716a1..d444c6a7 100644
--- a/gst/vaapi/gstvaapipluginbase.h
+++ b/gst/vaapi/gstvaapipluginbase.h
@@ -197,6 +197,11 @@ void
gst_vaapi_plugin_base_close (GstVaapiPluginBase * plugin);
G_GNUC_INTERNAL
+gboolean
+gst_vaapi_plugin_base_has_display_type (GstVaapiPluginBase * plugin,
+ GstVaapiDisplayType display_type_req);
+
+G_GNUC_INTERNAL
void
gst_vaapi_plugin_base_set_display_type (GstVaapiPluginBase * plugin,
GstVaapiDisplayType display_type);