rtpmanager: Set caps in gst_rtp_session_send_rtcp() correctly again

The test for when to set an RTCP caps on the output pad in
gst_rtp_session_send_rtcp() accidentally got inverted in the last commit.
This commit is contained in:
Peter Kjellerstedt 2009-09-01 11:32:41 +02:00
parent e7efa0a5be
commit bfb1260af4

View file

@ -1029,7 +1029,7 @@ gst_rtp_session_send_rtcp (RTPSession * sess, RTPSource * src,
GstCaps *caps;
/* set rtcp caps on output pad */
if ((caps = GST_PAD_CAPS (rtcp_src))) {
if (!(caps = GST_PAD_CAPS (rtcp_src))) {
caps = gst_caps_new_simple ("application/x-rtcp", NULL);
gst_pad_set_caps (rtcp_src, caps);
gst_caps_unref (caps);