From 24e51b3c737dd8b01c02e48948afb1e302a195e7 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 2 May 2007 19:32:58 +0000 Subject: 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. --- ChangeLog | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 157166f7..8ad67efc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,22 @@ +2007-05-02 Wim Taymans + + * 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. + 2007-05-02 Wim Taymans * gst/wavparse/gstwavparse.c: (gst_wavparse_perform_seek), -- cgit