gstsrtpenc: unref event when needed

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=731768
This commit is contained in:
Miguel París Díaz 2014-06-17 11:48:12 +02:00 committed by Wim Taymans
parent 52d4b7de07
commit bf003caf9d

View file

@ -1190,6 +1190,7 @@ gst_srtp_enc_sink_event (GstPad * pad, GstObject * parent, GstEvent * event,
gst_event_parse_caps (event, &caps);
ret = gst_srtp_enc_sink_setcaps (pad, filter, caps, is_rtcp);
gst_event_unref (event);
break;
}
default: