summaryrefslogtreecommitdiffstats
path: root/gst/rtpmanager
diff options
context:
space:
mode:
authorPeter Kjellerstedt <pkj@axis.com>2009-09-01 11:32:41 +0200
committerPeter Kjellerstedt <pkj@axis.com>2009-09-01 11:32:41 +0200
commitbfb1260af45db7572a33e49b7b4e9a4be38d30e3 (patch)
tree252ba8c07c8ac68c618561a7920a20e1fc3132f5 /gst/rtpmanager
parente7efa0a5be9f0851358ff4b42ce378281ff62c6b (diff)
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.
Diffstat (limited to 'gst/rtpmanager')
-rw-r--r--gst/rtpmanager/gstrtpsession.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtpmanager/gstrtpsession.c b/gst/rtpmanager/gstrtpsession.c
index ac19d085..928e38b3 100644
--- a/gst/rtpmanager/gstrtpsession.c
+++ b/gst/rtpmanager/gstrtpsession.c
@@ -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);