mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
plugins: fix display type comparison in gst_vaapi_create_display().
After the code got moved to create the gst_vaapi_create_display() helper, this comparison was not updated to dereference the newly-created pointer, so the code was comparing the pointer itself to the type, and therefore failing to retrieve the VA display. This fixes the following error (and gets gst-vaapi decoding again): ERROR vaapidecode gstvaapidecode.c:807:gst_vaapidecode_ensure_allowed_caps: failed to retrieve VA display https://bugzilla.gnome.org/show_bug.cgi?id=704410 Signed-off-by: Emilio López <emilio@elopez.com.ar>
This commit is contained in:
parent
07e890e818
commit
b868c6d888
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ gst_vaapi_create_display(GstVaapiDisplayType *display_type)
|
|||
break;
|
||||
}
|
||||
|
||||
if (display_type != GST_VAAPI_DISPLAY_TYPE_ANY)
|
||||
if (*display_type != GST_VAAPI_DISPLAY_TYPE_ANY)
|
||||
break;
|
||||
}
|
||||
return display;
|
||||
|
|
Loading…
Reference in a new issue