diff options
author | Thiago Santos <ts.santos@sisa.samsung.com> | 2014-06-27 14:24:10 -0300 |
---|---|---|
committer | Thiago Santos <ts.santos@sisa.samsung.com> | 2014-06-27 14:25:05 -0300 |
commit | 693f3f9ce2e630a6b83d13e6585e08db5340e34a (patch) | |
tree | 4e9bf2bda7a489155e137845b1437d3fdc219dd2 | |
parent | aa9fb3bc6f9a8e7705abffea829030da2a655bbd (diff) | |
download | gstreamer-plugins-base-693f3f9ce2e630a6b83d13e6585e08db5340e34a.tar.gz |
playsinkconvertbin: fix caps leak
Let go the reference to the converter caps after using it
-rw-r--r-- | gst/playback/gstplaysinkconvertbin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/playback/gstplaysinkconvertbin.c b/gst/playback/gstplaysinkconvertbin.c index 8ec85a42d..a9272b021 100644 --- a/gst/playback/gstplaysinkconvertbin.c +++ b/gst/playback/gstplaysinkconvertbin.c @@ -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); |