1. 27 Jun, 2007 2 commits
  2. 24 May, 2007 2 commits
    • Wim Taymans's avatar
      gst/rtsp/gstrtspsrc.c: Init value to avoid infinte loops. · 587d2092
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_parse_methods):
      Init value to avoid infinte loops.
      587d2092
    • Peter Kjellerstedt's avatar
      gst/rtsp/: Fix for new API. · 77cc870b
      Peter Kjellerstedt authored
      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.
      77cc870b
  3. 20 May, 2007 1 commit
  4. 18 May, 2007 3 commits
    • Wim Taymans's avatar
      gst/rtsp/gstrtspsrc.c: Don't crash when an unsupported transport error was... · fc99abef
      Wim Taymans authored
      gst/rtsp/gstrtspsrc.c: Don't crash when an unsupported transport error was returned by the server, just try to config...
      
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_setup_streams):
      Don't crash when an unsupported transport error was returned by the
      server, just try to configure the next stream. Fixes #439255.
      fc99abef
    • Wim Taymans's avatar
      gst/rtsp/gstrtspsrc.*: Add TCP timeout property and use it for all TCP connection. · e04f7a82
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_class_init),
      (gst_rtspsrc_set_property), (gst_rtspsrc_get_property),
      (gst_rtspsrc_stream_configure_udp), (gst_rtspsrc_loop_interleaved),
      (gst_rtspsrc_loop_udp), (gst_rtspsrc_try_send), (gst_rtspsrc_send),
      (gst_rtspsrc_setup_streams), (gst_rtspsrc_open):
      * gst/rtsp/gstrtspsrc.h:
      Add TCP timeout property and use it for all TCP connection.
      * gst/rtsp/rtspconnection.c: (rtsp_connection_connect),
      (rtsp_connection_write), (rtsp_connection_next_timeout),
      (rtsp_connection_reset_timeout):
      Make connect and writes cancelable and make them use the timeout.
      e04f7a82
    • Wim Taymans's avatar
      gst/rtsp/gstrtspsrc.c: Refactor timeout handling. · e4720e28
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send_keep_alive),
      (gst_rtspsrc_loop_interleaved), (gst_rtspsrc_loop_udp),
      (gst_rtspsrc_try_send), (gst_rtspsrc_send),
      (gst_rtspsrc_setup_streams):
      Refactor timeout handling.
      Also send keep-alive when dealing with TCP transport.
      * gst/rtsp/rtspconnection.c: (rtsp_connection_create),
      (rtsp_connection_free), (rtsp_connection_next_timeout),
      (rtsp_connection_reset_timeout):
      * gst/rtsp/rtspconnection.h:
      Use a timer to handle the session timeouts, add some methods to deal
      with timeouts.
      e4720e28
  5. 17 May, 2007 1 commit
    • Wim Taymans's avatar
      gst/rtsp/gstrtspsrc.c: Ignore streams that fail the setup command, we will... · ccd7a136
      Wim Taymans authored
      gst/rtsp/gstrtspsrc.c: Ignore streams that fail the setup command, we will retry with a different transport later on.
      
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send),
      (gst_rtspsrc_setup_streams):
      Ignore streams that fail the setup command, we will retry with a
      different transport later on.
      * gst/rtsp/rtspextwms.c: (rtsp_ext_wms_parse_sdp),
      (rtsp_ext_wms_configure_stream):
      Fix encoding name case.
      ccd7a136
  6. 14 May, 2007 3 commits
    • Wim Taymans's avatar
      gst/rtsp/gstrtspsrc.c: When we try to execute a method that is not supported... · 789ef040
      Wim Taymans authored
      gst/rtsp/gstrtspsrc.c: When we try to execute a method that is not supported by the server, don't error out but remov...
      
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send):
      When we try to execute a method that is not supported by the server,
      don't error out but remove the method from the accepted methods so that
      we never try to perform this method again.
      789ef040
    • Wim Taymans's avatar
      gst/rtsp/gstrtspsrc.c: Parse range correctly. · 63b73eff
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_parse_range):
      Parse range correctly.
      * gst/rtsp/rtspurl.c: (rtsp_url_get_request_uri):
      The baseurl now always has a '/' at the start.
      63b73eff
    • Wim Taymans's avatar
      gst/rtsp/gstrtspsrc.c: Factor out caps configuration and configure more stuff... · fc2f6baf
      Wim Taymans authored
      gst/rtsp/gstrtspsrc.c: Factor out caps configuration and configure more stuff such as the time ranges and speed/scale...
      
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_configure_caps),
      (gst_rtspsrc_parse_range), (gst_rtspsrc_open),
      (gst_rtspsrc_parse_rtpinfo), (gst_rtspsrc_play):
      Factor out caps configuration and configure more stuff such as the time
      ranges and speed/scale values.
      * gst/rtsp/rtsptransport.c:
      Add Copyright after non-trival fixes.
      fc2f6baf
  7. 11 May, 2007 1 commit
    • Wim Taymans's avatar
      gst/rtsp/: Preliminary seek support. · 02fa0a79
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_flush),
      (gst_rtspsrc_do_seek), (gst_rtspsrc_perform_seek),
      (gst_rtspsrc_handle_src_event),
      (gst_rtspsrc_stream_configure_manager),
      (gst_rtspsrc_stream_configure_tcp), (gst_rtspsrc_loop_interleaved),
      (gst_rtspsrc_send_keep_alive), (gst_rtspsrc_open),
      (gst_rtspsrc_parse_rtpinfo), (gst_rtspsrc_play):
      * gst/rtsp/gstrtspsrc.h:
      * gst/rtsp/rtspdefs.h:
      Preliminary seek support.
      Activate internal pads so that we can receive events on them.
      Don't try to parse a range string when it's NULL.
      02fa0a79
  8. 09 May, 2007 1 commit
    • Wim Taymans's avatar
      gst/rtsp/: Add code to parse time ranges. · d29215b2
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtsp/Makefile.am:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_handle_src_query),
      (gst_rtspsrc_send_keep_alive), (gst_rtspsrc_open):
      * gst/rtsp/rtsprange.c: (parse_npt_time), (parse_npt_range),
      (parse_clock_range), (parse_smpte_range), (rtsp_range_parse),
      (rtsp_range_free):
      * gst/rtsp/rtsprange.h:
      Add code to parse time ranges.
      Report DURATION on the stream when possible.
      d29215b2
  9. 04 May, 2007 3 commits
    • Wim Taymans's avatar
      gst/rtsp/gstrtspsrc.c: Let more error state trickle down so that we can catch more error cases. · 9e37243e
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send_keep_alive),
      (gst_rtspsrc_loop_udp), (gst_rtspsrc_try_send), (gst_rtspsrc_send),
      (gst_rtspsrc_setup_streams), (gst_rtspsrc_open),
      (gst_rtspsrc_close), (gst_rtspsrc_play), (gst_rtspsrc_pause),
      (gst_rtspsrc_change_state):
      Let more error state trickle down so that we can catch more error
      cases.
      Handle keep-alive a little smarter by selecting a method the server
      actually supports.
      Fix a race in UDP streaming shutdown.
      9e37243e
    • Wim Taymans's avatar
      gst/rtsp/gstrtspsrc.c: Ignore errors when trying to use the keep-alive messages. · 5f2fbbd7
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send_keep_alive):
      Ignore errors when trying to use the keep-alive messages.
      5f2fbbd7
    • Wim Taymans's avatar
      gst/rtsp/gstrtspsrc.c: Send RTCP messages back to the server over the TCP connection. · fb80e579
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_handle_src_event),
      (gst_rtspsrc_handle_src_query), (gst_rtspsrc_sink_chain),
      (gst_rtspsrc_stream_configure_manager),
      (gst_rtspsrc_stream_free_udp), (gst_rtspsrc_stream_configure_tcp),
      (gst_rtspsrc_stream_configure_mcast),
      (gst_rtspsrc_stream_configure_udp),
      (gst_rtspsrc_stream_configure_udp_sink),
      (gst_rtspsrc_stream_configure_transport):
      Send RTCP messages back to the server over the TCP connection.
      * gst/rtsp/rtspconnection.c: (rtsp_connection_write),
      (rtsp_connection_send), (rtsp_connection_read), (read_body),
      (rtsp_connection_receive):
      * gst/rtsp/rtspconnection.h:
      Factor out and expose lowlevel _write and _read methods.
      Implement sending data messages to the server.
      fb80e579
  10. 03 May, 2007 1 commit
    • Wim Taymans's avatar
      gst/rtsp/gstrtspsrc.c: Refactor transport configuration code. · 17011e9a
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_finalize),
      (gst_rtspsrc_alloc_udp_ports), (gst_rtspsrc_handle_src_event),
      (gst_rtspsrc_handle_src_query),
      (gst_rtspsrc_stream_configure_manager),
      (gst_rtspsrc_stream_free_udp), (gst_rtspsrc_stream_configure_tcp),
      (gst_rtspsrc_stream_configure_mcast),
      (gst_rtspsrc_stream_configure_udp),
      (gst_rtspsrc_stream_configure_udp_sink),
      (gst_rtspsrc_stream_configure_transport), (gst_rtspsrc_push_event),
      (gst_rtspsrc_loop_udp), (gst_rtspsrc_open),
      (gst_rtspsrc_parse_rtpinfo), (gst_rtspsrc_play),
      (gst_rtspsrc_pause):
      Refactor transport configuration code.
      Create internal pads for TCP transport so that we can implement events
      and queries.
      Handle events and queries.
      Parse range from the SDP.
      Fix race in pause handler where the connection could still be flushing.
      17011e9a
  11. 02 May, 2007 2 commits
    • Wim Taymans's avatar
      gst/rtsp/gstrtspsrc.*: Fix race when multiple udp sources post timeouts, just... · 24e51b3c
      Wim Taymans authored
      gst/rtsp/gstrtspsrc.*: Fix race when multiple udp sources post timeouts, just act on the first received timeout.
      
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init),
      (gst_rtspsrc_finalize), (new_session_pad), (request_pt_map),
      (gst_rtspsrc_loop_send_cmd), (gst_rtspsrc_try_send),
      (gst_rtspsrc_send), (gst_rtspsrc_async_open), (gst_rtspsrc_close),
      (gst_rtspsrc_play), (gst_rtspsrc_handle_message),
      (gst_rtspsrc_change_state):
      * gst/rtsp/gstrtspsrc.h:
      Fix race when multiple udp sources post timeouts, just act on the first
      received timeout.
      Protect stream list with a recursive lock to fix some races.
      Flush connection when we need to do a reconnect or stop.
      Make state lock recursive.
      * gst/rtsp/rtspconnection.c: (rtsp_connection_connect),
      (rtsp_connection_close):
      Some small cleanups.
      24e51b3c
    • Wim Taymans's avatar
      gst/rtsp/gstrtspsrc.*: Fix sending RTCP to the right place. · 92396be1
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init),
      (gst_rtspsrc_finalize), (gst_rtspsrc_stream_configure_transport),
      (gst_rtspsrc_handle_request), (gst_rtspsrc_loop_interleaved),
      (gst_rtspsrc_send_keep_alive), (gst_rtspsrc_loop_udp),
      (gst_rtspsrc_loop_send_cmd), (gst_rtspsrc_try_send),
      (gst_rtspsrc_open), (gst_rtspsrc_handle_message):
      * gst/rtsp/gstrtspsrc.h:
      Fix sending RTCP to the right place.
      Fix bug in reffing the wrong UDP element.
      Use new pad names for the session manager.
      Implement handling server requests in interleaved and UDP modes.
      Handle session keep-alive in UDP modes.
      Remove GCond for handling UDP timeouts.
      * gst/rtsp/rtspconnection.c: (rtsp_connection_connect),
      (rtsp_connection_send), (rtsp_connection_read), (read_body),
      (rtsp_connection_receive), (rtsp_connection_close):
      * gst/rtsp/rtspconnection.h:
      Store connection IP address for later.
      Add timeout args to all operations that might block forever.
      Parse session timeout.
      Only close sockets when not already closed.
      * gst/rtsp/rtspdefs.c:
      * gst/rtsp/rtspdefs.h:
      Add timeout return value and error string.
      * gst/rtsp/rtspmessage.c: (rtsp_message_init_response):
      Add small comment.
      92396be1
  12. 29 Apr, 2007 1 commit
    • Wim Taymans's avatar
      gst/udp/gstmultiudpsink.c: Add code to drop membership of a multicast group. · 066598d8
      Wim Taymans authored
      Original commit message from CVS:
      * gst/udp/gstmultiudpsink.c: (leave_multicast),
      (gst_multiudpsink_add), (gst_multiudpsink_remove):
      Add code to drop membership of a multicast group.
      * gst/udp/gstudpsink.c: (gst_udpsink_update_uri),
      (gst_udpsink_set_uri):
      Implement URI handler.
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_stream_configure_transport),
      (gst_rtspsrc_parse_rtpinfo):
      Use URI handler to make udpsink instace.
      Improve code to configure port and destination.
      066598d8
  13. 27 Apr, 2007 1 commit
    • Wim Taymans's avatar
      gst/rtsp/gstrtspsrc.c: Ignore ASYNC state messages from the udpsink, it's... · 6a790cb7
      Wim Taymans authored
      gst/rtsp/gstrtspsrc.c: Ignore ASYNC state messages from the udpsink, it's irrelevant for the parent.
      
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_stream_configure_transport),
      (gst_rtspsrc_parse_rtpinfo), (gst_rtspsrc_play),
      (gst_rtspsrc_handle_message):
      Ignore ASYNC state messages from the udpsink, it's irrelevant for the
      parent.
      6a790cb7
  14. 26 Apr, 2007 1 commit
    • Wim Taymans's avatar
      gst/rtsp/gstrtspsrc.*: Protect state changes with a lock. · 530f214b
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init),
      (gst_rtspsrc_finalize), (gst_rtspsrc_stream_configure_transport),
      (gst_rtspsrc_open), (gst_rtspsrc_close),
      (gst_rtspsrc_parse_rtpinfo), (gst_rtspsrc_play),
      (gst_rtspsrc_pause):
      * gst/rtsp/gstrtspsrc.h:
      Protect state changes with a lock.
      * gst/rtsp/rtspconnection.c: (rtsp_connection_create),
      (parse_line):
      * gst/rtsp/rtspconnection.h:
      Remove some unused stuff.
      530f214b
  15. 25 Apr, 2007 2 commits
    • Wim Taymans's avatar
      gst/rtsp/gstrtpdec.*: Add dummy latency property to be backwards compat with rtpbin. · 6937be1a
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtsp/gstrtpdec.c: (gst_rtp_dec_class_init),
      (gst_rtp_dec_init), (gst_rtp_dec_set_property),
      (gst_rtp_dec_get_property):
      * gst/rtsp/gstrtpdec.h:
      Add dummy latency property to be backwards compat with rtpbin.
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_class_init),
      (gst_rtspsrc_set_property), (gst_rtspsrc_get_property),
      (gst_rtspsrc_stream_configure_transport),
      (gst_rtspsrc_parse_rtpinfo):
      * gst/rtsp/gstrtspsrc.h:
      Add latency property and configure in the session manager.
      Don't set invalid clock-base and seqnum-base on caps, some servers
      sometimes don't send them.
      6937be1a
    • Wim Taymans's avatar
      gst/rtsp/gstrtspsrc.*: Parse server address from SDP. · 1beeda3f
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_finalize),
      (gst_rtspsrc_stream_free), (request_pt_map),
      (gst_rtspsrc_stream_configure_transport), (gst_rtspsrc_open):
      * gst/rtsp/gstrtspsrc.h:
      Parse server address from SDP.
      Hook up a udpsink to send RTCP back to the server.
      * docs/plugins/gst-plugins-good-plugins-sections.txt:
      * gst/rtsp/rtsptransport.h:
      Add some docs.
      1beeda3f
  16. 13 Apr, 2007 1 commit
    • Wim Taymans's avatar
      docs/plugins/gst-plugins-good-plugins-sections.txt: Fix docs. · b7524708
      Wim Taymans authored
      Original commit message from CVS:
      * docs/plugins/gst-plugins-good-plugins-sections.txt:
      Fix docs.
      * gst/rtsp/URLS:
      Add some more example urls.
      * gst/rtsp/gstrtpdec.c: (gst_rtp_dec_marshal_BOXED__UINT_UINT),
      (gst_rtp_dec_chain_rtp):
      Better debugging.
      * gst/rtsp/gstrtspsrc.c: (request_pt_map),
      (gst_rtspsrc_activate_streams), (gst_rtspsrc_loop_interleaved),
      (gst_rtspsrc_parse_rtpinfo):
      Remove unused code.
      b7524708
  17. 12 Apr, 2007 1 commit
    • Wim Taymans's avatar
      gst/rtsp/gstrtpdec.*: Make backward compat with rtpbin by adding the request-pt-map signals. · 86a4c1c6
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtsp/gstrtpdec.c: (gst_rtp_dec_marshal_BOXED__UINT_UINT),
      (gst_rtp_dec_class_init), (gst_rtp_dec_chain_rtp):
      * gst/rtsp/gstrtpdec.h:
      Make backward compat with rtpbin by adding the request-pt-map signals.
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_create_stream),
      (new_session_pad), (request_pt_map),
      (gst_rtspsrc_stream_configure_transport),
      (gst_rtspsrc_stream_configure_caps),
      (gst_rtspsrc_activate_streams):
      * gst/rtsp/gstrtspsrc.h:
      Implement request-pt-map signals instead of setting caps on the buffers
      for the session manager.
      86a4c1c6
  18. 10 Apr, 2007 1 commit
    • Peter Kjellerstedt's avatar
      gst/: Fix some compiler warnings. Fixes #428182. · 50f88db3
      Peter Kjellerstedt authored
      Original commit message from CVS:
      Patch by: Peter Kjellerstedt  <pkj at axis com>
      * gst/avi/gstavidemux.c: (gst_avi_demux_massage_index):
      * gst/rtp/gstrtpL16depay.c:
      * gst/rtp/gstrtpmp4gdepay.c: (gst_rtp_mp4g_depay_process):
      * gst/rtp/gstrtpspeexdepay.c: (gst_rtp_speex_depay_get_mode),
      (gst_rtp_speex_depay_setcaps):
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_media_to_caps),
      (gst_rtspsrc_stream_configure_transport), (gst_rtspsrc_loop_udp):
      * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_init_send):
      Fix some compiler warnings. Fixes #428182.
      50f88db3
  19. 06 Apr, 2007 1 commit
    • Wim Taymans's avatar
      gst/rtsp/: Morph RTPDec into something compatible with RTPBin as a fallback. · f80444aa
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtsp/Makefile.am:
      * gst/rtsp/gstrtpdec.c: (find_session_by_id), (create_session),
      (free_session), (gst_rtp_dec_base_init), (gst_rtp_dec_class_init),
      (gst_rtp_dec_init), (gst_rtp_dec_finalize),
      (gst_rtp_dec_query_src), (gst_rtp_dec_chain_rtp),
      (gst_rtp_dec_chain_rtcp), (gst_rtp_dec_set_property),
      (gst_rtp_dec_get_property), (gst_rtp_dec_provide_clock),
      (gst_rtp_dec_change_state), (create_recv_rtp), (create_recv_rtcp),
      (create_rtcp), (gst_rtp_dec_request_new_pad),
      (gst_rtp_dec_release_pad):
      * gst/rtsp/gstrtpdec.h:
      * gst/rtsp/gstrtsp.c: (plugin_init):
      Morph RTPDec into something compatible with RTPBin as a fallback.
      Various other style fixes.
      * gst/rtsp/gstrtspsrc.c: (find_stream_by_id),
      (find_stream_by_udpsrc), (gst_rtspsrc_stream_free),
      (gst_rtspsrc_cleanup), (gst_rtspsrc_media_to_caps),
      (new_session_pad), (gst_rtspsrc_stream_configure_transport),
      (gst_rtspsrc_activate_streams), (gst_rtspsrc_loop_interleaved),
      (gst_rtspsrc_loop_udp), (gst_rtspsrc_setup_auth),
      (gst_rtspsrc_handle_message), (gst_rtspsrc_change_state):
      * gst/rtsp/gstrtspsrc.h:
      Implement RTPBin session manager handling.
      Don't try to add empty properties to caps.
      Implement fallback session manager, handling.
      Don't combine errors from RTCP streams, just ignore them.
      * gst/rtsp/rtsptransport.c: (rtsp_transport_get_manager):
      * gst/rtsp/rtsptransport.h:
      Implement fallback session manager.
      Make RTPBin the default one when available.
      f80444aa
  20. 25 Mar, 2007 1 commit
    • Wim Taymans's avatar
      gst/rtsp/gstrtspsrc.*: Handle default clock-rates for static payload types,... · 8f5fb88b
      Wim Taymans authored
      gst/rtsp/gstrtspsrc.*: Handle default clock-rates for static payload types, rearrange stuff so that the rtpmap field ...
      
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (find_stream_by_setup),
      (gst_rtspsrc_create_stream), (gst_rtspsrc_stream_free),
      (get_default_rate_for_pt), (gst_rtspsrc_parse_rtpmap),
      (gst_rtspsrc_media_to_caps),
      (gst_rtspsrc_stream_configure_transport),
      (gst_rtspsrc_stream_configure_caps),
      (gst_rtspsrc_activate_streams), (gst_rtspsrc_parse_rtpinfo):
      * gst/rtsp/gstrtspsrc.h:
      Handle default clock-rates for static payload types, rearrange stuff so
      that the rtpmap field in the sdp can override the defaults.
      Parse RTP-Info field to get the seqnum and timebase fields that should
      go in the caps.
      Delay configuring caps after we got the RTP-Info from the PLAY reply from
      the server.
      8f5fb88b
  21. 09 Mar, 2007 1 commit
    • Wim Taymans's avatar
      gst/rtsp/gstrtspsrc.c: When activated, remove the udpsrc timeout, we have... · beef8e01
      Wim Taymans authored
      gst/rtsp/gstrtspsrc.c: When activated, remove the udpsrc timeout, we have dataflow and timeouts will later be handled...
      
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_activate_streams):
      When activated, remove the udpsrc timeout, we have dataflow and timeouts
      will later be handled by the jitterbuffer.
      beef8e01
  22. 04 Mar, 2007 1 commit
    • Jan Schmidt's avatar
      Fix a bunch of leaks shown by the newly-added states test. · de1357a4
      Jan Schmidt authored
      Original commit message from CVS:
      * ext/flac/gstflacenc.c: (gst_flac_enc_finalize):
      * ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_class_init),
      (gst_gconf_audio_sink_dispose), (gst_gconf_audio_sink_finalize):
      * ext/gconf/gstgconfaudiosrc.c: (gst_gconf_audio_src_base_init),
      (gst_gconf_audio_src_class_init), (gst_gconf_audio_src_dispose),
      (gst_gconf_audio_src_finalize), (do_toggle_element):
      * ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_base_init),
      (gst_gconf_video_sink_class_init), (gst_gconf_video_sink_finalize),
      (do_toggle_element):
      * ext/gconf/gstgconfvideosrc.c: (gst_gconf_video_src_base_init),
      (gst_gconf_video_src_class_init), (gst_gconf_video_src_dispose),
      (gst_gconf_video_src_finalize), (do_toggle_element):
      * ext/gconf/gstswitchsink.c: (gst_switch_sink_class_init),
      (gst_switch_sink_reset), (gst_switch_sink_set_child):
      * ext/hal/gsthalaudiosink.c: (gst_hal_audio_sink_base_init):
      * ext/hal/gsthalaudiosrc.c: (gst_hal_audio_src_base_init):
      * ext/shout2/gstshout2.c: (gst_shout2send_class_init),
      (gst_shout2send_init), (gst_shout2send_finalize):
      * gst/debug/testplugin.c: (gst_test_class_init),
      (gst_test_finalize):
      * gst/flx/gstflxdec.c: (gst_flxdec_class_init),
      (gst_flxdec_dispose):
      * gst/multipart/multipartmux.c: (gst_multipart_mux_finalize):
      * gst/rtp/gstrtpmp4gpay.c: (gst_rtp_mp4g_pay_finalize):
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init),
      (gst_rtspsrc_finalize):
      * gst/rtsp/rtspextwms.c: (rtsp_ext_wms_free_context):
      * gst/rtsp/rtspextwms.h:
      * gst/smpte/gstsmpte.c: (gst_smpte_class_init),
      (gst_smpte_finalize):
      * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_finalize):
      * gst/udp/gstudpsink.c: (gst_udpsink_class_init),
      (gst_udpsink_finalize):
      * gst/wavparse/gstwavparse.c: (gst_wavparse_dispose),
      (gst_wavparse_sink_activate):
      * sys/oss/gstosssink.c: (gst_oss_sink_finalise):
      * sys/oss/gstosssrc.c: (gst_oss_src_class_init),
      (gst_oss_src_finalize):
      * sys/v4l2/gstv4l2object.c: (gst_v4l2_object_destroy):
      * sys/v4l2/gstv4l2object.h:
      * sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init),
      (gst_v4l2src_finalize):
      * sys/ximage/gstximagesrc.c: (gst_ximage_src_ximage_get):
      Fix a bunch of leaks shown by the newly-added states test.
      de1357a4
  23. 01 Mar, 2007 2 commits
    • Wim Taymans's avatar
      gst/rtsp/gstrtspsrc.c: Errors from the udp sources are not fatal unless all of them are in error. · 84c6cb98
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (find_stream_by_channel),
      (find_stream_by_udpsrc), (gst_rtspsrc_handle_message):
      Errors from the udp sources are not fatal unless all of them are in
      error.
      84c6cb98
    • Wim Taymans's avatar
      gst/rtsp/gstrtpdec.c: Make state change to PAUSED NO_PREROLL because that's... · dc212cdb
      Wim Taymans authored
      gst/rtsp/gstrtpdec.c: Make state change to PAUSED NO_PREROLL because that's what it will be in the future and rtspsrc...
      
      Original commit message from CVS:
      * gst/rtsp/gstrtpdec.c: (gst_rtpdec_change_state):
      Make state change to PAUSED NO_PREROLL because that's what it will be in
      the future and rtspsrc relies on it.
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_stream_configure_transport),
      (gst_rtspsrc_change_state):
      Don't error out when we don't get an error from the state change
      function.
      dc212cdb
  24. 23 Feb, 2007 1 commit
    • Jan Schmidt's avatar
      gst/rtsp/: Implement simple Basic Authentication support so that urls like... · 66df66da
      Jan Schmidt authored
      gst/rtsp/: Implement simple Basic Authentication support so that urls like rtsp://user:pass@hostname/rtspstream work ...
      
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_finalize),
      (gst_rtspsrc_create_stream), (rtsp_auth_method_to_string),
      (gst_rtspsrc_parse_auth_hdr), (gst_rtspsrc_setup_auth),
      (gst_rtspsrc_send), (gst_rtspsrc_try_send), (gst_rtspsrc_open),
      (gst_rtspsrc_close), (gst_rtspsrc_play), (gst_rtspsrc_pause),
      (gst_rtspsrc_uri_set_uri):
      * gst/rtsp/gstrtspsrc.h:
      * gst/rtsp/rtspconnection.c: (rtsp_connection_create),
      (append_auth_header), (rtsp_connection_send),
      (rtsp_connection_free), (rtsp_connection_set_auth):
      * gst/rtsp/rtspconnection.h:
      * gst/rtsp/rtspdefs.h:
      * gst/rtsp/rtspurl.c: (rtsp_url_get_request_uri):
      * gst/rtsp/rtspurl.h:
      Implement simple Basic Authentication support so that urls like
      rtsp://user:pass@hostname/rtspstream work on hosts that require
      authentication.
      66df66da
  25. 16 Feb, 2007 1 commit
    • Wim Taymans's avatar
      gst/rtsp/URLS: Add example H264 rtsp url. · 7fd02504
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtsp/URLS:
      Add example H264 rtsp url.
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_media_to_caps),
      (gst_rtspsrc_handle_message), (gst_rtspsrc_change_state):
      Don't convert values to lowercase or we might mess up base64 encoded
      properties.
      7fd02504
  26. 11 Feb, 2007 1 commit
    • Sebastien Moutte's avatar
      gst/avi/gstavimux.c: Comment a #if 0 in caps template definition as VS6 seems to do not support it. · 9c8ea356
      Sebastien Moutte authored
      Original commit message from CVS:
      * gst/avi/gstavimux.c:
      Comment a #if 0 in caps template definition as VS6 seems to
      do not support it.
      * gst/rtsp/gstrtspsrc.c:(gst_rtspsrc_loop_udp):
      Use gst_guint64_to_gdouble for conversion.
      * gst/rtsp/rtspconnection.c:(rtsp_connection_send):
      Move variables declaration before the first instruction.
      * gst/rtsp/rtspdefs.c:(rtsp_strresult):
      Don't use hstrerror for error log on G_OS_WIN32 build as it's not supported.
      And don't include netdb.h for G_OS_WIN32
      * gst/rtsp/sdpmessage.c:(sdp_parse_line):
      This initialization SDPMedia nmedia = {.media = NULL }; is not supported
      by VS6 then use an other way to initialize SDPMedia structure.
      * gst/udp/gstdynudpsink.h:
      * gst/udp/gstdynudpnetutils.h:
      Do not include <sys/time.h> for G_OS_WIN32
      * gst/udp/gstudpsrc.c:
      Define socklen_t as int for G_OS_WIN32
      * win/common/config.h.in:
      Undef HAVE_NETINET_IN_H
      * win32/vs6/gst_plugins_good.dsw:
      * win32/vs6/libgstrtp.dsp:
      * win32/vs6/libgstrtsp.dsp:
      * win32/vs6/libgstautogen.dsp:
      * win32/vs6/libgstaudiofx.dsp:
      * win32/vs6/libgstudp.dsp:
      Add and update project files.
      * win32/common/gstudp-enumtypes.c:
      * win32/common/gstudp-enumtypes.h:
      Add a copy of udp enumtypes to win32/common as in core
      and base.
      9c8ea356
  27. 25 Jan, 2007 1 commit
    • Wim Taymans's avatar
      gst/rtsp/gstrtspsrc.c: Convert SDP fields to upper/lowercase following the... · 2de7376a
      Wim Taymans authored
      gst/rtsp/gstrtspsrc.c: Convert SDP fields to upper/lowercase following the rules in the SDP to caps document.
      
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_media_to_caps),
      (gst_rtspsrc_activate_streams):
      Convert SDP fields to upper/lowercase following the rules in the SDP to
      caps document.
      2de7376a
  28. 24 Jan, 2007 2 commits