Commit 9b19968a authored by Peter Seiderer's avatar Peter Seiderer Committed by Víctor Manuel Jáquez Leal

msdk: fix error handling in case of unsupported hardware

Fix double gst_object_unref for GstMsdkContext.

gstreamer/gst-plugins-bad#945
parent 88bee1a3
......@@ -200,7 +200,6 @@ gst_msdk_context_open (GstMsdkContext * context, gboolean hardware,
failed:
msdk_close_session (priv->session);
gst_object_unref (context);
return FALSE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment