if (profile == VAProfileNone)
return -1;
- if (entrypoint != self->entrypoint)
- return -1;
-
dpy = gst_va_display_get_va_dpy (self->display);
status = vaGetConfigAttributes (dpy, profile, entrypoint, &attrib, 1);
if (status != VA_STATUS_SUCCESS) {
if (profile == VAProfileNone)
return FALSE;
- if (entrypoint != self->entrypoint)
- return FALSE;
-
dpy = gst_va_display_get_va_dpy (self->display);
status = vaGetConfigAttributes (dpy, profile, entrypoint, &attrib, 1);
if (status != VA_STATUS_SUCCESS) {
if (profile == VAProfileNone)
return 0;
- if (entrypoint != self->entrypoint)
- return 0;
-
dpy = gst_va_display_get_va_dpy (self->display);
status = vaGetConfigAttributes (dpy, profile, entrypoint, &attrib, 1);
if (status != VA_STATUS_SUCCESS) {
if (profile == VAProfileNone)
return 0;
- if (entrypoint != self->entrypoint)
- return 0;
-
dpy = gst_va_display_get_va_dpy (self->display);
status = vaGetConfigAttributes (dpy, profile, entrypoint, &attrib, 1);
if (status != VA_STATUS_SUCCESS) {
if (profile == VAProfileNone)
return FALSE;
- if (entrypoint != self->entrypoint)
- return FALSE;
-
dpy = gst_va_display_get_va_dpy (self->display);
status = vaGetConfigAttributes (dpy, profile, entrypoint, &attrib, 1);
if (status != VA_STATUS_SUCCESS) {
if (profile == VAProfileNone)
return 0;
- if (entrypoint != self->entrypoint)
- return 0;
-
dpy = gst_va_display_get_va_dpy (self->display);
status = vaGetConfigAttributes (dpy, profile, entrypoint, &attrib, 1);
if (status != VA_STATUS_SUCCESS) {
if (profile == VAProfileNone)
return 0;
- if (entrypoint != self->entrypoint)
- return 0;
-
dpy = gst_va_display_get_va_dpy (self->display);
status = vaGetConfigAttributes (dpy, profile, entrypoint, &attrib, 1);
if (status != VA_STATUS_SUCCESS) {