roi-meta: duplicate params when copying meta

When copying the meta the params list should be copy too into the
new meta.

https://bugzilla.gnome.org/show_bug.cgi?id=793883
This commit is contained in:
Víctor Manuel Jáquez Leal 2018-02-27 09:48:23 -06:00 committed by Nicolas Dufresne
parent d796188cf1
commit f3d98fa1a3

View file

@ -695,6 +695,8 @@ gst_video_region_of_interest_meta_transform (GstBuffer * dest, GstMeta * meta,
dmeta->id = smeta->id;
dmeta->parent_id = smeta->parent_id;
dmeta->params = g_list_copy_deep (smeta->params,
(GCopyFunc) gst_structure_copy, NULL);
} else if (GST_VIDEO_META_TRANSFORM_IS_SCALE (type)) {
GstVideoMetaTransform *trans = data;
gint ow, oh, nw, nh;