Commit 5f2fbbd7 authored by Wim Taymans's avatar Wim Taymans
Browse files

gst/rtsp/gstrtspsrc.c: Ignore errors when trying to use the keep-alive messages.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send_keep_alive):
Ignore errors when trying to use the keep-alive messages.
parent fb80e579
2007-05-04 Wim Taymans <wim@fluendo.com>
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send_keep_alive):
Ignore errors when trying to use the keep-alive messages.
2007-05-04 Wim Taymans <wim@fluendo.com> 2007-05-04 Wim Taymans <wim@fluendo.com>
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_handle_src_event), * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_handle_src_event),
......
...@@ -2042,6 +2042,7 @@ gst_rtspsrc_send_keep_alive (GstRTSPSrc * src) ...@@ -2042,6 +2042,7 @@ gst_rtspsrc_send_keep_alive (GstRTSPSrc * src)
RTSPMessage request = { 0 }; RTSPMessage request = { 0 };
RTSPMessage response = { 0 }; RTSPMessage response = { 0 };
RTSPResult res; RTSPResult res;
RTSPStatusCode code;
GST_DEBUG_OBJECT (src, "creating server keep-alive"); GST_DEBUG_OBJECT (src, "creating server keep-alive");
...@@ -2051,7 +2052,8 @@ gst_rtspsrc_send_keep_alive (GstRTSPSrc * src) ...@@ -2051,7 +2052,8 @@ gst_rtspsrc_send_keep_alive (GstRTSPSrc * src)
if (res < 0) if (res < 0)
goto send_error; goto send_error;
if (!gst_rtspsrc_send (src, &request, &response, NULL)) /* let us handle the error code because we don't care */
if (!gst_rtspsrc_send (src, &request, &response, &code))
goto send_error; goto send_error;
rtsp_message_unset (&request); rtsp_message_unset (&request);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment