gst/rtsp/: Fix for new API.
authorPeter Kjellerstedt <pkj@axis.com>
Thu, 24 May 2007 08:10:42 +0000 (08:10 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 24 May 2007 08:10:42 +0000 (08:10 +0000)
commit77cc870bbc6e7e8fe8a3563cd73899b06b8e3c29
tree70a40b89ce7463ee80c9e5ceba591fe57b063f8e
parent877b1be83af339df7884d4cbc56498ba45394ae9
gst/rtsp/: Fix for new API.

Original commit message from CVS:
Patch by: Peter Kjellerstedt  <pkj at axis com>
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_setup_auth),
(gst_rtspsrc_try_send), (gst_rtspsrc_parse_methods),
(gst_rtspsrc_setup_streams), (gst_rtspsrc_open),
(gst_rtspsrc_play):
(rtsp_connection_send), (rtsp_connection_receive):
* gst/rtsp/rtspextwms.c: (rtsp_ext_wms_after_send):
Fix for new API.
* gst/rtsp/rtspconnection.c: (add_auth_header),
Only add authorisation and session headers when sending messages.
* gst/rtsp/rtspmessage.c: (key_value_foreach), (rtsp_message_init),
(rtsp_message_init_request), (rtsp_message_init_response),
(rtsp_message_unset), (rtsp_message_add_header),
(rtsp_message_remove_header), (rtsp_message_get_header),
(rtsp_message_append_headers), (dump_key_value),
(rtsp_message_dump):
* gst/rtsp/rtspmessage.h:
Add support for multiple headers of the same type by storing the parsed
headers in a GArray instaed of a hashtable.
ChangeLog
gst/rtsp/gstrtspsrc.c
gst/rtsp/rtspconnection.c
gst/rtsp/rtspextwms.c
gst/rtsp/rtspmessage.c
gst/rtsp/rtspmessage.h