From 309f53a12bbe442dc6da628d073458618edb167f Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Mon, 24 Aug 2009 13:27:00 +0200 Subject: [PATCH] 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. --- gst/rtsp-server/rtsp-client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/rtsp-server/rtsp-client.c b/gst/rtsp-server/rtsp-client.c index c2986d4..6dec049 100644 --- a/gst/rtsp-server/rtsp-client.c +++ b/gst/rtsp-server/rtsp-client.c @@ -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); -- 2.7.4