mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
msdk: fix error handling in case of unsupported hardware
Fix double gst_object_unref for GstMsdkContext. https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/945
This commit is contained in:
parent
88bee1a322
commit
9b19968a66
1 changed files with 0 additions and 1 deletions
|
@ -200,7 +200,6 @@ gst_msdk_context_open (GstMsdkContext * context, gboolean hardware,
|
||||||
|
|
||||||
failed:
|
failed:
|
||||||
msdk_close_session (priv->session);
|
msdk_close_session (priv->session);
|
||||||
gst_object_unref (context);
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue