audioconvert, videoconvert: fix caps leak in transform_caps

This commit is contained in:
René Stadler 2011-11-12 01:38:37 +01:00
parent 7651fa27dc
commit 5f3c8eb680
2 changed files with 0 additions and 4 deletions

View file

@ -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);

View file

@ -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);