2007-05-02 Wim Taymans <wim@fluendo.com>
+ * gst/rtsp/test.c: (main):
+ Fix compilation of deprecated test just because I'm too lazy to delete
+ it.
+
+2007-05-02 Wim Taymans <wim@fluendo.com>
+
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init),
(gst_rtspsrc_finalize), (gst_rtspsrc_stream_configure_transport),
(gst_rtspsrc_handle_request), (gst_rtspsrc_loop_interleaved),
/* open connection */
g_print ("opening connection...\n");
- res = rtsp_connection_connect (conn);
+ res = rtsp_connection_connect (conn, NULL);
if (res != RTSP_OK) {
g_print ("error opening connection to \"%s\"\n", urlstr);
return (-1);
rtsp_message_dump (&request);
- res = rtsp_connection_send (conn, &request);
+ res = rtsp_connection_send (conn, &request, NULL);
if (res != RTSP_OK) {
g_print ("error sending request\n");
return (-1);
}
- res = rtsp_connection_receive (conn, &response);
+ res = rtsp_connection_receive (conn, &response, NULL);
if (res != RTSP_OK) {
g_print ("error receiving response\n");
return (-1);
"RTP/AVP/TCP");
rtsp_message_dump (&request);
- res = rtsp_connection_send (conn, &request);
+ res = rtsp_connection_send (conn, &request, NULL);
if (res != RTSP_OK) {
g_print ("error sending request\n");
return (-1);
}
- res = rtsp_connection_receive (conn, &response);
+ res = rtsp_connection_receive (conn, &response, NULL);
if (res != RTSP_OK) {
g_print ("error receiving response\n");
return (-1);
}
rtsp_message_dump (&request);
- res = rtsp_connection_send (conn, &request);
+ res = rtsp_connection_send (conn, &request, NULL);
if (res != RTSP_OK) {
g_print ("error sending request\n");
return (-1);
}
- res = rtsp_connection_receive (conn, &response);
+ res = rtsp_connection_receive (conn, &response, NULL);
if (res != RTSP_OK) {
g_print ("error receiving response\n");
return (-1);
}
while (TRUE) {
- res = rtsp_connection_receive (conn, &response);
+ res = rtsp_connection_receive (conn, &response, NULL);
if (res != RTSP_OK) {
g_print ("error receiving response\n");
return (-1);