display: skip profiles which have no entrypoints.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
This commit is contained in:
Zhao Halley 2012-01-31 16:38:58 +08:00 committed by Gwenole Beauchesne
parent 843f528f95
commit d46e8d9961

View file

@ -454,7 +454,7 @@ gst_vaapi_display_create(GstVaapiDisplay *display)
entrypoints, &num_entrypoints
);
if (!vaapi_check_status(status, "vaQueryConfigEntrypoints()"))
goto end;
continue;
for (j = 0; j < num_entrypoints; j++) {
config.entrypoint = gst_vaapi_entrypoint(entrypoints[j]);