libs: va: display_wrapper: Use gpointer for VADisplay.

In order to be coherent along all the implementation.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2196>
This commit is contained in:
Víctor Manuel Jáquez Leal 2021-05-13 18:46:21 +02:00
parent e0915ce982
commit 031b77ce97
3 changed files with 3 additions and 3 deletions

View file

@ -61,7 +61,7 @@ gst_va_display_wrapped_init (GstVaDisplayWrapped * self)
* Since: 1.20
**/
GstVaDisplay *
gst_va_display_wrapped_new (guintptr handle)
gst_va_display_wrapped_new (gpointer handle)
{
GstVaDisplay *dpy;

View file

@ -34,6 +34,6 @@ G_BEGIN_DECLS
GST_VA_API
GType gst_va_display_wrapped_get_type (void);
GST_VA_API
GstVaDisplay * gst_va_display_wrapped_new (guintptr handle);
GstVaDisplay * gst_va_display_wrapped_new (gpointer handle);
G_END_DECLS

View file

@ -315,7 +315,7 @@ gst_context_get_va_display (GstContext * context, const gchar * type_name,
* VADisplay from users */
if (!is_devnode
&& gst_structure_get (s, "va-display", G_TYPE_POINTER, &dpy, NULL)) {
if ((display = gst_va_display_wrapped_new ((guintptr) dpy)))
if ((display = gst_va_display_wrapped_new (dpy)))
goto accept;
}