Fix subpicture formats list length.

This commit is contained in:
gb 2010-03-05 08:52:20 +00:00
parent 0b3d5ddd0c
commit 38b0fe7d57

View file

@ -222,7 +222,7 @@ gst_vaapi_display_create_resources(GstVaapiDisplay *display)
status = vaQuerySubpictureFormats(priv->display,
priv->subpicture_formats,
priv->subpicture_flags,
&priv->num_image_formats);
&priv->num_subpicture_formats);
if (!vaapi_check_status(status, "vaQuerySubpictureFormats()"))
return FALSE;