mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 18:51:11 +00:00
audioconvert, videoconvert: fix caps leak in transform_caps
This commit is contained in:
parent
7651fa27dc
commit
5f3c8eb680
2 changed files with 0 additions and 4 deletions
|
@ -307,8 +307,6 @@ gst_audio_convert_transform_caps (GstBaseTransform * btrans,
|
||||||
GstCaps *tmp, *tmp2;
|
GstCaps *tmp, *tmp2;
|
||||||
GstCaps *result;
|
GstCaps *result;
|
||||||
|
|
||||||
result = gst_caps_copy (caps);
|
|
||||||
|
|
||||||
/* Get all possible caps that we can transform to */
|
/* Get all possible caps that we can transform to */
|
||||||
tmp = gst_audio_convert_caps_remove_format_info (caps);
|
tmp = gst_audio_convert_caps_remove_format_info (caps);
|
||||||
|
|
||||||
|
|
|
@ -141,8 +141,6 @@ gst_video_convert_transform_caps (GstBaseTransform * btrans,
|
||||||
GstCaps *tmp, *tmp2;
|
GstCaps *tmp, *tmp2;
|
||||||
GstCaps *result;
|
GstCaps *result;
|
||||||
|
|
||||||
result = gst_caps_copy (caps);
|
|
||||||
|
|
||||||
/* Get all possible caps that we can transform to */
|
/* Get all possible caps that we can transform to */
|
||||||
tmp = gst_video_convert_caps_remove_format_info (caps);
|
tmp = gst_video_convert_caps_remove_format_info (caps);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue