gst/rtpmanager/gstrtpsession.c: Don't set fixed caps, we can basically do everything the upsteam peer pad can renegot...

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.
This commit is contained in:
Wim Taymans 2008-01-09 14:39:44 +00:00
parent f73b18abe5
commit 8fc6e320d0
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
* 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.
2008-01-09 Stefan Kost <ensonic@users.sf.net> 2008-01-09 Stefan Kost <ensonic@users.sf.net>
* Makefile.am: * Makefile.am:

View file

@ -1677,7 +1677,6 @@ create_send_rtp_sink (GstRtpSession * rtpsession)
rtpsession->send_rtp_src = rtpsession->send_rtp_src =
gst_pad_new_from_static_template (&rtpsession_send_rtp_src_template, gst_pad_new_from_static_template (&rtpsession_send_rtp_src_template,
"send_rtp_src"); "send_rtp_src");
gst_pad_use_fixed_caps (rtpsession->send_rtp_src);
gst_pad_set_internal_link_function (rtpsession->send_rtp_src, gst_pad_set_internal_link_function (rtpsession->send_rtp_src,
gst_rtp_session_internal_links); gst_rtp_session_internal_links);
gst_pad_set_active (rtpsession->send_rtp_src, TRUE); gst_pad_set_active (rtpsession->send_rtp_src, TRUE);