mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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:
parent
d796188cf1
commit
f3d98fa1a3
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue