gst/rtpmanager/gstrtpsession.c: Don't set fixed caps, we can basically do everything...
authorWim Taymans <wim.taymans@gmail.com>
Wed, 9 Jan 2008 14:39:44 +0000 (14:39 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 11 Aug 2009 01:30:33 +0000 (02:30 +0100)
Original commit message from CVS:
* gst/rtpmanager/gstrtpsession.c: (create_send_rtp_sink):
Don't set fixed caps, we can basically do everything the upsteam peer
pad can renegotiate to. Fixes #507940.

gst/rtpmanager/gstrtpsession.c

index cfeec26..790a0a1 100644 (file)
@@ -1677,7 +1677,6 @@ create_send_rtp_sink (GstRtpSession * rtpsession)
   rtpsession->send_rtp_src =
       gst_pad_new_from_static_template (&rtpsession_send_rtp_src_template,
       "send_rtp_src");
-  gst_pad_use_fixed_caps (rtpsession->send_rtp_src);
   gst_pad_set_internal_link_function (rtpsession->send_rtp_src,
       gst_rtp_session_internal_links);
   gst_pad_set_active (rtpsession->send_rtp_src, TRUE);