srtpenc: unref caps after gst_query_set_caps_result

https://bugzilla.gnome.org/show_bug.cgi?id=725412
This commit is contained in:
Aleix Conchillo Flaqué 2014-02-28 11:16:27 -08:00 committed by Sebastian Dröge
parent b7ef52c515
commit a04fe75047

View file

@ -834,6 +834,7 @@ gst_srtp_enc_sink_query (GstPad * pad, GstObject * parent, GstQuery * query,
}
gst_query_set_caps_result (query, ret);
gst_caps_unref (ret);
return TRUE;
return_template: