mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
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:
parent
e7efa0a5be
commit
bfb1260af4
1 changed files with 1 additions and 1 deletions
|
@ -1029,7 +1029,7 @@ gst_rtp_session_send_rtcp (RTPSession * sess, RTPSource * src,
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
|
|
||||||
/* set rtcp caps on output pad */
|
/* 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);
|
caps = gst_caps_new_simple ("application/x-rtcp", NULL);
|
||||||
gst_pad_set_caps (rtcp_src, caps);
|
gst_pad_set_caps (rtcp_src, caps);
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
|
|
Loading…
Reference in a new issue