srtpdec: Pass is_rtcp to setcaps function

This commit is contained in:
Olivier Crête 2013-11-19 19:10:06 -05:00
parent 8c76d7c77e
commit de1fb842e6

View file

@ -693,7 +693,7 @@ gst_srtp_dec_sink_event (GstPad * pad, GstObject * parent,
switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_CAPS:
gst_event_parse_caps (event, &caps);
return gst_srtp_dec_sink_setcaps (pad, parent, caps, FALSE);
return gst_srtp_dec_sink_setcaps (pad, parent, caps, is_rtcp);
default:
return gst_pad_event_default (pad, parent, event);
}