mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +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);
|
display_drm = gst_va_display_drm_new_from_path (path);
|
||||||
if (!display_drm) {
|
if (!display_drm) {
|
||||||
GST_ERROR ("Couldn't create a VA DRM display");
|
GST_ERROR ("Couldn't create a VA DRM display");
|
||||||
goto failed;
|
return FALSE;
|
||||||
}
|
}
|
||||||
g_free (path);
|
g_free (path);
|
||||||
|
|
||||||
priv->display = display_drm;
|
priv->display = display_drm;
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
failed:
|
|
||||||
if (display_drm)
|
|
||||||
gst_object_unref (display_drm);
|
|
||||||
|
|
||||||
return FALSE;
|
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static GstD3D11Device *
|
static GstD3D11Device *
|
||||||
|
|
Loading…
Reference in a new issue