mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
rtsp: Use gst_rtsp_watch_send_message().
Use gst_rtsp_watch_send_message() since the old API which used gst_rtsp_watch_queue_message() has been deprecated.
This commit is contained in:
parent
02c60f3529
commit
309f53a12b
1 changed files with 2 additions and 2 deletions
|
@ -182,7 +182,7 @@ send_response (GstRTSPClient * client, GstRTSPSession * session,
|
|||
gst_rtsp_message_dump (response);
|
||||
#endif
|
||||
|
||||
gst_rtsp_watch_queue_message (client->watch, response);
|
||||
gst_rtsp_watch_send_message (client->watch, response, NULL);
|
||||
gst_rtsp_message_unset (response);
|
||||
}
|
||||
|
||||
|
@ -298,7 +298,7 @@ do_send_data (GstBuffer * buffer, guint8 channel, GstRTSPClient * client)
|
|||
size = GST_BUFFER_SIZE (buffer);
|
||||
gst_rtsp_message_take_body (&message, data, size);
|
||||
|
||||
gst_rtsp_watch_queue_message (client->watch, &message);
|
||||
gst_rtsp_watch_send_message (client->watch, &message, NULL);
|
||||
|
||||
gst_rtsp_message_steal_body (&message, &data, &size);
|
||||
gst_rtsp_message_unset (&message);
|
||||
|
|
Loading…
Reference in a new issue