mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
rtpmanager: Fixed a copy & paste error
This commit is contained in:
parent
dc4f9575be
commit
fdf18653b7
1 changed files with 2 additions and 2 deletions
|
@ -1025,7 +1025,7 @@ gst_rtp_session_send_rtcp (RTPSession * sess, RTPSource * src,
|
|||
caps = gst_caps_new_simple ("application/x-rtcp", NULL);
|
||||
gst_pad_set_caps (rtcp_src, caps);
|
||||
} else
|
||||
gst_caps_unref (caps);
|
||||
gst_caps_ref (caps);
|
||||
gst_buffer_set_caps (buffer, caps);
|
||||
gst_caps_unref (caps);
|
||||
|
||||
|
@ -1084,7 +1084,7 @@ gst_rtp_session_sync_rtcp (RTPSession * sess, RTPSource * src,
|
|||
caps = gst_caps_new_simple ("application/x-rtcp", NULL);
|
||||
gst_pad_set_caps (sync_src, caps);
|
||||
} else
|
||||
gst_caps_unref (caps);
|
||||
gst_caps_ref (caps);
|
||||
gst_buffer_set_caps (buffer, caps);
|
||||
gst_caps_unref (caps);
|
||||
|
||||
|
|
Loading…
Reference in a new issue