2006-09-19 Wim Taymans <wim@fluendo.com>
+ * gst/rtsp/test.c: (main):
+ Fix build.
+
+2006-09-19 Wim Taymans <wim@fluendo.com>
+
* gst/wavparse/gstwavparse.c:
Add ms-gsm to the src template.
/* do describe */
{
- res = rtsp_message_init_request (RTSP_DESCRIBE, urlstr, &request);
+ res = rtsp_message_init_request (&request, RTSP_DESCRIBE, urlstr);
if (res != RTSP_OK) {
g_print ("error creating request\n");
return (-1);
setup_url = g_strdup_printf ("%s/%s", urlstr, control_url);
g_print ("setup %s\n", setup_url);
- res = rtsp_message_init_request (RTSP_SETUP, setup_url, &request);
+ res = rtsp_message_init_request (&request, RTSP_SETUP, setup_url);
if (res != RTSP_OK) {
g_print ("error creating request\n");
return (-1);
}
/* do play */
{
- res = rtsp_message_init_request (RTSP_PLAY, urlstr, &request);
+ res = rtsp_message_init_request (&request, RTSP_PLAY, urlstr);
if (res != RTSP_OK) {
g_print ("error creating request\n");
return (-1);