summaryrefslogtreecommitdiff
path: root/gst/vaapi/gstvaapipluginbase.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/vaapi/gstvaapipluginbase.c')
-rw-r--r--gst/vaapi/gstvaapipluginbase.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/vaapi/gstvaapipluginbase.c b/gst/vaapi/gstvaapipluginbase.c
index c2dc4c98..7a0e1c86 100644
--- a/gst/vaapi/gstvaapipluginbase.c
+++ b/gst/vaapi/gstvaapipluginbase.c
@@ -976,7 +976,10 @@ ensure_allowed_raw_caps (GstVaapiPluginBase * plugin)
image = gst_vaapi_image_new (plugin->display, format, 64, 64);
if (!image)
continue;
+ /* HACK: iHD driver vaPutImage() API is broken */
+#if 0
if (gst_vaapi_surface_put_image (surface, image))
+#endif
g_array_append_val (out_formats, format);
gst_vaapi_object_unref (image);
}