diff options
author | Peter Seiderer <ps.report@gmx.net> | 2019-04-06 21:09:03 +0200 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2019-04-10 15:54:31 +0000 |
commit | 9b19968a66f4836083f4fc3a3fecffa8b6238e48 (patch) | |
tree | d02d0c6a8013eb2f14abd49c2c3cf024c131aadd /sys | |
parent | 88bee1a322508e3e87542bb460da7588fb7e67dd (diff) | |
download | gstreamer-plugins-bad-9b19968a66f4836083f4fc3a3fecffa8b6238e48.tar.gz |
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
Diffstat (limited to 'sys')
-rw-r--r-- | sys/msdk/gstmsdkcontext.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/msdk/gstmsdkcontext.c b/sys/msdk/gstmsdkcontext.c index 860722acd..c7a7e04f1 100644 --- a/sys/msdk/gstmsdkcontext.c +++ b/sys/msdk/gstmsdkcontext.c @@ -200,7 +200,6 @@ gst_msdk_context_open (GstMsdkContext * context, gboolean hardware, failed: msdk_close_session (priv->session); - gst_object_unref (context); return FALSE; } |