msdk: Remove dead code

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5796>
This commit is contained in:
Mengkejiergeli Ba 2023-12-12 15:30:39 +08:00 committed by GStreamer Marge Bot
parent e451908a27
commit 41f13f4373

View file

@ -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 *