mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
client: update do_send_message to match type GstRTSPClientSendFunc
This type mismatch fails building with MSVC https://bugzilla.gnome.org/show_bug.cgi?id=774640
This commit is contained in:
parent
179eb9ae89
commit
01ef7f32b6
1 changed files with 3 additions and 3 deletions
|
@ -3935,7 +3935,7 @@ gst_rtsp_client_send_message (GstRTSPClient * client, GstRTSPSession * session,
|
|||
return GST_RTSP_OK;
|
||||
}
|
||||
|
||||
static GstRTSPResult
|
||||
static gboolean
|
||||
do_send_message (GstRTSPClient * client, GstRTSPMessage * message,
|
||||
gboolean close, gpointer user_data)
|
||||
{
|
||||
|
@ -3968,13 +3968,13 @@ do_send_message (GstRTSPClient * client, GstRTSPMessage * message,
|
|||
GST_DEBUG_OBJECT (client, "Resend due to backlog full");
|
||||
} while (ret != GST_RTSP_EINTR);
|
||||
|
||||
return ret;
|
||||
return ret == GST_RTSP_OK;
|
||||
|
||||
/* ERRORS */
|
||||
error:
|
||||
{
|
||||
GST_DEBUG_OBJECT (client, "got error %d", ret);
|
||||
return ret;
|
||||
return ret == GST_RTSP_OK;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue