diff --git a/ChangeLog b/ChangeLog index 7b3c5ec9eb..7c85b44d4e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-09-19 Wim Taymans + + * gst/rtsp/test.c: (main): + Fix build. + 2006-09-19 Wim Taymans * gst/wavparse/gstwavparse.c: diff --git a/gst/rtsp/test.c b/gst/rtsp/test.c index 4cf1dab374..3e2f2fddd3 100644 --- a/gst/rtsp/test.c +++ b/gst/rtsp/test.c @@ -57,7 +57,7 @@ main (int argc, gchar * argv[]) /* 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); @@ -110,7 +110,7 @@ main (int argc, gchar * argv[]) 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); @@ -137,7 +137,7 @@ main (int argc, gchar * argv[]) } /* 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);