mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
msdk: Remove dead code
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5796>
This commit is contained in:
parent
e451908a27
commit
41f13f4373
1 changed files with 1 additions and 7 deletions
|
@ -180,19 +180,13 @@ gst_msdk_context_use_vaapi (GstMsdkContext * context)
|
|||
display_drm = gst_va_display_drm_new_from_path (path);
|
||||
if (!display_drm) {
|
||||
GST_ERROR ("Couldn't create a VA DRM display");
|
||||
goto failed;
|
||||
return FALSE;
|
||||
}
|
||||
g_free (path);
|
||||
|
||||
priv->display = display_drm;
|
||||
|
||||
return TRUE;
|
||||
|
||||
failed:
|
||||
if (display_drm)
|
||||
gst_object_unref (display_drm);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
#else
|
||||
static GstD3D11Device *
|
||||
|
|
Loading…
Reference in a new issue