mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
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
This commit is contained in:
parent
148f867c12
commit
29cf49d56a
1 changed files with 0 additions and 1 deletions
|
@ -1264,7 +1264,6 @@ gst_vaapi_encoder_init_properties (GstVaapiEncoder * encoder)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
g_ptr_array_unref (props);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue