alphacolor: plug structure leak

This commit is contained in:
Mark Nauwelaerts 2012-03-29 17:21:43 +02:00
parent 11abb9c312
commit 8effa9b92f

View file

@ -126,7 +126,7 @@ gst_alpha_color_transform_caps (GstBaseTransform * btrans,
gst_structure_remove_field (structure, "chroma-site");
gst_structure_set_name (structure, "video/x-raw");
gst_caps_append_structure (local_caps, gst_structure_copy (structure));
gst_caps_append_structure (local_caps, structure);
}
/* Get the appropriate template */