mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-15 20:44:16 +00:00
msdkcontext: use gst_object_ref for GstVaDisplay
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3301>
This commit is contained in:
parent
c9cc92a20a
commit
bae66c8ae0
1 changed files with 1 additions and 1 deletions
|
@ -421,7 +421,7 @@ gst_msdk_context_new_with_va_display (GstObject * display_obj,
|
|||
obj = g_object_new (GST_TYPE_MSDK_CONTEXT, NULL);
|
||||
|
||||
priv = obj->priv;
|
||||
priv->display = g_object_ref (va_display);
|
||||
priv->display = gst_object_ref (va_display);
|
||||
|
||||
priv->job_type = job_type;
|
||||
priv->hardware = hardware;
|
||||
|
|
Loading…
Reference in a new issue