diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2017-09-15 18:31:49 +0200 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2017-09-15 19:01:52 +0200 |
commit | 650c024b42d60c58f35cbdfe13ac445707b7b262 (patch) | |
tree | 3958e0b0475255f3bb784c373e3d6ad461ef4a37 | |
parent | 5e626fdb5c22b8826218070503eb3e82a5351694 (diff) |
libs: encoder: don't unref properties
This patch fixes a regression introduced in commit 148f867c, since the
props variable is set to object's member variable
encoder->properties. And it is set in the instance initialization,
thus it will not be leaked.
https://bugzilla.gnome.org/show_bug.cgi?id=787733
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapiencoder.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiencoder.c b/gst-libs/gst/vaapi/gstvaapiencoder.c index 2aacbc98..9e3b4030 100644 --- a/gst-libs/gst/vaapi/gstvaapiencoder.c +++ b/gst-libs/gst/vaapi/gstvaapiencoder.c @@ -1056,7 +1056,6 @@ gst_vaapi_encoder_init_properties (GstVaapiEncoder * encoder) return FALSE; } - g_ptr_array_unref (props); return TRUE; } |