mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
playsinkconvertbin: fix caps leak
Let go the reference to the converter caps after using it
This commit is contained in:
parent
aa9fb3bc6f
commit
693f3f9ce2
1 changed files with 1 additions and 0 deletions
|
@ -418,6 +418,7 @@ gst_play_sink_convert_bin_getcaps (GstPad * pad, GstCaps * filter)
|
|||
gst_caps_merge_structure_full (ret, gst_structure_copy (s),
|
||||
(cf ? gst_caps_features_copy (cf) : NULL));
|
||||
}
|
||||
gst_caps_unref (converter_caps);
|
||||
} else {
|
||||
ret = peer_caps;
|
||||
GST_PLAY_SINK_CONVERT_BIN_FILTER_CAPS (filter, ret);
|
||||
|
|
Loading…
Reference in a new issue