pango: Remove extra pango_attr_list_copy() from basetextoverlay
Fixes a per-buffer memory leak of the attribute list.
This commit is contained in:
parent
dce49a1a7e
commit
2528baf2c2
@ -1344,7 +1344,7 @@ gst_base_text_overlay_render_pangocairo (GstBaseTextOverlay * overlay,
|
||||
origin_attr =
|
||||
pango_attr_list_ref (pango_layout_get_attributes (overlay->layout));
|
||||
filtered_attr =
|
||||
pango_attr_list_filter (pango_attr_list_copy (origin_attr),
|
||||
pango_attr_list_filter (origin_attr,
|
||||
gst_text_overlay_filter_foreground_attr, NULL);
|
||||
|
||||
cairo_save (cr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user