mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
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:
parent
e0915ce982
commit
031b77ce97
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue