mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
msdkcontext: g_object_new() must not return nullptr
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3301>
This commit is contained in:
parent
7b03da634b
commit
c9cc92a20a
1 changed files with 0 additions and 2 deletions
|
@ -419,8 +419,6 @@ gst_msdk_context_new_with_va_display (GstObject * display_obj,
|
|||
return NULL;
|
||||
|
||||
obj = g_object_new (GST_TYPE_MSDK_CONTEXT, NULL);
|
||||
if (!obj)
|
||||
return NULL;
|
||||
|
||||
priv = obj->priv;
|
||||
priv->display = g_object_ref (va_display);
|
||||
|
|
Loading…
Reference in a new issue