Commit 5f3c8eb6 authored by René Stadler's avatar René Stadler
Browse files

audioconvert, videoconvert: fix caps leak in transform_caps

parent 7651fa27
......@@ -307,8 +307,6 @@ gst_audio_convert_transform_caps (GstBaseTransform * btrans,
GstCaps *tmp, *tmp2;
GstCaps *result;
result = gst_caps_copy (caps);
/* Get all possible caps that we can transform to */
tmp = gst_audio_convert_caps_remove_format_info (caps);
......
......@@ -141,8 +141,6 @@ gst_video_convert_transform_caps (GstBaseTransform * btrans,
GstCaps *tmp, *tmp2;
GstCaps *result;
result = gst_caps_copy (caps);
/* Get all possible caps that we can transform to */
tmp = gst_video_convert_caps_remove_format_info (caps);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment