mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +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
|
* Since: 1.20
|
||||||
**/
|
**/
|
||||||
GstVaDisplay *
|
GstVaDisplay *
|
||||||
gst_va_display_wrapped_new (guintptr handle)
|
gst_va_display_wrapped_new (gpointer handle)
|
||||||
{
|
{
|
||||||
GstVaDisplay *dpy;
|
GstVaDisplay *dpy;
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,6 @@ G_BEGIN_DECLS
|
||||||
GST_VA_API
|
GST_VA_API
|
||||||
GType gst_va_display_wrapped_get_type (void);
|
GType gst_va_display_wrapped_get_type (void);
|
||||||
GST_VA_API
|
GST_VA_API
|
||||||
GstVaDisplay * gst_va_display_wrapped_new (guintptr handle);
|
GstVaDisplay * gst_va_display_wrapped_new (gpointer handle);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
|
@ -315,7 +315,7 @@ gst_context_get_va_display (GstContext * context, const gchar * type_name,
|
||||||
* VADisplay from users */
|
* VADisplay from users */
|
||||||
if (!is_devnode
|
if (!is_devnode
|
||||||
&& gst_structure_get (s, "va-display", G_TYPE_POINTER, &dpy, NULL)) {
|
&& 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;
|
goto accept;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue